tx · FQanzJYbdBwWUvdzkKkVid2YQ93j7V1oV7Qf2ZhaLTy6
3N6btuDfXTh8F6rcCbpuevwjxv78VSjwy1g: +0.006000 XTN
3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN: +1.994000 XTN
3N2ULy831M9quWnwgmqjC9VTqtErJJCdsRV: -2.000000 XTN
———————————————————————————————————: -0.00500000 Waves
2022.12.17 12:08 [2364097] transfer 3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD > 3N6btuDfXTh8F6rcCbpuevwjxv78VSjwy1g addMargin() 0.006000 XTN
2022.12.17 12:08 [2364097] invoke 3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD > 3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5 notifyFees()
2022.12.17 12:08 [2364097] invoke 3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1 > 3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN deposit() 0.014000 XTN
2022.12.17 12:08 [2364097] invoke 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH > 3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1 deposit() 0.014000 XTN
2022.12.17 12:08 [2364097] invoke 3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD > 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH addFree() 0.014000 XTN
2022.12.17 12:08 [2364097] invoke 3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1 > 3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN deposit() 1.980000 XTN
2022.12.17 12:08 [2364097] invoke 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH > 3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1 deposit() 1.980000 XTN
2022.12.17 12:08 [2364097] invoke 3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD > 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH addLocked() 1.980000 XTN
2022.12.17 12:08 [2364097] transfer 3MxN27tyS9DuFsab1QSfM5Q2BfauiyVCr4M > 3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD acceptPayment() 0.020000 XTN
2022.12.17 12:08 [2364097] invoke 3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD > 3MxN27tyS9DuFsab1QSfM5Q2BfauiyVCr4M acceptPayment() 0.020000 XTN
2022.12.17 12:08 [2364097] invoke 3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD > 3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5 computeFeeDiscount()
2022.12.17 12:08 [2364097] invoke 3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD > 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH exchangeFreeAndLocked()
2022.12.17 12:08 [2364097] invoke 3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD > 3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD syncTerminalPriceToOracle()
2022.12.17 12:08 [2364097] invoke 3N2ULy831M9quWnwgmqjC9VTqtErJJCdsRV > 3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD addMargin() 2.000000 XTN
2022.12.17 12:08 [2364097] ethereum 3N2ULy831M9quWnwgmqjC9VTqtErJJCdsRV > 3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD addMargin()
3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD: k_balance: 42014671817 -> 42016651817
3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD: k_positionFraction_3N2ULy831M9quWnwgmqjC9VTqtErJJCdsRV: 27191394 == 27191394
3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD: k_positionOpenNotional_3N2ULy831M9quWnwgmqjC9VTqtErJJCdsRV: 376200000 == 376200000
3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD: k_positionMargin_3N2ULy831M9quWnwgmqjC9VTqtErJJCdsRV: 37620000 -> 39600000
3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD: k_positionSize_3N2ULy831M9quWnwgmqjC9VTqtErJJCdsRV: 306057 == 306057
3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5: k_totalFeesInPeriod_3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD_2763: 75524324100 -> 75526324100
3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5: k_traderFeesInPeriod_3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD_3N2ULy831M9quWnwgmqjC9VTqtErJJCdsRV_2763: 76000000 -> 78000000
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_rate: 153931702 -> 153931744
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_freeBalance: 5124686648800 -> 5124688048800
3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1: k_funds_HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ: 246743108990 -> 246743122990
3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN: k_funds: 246743108990 -> 246743122990
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_lockedBalance: 17837676047300 -> 17837874047300
3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1: k_funds_HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ: 246741128990 -> 246743108990
3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN: k_funds: 246741128990 -> 246743108990
3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD: k_lastDataStr: "27854443,27854444,27854446,27854447,27854448,27854449,27854450,27854452,27854454,27854458,27854459,27854460,27854462,27854463,27854464,27854465" -> "27854444,27854446,27854447,27854448,27854449,27854450,27854452,27854454,27854458,27854459,27854460,27854462,27854463,27854464,27854465,27854468"
3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD: k_lastMinuteId: 27854465 -> 27854468
3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD: k_twapDataPreviousMinuteId_27854468: 27854465
3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD: k_twapDataLastPrice_27854468: 1195013881
3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD: k_twapDataLastCumulativePrice_27854468: 8326172299351
3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD: k_bsAstW: 1000000 == 1000000
3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD: k_qtAstW: 500173505 -> 500568374
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_rate: 154017651 -> 153931702
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_freeBalanceBorrowed: 0 == 0
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_freeBalance: 5127548049400 -> 5124686648800
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_lockedBalance: 17834814646700 -> 17837676047300
{
"type": 18,
"id": "FQanzJYbdBwWUvdzkKkVid2YQ93j7V1oV7Qf2ZhaLTy6",
"fee": 500000,
"feeAssetId": null,
"timestamp": 1671268133835,
"version": 1,
"chainId": 84,
"bytes": "0xf8f18601851f57ebcb8502540be4008307a12094359cd768482f133f7bc5d6d5eb9d2a60ccaa1e9d80b884ef19a73900000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001f776eaf7f783ca65db6e13ee023bcf582995a9c1d18df24bda6cd81d6280c8de00000000000000000000000000000000000000000000000000000000001e848081cba074c344957a72bacfad3bea9c5915b47da3b5575448d47cf5a02ed4de70a44c35a07bd9573e5a1901f26dc81885d6a0302ffcc1c3cbcfbe5a057313a53adc41d6b8",
"sender": "3N2ULy831M9quWnwgmqjC9VTqtErJJCdsRV",
"senderPublicKey": "QACTNzntEpRXi5TiUHKz9VZEvpKcMhSEaRTbQFkS962CfAFeYeER9Yuga5SLCYDpeSxDf1aegRYujoqrf7LaDp9",
"height": 2364097,
"applicationStatus": "succeeded",
"spentComplexity": 3955,
"payload": {
"type": "invocation",
"dApp": "3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD",
"call": {
"function": "addMargin",
"args": []
},
"payment": [
{
"amount": 2000000,
"assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ"
}
],
"stateChanges": {
"data": [
{
"key": "k_positionSize_3N2ULy831M9quWnwgmqjC9VTqtErJJCdsRV",
"type": "integer",
"value": 306057
},
{
"key": "k_positionMargin_3N2ULy831M9quWnwgmqjC9VTqtErJJCdsRV",
"type": "integer",
"value": 39600000
},
{
"key": "k_positionOpenNotional_3N2ULy831M9quWnwgmqjC9VTqtErJJCdsRV",
"type": "integer",
"value": 376200000
},
{
"key": "k_positionFraction_3N2ULy831M9quWnwgmqjC9VTqtErJJCdsRV",
"type": "integer",
"value": 27191394
},
{
"key": "k_balance",
"type": "integer",
"value": 42016651817
}
],
"transfers": [
{
"address": "3N6btuDfXTh8F6rcCbpuevwjxv78VSjwy1g",
"asset": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ",
"amount": 6000
}
],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": [
{
"dApp": "3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD",
"call": {
"function": "syncTerminalPriceToOracle",
"args": []
},
"payment": [],
"stateChanges": {
"data": [
{
"key": "k_qtAstW",
"type": "integer",
"value": 500568374
},
{
"key": "k_bsAstW",
"type": "integer",
"value": 1000000
},
{
"key": "k_twapDataLastCumulativePrice_27854468",
"type": "integer",
"value": 8326172299351
},
{
"key": "k_twapDataLastPrice_27854468",
"type": "integer",
"value": 1195013881
},
{
"key": "k_twapDataPreviousMinuteId_27854468",
"type": "integer",
"value": 27854465
},
{
"key": "k_lastMinuteId",
"type": "integer",
"value": 27854468
},
{
"key": "k_lastDataStr",
"type": "string",
"value": "27854444,27854446,27854447,27854448,27854449,27854450,27854452,27854454,27854458,27854459,27854460,27854462,27854463,27854464,27854465,27854468"
}
],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": [
{
"dApp": "3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH",
"call": {
"function": "exchangeFreeAndLocked",
"args": [
{
"type": "Int",
"value": 28614006
}
]
},
"payment": [],
"stateChanges": {
"data": [
{
"key": "k_lockedBalance",
"type": "integer",
"value": 17837676047300
},
{
"key": "k_freeBalance",
"type": "integer",
"value": 5124686648800
},
{
"key": "k_freeBalanceBorrowed",
"type": "integer",
"value": 0
},
{
"key": "k_rate",
"type": "integer",
"value": 153931702
}
],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
}
]
}
},
{
"dApp": "3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5",
"call": {
"function": "computeFeeDiscount",
"args": [
{
"type": "String",
"value": "3N2ULy831M9quWnwgmqjC9VTqtErJJCdsRV"
}
]
},
"payment": [],
"stateChanges": {
"data": [],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
},
{
"dApp": "3MxN27tyS9DuFsab1QSfM5Q2BfauiyVCr4M",
"call": {
"function": "acceptPayment",
"args": [
{
"type": "String",
"value": "3N2ULy831M9quWnwgmqjC9VTqtErJJCdsRV"
}
]
},
"payment": [
{
"assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ",
"amount": 20000
}
],
"stateChanges": {
"data": [],
"transfers": [
{
"address": "3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD",
"asset": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ",
"amount": 20000
}
],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
},
{
"dApp": "3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH",
"call": {
"function": "addLocked",
"args": [
{
"type": "Boolean",
"value": false
}
]
},
"payment": [
{
"assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ",
"amount": 1980000
}
],
"stateChanges": {
"data": [
{
"key": "k_lockedBalance",
"type": "integer",
"value": 17837874047300
}
],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": [
{
"dApp": "3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1",
"call": {
"function": "deposit",
"args": []
},
"payment": [
{
"assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ",
"amount": 1980000
}
],
"stateChanges": {
"data": [
{
"key": "k_funds_HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ",
"type": "integer",
"value": 246743108990
}
],
"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": 1980000
}
],
"stateChanges": {
"data": [
{
"key": "k_funds",
"type": "integer",
"value": 246743108990
}
],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
}
]
}
}
]
}
},
{
"dApp": "3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH",
"call": {
"function": "addFree",
"args": []
},
"payment": [
{
"assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ",
"amount": 14000
}
],
"stateChanges": {
"data": [
{
"key": "k_freeBalance",
"type": "integer",
"value": 5124688048800
},
{
"key": "k_rate",
"type": "integer",
"value": 153931744
}
],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": [
{
"dApp": "3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1",
"call": {
"function": "deposit",
"args": []
},
"payment": [
{
"assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ",
"amount": 14000
}
],
"stateChanges": {
"data": [
{
"key": "k_funds_HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ",
"type": "integer",
"value": 246743122990
}
],
"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": 14000
}
],
"stateChanges": {
"data": [
{
"key": "k_funds",
"type": "integer",
"value": 246743122990
}
],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
}
]
}
}
]
}
},
{
"dApp": "3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5",
"call": {
"function": "notifyFees",
"args": [
{
"type": "String",
"value": "3N2ULy831M9quWnwgmqjC9VTqtErJJCdsRV"
},
{
"type": "Int",
"value": 20000
}
]
},
"payment": [],
"stateChanges": {
"data": [
{
"key": "k_traderFeesInPeriod_3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD_3N2ULy831M9quWnwgmqjC9VTqtErJJCdsRV_2763",
"type": "integer",
"value": 78000000
},
{
"key": "k_totalFeesInPeriod_3MtoZUczzB13W1FBwFat4qUsPvZTmfbPgfD_2763",
"type": "integer",
"value": 75526324100
}
],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
}
]
}
}
}