Unit ID
BonwwBoZ7VTXCx+yEEjNI9X0cMyJuANpCnjxkHW3M0o=
Received
13.10.2019 13:20:31
Confirmation delay (full node)
5 minutes 42 seconds
Confirmation delay (light node)
10 minutes 24 seconds
Messages
Definition
Definition: [ "autonomous agent", { "init": "{ $willGoDown = trigger.data.willGoDown OTHERWISE 1; if (!trigger.data.payAmount) bounce('payAmount parameter missing'); if (!is_valid_amount(trigger.data.payAmount)) bounce('payAmount is not valid amount'); if (!trigger.data.insuranceAmount) bounce('insuranceAmount parameter missing'); if (!is_valid_amount(trigger.data.insuranceAmount)) bounce('insuranceAmount is not valid amount'); if (!trigger.data.serviceProvider) bounce('serviceProvider parameter missing'); }", "messages": { "cases": [ { "if": "{$willGoDown AND in_data_feed[[oracles='7DD44JLIHD3CIJ246VVXD6H364IACT3N', feed_name=trigger.data.serviceProvider, feed_value='issues']]}", "messages": [ { "app": "state", "state": "{ response['serviceProvider'] = trigger.data.serviceProvider; response['insuranceAmount'] = trigger.data.insuranceAmount; response['payAmount'] = trigger.data.payAmount; response['willGoDown'] = $willGoDown; response['message'] = 'Offer taken.'; }" } ] }, { "if": "{!$willGoDown AND !in_data_feed[[oracles='7DD44JLIHD3CIJ246VVXD6H364IACT3N', feed_name=trigger.data.serviceProvider, feed_value='issues']]}", "messages": [ { "app": "state", "state": "{ response['serviceProvider'] = trigger.data.serviceProvider; response['insuranceAmount'] = trigger.data.insuranceAmount; response['payAmount'] = trigger.data.payAmount; response['willGoDown'] = $willGoDown; response['message'] = 'Offer made.'; }" } ] }, { "if": "{!$willGoDown AND in_data_feed[[oracles='7DD44JLIHD3CIJ246VVXD6H364IACT3N', feed_name=trigger.data.serviceProvider, feed_value='issues']]}", "messages": [ { "app": "state", "state": "{ response['serviceProvider'] = trigger.data.serviceProvider; response['insuranceAmount'] = trigger.data.insuranceAmount; response['payAmount'] = trigger.data.payAmount; response['willGoDown'] = $willGoDown; response['message'] = 'Offer taken.'; }" } ] }, { "if": "{!$willGoDown AND !in_data_feed[[oracles='7DD44JLIHD3CIJ246VVXD6H364IACT3N', feed_name=trigger.data.serviceProvider, feed_value='issues']]}", "messages": [ { "app": "state", "state": "{ response['serviceProvider'] = trigger.data.serviceProvider; response['insuranceAmount'] = trigger.data.insuranceAmount; response['payAmount'] = trigger.data.payAmount; response['willGoDown'] = $willGoDown; response['message'] = 'Offer made.'; }" } ] } ] } } ]
Technical information
Fees:
2,822 bytes
(353 headers, 2469 payload)
Level:1104971
Witnessed level:1104964
Main chain index:1103731
Latest included mc index:1103730
Status:stable/confirmed/final