MEPZIIEDRL3CA63T3ADE4O5BFDCSAJ2A
[
"autonomous agent",
{
"bounce_fees": {
"base": 10000
},
"init": "{
$asset = var['asset'];
}",
"messages": {
"cases": [
{
"if": "{ trigger.data.define AND !$asset }",
"messages": [
{
"app": "asset",
"payload": {
"is_private": false,
"is_transferrable": true,
"auto_destroy": false,
"fixed_denominations": false,
"issued_by_definer_only": true,
"cosigned_by_definer": false,
"spender_attested": false
}
},
{
"app": "state",
"state": "{
var['asset'] = response_unit;
response['asset'] = response_unit;
}"
}
]
},
{
"if": "{ trigger.data.repo AND trigger.data.donor }",
"init": "{
$donor = trigger.data.donor;
$repo = trigger.data.repo;
$asset_amount = trigger.data.asset_amount;
$base_amount = trigger.data.base_amount;
}",
"messages": [
{
"app": "payment",
"if": "{ $base_amount }",
"payload": {
"asset": "{$asset}",
"outputs": [
{
"address": "{$donor}",
"amount": "{ $base_amount }"
}
]
}
}
]
}
]
}
}
]
- MCI: 2526358
- Not bounced
- Response unit:
- Response: {
"responseVars": {
"asset": "n+hqg65TQ9XrwoG3WcxrFe/Vz7apnQUJ0+uMfLhMYxc="
}
}
Show transactions in assets:
No transactions found, it may be worth changing the filter
Unit ID
Date
From
Direction
To
Amount
18.01.2022 12:27:16
MEPZIIEDRL3CA63T3ADE4O5BFDCSAJ2A
out
MEPZIIEDRL3CA63T3ADE4O5BFDCSAJ2A
18.01.2022 12:27:16
in
MEPZIIEDRL3CA63T3ADE4O5BFDCSAJ2A