tx · Byf9tiARmGqeNiWvFkZiGJVH37j7MUKXWANXM6WfBT5r
3N6btuDfXTh8F6rcCbpuevwjxv78VSjwy1g: +0.003000 XTN
3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN: +0.997000 XTN
3NBr47ipRG5GtYDv5yWzxF7ykqcJ12UUMoK: -1.000000 XTN
———————————————————————————————————: -0.00500000 Waves
2022.12.18 01:34 [2364890] transfer 3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF > 3N6btuDfXTh8F6rcCbpuevwjxv78VSjwy1g addMargin() 0.003000 XTN
2022.12.18 01:34 [2364890] invoke 3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF > 3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5 notifyFees()
2022.12.18 01:34 [2364890] invoke 3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1 > 3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN deposit() 0.007000 XTN
2022.12.18 01:34 [2364890] invoke 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH > 3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1 deposit() 0.007000 XTN
2022.12.18 01:34 [2364890] invoke 3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF > 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH addFree() 0.007000 XTN
2022.12.18 01:34 [2364890] invoke 3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1 > 3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN deposit() 0.990000 XTN
2022.12.18 01:34 [2364890] invoke 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH > 3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1 deposit() 0.990000 XTN
2022.12.18 01:34 [2364890] invoke 3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF > 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH addLocked() 0.990000 XTN
2022.12.18 01:34 [2364890] transfer 3MxN27tyS9DuFsab1QSfM5Q2BfauiyVCr4M > 3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF acceptPayment() 0.010000 XTN
2022.12.18 01:34 [2364890] invoke 3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF > 3MxN27tyS9DuFsab1QSfM5Q2BfauiyVCr4M acceptPayment() 0.010000 XTN
2022.12.18 01:34 [2364890] invoke 3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF > 3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5 computeFeeDiscount()
2022.12.18 01:34 [2364890] invoke 3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF > 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH exchangeFreeAndLocked()
2022.12.18 01:34 [2364890] invoke 3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF > 3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF syncTerminalPriceToOracle()
2022.12.18 01:34 [2364890] invoke 3NBr47ipRG5GtYDv5yWzxF7ykqcJ12UUMoK > 3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF addMargin() 1.000000 XTN
2022.12.18 01:34 [2364890] ethereum 3NBr47ipRG5GtYDv5yWzxF7ykqcJ12UUMoK > 3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF addMargin()
3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF: k_balance: 4980984121 -> 4981974121
3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF: k_positionFraction_3NBr47ipRG5GtYDv5yWzxF7ykqcJ12UUMoK: 386 == 386
3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF: k_positionOpenNotional_3NBr47ipRG5GtYDv5yWzxF7ykqcJ12UUMoK: 9900000 == 9900000
3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF: k_positionMargin_3NBr47ipRG5GtYDv5yWzxF7ykqcJ12UUMoK: 6930000 -> 7920000
3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF: k_positionSize_3NBr47ipRG5GtYDv5yWzxF7ykqcJ12UUMoK: 343294603 == 343294603
3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5: k_totalFeesInPeriod_3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF_2763: 4887227800 -> 4888227800
3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5: k_traderFeesInPeriod_3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF_3NBr47ipRG5GtYDv5yWzxF7ykqcJ12UUMoK_2763: 7000000 -> 8000000
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_rate: 162491478 -> 162491499
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_freeBalance: 5409658270600 -> 5409658970600
3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1: k_funds_HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ: 266916633905 -> 266916640905
3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN: k_funds: 266916633905 -> 266916640905
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_lockedBalance: 19549838518600 -> 19549937518600
3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1: k_funds_HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ: 266915643905 -> 266916633905
3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN: k_funds: 266915643905 -> 266916633905
3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF: k_lastDataStr: "27855174,27855177,27855178,27855181,27855186,27855212,27855220,27855226,27855230,27855232,27855252,27855258,27855261,27855263,27855270,27855272" -> "27855177,27855178,27855181,27855186,27855212,27855220,27855226,27855230,27855232,27855252,27855258,27855261,27855263,27855270,27855272,27855274"
3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF: k_lastMinuteId: 27855272 -> 27855274
3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF: k_twapDataPreviousMinuteId_27855274: 27855272
3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF: k_twapDataLastPrice_27855274: 28142
3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF: k_twapDataLastCumulativePrice_27855274: 287527104
3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF: k_bsAstW: 1000000 == 1000000
3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF: k_qtAstW: 1010324 -> 986495
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_rate: 162108698 -> 162491478
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_freeBalanceBorrowed: 0 == 0
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_freeBalance: 5396914778700 -> 5409658270600
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_lockedBalance: 19562582010500 -> 19549838518600
{
"type": 18,
"id": "Byf9tiARmGqeNiWvFkZiGJVH37j7MUKXWANXM6WfBT5r",
"fee": 500000,
"feeAssetId": null,
"timestamp": 1671316452479,
"version": 1,
"chainId": 84,
"bytes": "0xf8f18601852239347f8502540be4008307a1209488e05c9ddbcd3f7f12c2865e1d48da5661ad8b0b80b884ef19a73900000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001f776eaf7f783ca65db6e13ee023bcf582995a9c1d18df24bda6cd81d6280c8de00000000000000000000000000000000000000000000000000000000000f424081cba04dba0803993f16f3e6d4c6936d78e086c41557fcd397899eef0c98f7a2f9d7a2a04d3dc7d0a0ba777778dd764f8d4969669d704808743285a6108a481f755a0716",
"sender": "3NBr47ipRG5GtYDv5yWzxF7ykqcJ12UUMoK",
"senderPublicKey": "4hgwJLC8nCs2cgaYe1m2bpeWprNjw7biVwwm4jK6Cc6jJ8NW7MJvUfauKFQHusP8Wj7NWfewNX9KkMkJ91AK1BB9",
"height": 2364890,
"applicationStatus": "succeeded",
"spentComplexity": 3911,
"payload": {
"type": "invocation",
"dApp": "3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF",
"call": {
"function": "addMargin",
"args": []
},
"payment": [
{
"amount": 1000000,
"assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ"
}
],
"stateChanges": {
"data": [
{
"key": "k_positionSize_3NBr47ipRG5GtYDv5yWzxF7ykqcJ12UUMoK",
"type": "integer",
"value": 343294603
},
{
"key": "k_positionMargin_3NBr47ipRG5GtYDv5yWzxF7ykqcJ12UUMoK",
"type": "integer",
"value": 7920000
},
{
"key": "k_positionOpenNotional_3NBr47ipRG5GtYDv5yWzxF7ykqcJ12UUMoK",
"type": "integer",
"value": 9900000
},
{
"key": "k_positionFraction_3NBr47ipRG5GtYDv5yWzxF7ykqcJ12UUMoK",
"type": "integer",
"value": 386
},
{
"key": "k_balance",
"type": "integer",
"value": 4981974121
}
],
"transfers": [
{
"address": "3N6btuDfXTh8F6rcCbpuevwjxv78VSjwy1g",
"asset": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ",
"amount": 3000
}
],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": [
{
"dApp": "3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF",
"call": {
"function": "syncTerminalPriceToOracle",
"args": []
},
"payment": [],
"stateChanges": {
"data": [
{
"key": "k_qtAstW",
"type": "integer",
"value": 986495
},
{
"key": "k_bsAstW",
"type": "integer",
"value": 1000000
},
{
"key": "k_twapDataLastCumulativePrice_27855274",
"type": "integer",
"value": 287527104
},
{
"key": "k_twapDataLastPrice_27855274",
"type": "integer",
"value": 28142
},
{
"key": "k_twapDataPreviousMinuteId_27855274",
"type": "integer",
"value": 27855272
},
{
"key": "k_lastMinuteId",
"type": "integer",
"value": 27855274
},
{
"key": "k_lastDataStr",
"type": "string",
"value": "27855177,27855178,27855181,27855186,27855212,27855220,27855226,27855230,27855232,27855252,27855258,27855261,27855263,27855270,27855272,27855274"
}
],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": [
{
"dApp": "3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH",
"call": {
"function": "exchangeFreeAndLocked",
"args": [
{
"type": "Int",
"value": -127434919
}
]
},
"payment": [],
"stateChanges": {
"data": [
{
"key": "k_lockedBalance",
"type": "integer",
"value": 19549838518600
},
{
"key": "k_freeBalance",
"type": "integer",
"value": 5409658270600
},
{
"key": "k_freeBalanceBorrowed",
"type": "integer",
"value": 0
},
{
"key": "k_rate",
"type": "integer",
"value": 162491478
}
],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
}
]
}
},
{
"dApp": "3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5",
"call": {
"function": "computeFeeDiscount",
"args": [
{
"type": "String",
"value": "3NBr47ipRG5GtYDv5yWzxF7ykqcJ12UUMoK"
}
]
},
"payment": [],
"stateChanges": {
"data": [],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
},
{
"dApp": "3MxN27tyS9DuFsab1QSfM5Q2BfauiyVCr4M",
"call": {
"function": "acceptPayment",
"args": [
{
"type": "String",
"value": "3NBr47ipRG5GtYDv5yWzxF7ykqcJ12UUMoK"
}
]
},
"payment": [
{
"assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ",
"amount": 10000
}
],
"stateChanges": {
"data": [],
"transfers": [
{
"address": "3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF",
"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": 19549937518600
}
],
"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": 266916633905
}
],
"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": 266916633905
}
],
"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": 5409658970600
},
{
"key": "k_rate",
"type": "integer",
"value": 162491499
}
],
"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": 266916640905
}
],
"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": 266916640905
}
],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
}
]
}
}
]
}
},
{
"dApp": "3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5",
"call": {
"function": "notifyFees",
"args": [
{
"type": "String",
"value": "3NBr47ipRG5GtYDv5yWzxF7ykqcJ12UUMoK"
},
{
"type": "Int",
"value": 10000
}
]
},
"payment": [],
"stateChanges": {
"data": [
{
"key": "k_traderFeesInPeriod_3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF_3NBr47ipRG5GtYDv5yWzxF7ykqcJ12UUMoK_2763",
"type": "integer",
"value": 8000000
},
{
"key": "k_totalFeesInPeriod_3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF_2763",
"type": "integer",
"value": 4888227800
}
],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
}
]
}
}
}