tx · Dhfsa8EkgEAyP9gJ5pyNepwpK9j9L7fhxB32Fvt1Juba

3N6btuDfXTh8F6rcCbpuevwjxv78VSjwy1g:  +0.060000 XTN
3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN:  +19.940000 XTN
3MrWiJy2ttokyYKfdfCupttoRfAFCw2eXqN:  -20.000000 XTN
———————————————————————————————————:  -0.00500000 Waves

2022.12.15 17:10 [2361529] transfer 3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q > 3N6btuDfXTh8F6rcCbpuevwjxv78VSjwy1g addMargin() 0.060000 XTN
2022.12.15 17:10 [2361529] invoke 3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q > 3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5 notifyFees()
2022.12.15 17:10 [2361529] invoke 3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1 > 3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN deposit() 0.140000 XTN
2022.12.15 17:10 [2361529] invoke 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH > 3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1 deposit() 0.140000 XTN
2022.12.15 17:10 [2361529] invoke 3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q > 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH addFree() 0.140000 XTN
2022.12.15 17:10 [2361529] invoke 3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1 > 3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN deposit() 19.800000 XTN
2022.12.15 17:10 [2361529] invoke 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH > 3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1 deposit() 19.800000 XTN
2022.12.15 17:10 [2361529] invoke 3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q > 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH addLocked() 19.800000 XTN
2022.12.15 17:10 [2361529] transfer 3MxN27tyS9DuFsab1QSfM5Q2BfauiyVCr4M > 3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q acceptPayment() 0.200000 XTN
2022.12.15 17:10 [2361529] invoke 3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q > 3MxN27tyS9DuFsab1QSfM5Q2BfauiyVCr4M acceptPayment() 0.200000 XTN
2022.12.15 17:10 [2361529] invoke 3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q > 3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5 computeFeeDiscount()
2022.12.15 17:10 [2361529] invoke 3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q > 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH exchangeFreeAndLocked()
2022.12.15 17:10 [2361529] invoke 3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q > 3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q syncTerminalPriceToOracle()
2022.12.15 17:10 [2361529] invoke 3MrWiJy2ttokyYKfdfCupttoRfAFCw2eXqN > 3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q addMargin() 20.000000 XTN

3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q: k_balance: 38814074642 -> 38833874642
3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q: k_positionFraction_3MrWiJy2ttokyYKfdfCupttoRfAFCw2eXqN: 53950 == 53950
3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q: k_positionOpenNotional_3MrWiJy2ttokyYKfdfCupttoRfAFCw2eXqN: 74883176 == 74883176
3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q: k_positionMargin_3MrWiJy2ttokyYKfdfCupttoRfAFCw2eXqN: 8324915 -> 28124915
3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q: k_positionSize_3MrWiJy2ttokyYKfdfCupttoRfAFCw2eXqN: 40720428 == 40720428
3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5: k_totalFeesInPeriod_3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q_2763: 69797646600 -> 69817646600
3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5: k_traderFeesInPeriod_3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q_3MrWiJy2ttokyYKfdfCupttoRfAFCw2eXqN_2763: 20000000
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_rate: 124614486 -> 124614907
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_freeBalance: 4148659340500 -> 4148673340500
3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1: k_funds_HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ: 182247985092 -> 182248125092
3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN: k_funds: 182247985092 -> 182248125092
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_lockedBalance: 12450157711200 -> 12452137711200
3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1: k_funds_HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ: 182228185092 -> 182247985092
3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN: k_funds: 182228185092 -> 182247985092
3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q: k_lastDataStr: "27851871,27851872,27851873,27851875,27851877,27851878,27851879,27851881,27851882,27851883,27851884,27851885,27851886,27851887,27851888,27851889" -> "27851872,27851873,27851875,27851877,27851878,27851879,27851881,27851882,27851883,27851884,27851885,27851886,27851887,27851888,27851889,27851890"
3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q: k_lastMinuteId: 27851889 -> 27851890
3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q: k_twapDataPreviousMinuteId_27851890: 27851889
3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q: k_twapDataLastPrice_27851890: 1818522
3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q: k_twapDataLastCumulativePrice_27851890: 7686470349
3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q: k_bsAstW: 1000000 == 1000000
3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q: k_qtAstW: 761213 -> 764195
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_rate: 124762210 -> 124614486
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_freeBalanceBorrowed: 0 == 0
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_freeBalance: 4153577367100 -> 4148659340500
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_lockedBalance: 12445239684600 -> 12450157711200

{ "type": 16, "id": "Dhfsa8EkgEAyP9gJ5pyNepwpK9j9L7fhxB32Fvt1Juba", "fee": 500000, "feeAssetId": null, "timestamp": 1671113446536, "version": 2, "chainId": 84, "sender": "3MrWiJy2ttokyYKfdfCupttoRfAFCw2eXqN", "senderPublicKey": "GcDKdjzWf4G8kyvs1GxHovah4LiGBP8dgAovKPTBKduQ", "proofs": [ "M5iihy6m8y41p6f2tNu5YTmaP9YWsH28XR2fcNhS77C2VA8CmtUUv8qJByD431Ff4YKhNmqCVEZE3uiLs68KS8J" ], "dApp": "3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q", "payment": [ { "amount": 20000000, "assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ" } ], "call": { "function": "addMargin", "args": [] }, "height": 2361529, "applicationStatus": "succeeded", "spentComplexity": 3981, "stateChanges": { "data": [ { "key": "k_positionSize_3MrWiJy2ttokyYKfdfCupttoRfAFCw2eXqN", "type": "integer", "value": 40720428 }, { "key": "k_positionMargin_3MrWiJy2ttokyYKfdfCupttoRfAFCw2eXqN", "type": "integer", "value": 28124915 }, { "key": "k_positionOpenNotional_3MrWiJy2ttokyYKfdfCupttoRfAFCw2eXqN", "type": "integer", "value": 74883176 }, { "key": "k_positionFraction_3MrWiJy2ttokyYKfdfCupttoRfAFCw2eXqN", "type": "integer", "value": 53950 }, { "key": "k_balance", "type": "integer", "value": 38833874642 } ], "transfers": [ { "address": "3N6btuDfXTh8F6rcCbpuevwjxv78VSjwy1g", "asset": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ", "amount": 60000 } ], "issues": [], "reissues": [], "burns": [], "sponsorFees": [], "leases": [], "leaseCancels": [], "invokes": [ { "dApp": "3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q", "call": { "function": "syncTerminalPriceToOracle", "args": [] }, "payment": [], "stateChanges": { "data": [ { "key": "k_qtAstW", "type": "integer", "value": 764195 }, { "key": "k_bsAstW", "type": "integer", "value": 1000000 }, { "key": "k_twapDataLastCumulativePrice_27851890", "type": "integer", "value": 7686470349 }, { "key": "k_twapDataLastPrice_27851890", "type": "integer", "value": 1818522 }, { "key": "k_twapDataPreviousMinuteId_27851890", "type": "integer", "value": 27851889 }, { "key": "k_lastMinuteId", "type": "integer", "value": 27851890 }, { "key": "k_lastDataStr", "type": "string", "value": "27851872,27851873,27851875,27851877,27851878,27851879,27851881,27851882,27851883,27851884,27851885,27851886,27851887,27851888,27851889,27851890" } ], "transfers": [], "issues": [], "reissues": [], "burns": [], "sponsorFees": [], "leases": [], "leaseCancels": [], "invokes": [ { "dApp": "3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH", "call": { "function": "exchangeFreeAndLocked", "args": [ { "type": "Int", "value": 49180266 } ] }, "payment": [], "stateChanges": { "data": [ { "key": "k_lockedBalance", "type": "integer", "value": 12450157711200 }, { "key": "k_freeBalance", "type": "integer", "value": 4148659340500 }, { "key": "k_freeBalanceBorrowed", "type": "integer", "value": 0 }, { "key": "k_rate", "type": "integer", "value": 124614486 } ], "transfers": [], "issues": [], "reissues": [], "burns": [], "sponsorFees": [], "leases": [], "leaseCancels": [], "invokes": [] } } ] } }, { "dApp": "3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5", "call": { "function": "computeFeeDiscount", "args": [ { "type": "String", "value": "3MrWiJy2ttokyYKfdfCupttoRfAFCw2eXqN" } ] }, "payment": [], "stateChanges": { "data": [], "transfers": [], "issues": [], "reissues": [], "burns": [], "sponsorFees": [], "leases": [], "leaseCancels": [], "invokes": [] } }, { "dApp": "3MxN27tyS9DuFsab1QSfM5Q2BfauiyVCr4M", "call": { "function": "acceptPayment", "args": [ { "type": "String", "value": "3MrWiJy2ttokyYKfdfCupttoRfAFCw2eXqN" } ] }, "payment": [ { "assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ", "amount": 200000 } ], "stateChanges": { "data": [], "transfers": [ { "address": "3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q", "asset": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ", "amount": 200000 } ], "issues": [], "reissues": [], "burns": [], "sponsorFees": [], "leases": [], "leaseCancels": [], "invokes": [] } }, { "dApp": "3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH", "call": { "function": "addLocked", "args": [ { "type": "Boolean", "value": false } ] }, "payment": [ { "assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ", "amount": 19800000 } ], "stateChanges": { "data": [ { "key": "k_lockedBalance", "type": "integer", "value": 12452137711200 } ], "transfers": [], "issues": [], "reissues": [], "burns": [], "sponsorFees": [], "leases": [], "leaseCancels": [], "invokes": [ { "dApp": "3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1", "call": { "function": "deposit", "args": [] }, "payment": [ { "assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ", "amount": 19800000 } ], "stateChanges": { "data": [ { "key": "k_funds_HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ", "type": "integer", "value": 182247985092 } ], "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": 19800000 } ], "stateChanges": { "data": [ { "key": "k_funds", "type": "integer", "value": 182247985092 } ], "transfers": [], "issues": [], "reissues": [], "burns": [], "sponsorFees": [], "leases": [], "leaseCancels": [], "invokes": [] } } ] } } ] } }, { "dApp": "3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH", "call": { "function": "addFree", "args": [] }, "payment": [ { "assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ", "amount": 140000 } ], "stateChanges": { "data": [ { "key": "k_freeBalance", "type": "integer", "value": 4148673340500 }, { "key": "k_rate", "type": "integer", "value": 124614907 } ], "transfers": [], "issues": [], "reissues": [], "burns": [], "sponsorFees": [], "leases": [], "leaseCancels": [], "invokes": [ { "dApp": "3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1", "call": { "function": "deposit", "args": [] }, "payment": [ { "assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ", "amount": 140000 } ], "stateChanges": { "data": [ { "key": "k_funds_HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ", "type": "integer", "value": 182248125092 } ], "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": 140000 } ], "stateChanges": { "data": [ { "key": "k_funds", "type": "integer", "value": 182248125092 } ], "transfers": [], "issues": [], "reissues": [], "burns": [], "sponsorFees": [], "leases": [], "leaseCancels": [], "invokes": [] } } ] } } ] } }, { "dApp": "3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5", "call": { "function": "notifyFees", "args": [ { "type": "String", "value": "3MrWiJy2ttokyYKfdfCupttoRfAFCw2eXqN" }, { "type": "Int", "value": 200000 } ] }, "payment": [], "stateChanges": { "data": [ { "key": "k_traderFeesInPeriod_3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q_3MrWiJy2ttokyYKfdfCupttoRfAFCw2eXqN_2763", "type": "integer", "value": 20000000 }, { "key": "k_totalFeesInPeriod_3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q_2763", "type": "integer", "value": 69817646600 } ], "transfers": [], "issues": [], "reissues": [], "burns": [], "sponsorFees": [], "leases": [], "leaseCancels": [], "invokes": [] } } ] } }

github/deemru/w8io/169f3d6 
35.33 ms