5Q7QA33V6KQNCASGYAGE4CJ2XTS7WMLB
[
"autonomous agent",
{
"bounce_fees": {
"base": 10000
},
"init": "{
$method = trigger.data["method"];
}",
"getters": "{
$profileOf = $address=>{
$att = attestation[[attestors=this_address, address=$address, ifseveral='last', type="string"]].data;
$ret = ($att ? json_parse($att) : {}) || {address: $address};
return $ret;
};
}",
"messages": {
"cases": [
{
"if": "{
$method == "attest"
}",
"messages": [
{
"app": "attestation",
"init": "{
$profileString = json_stringify({foo: 'bar'});
}",
"payload": "{
{
address: trigger.address,
profile: {
data: $profileString
}
}
}"
}
]
},
{
"init": "{
$profileObj = $profileOf(trigger.address);
response["debug"] = $profileObj;
response["expected"] = {foo: 'bar'};
}",
"messages": [
{
"app": "state",
"state": "{
var["debug"] = $profileObj;
}"
}
]
}
]
}
}
]
- MCI: 2027042
- Not bounced
- Response unit:
- Response: {}
Show transactions in assets:
No transactions found, it may be worth changing the filter
Unit ID
Date
From
Direction
To
Amount
06.06.2021 14:06:10
5Q7QA33V6KQNCASGYAGE4CJ2XTS7WMLB
out
5Q7QA33V6KQNCASGYAGE4CJ2XTS7WMLB
06.06.2021 14:06:10
in
5Q7QA33V6KQNCASGYAGE4CJ2XTS7WMLB