24YOJ7AFWKKFZPK7MLJ3BHCPBNYGFIIG
[
"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.';
}"
}
]
}
]
}
}
]
- MCI: 1119192
- Not bounced
- Response: {
"responseVars": {
"serviceProvider": "AWS",
"insuranceAmount": 967682499546,
"payAmount": 96768249954,
"willGoDown": 1,
"message": "Offer made."
},
"error": "no messages after filtering"
}
- MCI: 1103832
- Not bounced
- Response: {
"responseVars": {
"serviceProvider": "azure",
"insuranceAmount": 94611,
"payAmount": 56767,
"willGoDown": 1,
"message": "Offer taken."
},
"error": "no messages after filtering"
}
Show transactions in assets:
No transactions found, it may be worth changing the filter
Unit ID
Date
From
Direction
To
Amount
24.10.2019 15:18:13
in
24YOJ7AFWKKFZPK7MLJ3BHCPBNYGFIIG
13.10.2019 15:00:16
in
24YOJ7AFWKKFZPK7MLJ3BHCPBNYGFIIG