tx · 4WEXAt44fhKGz5M9wer23r7w2PZjKWvhkYjaFy7s57Br
3N6btuDfXTh8F6rcCbpuevwjxv78VSjwy1g: +0.045000 XTN
3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN: +14.955000 XTN
3MpZsZGFhs57JnahmLxaXUNPq2dxjG9HawJ: -15.000000 XTN
———————————————————————————————————: -0.00500000 Waves
2022.12.14 21:23 [2360343] transfer 3Mtg8z9QJeGjk6hjLivdwzxVzCfnULGtp3Y > 3N6btuDfXTh8F6rcCbpuevwjxv78VSjwy1g addMargin() 0.045000 XTN
2022.12.14 21:23 [2360343] invoke 3Mtg8z9QJeGjk6hjLivdwzxVzCfnULGtp3Y > 3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5 notifyFees()
2022.12.14 21:23 [2360343] invoke 3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1 > 3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN deposit() 0.105000 XTN
2022.12.14 21:23 [2360343] invoke 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH > 3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1 deposit() 0.105000 XTN
2022.12.14 21:23 [2360343] invoke 3Mtg8z9QJeGjk6hjLivdwzxVzCfnULGtp3Y > 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH addFree() 0.105000 XTN
2022.12.14 21:23 [2360343] invoke 3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1 > 3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN deposit() 14.850000 XTN
2022.12.14 21:23 [2360343] invoke 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH > 3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1 deposit() 14.850000 XTN
2022.12.14 21:23 [2360343] invoke 3Mtg8z9QJeGjk6hjLivdwzxVzCfnULGtp3Y > 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH addLocked() 14.850000 XTN
2022.12.14 21:23 [2360343] transfer 3MxN27tyS9DuFsab1QSfM5Q2BfauiyVCr4M > 3Mtg8z9QJeGjk6hjLivdwzxVzCfnULGtp3Y acceptPayment() 0.150000 XTN
2022.12.14 21:23 [2360343] invoke 3Mtg8z9QJeGjk6hjLivdwzxVzCfnULGtp3Y > 3MxN27tyS9DuFsab1QSfM5Q2BfauiyVCr4M acceptPayment() 0.150000 XTN
2022.12.14 21:23 [2360343] invoke 3Mtg8z9QJeGjk6hjLivdwzxVzCfnULGtp3Y > 3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5 computeFeeDiscount()
2022.12.14 21:23 [2360343] invoke 3Mtg8z9QJeGjk6hjLivdwzxVzCfnULGtp3Y > 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH exchangeFreeAndLocked()
2022.12.14 21:23 [2360343] invoke 3Mtg8z9QJeGjk6hjLivdwzxVzCfnULGtp3Y > 3Mtg8z9QJeGjk6hjLivdwzxVzCfnULGtp3Y syncTerminalPriceToOracle()
2022.12.14 21:23 [2360343] invoke 3MpZsZGFhs57JnahmLxaXUNPq2dxjG9HawJ > 3Mtg8z9QJeGjk6hjLivdwzxVzCfnULGtp3Y addMargin() 15.000000 XTN
2022.12.14 21:23 [2360343] ethereum 3MpZsZGFhs57JnahmLxaXUNPq2dxjG9HawJ > 3Mtg8z9QJeGjk6hjLivdwzxVzCfnULGtp3Y addMargin()
3Mtg8z9QJeGjk6hjLivdwzxVzCfnULGtp3Y: k_balance: 15246248863 -> 15261098863
3Mtg8z9QJeGjk6hjLivdwzxVzCfnULGtp3Y: k_positionFraction_3MpZsZGFhs57JnahmLxaXUNPq2dxjG9HawJ: -44017829 == -44017829
3Mtg8z9QJeGjk6hjLivdwzxVzCfnULGtp3Y: k_positionOpenNotional_3MpZsZGFhs57JnahmLxaXUNPq2dxjG9HawJ: 123750000 == 123750000
3Mtg8z9QJeGjk6hjLivdwzxVzCfnULGtp3Y: k_positionMargin_3MpZsZGFhs57JnahmLxaXUNPq2dxjG9HawJ: 24750000 -> 39600000
3Mtg8z9QJeGjk6hjLivdwzxVzCfnULGtp3Y: k_positionSize_3MpZsZGFhs57JnahmLxaXUNPq2dxjG9HawJ: 6952 == 6952
3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5: k_totalFeesInPeriod_3Mtg8z9QJeGjk6hjLivdwzxVzCfnULGtp3Y_2762: 26257593400 -> 26272593400
3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5: k_traderFeesInPeriod_3Mtg8z9QJeGjk6hjLivdwzxVzCfnULGtp3Y_3MpZsZGFhs57JnahmLxaXUNPq2dxjG9HawJ_2762: 25000000 -> 40000000
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_rate: 113804066 -> 113804941
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_freeBalance: 1365648796500 -> 1365659296500
3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1: k_funds_HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ: 115017257136 -> 115017362136
3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN: k_funds: 115017257136 -> 115017362136
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_lockedBalance: 8564088312100 -> 8565573312100
3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1: k_funds_HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ: 115002407136 -> 115017257136
3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN: k_funds: 115002407136 -> 115017257136
3Mtg8z9QJeGjk6hjLivdwzxVzCfnULGtp3Y: k_lastDataStr: "27850678,27850679,27850680,27850681,27850682,27850683,27850685,27850687,27850688,27850689,27850690,27850692,27850695,27850698,27850700,27850702" -> "27850679,27850680,27850681,27850682,27850683,27850685,27850687,27850688,27850689,27850690,27850692,27850695,27850698,27850700,27850702,27850703"
3Mtg8z9QJeGjk6hjLivdwzxVzCfnULGtp3Y: k_lastMinuteId: 27850702 -> 27850703
3Mtg8z9QJeGjk6hjLivdwzxVzCfnULGtp3Y: k_twapDataPreviousMinuteId_27850703: 27850702
3Mtg8z9QJeGjk6hjLivdwzxVzCfnULGtp3Y: k_twapDataLastPrice_27850703: 18238026185
3Mtg8z9QJeGjk6hjLivdwzxVzCfnULGtp3Y: k_twapDataLastCumulativePrice_27850703: 47975403369606
3Mtg8z9QJeGjk6hjLivdwzxVzCfnULGtp3Y: k_bsAstW: 1000000 == 1000000
3Mtg8z9QJeGjk6hjLivdwzxVzCfnULGtp3Y: k_qtAstW: 7742245716 -> 7757994934
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_rate: 113668849 -> 113804066
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_freeBalanceBorrowed: 0 == 0
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_freeBalance: 1364026185700 -> 1365648796500
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_lockedBalance: 8565710922900 -> 8564088312100
{
"type": 18,
"id": "4WEXAt44fhKGz5M9wer23r7w2PZjKWvhkYjaFy7s57Br",
"fee": 500000,
"feeAssetId": null,
"timestamp": 1671042212520,
"version": 1,
"chainId": 84,
"bytes": "0xf8f186018511e0a2a88502540be4008307a1209434357c554b1bad09a5d597bc0b3817e2ff6622a080b884ef19a73900000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001f776eaf7f783ca65db6e13ee023bcf582995a9c1d18df24bda6cd81d6280c8de0000000000000000000000000000000000000000000000000000000000e4e1c081cba0ed03831583dcf36c98bf366fb2b8eccdc8040bd181dca1b72761d4717c7803a6a008efe64a24152bfc1924926588e0da0ab46ce1da36be9dfcb91799fb2ba3fe98",
"sender": "3MpZsZGFhs57JnahmLxaXUNPq2dxjG9HawJ",
"senderPublicKey": "5uSTQzNMRo9hsaFQBRVVje7YnGyE4CSts7G5z5W915dLTxtFqTZ5TKmwdgCAbdfGcJNF6UETy6oxyHKZWNbzvzbx",
"height": 2360343,
"applicationStatus": "succeeded",
"spentComplexity": 3970,
"payload": {
"type": "invocation",
"dApp": "3Mtg8z9QJeGjk6hjLivdwzxVzCfnULGtp3Y",
"call": {
"function": "addMargin",
"args": []
},
"payment": [
{
"amount": 15000000,
"assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ"
}
],
"stateChanges": {
"data": [
{
"key": "k_positionSize_3MpZsZGFhs57JnahmLxaXUNPq2dxjG9HawJ",
"type": "integer",
"value": 6952
},
{
"key": "k_positionMargin_3MpZsZGFhs57JnahmLxaXUNPq2dxjG9HawJ",
"type": "integer",
"value": 39600000
},
{
"key": "k_positionOpenNotional_3MpZsZGFhs57JnahmLxaXUNPq2dxjG9HawJ",
"type": "integer",
"value": 123750000
},
{
"key": "k_positionFraction_3MpZsZGFhs57JnahmLxaXUNPq2dxjG9HawJ",
"type": "integer",
"value": -44017829
},
{
"key": "k_balance",
"type": "integer",
"value": 15261098863
}
],
"transfers": [
{
"address": "3N6btuDfXTh8F6rcCbpuevwjxv78VSjwy1g",
"asset": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ",
"amount": 45000
}
],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": [
{
"dApp": "3Mtg8z9QJeGjk6hjLivdwzxVzCfnULGtp3Y",
"call": {
"function": "syncTerminalPriceToOracle",
"args": []
},
"payment": [],
"stateChanges": {
"data": [
{
"key": "k_qtAstW",
"type": "integer",
"value": 7757994934
},
{
"key": "k_bsAstW",
"type": "integer",
"value": 1000000
},
{
"key": "k_twapDataLastCumulativePrice_27850703",
"type": "integer",
"value": 47975403369606
},
{
"key": "k_twapDataLastPrice_27850703",
"type": "integer",
"value": 18238026185
},
{
"key": "k_twapDataPreviousMinuteId_27850703",
"type": "integer",
"value": 27850702
},
{
"key": "k_lastMinuteId",
"type": "integer",
"value": 27850703
},
{
"key": "k_lastDataStr",
"type": "string",
"value": "27850679,27850680,27850681,27850682,27850683,27850685,27850687,27850688,27850689,27850690,27850692,27850695,27850698,27850700,27850702,27850703"
}
],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": [
{
"dApp": "3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH",
"call": {
"function": "exchangeFreeAndLocked",
"args": [
{
"type": "Int",
"value": -16226108
}
]
},
"payment": [],
"stateChanges": {
"data": [
{
"key": "k_lockedBalance",
"type": "integer",
"value": 8564088312100
},
{
"key": "k_freeBalance",
"type": "integer",
"value": 1365648796500
},
{
"key": "k_freeBalanceBorrowed",
"type": "integer",
"value": 0
},
{
"key": "k_rate",
"type": "integer",
"value": 113804066
}
],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
}
]
}
},
{
"dApp": "3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5",
"call": {
"function": "computeFeeDiscount",
"args": [
{
"type": "String",
"value": "3MpZsZGFhs57JnahmLxaXUNPq2dxjG9HawJ"
}
]
},
"payment": [],
"stateChanges": {
"data": [],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
},
{
"dApp": "3MxN27tyS9DuFsab1QSfM5Q2BfauiyVCr4M",
"call": {
"function": "acceptPayment",
"args": [
{
"type": "String",
"value": "3MpZsZGFhs57JnahmLxaXUNPq2dxjG9HawJ"
}
]
},
"payment": [
{
"assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ",
"amount": 150000
}
],
"stateChanges": {
"data": [],
"transfers": [
{
"address": "3Mtg8z9QJeGjk6hjLivdwzxVzCfnULGtp3Y",
"asset": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ",
"amount": 150000
}
],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
},
{
"dApp": "3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH",
"call": {
"function": "addLocked",
"args": [
{
"type": "Boolean",
"value": false
}
]
},
"payment": [
{
"assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ",
"amount": 14850000
}
],
"stateChanges": {
"data": [
{
"key": "k_lockedBalance",
"type": "integer",
"value": 8565573312100
}
],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": [
{
"dApp": "3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1",
"call": {
"function": "deposit",
"args": []
},
"payment": [
{
"assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ",
"amount": 14850000
}
],
"stateChanges": {
"data": [
{
"key": "k_funds_HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ",
"type": "integer",
"value": 115017257136
}
],
"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": 14850000
}
],
"stateChanges": {
"data": [
{
"key": "k_funds",
"type": "integer",
"value": 115017257136
}
],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
}
]
}
}
]
}
},
{
"dApp": "3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH",
"call": {
"function": "addFree",
"args": []
},
"payment": [
{
"assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ",
"amount": 105000
}
],
"stateChanges": {
"data": [
{
"key": "k_freeBalance",
"type": "integer",
"value": 1365659296500
},
{
"key": "k_rate",
"type": "integer",
"value": 113804941
}
],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": [
{
"dApp": "3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1",
"call": {
"function": "deposit",
"args": []
},
"payment": [
{
"assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ",
"amount": 105000
}
],
"stateChanges": {
"data": [
{
"key": "k_funds_HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ",
"type": "integer",
"value": 115017362136
}
],
"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": 105000
}
],
"stateChanges": {
"data": [
{
"key": "k_funds",
"type": "integer",
"value": 115017362136
}
],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
}
]
}
}
]
}
},
{
"dApp": "3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5",
"call": {
"function": "notifyFees",
"args": [
{
"type": "String",
"value": "3MpZsZGFhs57JnahmLxaXUNPq2dxjG9HawJ"
},
{
"type": "Int",
"value": 150000
}
]
},
"payment": [],
"stateChanges": {
"data": [
{
"key": "k_traderFeesInPeriod_3Mtg8z9QJeGjk6hjLivdwzxVzCfnULGtp3Y_3MpZsZGFhs57JnahmLxaXUNPq2dxjG9HawJ_2762",
"type": "integer",
"value": 40000000
},
{
"key": "k_totalFeesInPeriod_3Mtg8z9QJeGjk6hjLivdwzxVzCfnULGtp3Y_2762",
"type": "integer",
"value": 26272593400
}
],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
}
]
}
}
}