| Address | | Origin address of transaction |
| Account Key |  0x89b5142678bfef7a...
| Ed25519 public key of the signer |
| Transaction Hash |  0x518b49d563db1504...
| Hash code of the transaction object |
| Type | Invoke | Type of transaction. Most common is 'Invoke' for general purpose execution. |
| Transaction Data | {:origin #50,:sequence 3,:command (eval-as #50 (quote (do (import convex.trust :as trust) (def allocator *caller*) (def distributor *caller*) (declare available-coins) (def available-coins 0) (defn ^{:callable true} set-available [amount] (if (not ((lookup trust trusted?) allocator *caller* :set-available amount)) (fail :TRUST "Not authorised as allocator")) (if (< amount 0) (fail :ARGUMENT "Negative amount!")) (set! available-coins (int amount))) (defn ^{:callable true} distribute [receiver amount] (if (not (int? amount)) (fail :ARGUMENT "amount must be an integer")) (if (not ((lookup trust trusted?) distributor *caller* :distribute amount)) (fail :TRUST "Not authorised to distribute")) (if (> amount available-coins) (fail :FUNDS "Insufficient available coins")) (do (set! available-coins (- available-coins amount)) (transfer receiver amount))) (defn ^{:callable true} receive-coin [_ _ _] (accept *offer*)) (defn ^{:callable true} withdraw [amount] (if (not ((lookup trust trusted?) allocator *caller* :withdraw amount)) (fail :TRUST "Not authorised to withdraw")) (transfer *caller* amount)))))} | CVX representation of the transaction |
| Storage Size | 1694 | Bytes consumed by transaction data |