tx · HetRZ9YNzhi7ZdC77uCdA6z7kqfUaPdp9zjxGRV8b2ZR
3N6btuDfXTh8F6rcCbpuevwjxv78VSjwy1g: +0.030000 XTN
3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN: +9.970000 XTN
3N2TWUsxqUm5QBkcrgM7CvbHpyFz2tLESJ2: -10.000000 XTN
———————————————————————————————————: -0.00500000 Waves
2022.12.15 21:17 [2361778] transfer 3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q > 3N6btuDfXTh8F6rcCbpuevwjxv78VSjwy1g addMargin() 0.030000 XTN
2022.12.15 21:17 [2361778] invoke 3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q > 3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5 notifyFees()
2022.12.15 21:17 [2361778] invoke 3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1 > 3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN deposit() 0.070000 XTN
2022.12.15 21:17 [2361778] invoke 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH > 3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1 deposit() 0.070000 XTN
2022.12.15 21:17 [2361778] invoke 3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q > 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH addFree() 0.070000 XTN
2022.12.15 21:17 [2361778] invoke 3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1 > 3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN deposit() 9.900000 XTN
2022.12.15 21:17 [2361778] invoke 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH > 3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1 deposit() 9.900000 XTN
2022.12.15 21:17 [2361778] invoke 3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q > 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH addLocked() 9.900000 XTN
2022.12.15 21:17 [2361778] transfer 3MxN27tyS9DuFsab1QSfM5Q2BfauiyVCr4M > 3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q acceptPayment() 0.100000 XTN
2022.12.15 21:17 [2361778] invoke 3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q > 3MxN27tyS9DuFsab1QSfM5Q2BfauiyVCr4M acceptPayment() 0.100000 XTN
2022.12.15 21:17 [2361778] invoke 3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q > 3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5 computeFeeDiscount()
2022.12.15 21:17 [2361778] invoke 3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q > 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH exchangeFreeAndLocked()
2022.12.15 21:17 [2361778] invoke 3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q > 3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q syncTerminalPriceToOracle()
2022.12.15 21:17 [2361778] invoke 3N2TWUsxqUm5QBkcrgM7CvbHpyFz2tLESJ2 > 3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q addMargin() 10.000000 XTN
2022.12.15 21:17 [2361778] ethereum 3N2TWUsxqUm5QBkcrgM7CvbHpyFz2tLESJ2 > 3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q addMargin()
3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q: k_balance: 46888790447 -> 46898690447
3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q: k_positionFraction_3N2TWUsxqUm5QBkcrgM7CvbHpyFz2tLESJ2: 59904 == 59904
3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q: k_positionOpenNotional_3N2TWUsxqUm5QBkcrgM7CvbHpyFz2tLESJ2: 74250000 == 74250000
3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q: k_positionMargin_3N2TWUsxqUm5QBkcrgM7CvbHpyFz2tLESJ2: 14850000 -> 24750000
3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q: k_positionSize_3N2TWUsxqUm5QBkcrgM7CvbHpyFz2tLESJ2: 41455302 == 41455302
3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5: k_totalFeesInPeriod_3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q_2763: 87259648300 -> 87269648300
3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5: k_traderFeesInPeriod_3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q_3N2TWUsxqUm5QBkcrgM7CvbHpyFz2tLESJ2_2763: 15000000 -> 25000000
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_rate: 127854785 -> 127854995
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_freeBalance: 4256535198800 -> 4256542198800
3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1: k_funds_HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ: 204903659747 -> 204903729747
3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN: k_funds: 204903659747 -> 204903729747
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_lockedBalance: 14594591307200 -> 14595581307200
3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1: k_funds_HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ: 204893759747 -> 204903659747
3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN: k_funds: 204893759747 -> 204903659747
3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q: k_lastDataStr: "27852112,27852113,27852114,27852115,27852116,27852119,27852121,27852122,27852125,27852128,27852130,27852131,27852133,27852134,27852135,27852136" -> "27852113,27852114,27852115,27852116,27852119,27852121,27852122,27852125,27852128,27852130,27852131,27852133,27852134,27852135,27852136,27852137"
3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q: k_lastMinuteId: 27852136 -> 27852137
3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q: k_twapDataPreviousMinuteId_27852137: 27852136
3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q: k_twapDataLastPrice_27852137: 1797857
3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q: k_twapDataLastCumulativePrice_27852137: 8130954843
3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q: k_bsAstW: 1000000 == 1000000
3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q: k_qtAstW: 743278 -> 744135
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_rate: 127964603 -> 127854785
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_freeBalanceBorrowed: 0 == 0
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_freeBalance: 4260191280200 -> 4256535198800
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_lockedBalance: 14590935225800 -> 14594591307200
{
"type": 18,
"id": "HetRZ9YNzhi7ZdC77uCdA6z7kqfUaPdp9zjxGRV8b2ZR",
"fee": 500000,
"feeAssetId": null,
"timestamp": 1671128256647,
"version": 1,
"chainId": 84,
"bytes": "0xf8f1860185170190878502540be4008307a12094017aba1577214f39a7cf4a1311744a5b36801dad80b884ef19a73900000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001f776eaf7f783ca65db6e13ee023bcf582995a9c1d18df24bda6cd81d6280c8de000000000000000000000000000000000000000000000000000000000098968081cba0bcd91415050bf70a365aea45c6c5dd73fb96d2b685441bb6b0be59ed55540560a01066b79df2f38245c9869599424052d58f98a29c19459def8d60a9b5b20fb86c",
"sender": "3N2TWUsxqUm5QBkcrgM7CvbHpyFz2tLESJ2",
"senderPublicKey": "2S1GGGtXgXAtaZrGrSpw4QDurgHg6e39JALbmEYW9KkwqztrcETKCjn3Zi624jQD48ykM4ew3oyo5ZKVRrBLMhbc",
"height": 2361778,
"applicationStatus": "succeeded",
"spentComplexity": 3981,
"payload": {
"type": "invocation",
"dApp": "3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q",
"call": {
"function": "addMargin",
"args": []
},
"payment": [
{
"amount": 10000000,
"assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ"
}
],
"stateChanges": {
"data": [
{
"key": "k_positionSize_3N2TWUsxqUm5QBkcrgM7CvbHpyFz2tLESJ2",
"type": "integer",
"value": 41455302
},
{
"key": "k_positionMargin_3N2TWUsxqUm5QBkcrgM7CvbHpyFz2tLESJ2",
"type": "integer",
"value": 24750000
},
{
"key": "k_positionOpenNotional_3N2TWUsxqUm5QBkcrgM7CvbHpyFz2tLESJ2",
"type": "integer",
"value": 74250000
},
{
"key": "k_positionFraction_3N2TWUsxqUm5QBkcrgM7CvbHpyFz2tLESJ2",
"type": "integer",
"value": 59904
},
{
"key": "k_balance",
"type": "integer",
"value": 46898690447
}
],
"transfers": [
{
"address": "3N6btuDfXTh8F6rcCbpuevwjxv78VSjwy1g",
"asset": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ",
"amount": 30000
}
],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": [
{
"dApp": "3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q",
"call": {
"function": "syncTerminalPriceToOracle",
"args": []
},
"payment": [],
"stateChanges": {
"data": [
{
"key": "k_qtAstW",
"type": "integer",
"value": 744135
},
{
"key": "k_bsAstW",
"type": "integer",
"value": 1000000
},
{
"key": "k_twapDataLastCumulativePrice_27852137",
"type": "integer",
"value": 8130954843
},
{
"key": "k_twapDataLastPrice_27852137",
"type": "integer",
"value": 1797857
},
{
"key": "k_twapDataPreviousMinuteId_27852137",
"type": "integer",
"value": 27852136
},
{
"key": "k_lastMinuteId",
"type": "integer",
"value": 27852137
},
{
"key": "k_lastDataStr",
"type": "string",
"value": "27852113,27852114,27852115,27852116,27852119,27852121,27852122,27852125,27852128,27852130,27852131,27852133,27852134,27852135,27852136,27852137"
}
],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": [
{
"dApp": "3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH",
"call": {
"function": "exchangeFreeAndLocked",
"args": [
{
"type": "Int",
"value": 36560814
}
]
},
"payment": [],
"stateChanges": {
"data": [
{
"key": "k_lockedBalance",
"type": "integer",
"value": 14594591307200
},
{
"key": "k_freeBalance",
"type": "integer",
"value": 4256535198800
},
{
"key": "k_freeBalanceBorrowed",
"type": "integer",
"value": 0
},
{
"key": "k_rate",
"type": "integer",
"value": 127854785
}
],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
}
]
}
},
{
"dApp": "3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5",
"call": {
"function": "computeFeeDiscount",
"args": [
{
"type": "String",
"value": "3N2TWUsxqUm5QBkcrgM7CvbHpyFz2tLESJ2"
}
]
},
"payment": [],
"stateChanges": {
"data": [],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
},
{
"dApp": "3MxN27tyS9DuFsab1QSfM5Q2BfauiyVCr4M",
"call": {
"function": "acceptPayment",
"args": [
{
"type": "String",
"value": "3N2TWUsxqUm5QBkcrgM7CvbHpyFz2tLESJ2"
}
]
},
"payment": [
{
"assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ",
"amount": 100000
}
],
"stateChanges": {
"data": [],
"transfers": [
{
"address": "3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q",
"asset": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ",
"amount": 100000
}
],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
},
{
"dApp": "3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH",
"call": {
"function": "addLocked",
"args": [
{
"type": "Boolean",
"value": false
}
]
},
"payment": [
{
"assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ",
"amount": 9900000
}
],
"stateChanges": {
"data": [
{
"key": "k_lockedBalance",
"type": "integer",
"value": 14595581307200
}
],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": [
{
"dApp": "3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1",
"call": {
"function": "deposit",
"args": []
},
"payment": [
{
"assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ",
"amount": 9900000
}
],
"stateChanges": {
"data": [
{
"key": "k_funds_HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ",
"type": "integer",
"value": 204903659747
}
],
"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": 9900000
}
],
"stateChanges": {
"data": [
{
"key": "k_funds",
"type": "integer",
"value": 204903659747
}
],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
}
]
}
}
]
}
},
{
"dApp": "3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH",
"call": {
"function": "addFree",
"args": []
},
"payment": [
{
"assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ",
"amount": 70000
}
],
"stateChanges": {
"data": [
{
"key": "k_freeBalance",
"type": "integer",
"value": 4256542198800
},
{
"key": "k_rate",
"type": "integer",
"value": 127854995
}
],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": [
{
"dApp": "3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1",
"call": {
"function": "deposit",
"args": []
},
"payment": [
{
"assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ",
"amount": 70000
}
],
"stateChanges": {
"data": [
{
"key": "k_funds_HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ",
"type": "integer",
"value": 204903729747
}
],
"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": 70000
}
],
"stateChanges": {
"data": [
{
"key": "k_funds",
"type": "integer",
"value": 204903729747
}
],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
}
]
}
}
]
}
},
{
"dApp": "3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5",
"call": {
"function": "notifyFees",
"args": [
{
"type": "String",
"value": "3N2TWUsxqUm5QBkcrgM7CvbHpyFz2tLESJ2"
},
{
"type": "Int",
"value": 100000
}
]
},
"payment": [],
"stateChanges": {
"data": [
{
"key": "k_traderFeesInPeriod_3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q_3N2TWUsxqUm5QBkcrgM7CvbHpyFz2tLESJ2_2763",
"type": "integer",
"value": 25000000
},
{
"key": "k_totalFeesInPeriod_3Mp3uUKsY4LnTo3j4N7dJAfqRfMJ6Rgr35Q_2763",
"type": "integer",
"value": 87269648300
}
],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
}
]
}
}
}