Convex

Convex

Transaction 1 / 1
FieldValueNotes
AddressOrigin address of transaction
Account Key
Identicon for 5abb7143b3a48328300f99c5e0e711f829ce4bba8be328a40de2e410b2496d38
0x5abb7143b3a48328...
Ed25519 public key of the signer
Transaction Hash
Identicon for c96260d452d7f76654f38f5cbf4fbbbcd5c4c8e7fa8424cdf258ab50865108ad
0xc96260d452d7f766...
Hash code of the transaction object
TypeInvokeType of transaction. Most common is 'Invoke' for general purpose execution.
Transaction Data{:origin #135,:sequence 96,:command (defn mk-tip-state [state-addy] (deploy (quasiquote (do (def actor-name "tip-state") (def state (unquote state-addy)) (defn ^{:callable true} collect [artifact] (let [tips (call state (deref-as *caller*)) recipient (get-in tips [artifact :recipient])] (if (not ((lookup (resolve convex.trust) trusted?) recipient *caller*)) (fail :TRUST (str *caller* " is not authorised to collect funds on behalf of " recipient " for tips-state: " tips)) (let [amount (or (get-in tips [artifact :amount]) 0)] (call state (swap! dissoc artifact)) (transfer *caller* amount))))) (def disabled? false) (def admin-account *caller*) (defn ^{:callable true} admin [code] (if disabled? (fail :STATE "Administrative access is permenantly disabled.") (if (not (= *caller* admin-account)) (fail :TRUST (str *caller* " is not authorised to administrate on behalf of parent " admin-account)) (eval code))))))))}CVX representation of the transaction
Storage Size1592Bytes consumed by transaction data
Transaction Result
FieldValueNotes
StatusSUCCESSTransaction executed successfully
Return Value(fn [state-addy] (deploy (list do (def actor-name "tip-state") (list def state %0) (defn ^{:callable true} collect [artifact] (let [tips (call state (deref-as *caller*)) recipient (get-in tips [artifact :recipient])] (if (not ((lookup (resolve convex.trust) trusted?) recipient *caller*)) (fail :TRUST (str *caller* " is not authorised to collect funds on behalf of " recipient " for tips-state: " tips)) (let [amount (or (get-in tips [artifact :amount]) 0)] (call state (swap! dissoc artifact)) (transfer *caller* amount))))) (def disabled? false) (def admin-account *caller*) (defn ^{:callable true} admin [code] (if disabled? (fail :STATE "Administrative access is permenantly disabled.") (if (not (= *caller* admin-account)) (fail :TRUST (str *caller* " is not authorised to administrate on behalf of parent " admin-account)) (eval code)))))))Value returned by transaction
Juice Used203280Computational cost in juice units
Fees Paid
            0.002324000
Transaction fees paid in Convex Coins
Log Entries (0)

No log entries were generated during transaction execution