tx · 6Vrq3Ww4GSwLpBWRRfi5rr6FCEszZTXwU9vjZXsVD2gU
3N6btuDfXTh8F6rcCbpuevwjxv78VSjwy1g: +0.006000 XTN
3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN: +1.994000 XTN
3N9o29CLGsjMReriUXbrcKZ9oTe6oSmBfgs: -2.000000 XTN
———————————————————————————————————: -0.00500000 Waves
2022.12.15 08:02 [2360968] transfer 3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX > 3N6btuDfXTh8F6rcCbpuevwjxv78VSjwy1g addMargin() 0.006000 XTN
2022.12.15 08:02 [2360968] invoke 3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX > 3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5 notifyFees()
2022.12.15 08:02 [2360968] invoke 3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1 > 3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN deposit() 0.014000 XTN
2022.12.15 08:02 [2360968] invoke 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH > 3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1 deposit() 0.014000 XTN
2022.12.15 08:02 [2360968] invoke 3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX > 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH addFree() 0.014000 XTN
2022.12.15 08:02 [2360968] invoke 3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1 > 3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN deposit() 1.980000 XTN
2022.12.15 08:02 [2360968] invoke 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH > 3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1 deposit() 1.980000 XTN
2022.12.15 08:02 [2360968] invoke 3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX > 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH addLocked() 1.980000 XTN
2022.12.15 08:02 [2360968] transfer 3MxN27tyS9DuFsab1QSfM5Q2BfauiyVCr4M > 3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX acceptPayment() 0.020000 XTN
2022.12.15 08:02 [2360968] invoke 3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX > 3MxN27tyS9DuFsab1QSfM5Q2BfauiyVCr4M acceptPayment() 0.020000 XTN
2022.12.15 08:02 [2360968] invoke 3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX > 3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5 computeFeeDiscount()
2022.12.15 08:02 [2360968] invoke 3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX > 3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH exchangeFreeAndLocked()
2022.12.15 08:02 [2360968] invoke 3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX > 3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX syncTerminalPriceToOracle()
2022.12.15 08:02 [2360968] invoke 3N9o29CLGsjMReriUXbrcKZ9oTe6oSmBfgs > 3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX addMargin() 2.000000 XTN
3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX: k_balance: 6006153775 -> 6008133775
3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX: k_positionFraction_3N9o29CLGsjMReriUXbrcKZ9oTe6oSmBfgs: 195 == 195
3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX: k_positionOpenNotional_3N9o29CLGsjMReriUXbrcKZ9oTe6oSmBfgs: 9900000 == 9900000
3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX: k_positionMargin_3N9o29CLGsjMReriUXbrcKZ9oTe6oSmBfgs: 9900000 -> 11880000
3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX: k_positionSize_3N9o29CLGsjMReriUXbrcKZ9oTe6oSmBfgs: 106222217 == 106222217
3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5: k_totalFeesInPeriod_3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX_2763: 2443497100 -> 2445497100
3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5: k_traderFeesInPeriod_3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX_3N9o29CLGsjMReriUXbrcKZ9oTe6oSmBfgs_2763: 2000000
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_rate: 121679730 -> 121679772
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_freeBalance: 4050955593500 -> 4050956993500
3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1: k_funds_HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ: 157031212838 -> 157031226838
3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN: k_funds: 157031212838 -> 157031226838
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_lockedBalance: 10061901143700 -> 10062099143700
3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1: k_funds_HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ: 157029232838 -> 157031212838
3N7oLWBSDVgbwaBG9nMa4KqgZ5YL6hkAyJN: k_funds: 157029232838 -> 157031212838
3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX: k_lastDataStr: "27851228,27851234,27851238,27851252,27851273,27851284,27851287,27851291,27851293,27851294,27851297,27851305,27851309,27851312,27851320,27851331" -> "27851234,27851238,27851252,27851273,27851284,27851287,27851291,27851293,27851294,27851297,27851305,27851309,27851312,27851320,27851331,27851342"
3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX: k_lastMinuteId: 27851331 -> 27851342
3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX: k_twapDataPreviousMinuteId_27851342: 27851331
3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX: k_twapDataLastPrice_27851342: 92973
3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX: k_twapDataLastCumulativePrice_27851342: 578440246
3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX: k_bsAstW: 1000000 == 1000000
3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX: k_qtAstW: 37112 -> 37158
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_rate: 121702885 -> 121679730
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_freeBalanceBorrowed: 0 == 0
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_freeBalance: 4051726452100 -> 4050955593500
3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH: k_lockedBalance: 10061130285100 -> 10061901143700
{
"type": 16,
"id": "6Vrq3Ww4GSwLpBWRRfi5rr6FCEszZTXwU9vjZXsVD2gU",
"fee": 500000,
"feeAssetId": null,
"timestamp": 1671080557978,
"version": 2,
"chainId": 84,
"sender": "3N9o29CLGsjMReriUXbrcKZ9oTe6oSmBfgs",
"senderPublicKey": "AZ6eMpPgQcQM7fBXuEeXQZ7EGvrLdQphJ6LvtpeTLUaK",
"proofs": [
"5q2ZyGcvuAofcRpRtXyr6YxhfWeRypTk2sBmMDG6XKrd9Goj1HsSubntwozoJWhEfu259SXZFji4yW3PWZ68LvTh"
],
"dApp": "3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX",
"payment": [
{
"amount": 2000000,
"assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ"
}
],
"call": {
"function": "addMargin",
"args": []
},
"height": 2360968,
"applicationStatus": "succeeded",
"spentComplexity": 3981,
"stateChanges": {
"data": [
{
"key": "k_positionSize_3N9o29CLGsjMReriUXbrcKZ9oTe6oSmBfgs",
"type": "integer",
"value": 106222217
},
{
"key": "k_positionMargin_3N9o29CLGsjMReriUXbrcKZ9oTe6oSmBfgs",
"type": "integer",
"value": 11880000
},
{
"key": "k_positionOpenNotional_3N9o29CLGsjMReriUXbrcKZ9oTe6oSmBfgs",
"type": "integer",
"value": 9900000
},
{
"key": "k_positionFraction_3N9o29CLGsjMReriUXbrcKZ9oTe6oSmBfgs",
"type": "integer",
"value": 195
},
{
"key": "k_balance",
"type": "integer",
"value": 6008133775
}
],
"transfers": [
{
"address": "3N6btuDfXTh8F6rcCbpuevwjxv78VSjwy1g",
"asset": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ",
"amount": 6000
}
],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": [
{
"dApp": "3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX",
"call": {
"function": "syncTerminalPriceToOracle",
"args": []
},
"payment": [],
"stateChanges": {
"data": [
{
"key": "k_qtAstW",
"type": "integer",
"value": 37158
},
{
"key": "k_bsAstW",
"type": "integer",
"value": 1000000
},
{
"key": "k_twapDataLastCumulativePrice_27851342",
"type": "integer",
"value": 578440246
},
{
"key": "k_twapDataLastPrice_27851342",
"type": "integer",
"value": 92973
},
{
"key": "k_twapDataPreviousMinuteId_27851342",
"type": "integer",
"value": 27851331
},
{
"key": "k_lastMinuteId",
"type": "integer",
"value": 27851342
},
{
"key": "k_lastDataStr",
"type": "string",
"value": "27851234,27851238,27851252,27851273,27851284,27851287,27851291,27851293,27851294,27851297,27851305,27851309,27851312,27851320,27851331,27851342"
}
],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": [
{
"dApp": "3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH",
"call": {
"function": "exchangeFreeAndLocked",
"args": [
{
"type": "Int",
"value": 7708586
}
]
},
"payment": [],
"stateChanges": {
"data": [
{
"key": "k_lockedBalance",
"type": "integer",
"value": 10061901143700
},
{
"key": "k_freeBalance",
"type": "integer",
"value": 4050955593500
},
{
"key": "k_freeBalanceBorrowed",
"type": "integer",
"value": 0
},
{
"key": "k_rate",
"type": "integer",
"value": 121679730
}
],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
}
]
}
},
{
"dApp": "3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5",
"call": {
"function": "computeFeeDiscount",
"args": [
{
"type": "String",
"value": "3N9o29CLGsjMReriUXbrcKZ9oTe6oSmBfgs"
}
]
},
"payment": [],
"stateChanges": {
"data": [],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
},
{
"dApp": "3MxN27tyS9DuFsab1QSfM5Q2BfauiyVCr4M",
"call": {
"function": "acceptPayment",
"args": [
{
"type": "String",
"value": "3N9o29CLGsjMReriUXbrcKZ9oTe6oSmBfgs"
}
]
},
"payment": [
{
"assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ",
"amount": 20000
}
],
"stateChanges": {
"data": [],
"transfers": [
{
"address": "3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX",
"asset": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ",
"amount": 20000
}
],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
},
{
"dApp": "3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH",
"call": {
"function": "addLocked",
"args": [
{
"type": "Boolean",
"value": false
}
]
},
"payment": [
{
"assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ",
"amount": 1980000
}
],
"stateChanges": {
"data": [
{
"key": "k_lockedBalance",
"type": "integer",
"value": 10062099143700
}
],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": [
{
"dApp": "3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1",
"call": {
"function": "deposit",
"args": []
},
"payment": [
{
"assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ",
"amount": 1980000
}
],
"stateChanges": {
"data": [
{
"key": "k_funds_HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ",
"type": "integer",
"value": 157031212838
}
],
"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": 1980000
}
],
"stateChanges": {
"data": [
{
"key": "k_funds",
"type": "integer",
"value": 157031212838
}
],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
}
]
}
}
]
}
},
{
"dApp": "3NADcxHXbecCheinqFbvhDjfzZhsMFZJUuH",
"call": {
"function": "addFree",
"args": []
},
"payment": [
{
"assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ",
"amount": 14000
}
],
"stateChanges": {
"data": [
{
"key": "k_freeBalance",
"type": "integer",
"value": 4050956993500
},
{
"key": "k_rate",
"type": "integer",
"value": 121679772
}
],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": [
{
"dApp": "3N6DSGKkzQthvo3S2Ru8MEKNkTVqB2XFMV1",
"call": {
"function": "deposit",
"args": []
},
"payment": [
{
"assetId": "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ",
"amount": 14000
}
],
"stateChanges": {
"data": [
{
"key": "k_funds_HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ",
"type": "integer",
"value": 157031226838
}
],
"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": 14000
}
],
"stateChanges": {
"data": [
{
"key": "k_funds",
"type": "integer",
"value": 157031226838
}
],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
}
]
}
}
]
}
},
{
"dApp": "3MrMbQwr3cpCvWMWCFjqUZzqRgxg8En6Jd5",
"call": {
"function": "notifyFees",
"args": [
{
"type": "String",
"value": "3N9o29CLGsjMReriUXbrcKZ9oTe6oSmBfgs"
},
{
"type": "Int",
"value": 20000
}
]
},
"payment": [],
"stateChanges": {
"data": [
{
"key": "k_traderFeesInPeriod_3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX_3N9o29CLGsjMReriUXbrcKZ9oTe6oSmBfgs_2763",
"type": "integer",
"value": 2000000
},
{
"key": "k_totalFeesInPeriod_3N4SpfepyNLLb4Uc8e3xvkZew64HMcZ23oX_2763",
"type": "integer",
"value": 2445497100
}
],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
}
]
}
}