tx · 21DWAJvy2dHZghtipvQPg3cUk7uTSQ5bWmgJtWzCY7Ef
3N6btuDfXTh8F6rcCbpuevwjxv78VSjwy1g: +0.075000 XTN
3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN: +24.925000 XTN
3N2JDEFng8mHEyW7PNGrGxLyWkYPryyA9Us: -25.000000 XTN
———————————————————————————————————: -0.00500000 Waves
2022.12.20 06:35 [2368083] transfer 3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX > 3N6btuDfXTh8F6rcCbpuevwjxv78VSjwy1g addMargin() 0.075000 XTN
2022.12.20 06:35 [2368083] invoke 3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX > 3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5 notifyFees()
2022.12.20 06:35 [2368083] invoke 3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1 > 3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN deposit() 0.175000 XTN
2022.12.20 06:35 [2368083] invoke 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH > 3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1 deposit() 0.175000 XTN
2022.12.20 06:35 [2368083] invoke 3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX > 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH addFree() 0.175000 XTN
2022.12.20 06:35 [2368083] invoke 3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1 > 3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN deposit() 24.750000 XTN
2022.12.20 06:35 [2368083] invoke 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH > 3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1 deposit() 24.750000 XTN
2022.12.20 06:35 [2368083] invoke 3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX > 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH addLocked() 24.750000 XTN
2022.12.20 06:35 [2368083] transfer 3MxN27tyS9DuFsab1QSfM5Q2BfauiyVCr4M > 3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX acceptPayment() 0.250000 XTN
2022.12.20 06:35 [2368083] invoke 3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX > 3MxN27tyS9DuFsab1QSfM5Q2BfauiyVCr4M acceptPayment() 0.250000 XTN
2022.12.20 06:35 [2368083] invoke 3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX > 3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5 computeFeeDiscount()
2022.12.20 06:35 [2368083] invoke 3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX > 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH exchangeFreeAndLocked()
2022.12.20 06:35 [2368083] invoke 3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX > 3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX syncTerminalPriceToOracle()
2022.12.20 06:35 [2368083] invoke 3N2JDEFng8mHEyW7PNGrGxLyWkYPryyA9Us > 3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX addMargin() 25.000000 XTN
3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX: k_balance: 13676957937 -> 13701707937
3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX: k_positionFraction_3N2JDEFng8mHEyW7PNGrGxLyWkYPryyA9Us: 16816 == 16816
3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX: k_positionOpenNotional_3N2JDEFng8mHEyW7PNGrGxLyWkYPryyA9Us: 99000000 == 99000000
3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX: k_positionMargin_3N2JDEFng8mHEyW7PNGrGxLyWkYPryyA9Us: 49500000 -> 74250000
3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX: k_positionSize_3N2JDEFng8mHEyW7PNGrGxLyWkYPryyA9Us: 1232978935 == 1232978935
3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5: k_totalFeesInPeriod_3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX_2763: 28321716100 -> 28346716100
3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5: k_traderFeesInPeriod_3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX_3N2JDEFng8mHEyW7PNGrGxLyWkYPryyA9Us_2763: 50000000 -> 75000000
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_rate: 189241659 -> 189242185
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_freeBalance: 6300223999800 -> 6300241499800
3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1: k_funds_HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ: 303105671916 -> 303105846916
3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN: k_funds: 303105671916 -> 303105846916
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_lockedBalance: 22187924913400 -> 22190399913400
3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1: k_funds_HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ: 303080921916 -> 303105671916
3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN: k_funds: 303080921916 -> 303105671916
3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX: k_lastDataStr: "27858230,27858232,27858250,27858261,27858265,27858272,27858287,27858303,27858330,27858332,27858333,27858349,27858392,27858412,27858427,27858453" -> "27858232,27858250,27858261,27858265,27858272,27858287,27858303,27858330,27858332,27858333,27858349,27858392,27858412,27858427,27858453,27858455"
3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX: k_lastMinuteId: 27858453 -> 27858455
3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX: k_twapDataPreviousMinuteId_27858455: 27858453
3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX: k_twapDataLastPrice_27858455: 78849
3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX: k_twapDataLastCumulativePrice_27858455: 1172226103
3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX: k_bsAstW: 1000000 == 1000000
3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX: k_qtAstW: 31294 -> 31260
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_rate: 189222285 -> 189241659
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_freeBalanceBorrowed: 0 == 0
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_freeBalance: 6299578996900 -> 6300223999800
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_lockedBalance: 22188569916300 -> 22187924913400
{
"type": 16,
"id": "21DWAJvy2dHZghtipvQPg3cUk7uTSQ5bWmgJtWzCY7Ef",
"fee": 500000,
"feeAssetId": null,
"timestamp": 1671507380814,
"version": 2,
"chainId": 84,
"sender": "3N2JDEFng8mHEyW7PNGrGxLyWkYPryyA9Us",
"senderPublicKey": "Gek2oXMsQWJLe5uTEaQpaXXyYKaZzWkfpfXkMdzYXQfP",
"proofs": [
"2hkdJKFUH3wAizF599i2MYsML1F9u5gnjhrUHYkkAK6RZjxn4U99KLrC9GcRQ7zYDJcDytyS8NoYrUmHUhiBH3eQ"
],
"dApp": "3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX",
"payment": [
{
"amount": 25000000,
"assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ"
}
],
"call": {
"function": "addMargin",
"args": []
},
"height": 2368083,
"applicationStatus": "succeeded",
"spentComplexity": 3942,
"stateChanges": {
"data": [
{
"key": "k_positionSize_3N2JDEFng8mHEyW7PNGrGxLyWkYPryyA9Us",
"type": "integer",
"value": 1232978935
},
{
"key": "k_positionMargin_3N2JDEFng8mHEyW7PNGrGxLyWkYPryyA9Us",
"type": "integer",
"value": 74250000
},
{
"key": "k_positionOpenNotional_3N2JDEFng8mHEyW7PNGrGxLyWkYPryyA9Us",
"type": "integer",
"value": 99000000
},
{
"key": "k_positionFraction_3N2JDEFng8mHEyW7PNGrGxLyWkYPryyA9Us",
"type": "integer",
"value": 16816
},
{
"key": "k_balance",
"type": "integer",
"value": 13701707937
}
],
"transfers": [
{
"address": "3N6btuDfXTh8F6rcCbpuevwjxv78VSjwy1g",
"asset": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ",
"amount": 75000
}
],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": [
{
"dApp": "3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX",
"call": {
"function": "syncTerminalPriceToOracle",
"args": []
},
"payment": [],
"stateChanges": {
"data": [
{
"key": "k_qtAstW",
"type": "integer",
"value": 31260
},
{
"key": "k_bsAstW",
"type": "integer",
"value": 1000000
},
{
"key": "k_twapDataLastCumulativePrice_27858455",
"type": "integer",
"value": 1172226103
},
{
"key": "k_twapDataLastPrice_27858455",
"type": "integer",
"value": 78849
},
{
"key": "k_twapDataPreviousMinuteId_27858455",
"type": "integer",
"value": 27858453
},
{
"key": "k_lastMinuteId",
"type": "integer",
"value": 27858455
},
{
"key": "k_lastDataStr",
"type": "string",
"value": "27858232,27858250,27858261,27858265,27858272,27858287,27858303,27858330,27858332,27858333,27858349,27858392,27858412,27858427,27858453,27858455"
}
],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": [
{
"dApp": "3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH",
"call": {
"function": "exchangeFreeAndLocked",
"args": [
{
"type": "Int",
"value": -6450029
}
]
},
"payment": [],
"stateChanges": {
"data": [
{
"key": "k_lockedBalance",
"type": "integer",
"value": 22187924913400
},
{
"key": "k_freeBalance",
"type": "integer",
"value": 6300223999800
},
{
"key": "k_freeBalanceBorrowed",
"type": "integer",
"value": 0
},
{
"key": "k_rate",
"type": "integer",
"value": 189241659
}
],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
}
]
}
},
{
"dApp": "3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5",
"call": {
"function": "computeFeeDiscount",
"args": [
{
"type": "String",
"value": "3N2JDEFng8mHEyW7PNGrGxLyWkYPryyA9Us"
}
]
},
"payment": [],
"stateChanges": {
"data": [],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
},
{
"dApp": "3MxN27tyS9DuFsab1QSfM5Q2BfauiyVCr4M",
"call": {
"function": "acceptPayment",
"args": [
{
"type": "String",
"value": "3N2JDEFng8mHEyW7PNGrGxLyWkYPryyA9Us"
}
]
},
"payment": [
{
"assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ",
"amount": 250000
}
],
"stateChanges": {
"data": [],
"transfers": [
{
"address": "3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX",
"asset": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ",
"amount": 250000
}
],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
},
{
"dApp": "3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH",
"call": {
"function": "addLocked",
"args": [
{
"type": "Boolean",
"value": false
}
]
},
"payment": [
{
"assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ",
"amount": 24750000
}
],
"stateChanges": {
"data": [
{
"key": "k_lockedBalance",
"type": "integer",
"value": 22190399913400
}
],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": [
{
"dApp": "3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1",
"call": {
"function": "deposit",
"args": []
},
"payment": [
{
"assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ",
"amount": 24750000
}
],
"stateChanges": {
"data": [
{
"key": "k_funds_HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ",
"type": "integer",
"value": 303105671916
}
],
"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": 24750000
}
],
"stateChanges": {
"data": [
{
"key": "k_funds",
"type": "integer",
"value": 303105671916
}
],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
}
]
}
}
]
}
},
{
"dApp": "3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH",
"call": {
"function": "addFree",
"args": []
},
"payment": [
{
"assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ",
"amount": 175000
}
],
"stateChanges": {
"data": [
{
"key": "k_freeBalance",
"type": "integer",
"value": 6300241499800
},
{
"key": "k_rate",
"type": "integer",
"value": 189242185
}
],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": [
{
"dApp": "3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1",
"call": {
"function": "deposit",
"args": []
},
"payment": [
{
"assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ",
"amount": 175000
}
],
"stateChanges": {
"data": [
{
"key": "k_funds_HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ",
"type": "integer",
"value": 303105846916
}
],
"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": 175000
}
],
"stateChanges": {
"data": [
{
"key": "k_funds",
"type": "integer",
"value": 303105846916
}
],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
}
]
}
}
]
}
},
{
"dApp": "3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5",
"call": {
"function": "notifyFees",
"args": [
{
"type": "String",
"value": "3N2JDEFng8mHEyW7PNGrGxLyWkYPryyA9Us"
},
{
"type": "Int",
"value": 250000
}
]
},
"payment": [],
"stateChanges": {
"data": [
{
"key": "k_traderFeesInPeriod_3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX_3N2JDEFng8mHEyW7PNGrGxLyWkYPryyA9Us_2763",
"type": "integer",
"value": 75000000
},
{
"key": "k_totalFeesInPeriod_3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX_2763",
"type": "integer",
"value": 28346716100
}
],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
}
]
}
}