tx · 549yu1wUppGcHaShjXqCfeoAgZosGS2GSwies6Etj2g9
3N6btuDfXTh8F6rcCbpuevwjxv78VSjwy1g: +0.003000 XTN
3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN: +0.997000 XTN
3N4PnJsze7FkYrXwAR5fw15q3WA7EAd1mU4: -1.000000 XTN
———————————————————————————————————: -0.00500000 Waves
2022.12.15 22:31 [2361859] transfer 3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF > 3N6btuDfXTh8F6rcCbpuevwjxv78VSjwy1g addMargin() 0.003000 XTN
2022.12.15 22:31 [2361859] invoke 3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF > 3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5 notifyFees()
2022.12.15 22:31 [2361859] invoke 3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1 > 3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN deposit() 0.007000 XTN
2022.12.15 22:31 [2361859] invoke 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH > 3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1 deposit() 0.007000 XTN
2022.12.15 22:31 [2361859] invoke 3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF > 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH addFree() 0.007000 XTN
2022.12.15 22:31 [2361859] invoke 3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1 > 3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN deposit() 0.990000 XTN
2022.12.15 22:31 [2361859] invoke 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH > 3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1 deposit() 0.990000 XTN
2022.12.15 22:31 [2361859] invoke 3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF > 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH addLocked() 0.990000 XTN
2022.12.15 22:31 [2361859] transfer 3MxN27tyS9DuFsab1QSfM5Q2BfauiyVCr4M > 3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF acceptPayment() 0.010000 XTN
2022.12.15 22:31 [2361859] invoke 3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF > 3MxN27tyS9DuFsab1QSfM5Q2BfauiyVCr4M acceptPayment() 0.010000 XTN
2022.12.15 22:31 [2361859] invoke 3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF > 3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5 computeFeeDiscount()
2022.12.15 22:31 [2361859] invoke 3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF > 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH exchangeFreeAndLocked()
2022.12.15 22:31 [2361859] invoke 3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF > 3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF syncTerminalPriceToOracle()
2022.12.15 22:31 [2361859] invoke 3N4PnJsze7FkYrXwAR5fw15q3WA7EAd1mU4 > 3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF addMargin() 1.000000 XTN
3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF: k_balance: 4623668882 -> 4624658882
3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF: k_positionFraction_3N4PnJsze7FkYrXwAR5fw15q3WA7EAd1mU4: 6660 == 6660
3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF: k_positionOpenNotional_3N4PnJsze7FkYrXwAR5fw15q3WA7EAd1mU4: 3960000 == 3960000
3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF: k_positionMargin_3N4PnJsze7FkYrXwAR5fw15q3WA7EAd1mU4: 1980000 -> 2970000
3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF: k_positionSize_3N4PnJsze7FkYrXwAR5fw15q3WA7EAd1mU4: -189197154 == -189197154
3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5: k_totalFeesInPeriod_3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF_2763: 3361733600 -> 3362733600
3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5: k_traderFeesInPeriod_3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF_3N4PnJsze7FkYrXwAR5fw15q3WA7EAd1mU4_2763: 2000000 -> 3000000
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_rate: 127825677 -> 127825698
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_freeBalance: 4255566149600 -> 4255566849600
3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1: k_funds_HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ: 209070304889 -> 209070311889
3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN: k_funds: 209070304889 -> 209070311889
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_lockedBalance: 15010203520400 -> 15010302520400
3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1: k_funds_HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ: 209069314889 -> 209070304889
3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN: k_funds: 209069314889 -> 209070304889
3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF: k_lastDataStr: "27852147,27852149,27852150,27852152,27852153,27852161,27852183,27852187,27852193,27852195,27852199,27852201,27852202,27852203,27852204,27852210" -> "27852149,27852150,27852152,27852153,27852161,27852183,27852187,27852193,27852195,27852199,27852201,27852202,27852203,27852204,27852210,27852211"
3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF: k_lastMinuteId: 27852210 -> 27852211
3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF: k_twapDataPreviousMinuteId_27852211: 27852210
3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF: k_twapDataLastPrice_27852211: 21245
3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF: k_twapDataLastCumulativePrice_27852211: 222706180
3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF: k_bsAstW: 1000000 == 1000000
3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF: k_qtAstW: 742516 -> 753677
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_rate: 127808624 -> 127825677
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_freeBalanceBorrowed: 0 == 0
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_freeBalance: 4254998404700 -> 4255566149600
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_lockedBalance: 15010771265300 -> 15010203520400
{
"type": 16,
"id": "549yu1wUppGcHaShjXqCfeoAgZosGS2GSwies6Etj2g9",
"fee": 500000,
"feeAssetId": null,
"timestamp": 1671132702347,
"version": 2,
"chainId": 84,
"sender": "3N4PnJsze7FkYrXwAR5fw15q3WA7EAd1mU4",
"senderPublicKey": "GrZzBGoqGf3UdG9HHNhngKz33shjUBwgSYuAoPv3bXkk",
"proofs": [
"5QTbJqemRiN5RQn1mqFddQNMQBd1Dct9czqVEv9CMrUyufPYPTQJtx2koCu1W9fn6AuFWMmbNrHzGc9B53ddzt6L"
],
"dApp": "3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF",
"payment": [
{
"amount": 1000000,
"assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ"
}
],
"call": {
"function": "addMargin",
"args": []
},
"height": 2361859,
"applicationStatus": "succeeded",
"spentComplexity": 3939,
"stateChanges": {
"data": [
{
"key": "k_positionSize_3N4PnJsze7FkYrXwAR5fw15q3WA7EAd1mU4",
"type": "integer",
"value": -189197154
},
{
"key": "k_positionMargin_3N4PnJsze7FkYrXwAR5fw15q3WA7EAd1mU4",
"type": "integer",
"value": 2970000
},
{
"key": "k_positionOpenNotional_3N4PnJsze7FkYrXwAR5fw15q3WA7EAd1mU4",
"type": "integer",
"value": 3960000
},
{
"key": "k_positionFraction_3N4PnJsze7FkYrXwAR5fw15q3WA7EAd1mU4",
"type": "integer",
"value": 6660
},
{
"key": "k_balance",
"type": "integer",
"value": 4624658882
}
],
"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": 753677
},
{
"key": "k_bsAstW",
"type": "integer",
"value": 1000000
},
{
"key": "k_twapDataLastCumulativePrice_27852211",
"type": "integer",
"value": 222706180
},
{
"key": "k_twapDataLastPrice_27852211",
"type": "integer",
"value": 21245
},
{
"key": "k_twapDataPreviousMinuteId_27852211",
"type": "integer",
"value": 27852210
},
{
"key": "k_lastMinuteId",
"type": "integer",
"value": 27852211
},
{
"key": "k_lastDataStr",
"type": "string",
"value": "27852149,27852150,27852152,27852153,27852161,27852183,27852187,27852193,27852195,27852199,27852201,27852202,27852203,27852204,27852210,27852211"
}
],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": [
{
"dApp": "3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH",
"call": {
"function": "exchangeFreeAndLocked",
"args": [
{
"type": "Int",
"value": -5677449
}
]
},
"payment": [],
"stateChanges": {
"data": [
{
"key": "k_lockedBalance",
"type": "integer",
"value": 15010203520400
},
{
"key": "k_freeBalance",
"type": "integer",
"value": 4255566149600
},
{
"key": "k_freeBalanceBorrowed",
"type": "integer",
"value": 0
},
{
"key": "k_rate",
"type": "integer",
"value": 127825677
}
],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
}
]
}
},
{
"dApp": "3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5",
"call": {
"function": "computeFeeDiscount",
"args": [
{
"type": "String",
"value": "3N4PnJsze7FkYrXwAR5fw15q3WA7EAd1mU4"
}
]
},
"payment": [],
"stateChanges": {
"data": [],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
},
{
"dApp": "3MxN27tyS9DuFsab1QSfM5Q2BfauiyVCr4M",
"call": {
"function": "acceptPayment",
"args": [
{
"type": "String",
"value": "3N4PnJsze7FkYrXwAR5fw15q3WA7EAd1mU4"
}
]
},
"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": 15010302520400
}
],
"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": 209070304889
}
],
"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": 209070304889
}
],
"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": 4255566849600
},
{
"key": "k_rate",
"type": "integer",
"value": 127825698
}
],
"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": 209070311889
}
],
"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": 209070311889
}
],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
}
]
}
}
]
}
},
{
"dApp": "3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5",
"call": {
"function": "notifyFees",
"args": [
{
"type": "String",
"value": "3N4PnJsze7FkYrXwAR5fw15q3WA7EAd1mU4"
},
{
"type": "Int",
"value": 10000
}
]
},
"payment": [],
"stateChanges": {
"data": [
{
"key": "k_traderFeesInPeriod_3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF_3N4PnJsze7FkYrXwAR5fw15q3WA7EAd1mU4_2763",
"type": "integer",
"value": 3000000
},
{
"key": "k_totalFeesInPeriod_3N2PpSwSkK98YvLff2xQa6UcZ6LZ4suyFUF_2763",
"type": "integer",
"value": 3362733600
}
],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
}
]
}
}