Search
Search

Transaction: HchxNaQ...hEdm

Signed by
Status
Succeeded
Transaction Fee
0.00338 
Deposit Value
90.052 
Gas Used
36 Tgas
Attached Gas
300 Tgas
Created
October 15, 2024 at 8:09:14am
Hash
HchxNaQpZaTd8jdsrdN3DnbS6yv5cSRJkXfzDRzghEdm

Actions

Called method: 'create_bot' in contract: grid.deltatrade.near
Arguments:
{ "grid_type": "EqOffset", "grid_offset": "1875000", "grid_rate": 0, "trigger_price": "0", "take_profit_price": "0", "stop_loss_price": "0", "valid_until_time": "1731575289105", "slippage": 100, "first_base_amount": "15000000000000000000000000", "first_quote_amount": "69000000", "last_base_amount": "15000000000000000000000000", "last_quote_amount": "84000000", "entry_price": "4900000000000000000", "name": "KlintV2", "pair_id": "wrap.near:17208628f84f5d6ad33f0da3bbbeb27ffcb398eac501a31bd6ad2011e36133a1", "fill_base_or_quote": true, "grid_buy_count": 2, "grid_sell_count": 6 }

Transaction Execution Plan

Convert Transaction To Receipt
Gas Burned:
334 Ggas
Tokens Burned:
0.00003 
Receipt:
Predecessor ID:
Gas Burned:
3 Tgas
Tokens Burned:
0.00036 
Called method: 'create_bot' in contract: grid.deltatrade.near
Arguments:
{ "grid_type": "EqOffset", "grid_offset": "1875000", "grid_rate": 0, "trigger_price": "0", "take_profit_price": "0", "stop_loss_price": "0", "valid_until_time": "1731575289105", "slippage": 100, "first_base_amount": "15000000000000000000000000", "first_quote_amount": "69000000", "last_base_amount": "15000000000000000000000000", "last_quote_amount": "84000000", "entry_price": "4900000000000000000", "name": "KlintV2", "pair_id": "wrap.near:17208628f84f5d6ad33f0da3bbbeb27ffcb398eac501a31bd6ad2011e36133a1", "fill_base_or_quote": true, "grid_buy_count": 2, "grid_sell_count": 6 }
Empty result
No logs
Receipt:
Predecessor ID:
Receiver ID:
Gas Burned:
1 Tgas
Tokens Burned:
0.00019 
Called method: 'near_deposit' in contract: wrap.near
Arguments:

The arguments are empty

Empty result
Deposit 90000000000000000000000000 NEAR to grid.deltatrade.near
Receipt:
Predecessor ID:
Receiver ID:
Gas Burned:
223 Ggas
Tokens Burned:
0 
Transferred 0.01459  to klint.near
Empty result
No logs
Receipt:
Predecessor ID:
Gas Burned:
4 Tgas
Tokens Burned:
0.00049 
Called method: 'after_wrap_near_for_create_bot' in contract: grid.deltatrade.near
Arguments:
{ "pair": { "base_token": "wrap.near", "quote_token": "17208628f84f5d6ad33f0da3bbbeb27ffcb398eac501a31bd6ad2011e36133a1", "base_oracle_id": "c415de8d2eba7db216527dff4b60e8f3a5311c740dadb233e13e12547e226750", "quote_oracle_id": "eaa020c61cc479712813461ce153894a96a6c00b21ed0cfc2798d1f9a9e9c94a", "require_oracle": true }, "user": "klint.near", "slippage": 100, "entry_price": [ 4900000000000000000, 0, 0, 0 ], "grid_bot": { "name": "KlintV2", "active": false, "user": "klint.near", "bot_id": "", "closed": false, "pair_id": "wrap.near:17208628f84f5d6ad33f0da3bbbeb27ffcb398eac501a31bd6ad2011e36133a1", "grid_type": "EqOffset", "grid_sell_count": 6, "grid_buy_count": 2, "grid_rate": 0, "grid_offset": [ 1875000, 0, 0, 0 ], "first_base_amount": [ 11609719004393898000, 813151, 0, 0 ], "first_quote_amount": [ 69000000, 0, 0, 0 ], "last_base_amount": [ 11609719004393898000, 813151, 0, 0 ], "last_quote_amount": [ 84000000, 0, 0, 0 ], "fill_base_or_quote": true, "trigger_price": [ 0, 0, 0, 0 ], "trigger_price_above_or_below": false, "take_profit_price": [ 0, 0, 0, 0 ], "stop_loss_price": [ 0, 0, 0, 0 ], "valid_until_time": [ 1731575289105, 0, 0, 0 ], "total_quote_amount": [ 139875000, 0, 0, 0 ], "total_base_amount": [ 14318081805234733000, 4878909, 0, 0 ], "revenue": [ 0, 0, 0, 0 ], "total_revenue": [ 0, 0, 0, 0 ] }, "amount": 9e+25, "recommender": null, "storage_fee": 5.2e+22 }
Result:
true
EVENT_JSON:{"data":[{"account_id":"klint.near","amount":"90000000000000000000000000","token_id":"wrap.near"}],"event":"deposit","standard":"DeltaBot","version":"0.0.1"}
Receipt:
Predecessor ID:
Receiver ID:
Gas Burned:
3 Tgas
Tokens Burned:
0.00035 
Called method: 'get_price' in contract: pyth-oracle.near
Arguments:
{ "price_identifier": "c415de8d2eba7db216527dff4b60e8f3a5311c740dadb233e13e12547e226750" }
Result:
{ "price": "498200200", "conf": "459512", "expo": -8, "publish_time": 1728979727 }
No logs
Receipt:
Predecessor ID:
Receiver ID:
Gas Burned:
223 Ggas
Tokens Burned:
0 
Transferred 0.01398  to klint.near
Empty result
No logs
Receipt:
Predecessor ID:
Receiver ID:
Gas Burned:
3 Tgas
Tokens Burned:
0.00035 
Called method: 'get_price' in contract: pyth-oracle.near
Arguments:
{ "price_identifier": "eaa020c61cc479712813461ce153894a96a6c00b21ed0cfc2798d1f9a9e9c94a" }
Result:
{ "price": "99996116", "conf": "112693", "expo": -8, "publish_time": 1728979727 }
No logs
Receipt:
Predecessor ID:
Receiver ID:
Gas Burned:
223 Ggas
Tokens Burned:
0 
Transferred 0.01398  to klint.near
Empty result
No logs
Receipt:
Predecessor ID:
Gas Burned:
5 Tgas
Tokens Burned:
0.00057 
Called method: 'get_price_for_create_bot_callback' in contract: grid.deltatrade.near
Arguments:
{ "promise_num": 2, "tokens": [ "wrap.near", "17208628f84f5d6ad33f0da3bbbeb27ffcb398eac501a31bd6ad2011e36133a1" ], "user": "klint.near", "slippage": 100, "entry_price": [ 4900000000000000000, 0, 0, 0 ], "pair": { "base_token": "wrap.near", "quote_token": "17208628f84f5d6ad33f0da3bbbeb27ffcb398eac501a31bd6ad2011e36133a1", "base_oracle_id": "c415de8d2eba7db216527dff4b60e8f3a5311c740dadb233e13e12547e226750", "quote_oracle_id": "eaa020c61cc479712813461ce153894a96a6c00b21ed0cfc2798d1f9a9e9c94a", "require_oracle": true }, "grid_bot": { "name": "KlintV2", "active": false, "user": "klint.near", "bot_id": "", "closed": false, "pair_id": "wrap.near:17208628f84f5d6ad33f0da3bbbeb27ffcb398eac501a31bd6ad2011e36133a1", "grid_type": "EqOffset", "grid_sell_count": 6, "grid_buy_count": 2, "grid_rate": 0, "grid_offset": [ 1875000, 0, 0, 0 ], "first_base_amount": [ 11609719004393898000, 813151, 0, 0 ], "first_quote_amount": [ 69000000, 0, 0, 0 ], "last_base_amount": [ 11609719004393898000, 813151, 0, 0 ], "last_quote_amount": [ 84000000, 0, 0, 0 ], "fill_base_or_quote": true, "trigger_price": [ 0, 0, 0, 0 ], "trigger_price_above_or_below": false, "take_profit_price": [ 0, 0, 0, 0 ], "stop_loss_price": [ 0, 0, 0, 0 ], "valid_until_time": [ 1731575289105, 0, 0, 0 ], "total_quote_amount": [ 139875000, 0, 0, 0 ], "total_base_amount": [ 14318081805234733000, 4878909, 0, 0 ], "revenue": [ 0, 0, 0, 0 ], "total_revenue": [ 0, 0, 0, 0 ] }, "recommender": null, "storage_fee": 5.2e+22 }
Result:
false
EVENT_JSON:{"data":[{"account_id":"klint.near","amount":"90000000000000000000000000","token_id":"wrap.near"}],"event":"withdraw_started","standard":"DeltaBot","version":"0.0.1"}
EVENT_JSON:{"data":[{"account_id":"klint.near","amount":"139875000","token_id":"17208628f84f5d6ad33f0da3bbbeb27ffcb398eac501a31bd6ad2011e36133a1"}],"event":"withdraw_started","standard":"DeltaBot","version":"0.0.1"}
EVENT_JSON:{"data":[{"reason":"INVALID_PRICE","user":"klint.near"}],"event":"create_bot_error","standard":"DeltaBot","version":"0.0.1"}
Receipt:
Predecessor ID:
Receiver ID:
Gas Burned:
2 Tgas
Tokens Burned:
0.00021 
Called method: 'near_withdraw' in contract: wrap.near
Arguments:
{ "amount": "90000000000000000000000000" }
SuccessReceiptId:
DVBgEAhJ2xe8G5yRbT3i2i2CKBHphXEeJ6YuF4abxAs9
Withdraw 90000000000000000000000000 NEAR from grid.deltatrade.near
Receipt:
Predecessor ID:
Gas Burned:
223 Ggas
Tokens Burned:
0.00002 
Transferred 90  to grid.deltatrade.near
Empty result
No logs
Receipt:
Predecessor ID:
Receiver ID:
Gas Burned:
223 Ggas
Tokens Burned:
0 
Transferred 0.00012  to klint.near
Empty result
No logs
Receipt:
Predecessor ID:
Receiver ID:
Gas Burned:
223 Ggas
Tokens Burned:
0 
Transferred 0.02886  to klint.near
Empty result
No logs
Receipt:
Predecessor ID:
Gas Burned:
2 Tgas
Tokens Burned:
0.00025 
Called method: 'after_withdraw_near' in contract: grid.deltatrade.near
Arguments:
{ "user": "klint.near", "amount": 9e+25 }
Result:
true
No logs
Receipt:
Predecessor ID:
Receiver ID:
Gas Burned:
223 Ggas
Tokens Burned:
0.00002 
Transferred 90  to klint.near
Empty result
No logs
Receipt:
Predecessor ID:
Receiver ID:
Gas Burned:
223 Ggas
Tokens Burned:
0 
Transferred 0.00012  to klint.near
Empty result
No logs
Receipt:
Predecessor ID:
Receiver ID:
Gas Burned:
223 Ggas
Tokens Burned:
0 
Transferred 0.02883  to klint.near
Empty result
No logs
Receipt:
Predecessor ID:
Receiver ID:
Gas Burned:
2 Tgas
Tokens Burned:
0.00028 
Called method: 'ft_transfer' in contract: 17208…11e36133a1
Arguments:
{ "receiver_id": "klint.near", "amount": "139875000", "memo": null }
Empty result
EVENT_JSON:{"standard":"nep141","version":"1.0.0","event":"ft_transfer","data":[{"old_owner_id":"grid.deltatrade.near","new_owner_id":"klint.near","amount":"139875000"}]}
Receipt:
Predecessor ID:
Receiver ID:
Gas Burned:
223 Ggas
Tokens Burned:
0 
Transferred 0.03518  to klint.near
Empty result
No logs
Receipt:
Predecessor ID:
Gas Burned:
2 Tgas
Tokens Burned:
0.00024 
Called method: 'after_ft_transfer' in contract: grid.deltatrade.near
Arguments:
{ "account_id": "klint.near", "token_id": "17208628f84f5d6ad33f0da3bbbeb27ffcb398eac501a31bd6ad2011e36133a1", "amount": "139875000" }
Result:
true
EVENT_JSON:{"data":[{"account_id":"klint.near","amount":"139875000","token_id":"17208628f84f5d6ad33f0da3bbbeb27ffcb398eac501a31bd6ad2011e36133a1"}],"event":"withdraw_succeeded","standard":"DeltaBot","version":"0.0.1"}
Receipt:
Predecessor ID:
Receiver ID:
Gas Burned:
223 Ggas
Tokens Burned:
0 
Transferred 0.04148  to klint.near
Empty result
No logs
Receipt:
Predecessor ID:
Receiver ID:
Gas Burned:
223 Ggas
Tokens Burned:
0.00002 
Transferred 0.052  to klint.near
Empty result
No logs
Receipt:
Predecessor ID:
Receiver ID:
Gas Burned:
223 Ggas
Tokens Burned:
0 
Transferred 0.00012  to klint.near
Empty result
No logs
Receipt:
Predecessor ID:
Receiver ID:
Gas Burned:
223 Ggas
Tokens Burned:
0 
Transferred 0.00302  to klint.near
Empty result
No logs
Receipt:
Predecessor ID:
Receiver ID:
Gas Burned:
223 Ggas
Tokens Burned:
0 
Transferred 0.00256  to klint.near
Empty result
No logs
Receipt:
Predecessor ID:
Receiver ID:
Gas Burned:
223 Ggas
Tokens Burned:
0 
Transferred 0.00189  to klint.near
Empty result
No logs