{"type":"EditReservedAmount","data":{"amount_native":19930000000,"new_reserved_amount_native":172569190,"increase":false,"account_id":"knowyourenemy.near","asset_id":"usdt.tether-token.near"}} {"type":"EditFees","data":{"fee_native":0,"fee_usd":0,"fee_type":"funding","new_accumulated_fees_native":1462837156,"new_accumulated_fees_usd":1462837156,"increase":true,"account_id":"knowyourenemy.near","asset_id":"usdt.tether-token.near"}} {"type":"EditFees","data":{"fee_native":39860000,"fee_usd":39860000,"fee_type":"position","new_accumulated_fees_native":1502697156,"new_accumulated_fees_usd":1502697156,"increase":true,"account_id":"knowyourenemy.near","asset_id":"usdt.tether-token.near"}} collateral delta > 0 usd_out: 1829154000 collateral reduction: 1949154000 position size = size delta, usd_out: 1829154000 collateral reduction: 1949154000 usd_out: 1829154000 adjusted delta: 120000000 has_profit false {"type":"EditPoolBalance","data":{"amount_native":120000000,"new_pool_balance_native":40817594921,"increase":true,"account_id":"knowyourenemy.near","asset_id":"usdt.tether-token.near"}} {"type":"EditPosition","data":{"direction":"decrease","account_id":"knowyourenemy.near","position_id":"GzxnfPQELmT3nJZMmkyBQEaqYd21i2yoJQ62tFnX6UAx","collateral_token":"usdt.tether-token.near","underlying_token":"near","collateral_delta_native":"1949154000","collateral_delta_usd":"1949154000","size_delta_usd":"19930000000","new_size_usd":"0","is_long":false,"price_usd":"2005000","usd_out":"1829154000","total_fee_usd":"39860000","margin_fee_usd":"39860000","position_fee_usd":"0","total_fee_native":"39860000","margin_fee_native":"39860000","position_fee_native":"0","referral_code":null,"realized_pnl_to_date_usd":"-120000000","adjusted_delta_usd":"-120000000","state":"closed","limit_order_id":null,"liquidator_id":null}} {"type":"EditPoolBalance","data":{"amount_native":1789294000,"new_pool_balance_native":42606888921,"increase":true,"account_id":"knowyourenemy.near","asset_id":"usdt.tether-token.near"}} {"type":"EditPoolBalance","data":{"amount_native":892415960099750623441396508,"new_pool_balance_native":52319838008735785548440926077,"increase":false,"account_id":"knowyourenemy.near","asset_id":"near"}} {"type":"EditFees","data":{"fee_native":1784831920199501246882793,"fee_usd":3578587,"fee_type":"swap","new_accumulated_fees_native":1466940730612190993535122109,"new_accumulated_fees_usd":2941216164,"increase":true,"account_id":"knowyourenemy.near","asset_id":"near"}} {"type":"Swap","data":{"account_id":"knowyourenemy.near","token_in":"usdt.tether-token.near","token_out":"near","amount_in_native":"1789294000","amount_in_usd":"1789294000","amount_out_native":"892415960099750623441396508","amount_out_usd":"1789293999","fees_native":"1784831920199501246882793","fees_usd":"3578587","fee_bps":20,"referral_code":null}} {"type":"TokenDepositWithdraw","data":{"amount_native":"890631128179551122194513715","deposit":false,"method":"decrease_position","receiver_id":"knowyourenemy.near","account_id":"v1.tonic-perps.near","asset_id":"near"}}