Convex

Convex

Account #14339
Account 14340 / 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 [] #14339/operator)nil
update-cert(fn [id new-metadata-hash new-title] (do (#14339/require-operator) (let [cert (get #14339/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 #14339/registry %0 %4)) (fail :UNDECLARED registry)) %4))))nil
owned-by(fn [user-id] (cond (get #14339/ownership %0) *result* #{}))nil
init-next-id(fn [start-id] (do (#14339/require-operator) (cond (lookup-meta *address* next-id) (def next-id %0) (fail :UNDECLARED next-id)) %0))nil
next-id150nil
ownership{"cmpw3ukf3016mpw1toc7fcp9n" #{149},"cmptbr7x000nhpw1tvdr12yae" #{147},"cmozcvkl1002uqz1sdue6hfdo" #{148},"cmpr1cjuq004spw1te1kv9c1g" #{143,144},"cmprvsem200ckpw1t6grks4dn" #{146,145}}nil
total-issued(fn [] (dec #14339/next-id))nil
lookup(fn [id] (get #14339/registry %0))nil
transfer-cert(fn [id new-user-id] (do (#14339/require-operator) (let [cert (get #14339/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 #14339/registry %0 %4)) (fail :UNDECLARED registry)) (cond (lookup-meta *address* ownership) (def ownership (assoc #14339/ownership %3 (disj (get #14339/ownership %3) %0))) (fail :UNDECLARED ownership)) (cond (lookup-meta *address* ownership) (def ownership (assoc #14339/ownership %1 (conj (cond (get #14339/ownership %1) *result* #{}) %0))) (fail :UNDECLARED ownership)) %4))))nil
set-operator(fn [new-operator] (do (cond (not (= *caller* #14339/operator)) (fail :UNAUTHORIZED "Only governance can change the operator") nil) (cond (lookup-meta *address* operator) (def operator %0) (fail :UNDECLARED operator)) %0))nil
registry{143 {:timestamp 1780066631748,:user-id "cmpr1cjuq004spw1te1kv9c1g",:registered-by #14305,:metadata-hash "f913aa478ab2fd71db66809c1d8618c3d1fd6b7c0aeb18dadab5507ba89a13d5",:title "Dead 2 Me",:id 143,:updated-at 1780198020504},146 {:timestamp 1780119645957,:user-id "cmprvsem200ckpw1t6grks4dn",:registered-by #14305,:metadata-hash "19921727eb856169b78f5b0facd9670cde03723e68e16242a4b4ee8b404429b7",:title "HOOD PRAYER",:id 146,:updated-at 1780198081990},145 {:timestamp 1780117624123,:user-id "cmprvsem200ckpw1t6grks4dn",:registered-by #14305,:metadata-hash "fa03ab164eafee0cc15c95365f875a0f1940e278dddb26d88e4afafe0835e833",:title "Run It Up",:id 145,:updated-at 1780198021900},149 {:timestamp 1780373413753,:user-id "cmpw3ukf3016mpw1toc7fcp9n",:registered-by #14305,:metadata-hash "12d14fdfe73b4283d3fcb8b0c5edc7fe5a47c67759f7b0d4976af71986c276f2",:title "Hopeful",:id 149},148 {:timestamp 1780300281347,:user-id "cmozcvkl1002uqz1sdue6hfdo",:registered-by #14305,:metadata-hash "32d410459ec54afc8cb1ed0d6d1e2e9d86ebbe8d9dea154515eddf1fa64d05a6",:title "BACKROADS AND BAD DECISIONS",:id 148,:updated-at 1780327810953},144 {:timestamp 1780066858025,:user-id "cmpr1cjuq004spw1te1kv9c1g",:registered-by #14305,:metadata-hash "b81aaf8a0769cdf4592c7296cae5aae4ed7a527977686057cc3cdbd194dc855c",:title "Dead 2 MeExtended",:id 144,:updated-at 1780198021087},147 {:timestamp 1780205101445,:user-id "cmptbr7x000nhpw1tvdr12yae",:registered-by #14305,:metadata-hash "fa1585813461ff70b9fc4147e30c570becb6ffacb51eda232d7fbf58ed760974",:title "1008",:id 147,:updated-at 1780239416541}}nil
register(fn [user-id metadata-hash title-hint] (do (#14339/require-operator) (let [id #14339/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 #14339/registry %3 %4)) (fail :UNDECLARED registry)) (cond (lookup-meta *address* ownership) (def ownership (assoc #14339/ownership %0 (conj (cond (get #14339/ownership %0) *result* #{}) %3))) (fail :UNDECLARED ownership)) %4)))nil
require-operator(fn [] (cond (not (= *caller* #14339/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