Convex

Convex

Account #14353
Account 14354 / 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 [] #14353/operator)nil
update-cert(fn [id new-metadata-hash new-title] (do (#14353/require-operator) (let [cert (get #14353/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 #14353/registry %0 %4)) (fail :UNDECLARED registry)) %4))))nil
owned-by(fn [user-id] (cond (get #14353/ownership %0) *result* #{}))nil
init-next-id(fn [start-id] (do (#14353/require-operator) (cond (lookup-meta *address* next-id) (def next-id %0) (fail :UNDECLARED next-id)) %0))nil
next-id398nil
ownership{"cmq1eqaqh00woq01tff6c4ibw" #{390,392},"cmrtinfcr01dcr41t5c0f0haa" #{395,397,396,394},"cmqi3uhnz00ker61tz14njf0r" #{393,391}}nil
total-issued(fn [] (dec #14353/next-id))nil
lookup(fn [id] (get #14353/registry %0))nil
transfer-cert(fn [id new-user-id] (do (#14353/require-operator) (let [cert (get #14353/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 #14353/registry %0 %4)) (fail :UNDECLARED registry)) (cond (lookup-meta *address* ownership) (def ownership (assoc #14353/ownership %3 (disj (get #14353/ownership %3) %0))) (fail :UNDECLARED ownership)) (cond (lookup-meta *address* ownership) (def ownership (assoc #14353/ownership %1 (conj (cond (get #14353/ownership %1) *result* #{}) %0))) (fail :UNDECLARED ownership)) %4))))nil
set-operator(fn [new-operator] (do (cond (not (= *caller* #14353/operator)) (fail :UNAUTHORIZED "Only governance can change the operator") nil) (cond (lookup-meta *address* operator) (def operator %0) (fail :UNDECLARED operator)) %0))nil
registry{393 {:timestamp 1784556145108,:user-id "cmqi3uhnz00ker61tz14njf0r",:registered-by #14305,:metadata-hash "43fa13f8113915253cae2f62bd09224d1535c538c69f852fa21fcc8c0dd1980e",:title "Jessica Can't You See",:id 393,:updated-at 1784563018520},390 {:timestamp 1784192631807,:user-id "cmq1eqaqh00woq01tff6c4ibw",:registered-by #14305,:metadata-hash "b2bd48bd6868218c6592200c8f6caaf03354f7e546e9126ca77918a9b2b137d0",:title "Same Wound",:id 390,:updated-at 1784225520319},395 {:timestamp 1784574995705,:user-id "cmrtinfcr01dcr41t5c0f0haa",:registered-by #14305,:metadata-hash "2c545e1d3e6cfe67e52825378e8ffe583c1bc59e6ef8e9a73026c62f0a020e0e",:title "SAUCEMANEDOMO- AY SAY TWIN",:id 395},392 {:timestamp 1784488607636,:user-id "cmq1eqaqh00woq01tff6c4ibw",:registered-by #14305,:metadata-hash "e2a9f66591907ab323b4fb0c3653ef6dcc365e54d02f57b33cd264edec4132d7",:title "Before Its Gone",:id 392,:updated-at 1784563017913},397 {:timestamp 1784575190260,:user-id "cmrtinfcr01dcr41t5c0f0haa",:registered-by #14305,:metadata-hash "a56b9d5f797705888847ddb535bba52969b61050459503d1815a50f8d412bd6a",:title "SAUCEMANEDOMO- BETTER DAY",:id 397},396 {:timestamp 1784575097532,:user-id "cmrtinfcr01dcr41t5c0f0haa",:registered-by #14305,:metadata-hash "e843041638673f9a157b09e9162c6905d120bc1478b88aa2833779ccb418dafb",:title "SAUCEMANEDOMO- BEEN THRU",:id 396},394 {:timestamp 1784574869660,:user-id "cmrtinfcr01dcr41t5c0f0haa",:registered-by #14305,:metadata-hash "fe8148d0f0f9b85f850f6fce6d0b5d5f97e76376f60e47d1aa5c5af7b727aeb4",:title "SAUCEMANEDOMO- A BAG NIGGA",:id 394},391 {:timestamp 1784393155285,:user-id "cmqi3uhnz00ker61tz14njf0r",:registered-by #14305,:metadata-hash "f80f9a0cc248eb89eaffc22a7cb9904baa05db674fe3fadee2dbd52cf23e9759",:title "Her Poison",:id 391,:updated-at 1784474819102}}nil
register(fn [user-id metadata-hash title-hint] (do (#14353/require-operator) (let [id #14353/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 #14353/registry %3 %4)) (fail :UNDECLARED registry)) (cond (lookup-meta *address* ownership) (def ownership (assoc #14353/ownership %0 (conj (cond (get #14353/ownership %0) *result* #{}) %3))) (fail :UNDECLARED ownership)) %4)))nil
require-operator(fn [] (cond (not (= *caller* #14353/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