tx · 2QQ1reeDL1oyXmk2TbBGbTUEgaQ3qwyFJA9XC2sMDfAa

3N6btuDfXTh8F6rcCbpuevwjxv78VSjwy1g:  +0.012000 XTN
3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN:  +3.988000 XTN
3N4mYf6nJAkyPn8CBynLzqasvs9KZmJ5uVr:  -4.000000 XTN
———————————————————————————————————:  -0.00500000 Waves

2022.12.20 09:41 [2368264] transfer 3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD > 3N6btuDfXTh8F6rcCbpuevwjxv78VSjwy1g addMargin() 0.012000 XTN
2022.12.20 09:41 [2368264] invoke 3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD > 3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5 notifyFees()
2022.12.20 09:41 [2368264] invoke 3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1 > 3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN deposit() 0.028000 XTN
2022.12.20 09:41 [2368264] invoke 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH > 3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1 deposit() 0.028000 XTN
2022.12.20 09:41 [2368264] invoke 3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD > 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH addFree() 0.028000 XTN
2022.12.20 09:41 [2368264] invoke 3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1 > 3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN deposit() 3.960000 XTN
2022.12.20 09:41 [2368264] invoke 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH > 3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1 deposit() 3.960000 XTN
2022.12.20 09:41 [2368264] invoke 3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD > 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH addLocked() 3.960000 XTN
2022.12.20 09:41 [2368264] transfer 3MxN27tyS9DuFsab1QSfM5Q2BfauiyVCr4M > 3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD acceptPayment() 0.040000 XTN
2022.12.20 09:41 [2368264] invoke 3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD > 3MxN27tyS9DuFsab1QSfM5Q2BfauiyVCr4M acceptPayment() 0.040000 XTN
2022.12.20 09:41 [2368264] invoke 3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD > 3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5 computeFeeDiscount()
2022.12.20 09:41 [2368264] invoke 3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD > 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH exchangeFreeAndLocked()
2022.12.20 09:41 [2368264] invoke 3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD > 3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD syncTerminalPriceToOracle()
2022.12.20 09:41 [2368264] invoke 3N4mYf6nJAkyPn8CBynLzqasvs9KZmJ5uVr > 3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD addMargin() 4.000000 XTN
2022.12.20 09:41 [2368264] ethereum 3N4mYf6nJAkyPn8CBynLzqasvs9KZmJ5uVr > 3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD addMargin()

3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD: k_balance: 45245576656 -> 45249536656
3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD: k_positionFraction_3N4mYf6nJAkyPn8CBynLzqasvs9KZmJ5uVr: 322414643 == 322414643
3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD: k_positionOpenNotional_3N4mYf6nJAkyPn8CBynLzqasvs9KZmJ5uVr: 5940000 == 5940000
3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD: k_positionMargin_3N4mYf6nJAkyPn8CBynLzqasvs9KZmJ5uVr: 2970000 -> 6930000
3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD: k_positionSize_3N4mYf6nJAkyPn8CBynLzqasvs9KZmJ5uVr: -4858 == -4858
3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5: k_totalFeesInPeriod_3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD_2763: 135283052200 -> 135287052200
3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5: k_traderFeesInPeriod_3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD_3N4mYf6nJAkyPn8CBynLzqasvs9KZmJ5uVr_2763: 3000000 -> 7000000
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_rate: 186384094 -> 186384178
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_freeBalance: 6205090087200 -> 6205092887200
3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1: k_funds_HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ: 305215321228 -> 305215349228
3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN: k_funds: 305215321228 -> 305215349228
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_lockedBalance: 22492609601400 -> 22493005601400
3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1: k_funds_HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ: 305211361228 -> 305215321228
3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN: k_funds: 305211361228 -> 305215321228
3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD: k_lastDataStr: "27858619,27858620,27858622,27858624,27858626,27858627,27858629,27858630,27858631,27858632,27858633,27858634,27858635,27858636,27858637,27858638" -> "27858620,27858622,27858624,27858626,27858627,27858629,27858630,27858631,27858632,27858633,27858634,27858635,27858636,27858637,27858638,27858641"
3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD: k_lastMinuteId: 27858638 -> 27858641
3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD: k_twapDataPreviousMinuteId_27858641: 27858638
3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD: k_twapDataLastPrice_27858641: 1223110352
3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD: k_twapDataLastCumulativePrice_27858641: 13323263955868
3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD: k_bsAstW: 1000000 == 1000000
3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD: k_qtAstW: 513459755 -> 513459803
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_rate: 186384103 -> 186384094
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_freeBalanceBorrowed: 0 == 0
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_freeBalance: 6205090375000 -> 6205090087200
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_lockedBalance: 22492609313600 -> 22492609601400

{ "type": 18, "id": "2QQ1reeDL1oyXmk2TbBGbTUEgaQ3qwyFJA9XC2sMDfAa", "fee": 500000, "feeAssetId": null, "timestamp": 1671518415784, "version": 1, "chainId": 84, "bytes": "0xf8f18601852e42eba88502540be4008307a12094359cd768482f133f7bc5d6d5eb9d2a60ccaa1e9d80b884ef19a73900000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001f776eaf7f783ca65db6e13ee023bcf582995a9c1d18df24bda6cd81d6280c8de00000000000000000000000000000000000000000000000000000000003d090081cca03ce1ca2797a2d9d2f006eecfa3f39f8f99c1d3311faa6b9706d5443133471825a044167fd6d566de80deef08add3032cb9c3b9d2874c610a0c53f0380e79048771", "sender": "3N4mYf6nJAkyPn8CBynLzqasvs9KZmJ5uVr", "senderPublicKey": "3Zy7KNUrvRtJFEbGUPjBWWFGEQu18phwtrucb9mzGuTHUNGzhLSfhqgGBEaJXoMn3Qs97BPU7n33mxoasCVSmtBC", "height": 2368264, "applicationStatus": "succeeded", "spentComplexity": 3955, "payload": { "type": "invocation", "dApp": "3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD", "call": { "function": "addMargin", "args": [] }, "payment": [ { "amount": 4000000, "assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ" } ], "stateChanges": { "data": [ { "key": "k_positionSize_3N4mYf6nJAkyPn8CBynLzqasvs9KZmJ5uVr", "type": "integer", "value": -4858 }, { "key": "k_positionMargin_3N4mYf6nJAkyPn8CBynLzqasvs9KZmJ5uVr", "type": "integer", "value": 6930000 }, { "key": "k_positionOpenNotional_3N4mYf6nJAkyPn8CBynLzqasvs9KZmJ5uVr", "type": "integer", "value": 5940000 }, { "key": "k_positionFraction_3N4mYf6nJAkyPn8CBynLzqasvs9KZmJ5uVr", "type": "integer", "value": 322414643 }, { "key": "k_balance", "type": "integer", "value": 45249536656 } ], "transfers": [ { "address": "3N6btuDfXTh8F6rcCbpuevwjxv78VSjwy1g", "asset": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ", "amount": 12000 } ], "issues": [], "reissues": [], "burns": [], "sponsorFees": [], "leases": [], "leaseCancels": [], "invokes": [ { "dApp": "3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD", "call": { "function": "syncTerminalPriceToOracle", "args": [] }, "payment": [], "stateChanges": { "data": [ { "key": "k_qtAstW", "type": "integer", "value": 513459803 }, { "key": "k_bsAstW", "type": "integer", "value": 1000000 }, { "key": "k_twapDataLastCumulativePrice_27858641", "type": "integer", "value": 13323263955868 }, { "key": "k_twapDataLastPrice_27858641", "type": "integer", "value": 1223110352 }, { "key": "k_twapDataPreviousMinuteId_27858641", "type": "integer", "value": 27858638 }, { "key": "k_lastMinuteId", "type": "integer", "value": 27858641 }, { "key": "k_lastDataStr", "type": "string", "value": "27858620,27858622,27858624,27858626,27858627,27858629,27858630,27858631,27858632,27858633,27858634,27858635,27858636,27858637,27858638,27858641" } ], "transfers": [], "issues": [], "reissues": [], "burns": [], "sponsorFees": [], "leases": [], "leaseCancels": [], "invokes": [ { "dApp": "3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH", "call": { "function": "exchangeFreeAndLocked", "args": [ { "type": "Int", "value": 2878 } ] }, "payment": [], "stateChanges": { "data": [ { "key": "k_lockedBalance", "type": "integer", "value": 22492609601400 }, { "key": "k_freeBalance", "type": "integer", "value": 6205090087200 }, { "key": "k_freeBalanceBorrowed", "type": "integer", "value": 0 }, { "key": "k_rate", "type": "integer", "value": 186384094 } ], "transfers": [], "issues": [], "reissues": [], "burns": [], "sponsorFees": [], "leases": [], "leaseCancels": [], "invokes": [] } } ] } }, { "dApp": "3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5", "call": { "function": "computeFeeDiscount", "args": [ { "type": "String", "value": "3N4mYf6nJAkyPn8CBynLzqasvs9KZmJ5uVr" } ] }, "payment": [], "stateChanges": { "data": [], "transfers": [], "issues": [], "reissues": [], "burns": [], "sponsorFees": [], "leases": [], "leaseCancels": [], "invokes": [] } }, { "dApp": "3MxN27tyS9DuFsab1QSfM5Q2BfauiyVCr4M", "call": { "function": "acceptPayment", "args": [ { "type": "String", "value": "3N4mYf6nJAkyPn8CBynLzqasvs9KZmJ5uVr" } ] }, "payment": [ { "assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ", "amount": 40000 } ], "stateChanges": { "data": [], "transfers": [ { "address": "3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD", "asset": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ", "amount": 40000 } ], "issues": [], "reissues": [], "burns": [], "sponsorFees": [], "leases": [], "leaseCancels": [], "invokes": [] } }, { "dApp": "3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH", "call": { "function": "addLocked", "args": [ { "type": "Boolean", "value": false } ] }, "payment": [ { "assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ", "amount": 3960000 } ], "stateChanges": { "data": [ { "key": "k_lockedBalance", "type": "integer", "value": 22493005601400 } ], "transfers": [], "issues": [], "reissues": [], "burns": [], "sponsorFees": [], "leases": [], "leaseCancels": [], "invokes": [ { "dApp": "3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1", "call": { "function": "deposit", "args": [] }, "payment": [ { "assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ", "amount": 3960000 } ], "stateChanges": { "data": [ { "key": "k_funds_HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ", "type": "integer", "value": 305215321228 } ], "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": 3960000 } ], "stateChanges": { "data": [ { "key": "k_funds", "type": "integer", "value": 305215321228 } ], "transfers": [], "issues": [], "reissues": [], "burns": [], "sponsorFees": [], "leases": [], "leaseCancels": [], "invokes": [] } } ] } } ] } }, { "dApp": "3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH", "call": { "function": "addFree", "args": [] }, "payment": [ { "assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ", "amount": 28000 } ], "stateChanges": { "data": [ { "key": "k_freeBalance", "type": "integer", "value": 6205092887200 }, { "key": "k_rate", "type": "integer", "value": 186384178 } ], "transfers": [], "issues": [], "reissues": [], "burns": [], "sponsorFees": [], "leases": [], "leaseCancels": [], "invokes": [ { "dApp": "3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1", "call": { "function": "deposit", "args": [] }, "payment": [ { "assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ", "amount": 28000 } ], "stateChanges": { "data": [ { "key": "k_funds_HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ", "type": "integer", "value": 305215349228 } ], "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": 28000 } ], "stateChanges": { "data": [ { "key": "k_funds", "type": "integer", "value": 305215349228 } ], "transfers": [], "issues": [], "reissues": [], "burns": [], "sponsorFees": [], "leases": [], "leaseCancels": [], "invokes": [] } } ] } } ] } }, { "dApp": "3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5", "call": { "function": "notifyFees", "args": [ { "type": "String", "value": "3N4mYf6nJAkyPn8CBynLzqasvs9KZmJ5uVr" }, { "type": "Int", "value": 40000 } ] }, "payment": [], "stateChanges": { "data": [ { "key": "k_traderFeesInPeriod_3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD_3N4mYf6nJAkyPn8CBynLzqasvs9KZmJ5uVr_2763", "type": "integer", "value": 7000000 }, { "key": "k_totalFeesInPeriod_3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD_2763", "type": "integer", "value": 135287052200 } ], "transfers": [], "issues": [], "reissues": [], "burns": [], "sponsorFees": [], "leases": [], "leaseCancels": [], "invokes": [] } } ] } } }

github/deemru/w8io/169f3d6 
22.95 ms