Convex

Convex

Account #14361
Account 14362 / 14362
FieldValueNotes
Account KeynullEd25519 public key (null for actors)
Balance
            0.000000000
Convex coin balance
Account Fields
FieldValueDescription
:sequence0Number of transactions executed by this account to date.
:keynilEd25519 public key of this account. If nil, account cannot execute external transactions (e.g. an actor).
:balance
            0.000000000
CVM balance of account. This is used for transaction fees and may be freely transferred.
:allowance0Memory allowance credit on the CVM. If positive, the account may allocated up to this amount of memory before incurring fees for additional memory.
:holdings0 value(s)Storage for holdings data referenced by other accounts.
:controllernilAccount controller. If set, the controller can execute code in this account (e.g. change the key). If you don't trust the controller, don't trust the account!
:environment14 value(s)Symbols defined in this account. Typically used to store data or executable code.
:metadata10 value(s)Metadata attached to symbols defined in this account.
:parentnilParent account. This defines fallback values for symbols not defined in this account.
Environment (14)

The Environment contains symbols defined in this account. These may be referenced like: #45/symbol-name

SymbolValueDescription
get-operator(fn [] #14361/operator)nil
update-cert(fn [id new-metadata-hash new-title] (do (#14361/require-operator) (let [cert (get #14361/registry %0) ] (cond (nil? %3) (fail :NOT-FOUND "Certificate does not exist") nil) (let [updated (assoc %3 :metadata-hash %1 :title %2 :updated-at *timestamp*) ] (cond (lookup-meta *address* registry) (def registry (assoc #14361/registry %0 %4)) (fail :UNDECLARED registry)) %4))))nil
owned-by(fn [user-id] (cond (get #14361/ownership %0) *result* #{}))nil
init-next-id(fn [start-id] (do (#14361/require-operator) (cond (lookup-meta *address* next-id) (def next-id %0) (fail :UNDECLARED next-id)) %0))nil
next-id564nil
ownership{"cmq4qibml01kvq01t3fuip184" #{562},"cmsluzkvz01ohps1tgjm1r6mn" #{555,559,560,558,557,556,561},"cmqaxqkxu01alpo1swmjncwbn" #{553,552},"cmqdqueqj02bmpo1sekjh2lhg" #{550,551,563},"cmsqhd2ja00jnq51tb0hfgwzn" #{549},"cmqi3uhnz00ker61tz14njf0r" #{554}}nil
total-issued(fn [] (dec #14361/next-id))nil
lookup(fn [id] (get #14361/registry %0))nil
transfer-cert(fn [id new-user-id] (do (#14361/require-operator) (let [cert (get #14361/registry %0) ] (cond (nil? %2) (fail :NOT-FOUND "Certificate does not exist") nil) (let [old-user (get %2 :user-id) updated (assoc %2 :user-id %1) ] (cond (lookup-meta *address* registry) (def registry (assoc #14361/registry %0 %4)) (fail :UNDECLARED registry)) (cond (lookup-meta *address* ownership) (def ownership (assoc #14361/ownership %3 (disj (get #14361/ownership %3) %0))) (fail :UNDECLARED ownership)) (cond (lookup-meta *address* ownership) (def ownership (assoc #14361/ownership %1 (conj (cond (get #14361/ownership %1) *result* #{}) %0))) (fail :UNDECLARED ownership)) %4))))nil
set-operator(fn [new-operator] (do (cond (not (= *caller* #14361/operator)) (fail :UNAUTHORIZED "Only governance can change the operator") nil) (cond (lookup-meta *address* operator) (def operator %0) (fail :UNDECLARED operator)) %0))nil
registry{550 {:timestamp 1786723960153,:user-id "cmqdqueqj02bmpo1sekjh2lhg",:registered-by #14305,:metadata-hash "4d016ac3c8d0f531b4f35be504fa8fa90d3688cc9f6456e6eb0dcc12fcff9227",:title "Billionaire",:id 550,:updated-at 1786813018812},551 {:timestamp 1786724064135,:user-id "cmqdqueqj02bmpo1sekjh2lhg",:registered-by #14305,:metadata-hash "bfa4dd3aa90773905767bc0611a9b35a3ca79249d16b4dd1f20fdb62b4ce6cd2",:title "Billionaire",:id 551,:updated-at 1786813019394},549 {:timestamp 1786598068825,:user-id "cmsqhd2ja00jnq51tb0hfgwzn",:registered-by #14305,:metadata-hash "eae0d88bf2d03ad7d041e7cb86054163598c8c74a60bafeab1b019a7d8897e40",:title "My Christmas blues",:id 549,:updated-at 1786638418129},563 {:timestamp 1786988388520,:user-id "cmqdqueqj02bmpo1sekjh2lhg",:registered-by #14305,:metadata-hash "5618beb554497fe4674d4f74a7185ece685ccfd54c40a76e2d69fe0d5f183238",:title "Every Swipe",:id 563},555 {:timestamp 1786961953290,:user-id "cmsluzkvz01ohps1tgjm1r6mn",:registered-by #14305,:metadata-hash "2e93f94299d8ead477692e49833cdea15c24aeafd0ec1ebda380a49275b889ae",:title "YunGGotti305- Let Go",:id 555,:updated-at 1786979523488},559 {:timestamp 1786962736714,:user-id "cmsluzkvz01ohps1tgjm1r6mn",:registered-by #14305,:metadata-hash "de16aaed07e66f4c93502f4ffb37ab64a5929739ea376bec93fce26a7c126bff",:title "YunGGotti305 -SlipNSlide Wit Me (instrumental)",:id 559,:updated-at 1786979521406},560 {:timestamp 1786962841096,:user-id "cmsluzkvz01ohps1tgjm1r6mn",:registered-by #14305,:metadata-hash "64aa4779842447c31de31f6d9b6ed94f85e76de9b2ab520b89e1be8481d81a38",:title "YunGGotti305 -Street Lights (instrumental)",:id 560,:updated-at 1786979522162},558 {:timestamp 1786962581406,:user-id "cmsluzkvz01ohps1tgjm1r6mn",:registered-by #14305,:metadata-hash "97797d00841b5f5961c82507c0c467f8da622a4e2ffb3995f17f76ba8a331b50",:title "YunGGotti305 -Dirty Dollahs instrumental",:id 558,:updated-at 1786979520252},553 {:timestamp 1786806700030,:user-id "cmqaxqkxu01alpo1swmjncwbn",:registered-by #14305,:metadata-hash "3936b95a512187378a7a49e0c560353d144c242ef61651c4bc68705d0f4f65d4",:title "join Me",:id 553,:updated-at 1786891319276},554 {:timestamp 1786923461367,:user-id "cmqi3uhnz00ker61tz14njf0r",:registered-by #14305,:metadata-hash "f2ae9810be6ba1ef9523e0f0c12013c9770d71c0e7ed52ed64acb47ae82bd3f0",:title "I'm Still Here",:id 554,:updated-at 1786979522804},557 {:timestamp 1786962258720,:user-id "cmsluzkvz01ohps1tgjm1r6mn",:registered-by #14305,:metadata-hash "1c70d38b20304b2f0a6a3d52326e7eda85261365f69bd8ea830f493ab9597769",:title "YunGGotti305 - HOOD DREAMS",:id 557,:updated-at 1786979524796},556 {:timestamp 1786962178322,:user-id "cmsluzkvz01ohps1tgjm1r6mn",:registered-by #14305,:metadata-hash "f7813a0f9a06ae0102c9c1f8be77135a818c990955863f63d2561a28feecf19d",:title "YunGGotti305 -Where Wud I BE",:id 556,:updated-at 1786979524099},561 {:timestamp 1786963089336,:user-id "cmsluzkvz01ohps1tgjm1r6mn",:registered-by #14305,:metadata-hash "a79121d714976f6e6a8a2531cf922be811d487b2536f273820fb8bed0655647e",:title "YunGGotti305 -Take U Home ( instrumental)",:id 561,:updated-at 1786980420408},552 {:timestamp 1786806373019,:user-id "cmqaxqkxu01alpo1swmjncwbn",:registered-by #14305,:metadata-hash "c4e19d9f9b85943f7480d834a207feab8c4478c08ad7c6b54d9002949c8fca7e",:title "I'm Home",:id 552,:updated-at 1786891318648},562 {:timestamp 1786972759494,:user-id "cmq4qibml01kvq01t3fuip184",:registered-by #14305,:metadata-hash "c1087f5f0ba3d3e831feebb8f8b1de6c417adc7cee14924594285a073a1bf12c",:title "Shut It Down",:id 562,:updated-at 1786980420983}}nil
register(fn [user-id metadata-hash title-hint] (do (#14361/require-operator) (let [id #14361/next-id cert (hash-map :timestamp *timestamp* :user-id %0 :registered-by *caller* :metadata-hash %1 :title %2 :id %3) ] (cond (lookup-meta *address* next-id) (def next-id (inc %3)) (fail :UNDECLARED next-id)) (cond (lookup-meta *address* registry) (def registry (assoc #14361/registry %3 %4)) (fail :UNDECLARED registry)) (cond (lookup-meta *address* ownership) (def ownership (assoc #14361/ownership %0 (conj (cond (get #14361/ownership %0) *result* #{}) %3))) (fail :UNDECLARED ownership)) %4)))nil
require-operator(fn [] (cond (not (= *caller* #14361/operator)) (fail :UNAUTHORIZED "Only the operator can perform this action") nil))nil
operator#14305nil
Holdings (Empty)

Holdings track token balances and other indexed values by address.

AddressValue