Convex

Convex

Account #169
Account 170 / 14299
FieldValueNotes
Account KeynullEd25519 public key (null for actors)
Balance
            0.000000001
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.000000001
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!
:environment8 value(s)Symbols defined in this account. Typically used to store data or executable code.
:metadata3 value(s)Metadata attached to symbols defined in this account.
:parentnilParent account. This defines fallback values for symbols not defined in this account.
Environment (8)

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

SymbolValueDescription
disabled?falsenil
actor-name"tip-state"nil
parent-account#135nil
state#168nil
collect(fn [state from artifact] (let [tips (call* %0 0 deref-as %1) recipient (get-in %3 (vector %2 :recipient)) ] (cond (not (((fn [sym] (get (#9/read %0) 0)) convex.trust)/trusted? %4 *caller*)) (fail :TRUST (str *caller* " is not authorised to collect funds on behalf of " %4 " for tips-state: " %3)) (let [amount (cond (get-in %3 (vector %2 :amount)) *result* 0) ] (call* %0 0 admin-swap! %1 dissoc %2) (transfer *caller* %5)))))nil
receive-coin(fn [sender amount data] (accept %1))nil
admin-account#135nil
admin(fn [code] (cond #169/disabled? (fail :STATE "Administrative access is permenantly disabled.") (cond (not (= *caller* #169/admin-account)) (fail :TRUST (str *caller* " is not authorised to administrate on behalf of parent " #169/admin-account)) (eval %0))))nil
Holdings (Empty)

Holdings track token balances and other indexed values by address.

AddressValue