tx · 9PhX7uFYGw2cAZx5wUHPX7cS9DqrqieKASVyvnaT6YK9

3N6btuDfXTh8F6rcCbpuevwjxv78VSjwy1g:  +0.003000 XTN
3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN:  +0.997000 XTN
3N8ukrQcANMpBV5LKV7VoVuRfBoB1YrFpXg:  -1.000000 XTN
———————————————————————————————————:  -0.00500000 Waves

2022.12.19 14:10 [2367094] transfer 3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF > 3N6btuDfXTh8F6rcCbpuevwjxv78VSjwy1g addMargin() 0.003000 XTN
2022.12.19 14:10 [2367094] invoke 3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF > 3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5 notifyFees()
2022.12.19 14:10 [2367094] invoke 3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1 > 3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN deposit() 0.007000 XTN
2022.12.19 14:10 [2367094] invoke 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH > 3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1 deposit() 0.007000 XTN
2022.12.19 14:10 [2367094] invoke 3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF > 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH addFree() 0.007000 XTN
2022.12.19 14:10 [2367094] invoke 3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1 > 3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN deposit() 0.990000 XTN
2022.12.19 14:10 [2367094] invoke 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH > 3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1 deposit() 0.990000 XTN
2022.12.19 14:10 [2367094] invoke 3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF > 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH addLocked() 0.990000 XTN
2022.12.19 14:10 [2367094] transfer 3MxN27tyS9DuFsab1QSfM5Q2BfauiyVCr4M > 3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF acceptPayment() 0.010000 XTN
2022.12.19 14:10 [2367094] invoke 3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF > 3MxN27tyS9DuFsab1QSfM5Q2BfauiyVCr4M acceptPayment() 0.010000 XTN
2022.12.19 14:10 [2367094] invoke 3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF > 3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5 computeFeeDiscount()
2022.12.19 14:10 [2367094] invoke 3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF > 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH exchangeFreeAndLocked()
2022.12.19 14:10 [2367094] invoke 3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF > 3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF syncTerminalPriceToOracle()
2022.12.19 14:10 [2367094] invoke 3N8ukrQcANMpBV5LKV7VoVuRfBoB1YrFpXg > 3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF addMargin() 1.000000 XTN
2022.12.19 14:10 [2367094] ethereum 3N8ukrQcANMpBV5LKV7VoVuRfBoB1YrFpXg > 3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF addMargin()

3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF: k_balance: 7065507225 -> 7066497225
3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF: k_positionFraction_3N8ukrQcANMpBV5LKV7VoVuRfBoB1YrFpXg: 8407 == 8407
3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF: k_positionOpenNotional_3N8ukrQcANMpBV5LKV7VoVuRfBoB1YrFpXg: 4950000 == 4950000
3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF: k_positionMargin_3N8ukrQcANMpBV5LKV7VoVuRfBoB1YrFpXg: 4950000 -> 5940000
3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF: k_positionSize_3N8ukrQcANMpBV5LKV7VoVuRfBoB1YrFpXg: -253054614 == -253054614
3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5: k_totalFeesInPeriod_3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF_2763: 10569974300 -> 10570974300
3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5: k_traderFeesInPeriod_3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF_3N8ukrQcANMpBV5LKV7VoVuRfBoB1YrFpXg_2763: 5000000 -> 6000000
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_rate: 178845354 -> 178845375
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_freeBalance: 5954110727900 -> 5954111427900
3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1: k_funds_HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ: 276676053929 -> 276676060929
3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN: k_funds: 276676053929 -> 276676060929
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_lockedBalance: 19925313101500 -> 19925412101500
3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1: k_funds_HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ: 276675063929 -> 276676053929
3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN: k_funds: 276675063929 -> 276676053929
3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF: k_lastDataStr: "27857413,27857416,27857417,27857421,27857425,27857432,27857436,27857437,27857444,27857445,27857447,27857449,27857453,27857460,27857465,27857467" -> "27857416,27857417,27857421,27857425,27857432,27857436,27857437,27857444,27857445,27857447,27857449,27857453,27857460,27857465,27857467,27857470"
3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF: k_lastMinuteId: 27857467 -> 27857470
3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF: k_twapDataPreviousMinuteId_27857470: 27857467
3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF: k_twapDataLastPrice_27857470: 19708
3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF: k_twapDataLastCumulativePrice_27857470: 338497643
3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF: k_bsAstW: 1000000 == 1000000
3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF: k_qtAstW: 693997 -> 699232
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_rate: 178824883 -> 178845354
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_freeBalanceBorrowed: 0 == 0
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_freeBalance: 5953429201900 -> 5954110727900
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_lockedBalance: 19925994627500 -> 19925313101500

{ "type": 18, "id": "9PhX7uFYGw2cAZx5wUHPX7cS9DqrqieKASVyvnaT6YK9", "fee": 500000, "feeAssetId": null, "timestamp": 1671448240912, "version": 1, "chainId": 84, "bytes": "0xf8f18601852a1423108502540be4008307a1209488e05c9ddbcd3f7f12c2865e1d48da5661ad8b0b80b884ef19a73900000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001f776eaf7f783ca65db6e13ee023bcf582995a9c1d18df24bda6cd81d6280c8de00000000000000000000000000000000000000000000000000000000000f424081cba0ab331bd27e783661f65678c1e2947190f3f44983317285ef8284440e00c1ecfaa00fac4f644d806b548680cdce8a673d338a298967ad71e9c801b5de27b7dffce4", "sender": "3N8ukrQcANMpBV5LKV7VoVuRfBoB1YrFpXg", "senderPublicKey": "spPrZq2r4LDQzXppSY3iWP7WCyqQg2fpxUzNXNJS9EdhHyGsjK26XLrXZbGkNMu8ZJEGWHuzgUL8sDWPMkphWbY", "height": 2367094, "applicationStatus": "succeeded", "spentComplexity": 3913, "payload": { "type": "invocation", "dApp": "3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF", "call": { "function": "addMargin", "args": [] }, "payment": [ { "amount": 1000000, "assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ" } ], "stateChanges": { "data": [ { "key": "k_positionSize_3N8ukrQcANMpBV5LKV7VoVuRfBoB1YrFpXg", "type": "integer", "value": -253054614 }, { "key": "k_positionMargin_3N8ukrQcANMpBV5LKV7VoVuRfBoB1YrFpXg", "type": "integer", "value": 5940000 }, { "key": "k_positionOpenNotional_3N8ukrQcANMpBV5LKV7VoVuRfBoB1YrFpXg", "type": "integer", "value": 4950000 }, { "key": "k_positionFraction_3N8ukrQcANMpBV5LKV7VoVuRfBoB1YrFpXg", "type": "integer", "value": 8407 }, { "key": "k_balance", "type": "integer", "value": 7066497225 } ], "transfers": [ { "address": "3N6btuDfXTh8F6rcCbpuevwjxv78VSjwy1g", "asset": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ", "amount": 3000 } ], "issues": [], "reissues": [], "burns": [], "sponsorFees": [], "leases": [], "leaseCancels": [], "invokes": [ { "dApp": "3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF", "call": { "function": "syncTerminalPriceToOracle", "args": [] }, "payment": [], "stateChanges": { "data": [ { "key": "k_qtAstW", "type": "integer", "value": 699232 }, { "key": "k_bsAstW", "type": "integer", "value": 1000000 }, { "key": "k_twapDataLastCumulativePrice_27857470", "type": "integer", "value": 338497643 }, { "key": "k_twapDataLastPrice_27857470", "type": "integer", "value": 19708 }, { "key": "k_twapDataPreviousMinuteId_27857470", "type": "integer", "value": 27857467 }, { "key": "k_lastMinuteId", "type": "integer", "value": 27857470 }, { "key": "k_lastDataStr", "type": "string", "value": "27857416,27857417,27857421,27857425,27857432,27857436,27857437,27857444,27857445,27857447,27857449,27857453,27857460,27857465,27857467,27857470" } ], "transfers": [], "issues": [], "reissues": [], "burns": [], "sponsorFees": [], "leases": [], "leaseCancels": [], "invokes": [ { "dApp": "3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH", "call": { "function": "exchangeFreeAndLocked", "args": [ { "type": "Int", "value": -6815260 } ] }, "payment": [], "stateChanges": { "data": [ { "key": "k_lockedBalance", "type": "integer", "value": 19925313101500 }, { "key": "k_freeBalance", "type": "integer", "value": 5954110727900 }, { "key": "k_freeBalanceBorrowed", "type": "integer", "value": 0 }, { "key": "k_rate", "type": "integer", "value": 178845354 } ], "transfers": [], "issues": [], "reissues": [], "burns": [], "sponsorFees": [], "leases": [], "leaseCancels": [], "invokes": [] } } ] } }, { "dApp": "3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5", "call": { "function": "computeFeeDiscount", "args": [ { "type": "String", "value": "3N8ukrQcANMpBV5LKV7VoVuRfBoB1YrFpXg" } ] }, "payment": [], "stateChanges": { "data": [], "transfers": [], "issues": [], "reissues": [], "burns": [], "sponsorFees": [], "leases": [], "leaseCancels": [], "invokes": [] } }, { "dApp": "3MxN27tyS9DuFsab1QSfM5Q2BfauiyVCr4M", "call": { "function": "acceptPayment", "args": [ { "type": "String", "value": "3N8ukrQcANMpBV5LKV7VoVuRfBoB1YrFpXg" } ] }, "payment": [ { "assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ", "amount": 10000 } ], "stateChanges": { "data": [], "transfers": [ { "address": "3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF", "asset": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ", "amount": 10000 } ], "issues": [], "reissues": [], "burns": [], "sponsorFees": [], "leases": [], "leaseCancels": [], "invokes": [] } }, { "dApp": "3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH", "call": { "function": "addLocked", "args": [ { "type": "Boolean", "value": false } ] }, "payment": [ { "assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ", "amount": 990000 } ], "stateChanges": { "data": [ { "key": "k_lockedBalance", "type": "integer", "value": 19925412101500 } ], "transfers": [], "issues": [], "reissues": [], "burns": [], "sponsorFees": [], "leases": [], "leaseCancels": [], "invokes": [ { "dApp": "3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1", "call": { "function": "deposit", "args": [] }, "payment": [ { "assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ", "amount": 990000 } ], "stateChanges": { "data": [ { "key": "k_funds_HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ", "type": "integer", "value": 276676053929 } ], "transfers": [], "issues": [], "reissues": [], "burns": [], "sponsorFees": [], "leases": [], "leaseCancels": [], "invokes": [ { "dApp": "3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN", "call": { "function": "deposit", "args": [ { "type": "String", "value": "3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN" }, { "type": "Boolean", "value": false } ] }, "payment": [ { "assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ", "amount": 990000 } ], "stateChanges": { "data": [ { "key": "k_funds", "type": "integer", "value": 276676053929 } ], "transfers": [], "issues": [], "reissues": [], "burns": [], "sponsorFees": [], "leases": [], "leaseCancels": [], "invokes": [] } } ] } } ] } }, { "dApp": "3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH", "call": { "function": "addFree", "args": [] }, "payment": [ { "assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ", "amount": 7000 } ], "stateChanges": { "data": [ { "key": "k_freeBalance", "type": "integer", "value": 5954111427900 }, { "key": "k_rate", "type": "integer", "value": 178845375 } ], "transfers": [], "issues": [], "reissues": [], "burns": [], "sponsorFees": [], "leases": [], "leaseCancels": [], "invokes": [ { "dApp": "3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1", "call": { "function": "deposit", "args": [] }, "payment": [ { "assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ", "amount": 7000 } ], "stateChanges": { "data": [ { "key": "k_funds_HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ", "type": "integer", "value": 276676060929 } ], "transfers": [], "issues": [], "reissues": [], "burns": [], "sponsorFees": [], "leases": [], "leaseCancels": [], "invokes": [ { "dApp": "3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN", "call": { "function": "deposit", "args": [ { "type": "String", "value": "3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN" }, { "type": "Boolean", "value": false } ] }, "payment": [ { "assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ", "amount": 7000 } ], "stateChanges": { "data": [ { "key": "k_funds", "type": "integer", "value": 276676060929 } ], "transfers": [], "issues": [], "reissues": [], "burns": [], "sponsorFees": [], "leases": [], "leaseCancels": [], "invokes": [] } } ] } } ] } }, { "dApp": "3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5", "call": { "function": "notifyFees", "args": [ { "type": "String", "value": "3N8ukrQcANMpBV5LKV7VoVuRfBoB1YrFpXg" }, { "type": "Int", "value": 10000 } ] }, "payment": [], "stateChanges": { "data": [ { "key": "k_traderFeesInPeriod_3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF_3N8ukrQcANMpBV5LKV7VoVuRfBoB1YrFpXg_2763", "type": "integer", "value": 6000000 }, { "key": "k_totalFeesInPeriod_3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF_2763", "type": "integer", "value": 10570974300 } ], "transfers": [], "issues": [], "reissues": [], "burns": [], "sponsorFees": [], "leases": [], "leaseCancels": [], "invokes": [] } } ] } } }

github/deemru/w8io/169f3d6 
45.11 ms