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
7F0Ga3i6crxt1DUEHQIFqDx5mXsl9MfhbO29xF1K2SY=
Received
05.12.2020 00:04:52
Confirmation delay (full node)
4 minutes 24 seconds
Confirmation delay (light node)
5 minutes 13 seconds
Authors
3Y24IXW57546PQAPQ2SXYEPEDNX4KC6Y
Children
V3sEciqt2dmiNY4aAEZolM0rdds7cVKyaGuP+luv1Wc=
Parents
TBqDpX+aBBrkV4QrwaiTuBfwAAUiVWqrBWSF+XYaUBo=
Messages
Definition
Address:
PO3W4UIMSLEQLRT434PYPZAF6VPGB7WW
Definition:
[ "autonomous agent", { "doc_url": "https://ostable.org/stablecoin-t1-arbitrage-factory.json", "init": "{ $arbitrage_base_aa = 'WQBLYBRAMJVXDWS7BGTUNUTW2STO6LYP'; }", "messages": { "cases": [ { "if": "{var['creating']}", "messages": [ { "app": "state", "state": "{ $params = var['arb_' || trigger.address]; $params.shares_asset = trigger.unit; var['arb_' || trigger.address] = $params; var['creating'] = false; }" } ] }, { "init": "{ if (!is_aa(trigger.data.curve_aa)) bounce("curve_aa must be an AA"); $reserve_asset = definition[trigger.data.curve_aa][1].params.reserve_asset OTHERWISE 'base'; $asset1 = var[trigger.data.curve_aa]['asset1']; $asset2 = var[trigger.data.curve_aa]['asset2']; $params = { curve_aa: trigger.data.curve_aa, }; $governance_params = [ 'max_reserve_share', 'min_reserve_share', 'triggerer_reward_share', 'min_reserve_delta', ]; foreach($governance_params, 4, $p => { $value = trigger.data[$p]; // use AA default if missing if (exists($value)) { if ($p == 'min_reserve_delta'){ if (!is_integer($value) OR $value < 0) bounce("bad " || $p); } else { if (typeof($value) != 'number' OR $value < 0 OR $value > 1) bounce("bad " || $p); } $params[$p] = $value; } }); $arbitrage_aa = [ 'autonomous agent', { base_aa: $arbitrage_base_aa, params: $params } ]; $arbitrage_aa_address = chash160($arbitrage_aa); }", "messages": [ { "app": "payment", "payload": { "asset": "base", "outputs": [ { "address": "{ $arbitrage_aa_address }", "amount": 4000 } ] } }, { "app": "data", "payload": { "define": 1, "factory": "{this_address}" } }, { "app": "definition", "payload": { "definition": "{$arbitrage_aa}" } }, { "app": "state", "state": "{ $params.reserve_asset = $reserve_asset; $params.asset1 = $asset1; $params.asset2 = $asset2; var['arb_' || $arbitrage_aa_address] = $params; var['creating'] = 1; response['address'] = $arbitrage_aa_address; }" } ] } ] } } ]
Witnesses
2TO6NYBGX3NF5QS24MQLFR7KXYAMCIE5
4GDZSXHEFVFMHCUCSHZVXBVF5T2LJHMU
APABTE2IBKOIHLS2UNK6SAR4T5WRGH2J
DXYWHSZ72ZDNDZ7WYZXKWBBH425C6WZN
FAB6TH7IRAVHDLK2AAWY5YBE6CEBUACF
FOPUBEUPBC6YLIQDLKL6EW775BMV7YOH
GFK3RDAPQLLNCMQEVGGD2KCPZTLSG3HN
I2ADHGP4HL6J37NQAD73J7E5SKFIXJOT
JMFXY26FN76GWJJG7N36UI2LNONOGZJV
JPQKPRI5FMTQRJF4ZZMYZYDQVRD55OTC
TKT4UESIKTTRALRRLWS4SENSTJX6ODCW
UE25S4GRWZOLNXZKY4VWFHNJZWUSYCQC
Technical information
Fees:
2,819
bytes
(451 headers, 2368 payload)
Level:
6409895
Witnessed level:
6409878
Last ball unit:
mtiVBHEDRjKEB/x7ooaEVz5Yh0iycc1VShQwgx9M7Wg=
Main chain index:
6254535
Latest included mc index:
6254534
Status:
stable/confirmed/final