tx · ApSMEWUYooEkUcKSwv6mosLufCSQyWwRpxfwnveFfCqH
3N6btuDfXTh8F6rcCbpuevwjxv78VSjwy1g: +0.003000 XTN
3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN: +0.997000 XTN
3Mr1ddD724vDRYCk6kDJRavrp9ePggkUdPx: -1.000000 XTN
———————————————————————————————————: -0.00500000 Waves
2022.12.17 00:24 [2363409] transfer 3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q > 3N6btuDfXTh8F6rcCbpuevwjxv78VSjwy1g addMargin() 0.003000 XTN
2022.12.17 00:24 [2363409] invoke 3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q > 3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5 notifyFees()
2022.12.17 00:24 [2363409] invoke 3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1 > 3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN deposit() 0.007000 XTN
2022.12.17 00:24 [2363409] invoke 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH > 3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1 deposit() 0.007000 XTN
2022.12.17 00:24 [2363409] invoke 3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q > 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH addFree() 0.007000 XTN
2022.12.17 00:24 [2363409] invoke 3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1 > 3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN deposit() 0.990000 XTN
2022.12.17 00:24 [2363409] invoke 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH > 3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1 deposit() 0.990000 XTN
2022.12.17 00:24 [2363409] invoke 3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q > 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH addLocked() 0.990000 XTN
2022.12.17 00:24 [2363409] transfer 3MxN27tyS9DuFsab1QSfM5Q2BfauiyVCr4M > 3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q acceptPayment() 0.010000 XTN
2022.12.17 00:24 [2363409] invoke 3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q > 3MxN27tyS9DuFsab1QSfM5Q2BfauiyVCr4M acceptPayment() 0.010000 XTN
2022.12.17 00:24 [2363409] invoke 3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q > 3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5 computeFeeDiscount()
2022.12.17 00:24 [2363409] invoke 3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q > 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH exchangeFreeAndLocked()
2022.12.17 00:24 [2363409] invoke 3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q > 3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q syncTerminalPriceToOracle()
2022.12.17 00:24 [2363409] invoke 3Mr1ddD724vDRYCk6kDJRavrp9ePggkUdPx > 3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q addMargin() 1.000000 XTN
2022.12.17 00:24 [2363409] ethereum 3Mr1ddD724vDRYCk6kDJRavrp9ePggkUdPx > 3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q addMargin()
3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q: k_balance: 51749422272 -> 51750412272
3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q: k_positionFraction_3Mr1ddD724vDRYCk6kDJRavrp9ePggkUdPx: 102944 == 102944
3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q: k_positionOpenNotional_3Mr1ddD724vDRYCk6kDJRavrp9ePggkUdPx: 1980000 == 1980000
3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q: k_positionMargin_3Mr1ddD724vDRYCk6kDJRavrp9ePggkUdPx: 990000 -> 1980000
3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q: k_positionSize_3Mr1ddD724vDRYCk6kDJRavrp9ePggkUdPx: 1159369 == 1159369
3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5: k_totalFeesInPeriod_3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q_2763: 186407945900 -> 186408945900
3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5: k_traderFeesInPeriod_3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q_3Mr1ddD724vDRYCk6kDJRavrp9ePggkUdPx_2763: 1000000 -> 2000000
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_rate: 146352867 -> 146352888
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_freeBalance: 4872372441300 -> 4872373141300
3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1: k_funds_HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ: 239170224961 -> 239170231961
3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN: k_funds: 239170224961 -> 239170231961
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_lockedBalance: 17348563366300 -> 17348662366300
3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1: k_funds_HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ: 239169234961 -> 239170224961
3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN: k_funds: 239169234961 -> 239170224961
3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q: k_lastDataStr: "27853736,27853738,27853740,27853741,27853742,27853746,27853747,27853748,27853749,27853750,27853751,27853754,27853756,27853757,27853760,27853762" -> "27853738,27853740,27853741,27853742,27853746,27853747,27853748,27853749,27853750,27853751,27853754,27853756,27853757,27853760,27853762,27853764"
3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q: k_lastMinuteId: 27853762 -> 27853764
3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q: k_twapDataPreviousMinuteId_27853764: 27853762
3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q: k_twapDataLastPrice_27853764: 1706611
3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q: k_twapDataLastCumulativePrice_27853764: 10977592272
3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q: k_bsAstW: 1000000 == 1000000
3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q: k_qtAstW: 697894 -> 697464
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_rate: 146267053 -> 146352867
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_freeBalanceBorrowed: 0 == 0
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_freeBalance: 4869515527000 -> 4872372441300
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_lockedBalance: 17351420280600 -> 17348563366300
{
"type": 18,
"id": "ApSMEWUYooEkUcKSwv6mosLufCSQyWwRpxfwnveFfCqH",
"fee": 500000,
"feeAssetId": null,
"timestamp": 1671225895352,
"version": 1,
"chainId": 84,
"bytes": "0xf8f18601851cd369b88502540be4008307a12094017aba1577214f39a7cf4a1311744a5b36801dad80b884ef19a73900000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001f776eaf7f783ca65db6e13ee023bcf582995a9c1d18df24bda6cd81d6280c8de00000000000000000000000000000000000000000000000000000000000f424081cca024a0497781cab051f279ce454c07edd585baf3124bd363b2894d71a4f9442992a001cd92a0bd24505e01eb9a54de0b3fd2c25954666c6e5a616ae15d1476c7ece1",
"sender": "3Mr1ddD724vDRYCk6kDJRavrp9ePggkUdPx",
"senderPublicKey": "HaCaDC3ETWn9tFAZHU3mdyxEjDqCqhHYtvVSvAFzzgs37vQ4bBqkn6sDwGKhJNf4M79LSK5yrTv7oboE2dqh79F",
"height": 2363409,
"applicationStatus": "succeeded",
"spentComplexity": 3942,
"payload": {
"type": "invocation",
"dApp": "3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q",
"call": {
"function": "addMargin",
"args": []
},
"payment": [
{
"amount": 1000000,
"assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ"
}
],
"stateChanges": {
"data": [
{
"key": "k_positionSize_3Mr1ddD724vDRYCk6kDJRavrp9ePggkUdPx",
"type": "integer",
"value": 1159369
},
{
"key": "k_positionMargin_3Mr1ddD724vDRYCk6kDJRavrp9ePggkUdPx",
"type": "integer",
"value": 1980000
},
{
"key": "k_positionOpenNotional_3Mr1ddD724vDRYCk6kDJRavrp9ePggkUdPx",
"type": "integer",
"value": 1980000
},
{
"key": "k_positionFraction_3Mr1ddD724vDRYCk6kDJRavrp9ePggkUdPx",
"type": "integer",
"value": 102944
},
{
"key": "k_balance",
"type": "integer",
"value": 51750412272
}
],
"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": 697464
},
{
"key": "k_bsAstW",
"type": "integer",
"value": 1000000
},
{
"key": "k_twapDataLastCumulativePrice_27853764",
"type": "integer",
"value": 10977592272
},
{
"key": "k_twapDataLastPrice_27853764",
"type": "integer",
"value": 1706611
},
{
"key": "k_twapDataPreviousMinuteId_27853764",
"type": "integer",
"value": 27853762
},
{
"key": "k_lastMinuteId",
"type": "integer",
"value": 27853764
},
{
"key": "k_lastDataStr",
"type": "string",
"value": "27853738,27853740,27853741,27853742,27853746,27853747,27853748,27853749,27853750,27853751,27853754,27853756,27853757,27853760,27853762,27853764"
}
],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": [
{
"dApp": "3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH",
"call": {
"function": "exchangeFreeAndLocked",
"args": [
{
"type": "Int",
"value": -28569143
}
]
},
"payment": [],
"stateChanges": {
"data": [
{
"key": "k_lockedBalance",
"type": "integer",
"value": 17348563366300
},
{
"key": "k_freeBalance",
"type": "integer",
"value": 4872372441300
},
{
"key": "k_freeBalanceBorrowed",
"type": "integer",
"value": 0
},
{
"key": "k_rate",
"type": "integer",
"value": 146352867
}
],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
}
]
}
},
{
"dApp": "3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5",
"call": {
"function": "computeFeeDiscount",
"args": [
{
"type": "String",
"value": "3Mr1ddD724vDRYCk6kDJRavrp9ePggkUdPx"
}
]
},
"payment": [],
"stateChanges": {
"data": [],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
},
{
"dApp": "3MxN27tyS9DuFsab1QSfM5Q2BfauiyVCr4M",
"call": {
"function": "acceptPayment",
"args": [
{
"type": "String",
"value": "3Mr1ddD724vDRYCk6kDJRavrp9ePggkUdPx"
}
]
},
"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": 17348662366300
}
],
"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": 239170224961
}
],
"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": 239170224961
}
],
"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": 4872373141300
},
{
"key": "k_rate",
"type": "integer",
"value": 146352888
}
],
"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": 239170231961
}
],
"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": 239170231961
}
],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
}
]
}
}
]
}
},
{
"dApp": "3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5",
"call": {
"function": "notifyFees",
"args": [
{
"type": "String",
"value": "3Mr1ddD724vDRYCk6kDJRavrp9ePggkUdPx"
},
{
"type": "Int",
"value": 10000
}
]
},
"payment": [],
"stateChanges": {
"data": [
{
"key": "k_traderFeesInPeriod_3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q_3Mr1ddD724vDRYCk6kDJRavrp9ePggkUdPx_2763",
"type": "integer",
"value": 2000000
},
{
"key": "k_totalFeesInPeriod_3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q_2763",
"type": "integer",
"value": 186408945900
}
],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
}
]
}
}
}