Transfers view
UTXO view
Obyte.org
Unit Legend
- not on main chain, not stable
- main chain, not stable
- bad unit
- not on main chain, stable/confirmed/final
- main chain, stable/confirmed/final
- not on main chain, selected
- main chain, selected
Close
Close
Unit ID
CwU3TfKx+/mqawt+TENdMcfqIVw5hCN7eGJm8T0YYW4=
Received
27.06.2021 00:42:28
Confirmation delay (full node)
1 minute 22 seconds
Confirmation delay (light node)
2 minutes 7 seconds
Authors
TNM2YRTJOANVGXMCFOH2FBVC3KYHZ4O6
Children
TeMSF7L0/FyZ4JnraFoAY5ghVzhlo810bLi9yCOGGrg=
Parents
qOiMFaKtTj2foLsghmInbNS3nyRQw/bWtvdyyaPFi6c=
Messages
Definition
Address:
EKZPWMJOKI6LTRKQTEUD7IFK4BBR5GMK
Definition:
[ "autonomous agent", { "doc_url": "https://counterstake.org/bridge-export-assistant-factory.json", "init": "{ $assistant_base_aa = 'WKGC4O5UPW37XEGQKXPINIXFAXHTYHKL'; }", "messages": { "cases": [ { "if": "{ var['creating'] }", "messages": [ { "app": "state", "state": "{ $params = var['assistant_' || trigger.address]; $params.shares_asset = trigger.unit; var['assistant_' || trigger.address] = $params; var['creating'] = false; }" } ] }, { "init": "{ if (!is_aa(trigger.data.bridge_aa)) bounce("bridge_aa must be an AA"); if (!is_valid_address(trigger.data.manager)) bounce("manager must be valid address"); if (typeof(trigger.data.management_fee) != 'number' OR trigger.data.management_fee < 0 OR trigger.data.management_fee >= 1) bounce("bad management_fee"); if (typeof(trigger.data.success_fee) != 'number' OR trigger.data.success_fee < 0 OR trigger.data.success_fee >= 1) bounce("bad success_fee"); $bridge_params = definition[trigger.data.bridge_aa][1].params; $stake_asset = $bridge_params.asset OTHERWISE 'base'; $params = { bridge_aa: trigger.data.bridge_aa, manager: trigger.data.manager, management_fee: trigger.data.management_fee, success_fee: trigger.data.success_fee, }; if (trigger.data.exponent){ if (typeof(trigger.data.exponent) != 'number' OR trigger.data.exponent <= 0) bounce("invalid exponent"); $params.exponent = trigger.data.exponent; } if (trigger.data.swap_fee){ if (typeof(trigger.data.swap_fee) != 'number' OR trigger.data.swap_fee < 0 OR trigger.data.swap_fee >= 1) bounce("invalid swap_fee"); $params.swap_fee = trigger.data.swap_fee; } if (exists(trigger.data.governance_challenging_period)){ if (!is_integer(trigger.data.governance_challenging_period) OR trigger.data.governance_challenging_period < 0) bounce("invalid governance_challenging_period"); $params.governance_challenging_period = trigger.data.governance_challenging_period; } if (exists(trigger.data.governance_freeze_period)){ if (!is_integer(trigger.data.governance_freeze_period) OR trigger.data.governance_freeze_period < 0) bounce("invalid governance_freeze_period"); $params.governance_freeze_period = trigger.data.governance_freeze_period; } $assistant_aa = [ 'autonomous agent', { base_aa: $assistant_base_aa, params: $params, } ]; $assistant_aa_address = chash160($assistant_aa); }", "messages": [ { "app": "payment", "payload": { "asset": "base", "outputs": [ { "address": "{ $assistant_aa_address }", "amount": 4000 } ] } }, { "app": "data", "payload": { "define": 1, "factory": "{this_address}" } }, { "app": "definition", "payload": { "definition": "{$assistant_aa}" } }, { "app": "state", "state": "{ $params.stake_asset = $stake_asset; var['assistant_' || $assistant_aa_address] = $params; var['creating'] = 1; response['address'] = $assistant_aa_address; }" } ] } ] } } ]
Witnesses
2FF7PSL7FYXVU5UIQHCVDTTPUOOG75GX
2GPBEZTAXKWEXMWCTGZALIZDNWS5B3V7
4H2AMKF6YO2IWJ5MYWJS3N7Y2YU2T4Z5
DFVODTYGTS3ILVOQ5MFKJIERH6LGKELP
ERMF7V2RLCPABMX5AMNGUQBAH4CD5TK4
F4KHJUCLJKY4JV7M5F754LAJX4EB7M4N
IOF6PTBDTLSTBS5NWHUSD7I2NHK3BQ2T
O4K4QILG6VPGTYLRAI2RGYRFJZ7N2Q2O
OPNUXBRSSQQGHKQNEPD2GLWQYEUY5XLD
PA4QK46276MJJD5DBOLIBMYKNNXMUVDP
RJDYXC4YQ4AZKFYTJVCR5GQJF5J6KPRI
WELOXP3EOA75JWNO6S5ZJHOO3EYFKPIR
Technical information
Fees:
3,758
bytes
(452 headers, 3306 payload)
Level:
2053922
Witnessed level:
2053912
Last ball unit:
mR8htEoE8wCUyLynf43MqIRQJrCEMCiEbhxMoFKNus4=
Main chain index:
2045928
Latest included mc index:
2045927
Status:
stable/confirmed/final