Convex

Convex

Account #141
Account 142 / 14299
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!
:environment6 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 (6)

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

SymbolValueDescription
swap!(fn [afn & args] (cond (not (#141/parent?)) (fail :TRUST (str *caller* " not authorised to update state on behalf of parent " #141/parent)) (not ((hash-set "assoc" "dissoc") (str %0))) (fail :ARGUMENT (str "Argument must be either assoc or dissoc. Not allowed: " %0)) :else (def state (apply %0 #141/state %1))))nil
state{:from-135 :hi}nil
frozen?falsenil
parent?(fn [] (= *caller* #141/parent))nil
parent#135nil
upgrade(fn [code] (cond #141/frozen? (fail :STATE "Cannot upgrade. The tipper logic has been frozen.") (cond (not (#141/parent?)) (fail :TRUST "Not authorised to upgrade") (eval %0))))nil
Holdings (Empty)

Holdings track token balances and other indexed values by address.

AddressValue