tx · 2J2u6JCP1RSWGqR6RqLPDQhaPVU7dgAk8wwY3yrdsfCK

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

2022.12.13 19:18 [2358778] transfer 3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q > 3N6btuDfXTh8F6rcCbpuevwjxv78VSjwy1g addMargin() 0.003000 XTN
2022.12.13 19:18 [2358778] invoke 3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q > 3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5 notifyFees()
2022.12.13 19:18 [2358778] invoke 3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1 > 3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN deposit() 0.007000 XTN
2022.12.13 19:18 [2358778] invoke 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH > 3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1 deposit() 0.007000 XTN
2022.12.13 19:18 [2358778] invoke 3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q > 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH addFree() 0.007000 XTN
2022.12.13 19:18 [2358778] invoke 3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1 > 3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN deposit() 0.990000 XTN
2022.12.13 19:18 [2358778] invoke 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH > 3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1 deposit() 0.990000 XTN
2022.12.13 19:18 [2358778] invoke 3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q > 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH addLocked() 0.990000 XTN
2022.12.13 19:18 [2358778] transfer 3MxN27tyS9DuFsab1QSfM5Q2BfauiyVCr4M > 3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q acceptPayment() 0.010000 XTN
2022.12.13 19:18 [2358778] invoke 3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q > 3MxN27tyS9DuFsab1QSfM5Q2BfauiyVCr4M acceptPayment() 0.010000 XTN
2022.12.13 19:18 [2358778] invoke 3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q > 3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5 computeFeeDiscount()
2022.12.13 19:18 [2358778] invoke 3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q > 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH exchangeFreeAndLocked()
2022.12.13 19:18 [2358778] invoke 3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q > 3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q syncTerminalPriceToOracle()
2022.12.13 19:18 [2358778] invoke 3Mp22yiskd9x9dYR3SC4aJdtT8XjcrNzrs7 > 3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q addMargin() 1.000000 XTN

3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q: k_balance: 1729707861 -> 1730697861
3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q: k_positionFraction_3Mp22yiskd9x9dYR3SC4aJdtT8XjcrNzrs7: 6996 == 6996
3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q: k_positionOpenNotional_3Mp22yiskd9x9dYR3SC4aJdtT8XjcrNzrs7: 9900000 == 9900000
3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q: k_positionMargin_3Mp22yiskd9x9dYR3SC4aJdtT8XjcrNzrs7: 4950000 -> 5940000
3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q: k_positionSize_3Mp22yiskd9x9dYR3SC4aJdtT8XjcrNzrs7: 5715578 == 5715578
3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5: k_totalFeesInPeriod_3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q_2762: 1769000000 -> 1770000000
3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5: k_traderFeesInPeriod_3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q_3Mp22yiskd9x9dYR3SC4aJdtT8XjcrNzrs7_2762: 5000000 -> 6000000
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_rate: 105536487 -> 105536545
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_freeBalance: 1266437840600 -> 1266438540600
3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1: k_funds_HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ: 41741524333 -> 41741531333
3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN: k_funds: 41741524333 -> 41741531333
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_lockedBalance: 1382004920400 -> 1382103920400
3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1: k_funds_HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ: 41740534333 -> 41741524333
3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN: k_funds: 41740534333 -> 41741524333
3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q: k_lastDataStr: "27848920,27848973,27849032,27849092,27849106,27849115,27849117,27849118,27849121,27849123,27849129,27849130,27849133,27849135,27849136,27849137" -> "27848973,27849032,27849092,27849106,27849115,27849117,27849118,27849121,27849123,27849129,27849130,27849133,27849135,27849136,27849137,27849138"
3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q: k_lastMinuteId: 27849137 -> 27849138
3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q: k_twapDataPreviousMinuteId_27849138: 27849137
3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q: k_twapDataLastPrice_27849138: 1730122
3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q: k_twapDataLastCumulativePrice_27849138: 2678329128
3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q: k_bsAstW: 1000000 == 1000000
3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q: k_qtAstW: 736579 -> 735731
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_rate: 105563827 -> 105536487
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_freeBalanceBorrowed: 0 == 0
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_freeBalance: 1266765926600 -> 1266437840600
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_lockedBalance: 1381676834400 -> 1382004920400

{ "type": 16, "id": "2J2u6JCP1RSWGqR6RqLPDQhaPVU7dgAk8wwY3yrdsfCK", "fee": 500000, "feeAssetId": null, "timestamp": 1670948288614, "version": 2, "chainId": 84, "sender": "3Mp22yiskd9x9dYR3SC4aJdtT8XjcrNzrs7", "senderPublicKey": "2YuCvYxXMJMQSnK8iCcV4Tbuas9FvCh13JykyNaYuX16", "proofs": [ "42z9GJU6mKxryG7vVuKA73DV9pjwqXCrXiLPpSvBPRMRopV6uRjgLPDN3mpjKF7Xj8sWfUKvuiLs2igJifxzrA6G" ], "dApp": "3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q", "payment": [ { "amount": 1000000, "assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ" } ], "call": { "function": "addMargin", "args": [] }, "height": 2358778, "applicationStatus": "succeeded", "spentComplexity": 3983, "stateChanges": { "data": [ { "key": "k_positionSize_3Mp22yiskd9x9dYR3SC4aJdtT8XjcrNzrs7", "type": "integer", "value": 5715578 }, { "key": "k_positionMargin_3Mp22yiskd9x9dYR3SC4aJdtT8XjcrNzrs7", "type": "integer", "value": 5940000 }, { "key": "k_positionOpenNotional_3Mp22yiskd9x9dYR3SC4aJdtT8XjcrNzrs7", "type": "integer", "value": 9900000 }, { "key": "k_positionFraction_3Mp22yiskd9x9dYR3SC4aJdtT8XjcrNzrs7", "type": "integer", "value": 6996 }, { "key": "k_balance", "type": "integer", "value": 1730697861 } ], "transfers": [ { "address": "3N6btuDfXTh8F6rcCbpuevwjxv78VSjwy1g", "asset": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ", "amount": 3000 } ], "issues": [], "reissues": [], "burns": [], "sponsorFees": [], "leases": [], "leaseCancels": [], "invokes": [ { "dApp": "3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q", "call": { "function": "syncTerminalPriceToOracle", "args": [] }, "payment": [], "stateChanges": { "data": [ { "key": "k_qtAstW", "type": "integer", "value": 735731 }, { "key": "k_bsAstW", "type": "integer", "value": 1000000 }, { "key": "k_twapDataLastCumulativePrice_27849138", "type": "integer", "value": 2678329128 }, { "key": "k_twapDataLastPrice_27849138", "type": "integer", "value": 1730122 }, { "key": "k_twapDataPreviousMinuteId_27849138", "type": "integer", "value": 27849137 }, { "key": "k_lastMinuteId", "type": "integer", "value": 27849138 }, { "key": "k_lastDataStr", "type": "string", "value": "27848973,27849032,27849092,27849106,27849115,27849117,27849118,27849121,27849123,27849129,27849130,27849133,27849135,27849136,27849137,27849138" } ], "transfers": [], "issues": [], "reissues": [], "burns": [], "sponsorFees": [], "leases": [], "leaseCancels": [], "invokes": [ { "dApp": "3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH", "call": { "function": "exchangeFreeAndLocked", "args": [ { "type": "Int", "value": 3280860 } ] }, "payment": [], "stateChanges": { "data": [ { "key": "k_lockedBalance", "type": "integer", "value": 1382004920400 }, { "key": "k_freeBalance", "type": "integer", "value": 1266437840600 }, { "key": "k_freeBalanceBorrowed", "type": "integer", "value": 0 }, { "key": "k_rate", "type": "integer", "value": 105536487 } ], "transfers": [], "issues": [], "reissues": [], "burns": [], "sponsorFees": [], "leases": [], "leaseCancels": [], "invokes": [] } } ] } }, { "dApp": "3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5", "call": { "function": "computeFeeDiscount", "args": [ { "type": "String", "value": "3Mp22yiskd9x9dYR3SC4aJdtT8XjcrNzrs7" } ] }, "payment": [], "stateChanges": { "data": [], "transfers": [], "issues": [], "reissues": [], "burns": [], "sponsorFees": [], "leases": [], "leaseCancels": [], "invokes": [] } }, { "dApp": "3MxN27tyS9DuFsab1QSfM5Q2BfauiyVCr4M", "call": { "function": "acceptPayment", "args": [ { "type": "String", "value": "3Mp22yiskd9x9dYR3SC4aJdtT8XjcrNzrs7" } ] }, "payment": [ { "assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ", "amount": 10000 } ], "stateChanges": { "data": [], "transfers": [ { "address": "3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q", "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": 1382103920400 } ], "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": 41741524333 } ], "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": 41741524333 } ], "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": 1266438540600 }, { "key": "k_rate", "type": "integer", "value": 105536545 } ], "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": 41741531333 } ], "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": 41741531333 } ], "transfers": [], "issues": [], "reissues": [], "burns": [], "sponsorFees": [], "leases": [], "leaseCancels": [], "invokes": [] } } ] } } ] } }, { "dApp": "3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5", "call": { "function": "notifyFees", "args": [ { "type": "String", "value": "3Mp22yiskd9x9dYR3SC4aJdtT8XjcrNzrs7" }, { "type": "Int", "value": 10000 } ] }, "payment": [], "stateChanges": { "data": [ { "key": "k_traderFeesInPeriod_3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q_3Mp22yiskd9x9dYR3SC4aJdtT8XjcrNzrs7_2762", "type": "integer", "value": 6000000 }, { "key": "k_totalFeesInPeriod_3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q_2762", "type": "integer", "value": 1770000000 } ], "transfers": [], "issues": [], "reissues": [], "burns": [], "sponsorFees": [], "leases": [], "leaseCancels": [], "invokes": [] } } ] } }

github/deemru/w8io/169f3d6 
35.76 ms