Convex

Convex

Account #14343
Account 14344 / 14345
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 [] #14343/operator)nil
update-cert(fn [id new-metadata-hash new-title] (do (#14343/require-operator) (let [cert (get #14343/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 #14343/registry %0 %4)) (fail :UNDECLARED registry)) %4))))nil
owned-by(fn [user-id] (cond (get #14343/ownership %0) *result* #{}))nil
init-next-id(fn [start-id] (do (#14343/require-operator) (cond (lookup-meta *address* next-id) (def next-id %0) (fail :UNDECLARED next-id)) %0))nil
next-id234nil
ownership{"cmq8rgqyp00gypo1sg34g3gba" #{216,232},"cmqfwg1bo00bbr61tisg8rt5c" #{226},"cmqdqueqj02bmpo1sekjh2lhg" #{215,217,213,214},"cmqg6wxjm00dpr61tvi1yfvyo" #{230,228,229,227,231},"cmqb8ubd601gwpo1sknu50at0" #{220,224,223,221,218,222,225,219},"cmqi3uhnz00ker61tz14njf0r" #{233}}nil
total-issued(fn [] (dec #14343/next-id))nil
lookup(fn [id] (get #14343/registry %0))nil
transfer-cert(fn [id new-user-id] (do (#14343/require-operator) (let [cert (get #14343/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 #14343/registry %0 %4)) (fail :UNDECLARED registry)) (cond (lookup-meta *address* ownership) (def ownership (assoc #14343/ownership %3 (disj (get #14343/ownership %3) %0))) (fail :UNDECLARED ownership)) (cond (lookup-meta *address* ownership) (def ownership (assoc #14343/ownership %1 (conj (cond (get #14343/ownership %1) *result* #{}) %0))) (fail :UNDECLARED ownership)) %4))))nil
set-operator(fn [new-operator] (do (cond (not (= *caller* #14343/operator)) (fail :UNAUTHORIZED "Only governance can change the operator") nil) (cond (lookup-meta *address* operator) (def operator %0) (fail :UNDECLARED operator)) %0))nil
registry{220 {:timestamp 1781552094215,:user-id "cmqb8ubd601gwpo1sknu50at0",:registered-by #14305,:metadata-hash "e774b9626bd32bcdd459c0d0f29c5d33094a194efc9b8f3389eb625d4ef57400",:title "Don't Just Hold the Seat",:id 220},230 {:timestamp 1781588030854,:user-id "cmqg6wxjm00dpr61tvi1yfvyo",:registered-by #14305,:metadata-hash "6bbab845e19bb6dd37537eb017f9fdaf0315d597e13bbd8a107c5951c677c0d9",:title "A Shattered Persona",:id 230},215 {:timestamp 1781473926172,:user-id "cmqdqueqj02bmpo1sekjh2lhg",:registered-by #14305,:metadata-hash "3dd314ff2352b7f362a557245cfdbb892e6c82c3b4ade3a8c0a67b6c310ec6de",:title "The Little Things",:id 215},233 {:timestamp 1781705837057,:user-id "cmqi3uhnz00ker61tz14njf0r",:registered-by #14305,:metadata-hash "c56e874f93e920928384c5302d9da7dc96dd3c02343c025dc0164d1999189931",:title "The Distance Expands",:id 233},224 {:timestamp 1781552984040,:user-id "cmqb8ubd601gwpo1sknu50at0",:registered-by #14305,:metadata-hash "c29542ca04db018b1aa254fe0e51e3b6433d227d567046fd41139fd805aebd15",:title "Like I Do",:id 224},217 {:timestamp 1781531780933,:user-id "cmqdqueqj02bmpo1sekjh2lhg",:registered-by #14305,:metadata-hash "35348c59228d221e5176fc14ac561f17e606ac16d42c0db369e0fea7ac9981bd",:title "Dont Matter",:id 217},223 {:timestamp 1781552788435,:user-id "cmqb8ubd601gwpo1sknu50at0",:registered-by #14305,:metadata-hash "1ad9eb0a4f6ff6be286f643f58d0080bd0860be5a088c3f250dd46a80e35d3ac",:title "Lil Soulja Boy",:id 223},221 {:timestamp 1781552202131,:user-id "cmqb8ubd601gwpo1sknu50at0",:registered-by #14305,:metadata-hash "cd6d910bf416ba30d050611226ae323edd785ccc4d37482367f27288118cdc67",:title "The Response to the Seat",:id 221},216 {:timestamp 1781530751919,:user-id "cmq8rgqyp00gypo1sg34g3gba",:registered-by #14305,:metadata-hash "0719c6bfe20ae9b1d258aeab224ee7713eae58dde5805d19ae77d13f676bc956",:title "UNEXPECTED_FLIP",:id 216},218 {:timestamp 1781551832854,:user-id "cmqb8ubd601gwpo1sknu50at0",:registered-by #14305,:metadata-hash "38df9ad767956602f358428e6ba833ace0c31f38ea989182859478b2d4ce697e",:title "My Brother",:id 218},213 {:timestamp 1781473738875,:user-id "cmqdqueqj02bmpo1sekjh2lhg",:registered-by #14305,:metadata-hash "8c01091a0f253d2558a04c3f26b7ef450c481e7225378c9d991811f5e33275bd",:title "Thug",:id 213},222 {:timestamp 1781552360526,:user-id "cmqb8ubd601gwpo1sknu50at0",:registered-by #14305,:metadata-hash "6d26a67f804e70244f52f302cb8b1ef25b0754827e19bf97484a3b1c849cb036",:title "Shadow Watcher",:id 222},228 {:timestamp 1781587523221,:user-id "cmqg6wxjm00dpr61tvi1yfvyo",:registered-by #14305,:metadata-hash "4310acca8e2869f77a572a96029c1f28e4af9dfd71984ac6b727d6ca25a6b880",:title "Cracked Mirrors",:id 228},225 {:timestamp 1781553080831,:user-id "cmqb8ubd601gwpo1sknu50at0",:registered-by #14305,:metadata-hash "5d6044dc039ca58c0ba70fc0f6cb9c0e98117e1879ddf55b243d2139cca8cac1",:title "Its You I Want",:id 225},214 {:timestamp 1781473848928,:user-id "cmqdqueqj02bmpo1sekjh2lhg",:registered-by #14305,:metadata-hash "14d6506be9fff26fa1f51f9662262b62a4f859cf384f2e0b2519b0232e5dd612",:title "Governor",:id 214},232 {:timestamp 1781626599963,:user-id "cmq8rgqyp00gypo1sg34g3gba",:registered-by #14305,:metadata-hash "e8d94e4086ddb0f60bc756575552d722aaca5202f815765ba4b6ede85a21027e",:title "SEATED",:id 232},219 {:timestamp 1781551952121,:user-id "cmqb8ubd601gwpo1sknu50at0",:registered-by #14305,:metadata-hash "b04184bcc29dbafaf0834813cad9e2c436bece89b395c40cd595f9ecb8dcc945",:title "BEAT Club",:id 219},229 {:timestamp 1781587691007,:user-id "cmqg6wxjm00dpr61tvi1yfvyo",:registered-by #14305,:metadata-hash "865ed71c6f6e6591cdc1444d7046123d46e31520743628418d0c1a5e25a1de4e",:title "The Souls Reflection",:id 229},226 {:timestamp 1781569764653,:user-id "cmqfwg1bo00bbr61tisg8rt5c",:registered-by #14305,:metadata-hash "c5382f0d854b7a0f75059869dad66a6e9b861cb6792527ded7ee33ff5558b3e9",:title "The WAV3 Black Icon",:id 226},227 {:timestamp 1781587396121,:user-id "cmqg6wxjm00dpr61tvi1yfvyo",:registered-by #14305,:metadata-hash "1157bf28b3e3c02c24e031c45021f7a17370103409779eee0949abbb12730441",:title "\"Cracked Mirrors / Master Class\"",:id 227},231 {:timestamp 1781589142055,:user-id "cmqg6wxjm00dpr61tvi1yfvyo",:registered-by #14305,:metadata-hash "265c56e97933b44093276a071daedba264308c17a04e3edbd5c0a26842a85b32",:title "THE BROKEN MIRROR THEORY",:id 231}}nil
register(fn [user-id metadata-hash title-hint] (do (#14343/require-operator) (let [id #14343/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 #14343/registry %3 %4)) (fail :UNDECLARED registry)) (cond (lookup-meta *address* ownership) (def ownership (assoc #14343/ownership %0 (conj (cond (get #14343/ownership %0) *result* #{}) %3))) (fail :UNDECLARED ownership)) %4)))nil
require-operator(fn [] (cond (not (= *caller* #14343/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