Account #168
| Field | Value | Notes |
|---|---|---|
| Account Key | null | Ed25519 public key (null for actors) |
| Balance | | Convex coin balance |
| Field | Value | Notes |
|---|---|---|
| Account Key | null | Ed25519 public key (null for actors) |
| Balance | | Convex coin balance |
| Field | Value | Description |
|---|---|---|
:sequence | 0 | Number of transactions executed by this account to date. |
:key | nil | Ed25519 public key of this account. If nil, account cannot execute external transactions (e.g. an actor). |
:balance | | CVM balance of account. This is used for transaction fees and may be freely transferred. |
:allowance | 0 | Memory allowance credit on the CVM. If positive, the account may allocated up to this amount of memory before incurring fees for additional memory. |
:holdings | 0 value(s) | Storage for holdings data referenced by other accounts. |
:controller | nil | Account 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! |
:environment | 8 value(s) | Symbols defined in this account. Typically used to store data or executable code. |
:metadata | 4 value(s) | Metadata attached to symbols defined in this account. |
:parent | nil | Parent account. This defines fallback values for symbols not defined in this account. |
The Environment contains symbols defined in this account. These may be referenced like: #45/symbol-name
| Symbol | Value | Description |
|---|---|---|
swap! | (fn [afn & args] (let [user-key *caller* ] (def state (assoc #168/state %2 (apply %0 (get #168/state %2 {}) %1))))) | nil |
disabled? | false | nil |
actor-name | "state" | nil |
deref | (fn [] (get #168/state *caller* {})) | nil |
deref-as | (fn [as-account] (get #168/state %0 {})) | nil |
state | {#170 {"rock on" {:recipient #135,:sender #135,:amount 1},"#135 balance before 18.540182819" {:recipient #135,:sender #135,:amount 1},"https://youtu.be/0_JYCAOKKcM" {:recipient #135,:sender #135,:amount 1}},#169 {}} | nil |
admin-account | #135 | nil |
admin | (fn [code] (cond #168/disabled? (fail :STATE "Administrative access is permenantly disabled.") (cond (not (= *caller* #168/admin-account)) (fail :TRUST (str *caller* " is not authorised to administrate on behalf of parent " #168/admin-account)) (eval %0)))) | nil |
Holdings track token balances and other indexed values by address.
| Address | Value |
|---|