Unit ID
wWEZnC6rc+2TlMUfAbm1pkq1cUNZHTNYjZUcsKVNf8o=
Received
01.09.2019 11:21:25
Confirmation delay (full node)
6 minutes 29 seconds
Confirmation delay (light node)
7 minutes 50 seconds
Messages
Definition
Definition: [ "autonomous agent", { "bounce_fees": { "base": 10000 }, "init": "{ $BOUNCE_FEE = 10000; $TYPICAL_FEE = 1000; $REIMBURSEMENT = $BOUNCE_FEE - $TYPICAL_FEE; }", "messages": { "cases": [ { "if": "{ trigger.data.owner }", "init": "{ $owner = trigger.data.owner otherwise bounce("owner field is missing"); $period = trigger.data.period otherwise bounce("period field is missing"); $reference = sha256($owner || $period ); if (var[$reference]) bounce("pension plan already exists"); }", "messages": [ { "app": "payment", "payload": { "asset": "base", "outputs": [ { "address": "{trigger.address}", "amount": "{$REIMBURSEMENT}" } ] } }, { "app": "state", "state": "{ var[$reference] = 'requested'; var[$reference||'.owner'] = $owner; var[$reference||'.period'] = $period; response['reference'] = $reference; response['status'] = var[$reference]; response['message'] = 'pension plan created'; }" } ] } ] } } ]
Technical information
Fees:
1,346 bytes
(353 headers, 993 payload)
Level:1036978
Witnessed level:1036971
Main chain index:1035764
Latest included mc index:1035763
Status:stable/confirmed/final