tx · Bg8iKtRacXbyBRG89vt7DFpvtAxB5rN13Xtq4XjFxF2e
3PQ23xgnf98t4qDtF5bscxdCDwgYoL7SPeK: -0.00500000 Waves
2024.04.16 18:32 [4131482] invoke 3PQ23xgnf98t4qDtF5bscxdCDwgYoL7SPeK > 3PEo9AaiuPr9KLwx5W6UWHEPBV6FpkGdU3n (failed)
{
"type": 16,
"id": "Bg8iKtRacXbyBRG89vt7DFpvtAxB5rN13Xtq4XjFxF2e",
"fee": 500000,
"feeAssetId": null,
"timestamp": 1713281524267,
"version": 1,
"sender": "3PQ23xgnf98t4qDtF5bscxdCDwgYoL7SPeK",
"senderPublicKey": "CAKbAYMx5sDYFB9G6v2CTspzRoAUppPvv7uGpuZpZ7zj",
"proofs": [
"2RvQiwCAWQA2vC5HSu9hU1qHgC61nzxXDBV6cgrdwgeyWeYNvToDQs8oBSaJj3M7DdeqdmUMTNNFQgiMkMm8jb6Y"
],
"dApp": "shvm",
"payment": [],
"call": {
"function": "z",
"args": [
{
"type": "binary",
"value": "base64:BV0AACm6aD0="
}
]
},
"height": 4131482,
"applicationStatus": "script_execution_failed",
"spentComplexity": 19060,
"stateChanges": {
"data": [],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": [
{
"dApp": "3PLoX5yufZz9jRahL1CVVRAXq8VpUmXBKLK",
"call": {
"function": "borrow",
"args": [
{
"type": "String",
"value": "WAVES"
},
{
"type": "Int",
"value": 700082237
}
]
},
"payment": [],
"stateChanges": {
"data": [],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
},
{
"dApp": "3P2M9btqYdpENh1SkaHFDdc8XSjXHNiAXF5",
"call": {
"function": "exchange",
"args": [
{
"type": "Int",
"value": 1
}
]
},
"payment": [
{
"assetId": null,
"amount": 700082237
}
],
"stateChanges": {
"data": [],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": [
{
"dApp": "3PBFHAHS4PZaXpS7gT5SPLnuPh7YPoJgCfE",
"call": {
"function": "exchange",
"args": [
{
"type": "ByteVector",
"value": "3PEo9AaiuPr9KLwx5W6UWHEPBV6FpkGdU3n"
},
{
"type": "Array",
"value": [
{
"type": "String",
"value": "1"
}
]
},
{
"type": "Array",
"value": [
{
"type": "Int",
"value": 700082237
}
]
},
{
"type": "Array",
"value": [
{
"type": "ByteVector",
"value": ""
}
]
}
]
},
"payment": [],
"stateChanges": {
"data": [],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": [
{
"dApp": "3P2M9btqYdpENh1SkaHFDdc8XSjXHNiAXF5",
"call": {
"function": "stakeUnstake",
"args": [
{
"type": "Boolean",
"value": true
},
{
"type": "Int",
"value": 700082237
},
{
"type": "String",
"value": "WAVES"
}
]
},
"payment": [],
"stateChanges": {
"data": [],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
}
]
}
}
]
}
},
{
"dApp": "3P68zNiufsu1viZpu1aY3cdahRRKcvV5N93",
"call": {
"function": "swap",
"args": [
{
"type": "Int",
"value": 0
},
{
"type": "String",
"value": "A81p1LTRyoq2rDR2TNxB2dWYxsiNwCSSi8sXef2SEkwb"
},
{
"type": "String",
"value": "3PEo9AaiuPr9KLwx5W6UWHEPBV6FpkGdU3n"
}
]
},
"payment": [
{
"assetId": "9wc3LXNA4TEBsXyKtoLE9mrbDD7WMHXvXrCjZvabLAsi",
"amount": 15704286
}
],
"stateChanges": {
"data": [],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": [
{
"dApp": "3PCuHsTU58WKhCqotbcSwABvdPzqqVAbbTv",
"call": {
"function": "getLpAssetFromPoolAssetsREADONLY",
"args": [
{
"type": "String",
"value": "9wc3LXNA4TEBsXyKtoLE9mrbDD7WMHXvXrCjZvabLAsi"
},
{
"type": "String",
"value": "A81p1LTRyoq2rDR2TNxB2dWYxsiNwCSSi8sXef2SEkwb"
}
]
},
"payment": [],
"stateChanges": {
"data": [],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
},
{
"dApp": "3PCuHsTU58WKhCqotbcSwABvdPzqqVAbbTv",
"call": {
"function": "getLpAssetFromPoolAssetsREADONLY",
"args": [
{
"type": "String",
"value": "A81p1LTRyoq2rDR2TNxB2dWYxsiNwCSSi8sXef2SEkwb"
},
{
"type": "String",
"value": "9wc3LXNA4TEBsXyKtoLE9mrbDD7WMHXvXrCjZvabLAsi"
}
]
},
"payment": [],
"stateChanges": {
"data": [],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
},
{
"dApp": "3PCuHsTU58WKhCqotbcSwABvdPzqqVAbbTv",
"call": {
"function": "getPoolAddressFromLpAssetREADONLY",
"args": [
{
"type": "String",
"value": "2N8wDDfftkEqy6rRQJuG7kFdygnsmAkga7wne1FHntCp"
}
]
},
"payment": [],
"stateChanges": {
"data": [],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
},
{
"dApp": "3PCuHsTU58WKhCqotbcSwABvdPzqqVAbbTv",
"call": {
"function": "getPoolStatusREADONLY",
"args": [
{
"type": "String",
"value": "3PBxqamajfw2cHR2wmv5usiWxBncKLdXVdu"
}
]
},
"payment": [],
"stateChanges": {
"data": [],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
},
{
"dApp": "3PCuHsTU58WKhCqotbcSwABvdPzqqVAbbTv",
"call": {
"function": "getSwapFeeREADONLY",
"args": [
{
"type": "String",
"value": "3PBxqamajfw2cHR2wmv5usiWxBncKLdXVdu"
}
]
},
"payment": [],
"stateChanges": {
"data": [],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
},
{
"dApp": "3PBxqamajfw2cHR2wmv5usiWxBncKLdXVdu",
"call": {
"function": "calculateAmountOutForSwapAndSendTokens",
"args": [
{
"type": "Int",
"value": 15641470
},
{
"type": "Boolean",
"value": true
},
{
"type": "Int",
"value": 0
},
{
"type": "String",
"value": "3PEo9AaiuPr9KLwx5W6UWHEPBV6FpkGdU3n"
},
{
"type": "Int",
"value": 31408
}
]
},
"payment": [
{
"assetId": "9wc3LXNA4TEBsXyKtoLE9mrbDD7WMHXvXrCjZvabLAsi",
"amount": 15641470
}
],
"stateChanges": {
"data": [],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": [
{
"dApp": "3PCuHsTU58WKhCqotbcSwABvdPzqqVAbbTv",
"call": {
"function": "isPoolSwapDisabledREADONLY",
"args": [
{
"type": "String",
"value": "3PBxqamajfw2cHR2wmv5usiWxBncKLdXVdu"
}
]
},
"payment": [],
"stateChanges": {
"data": [],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
},
{
"dApp": "3PCuHsTU58WKhCqotbcSwABvdPzqqVAbbTv",
"call": {
"function": "getSwapContractREADONLY",
"args": []
},
"payment": [],
"stateChanges": {
"data": [],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
}
]
}
}
]
}
},
{
"dApp": "3P68zNiufsu1viZpu1aY3cdahRRKcvV5N93",
"call": {
"function": "swap",
"args": [
{
"type": "Int",
"value": 0
},
{
"type": "String",
"value": "WAVES"
},
{
"type": "String",
"value": "3PEo9AaiuPr9KLwx5W6UWHEPBV6FpkGdU3n"
}
]
},
"payment": [
{
"assetId": "A81p1LTRyoq2rDR2TNxB2dWYxsiNwCSSi8sXef2SEkwb",
"amount": 15637238
}
],
"stateChanges": {
"data": [],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": [
{
"dApp": "3PCuHsTU58WKhCqotbcSwABvdPzqqVAbbTv",
"call": {
"function": "getLpAssetFromPoolAssetsREADONLY",
"args": [
{
"type": "String",
"value": "A81p1LTRyoq2rDR2TNxB2dWYxsiNwCSSi8sXef2SEkwb"
},
{
"type": "String",
"value": "WAVES"
}
]
},
"payment": [],
"stateChanges": {
"data": [],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
},
{
"dApp": "3PCuHsTU58WKhCqotbcSwABvdPzqqVAbbTv",
"call": {
"function": "getLpAssetFromPoolAssetsREADONLY",
"args": [
{
"type": "String",
"value": "WAVES"
},
{
"type": "String",
"value": "A81p1LTRyoq2rDR2TNxB2dWYxsiNwCSSi8sXef2SEkwb"
}
]
},
"payment": [],
"stateChanges": {
"data": [],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
},
{
"dApp": "3PCuHsTU58WKhCqotbcSwABvdPzqqVAbbTv",
"call": {
"function": "getPoolAddressFromLpAssetREADONLY",
"args": [
{
"type": "String",
"value": "798rGEtmpZ3GedfpQ3o5UgWvVaFsb9yYPAU9Ce1AicKT"
}
]
},
"payment": [],
"stateChanges": {
"data": [],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
},
{
"dApp": "3PCuHsTU58WKhCqotbcSwABvdPzqqVAbbTv",
"call": {
"function": "getPoolStatusREADONLY",
"args": [
{
"type": "String",
"value": "3P35xHmfsndQYQ6UWmppkejkymFc8tCbFon"
}
]
},
"payment": [],
"stateChanges": {
"data": [],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
},
{
"dApp": "3PCuHsTU58WKhCqotbcSwABvdPzqqVAbbTv",
"call": {
"function": "getSwapFeeREADONLY",
"args": [
{
"type": "String",
"value": "3P35xHmfsndQYQ6UWmppkejkymFc8tCbFon"
}
]
},
"payment": [],
"stateChanges": {
"data": [],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
},
{
"dApp": "3P35xHmfsndQYQ6UWmppkejkymFc8tCbFon",
"call": {
"function": "calculateAmountOutForSwapAndSendTokens",
"args": [
{
"type": "Int",
"value": 15574690
},
{
"type": "Boolean",
"value": true
},
{
"type": "Int",
"value": 0
},
{
"type": "String",
"value": "3PEo9AaiuPr9KLwx5W6UWHEPBV6FpkGdU3n"
},
{
"type": "Int",
"value": 31274
}
]
},
"payment": [
{
"assetId": "A81p1LTRyoq2rDR2TNxB2dWYxsiNwCSSi8sXef2SEkwb",
"amount": 15574690
}
],
"stateChanges": {
"data": [],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": [
{
"dApp": "3PCuHsTU58WKhCqotbcSwABvdPzqqVAbbTv",
"call": {
"function": "isPoolSwapDisabledREADONLY",
"args": [
{
"type": "String",
"value": "3P35xHmfsndQYQ6UWmppkejkymFc8tCbFon"
}
]
},
"payment": [],
"stateChanges": {
"data": [],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
},
{
"dApp": "3PCuHsTU58WKhCqotbcSwABvdPzqqVAbbTv",
"call": {
"function": "getSwapContractREADONLY",
"args": []
},
"payment": [],
"stateChanges": {
"data": [],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
},
{
"dApp": "3PCuHsTU58WKhCqotbcSwABvdPzqqVAbbTv",
"call": {
"function": "getPoolLeaseConfigREADONLY",
"args": [
{
"type": "String",
"value": "3P35xHmfsndQYQ6UWmppkejkymFc8tCbFon"
},
{
"type": "String",
"value": "A81p1LTRyoq2rDR2TNxB2dWYxsiNwCSSi8sXef2SEkwb"
}
]
},
"payment": [],
"stateChanges": {
"data": [],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
},
{
"dApp": "3PCuHsTU58WKhCqotbcSwABvdPzqqVAbbTv",
"call": {
"function": "getPoolLeaseConfigREADONLY",
"args": [
{
"type": "String",
"value": "3P35xHmfsndQYQ6UWmppkejkymFc8tCbFon"
},
{
"type": "String",
"value": "WAVES"
}
]
},
"payment": [],
"stateChanges": {
"data": [],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
},
{
"dApp": "3P4dXbaBwREskBrTvx3UjvSCmJWcnqpnJVn",
"call": {
"function": "getRate",
"args": []
},
"payment": [],
"stateChanges": {
"data": [],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": [
{
"dApp": "3PDPzZVLhN1EuzGy4xAxjjTVkawKDLEaHiV",
"call": {
"function": "getRate",
"args": []
},
"payment": [],
"stateChanges": {
"data": [],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
}
]
}
},
{
"dApp": "3P4dXbaBwREskBrTvx3UjvSCmJWcnqpnJVn",
"call": {
"function": "withdraw",
"args": []
},
"payment": [
{
"assetId": "YiNbofFzC17jEHHCMwrRcpy9MrrjabMMLZxg8g5xmf7",
"amount": 1802203
}
],
"stateChanges": {
"data": [],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": [
{
"dApp": "3PDPzZVLhN1EuzGy4xAxjjTVkawKDLEaHiV",
"call": {
"function": "withdraw",
"args": []
},
"payment": [
{
"assetId": "YiNbofFzC17jEHHCMwrRcpy9MrrjabMMLZxg8g5xmf7",
"amount": 1802203
}
],
"stateChanges": {
"data": [],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": [
{
"dApp": "3PHTxmSNQsrZocZRAWidNbdcxqRpzHiK5Mt",
"call": {
"function": "claimReward",
"args": []
},
"payment": [],
"stateChanges": {
"data": [],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
},
{
"dApp": "3PHTxmSNQsrZocZRAWidNbdcxqRpzHiK5Mt",
"call": {
"function": "unstake",
"args": [
{
"type": "Int",
"value": 2009616
}
]
},
"payment": [],
"stateChanges": {
"data": [],
"transfers": [],
"issues": [],
"reissues": [],
"burns": [],
"sponsorFees": [],
"leases": [],
"leaseCancels": [],
"invokes": []
}
}
]
}
}
]
}
}
],
"error": {
"code": 1,
"text": "AccountBalanceError(VectorMap(3P35xHmfsndQYQ6UWmppkejkymFc8tCbFon -> negative asset balance: 3P35xHmfsndQYQ6UWmppkejkymFc8tCbFon, new portfolio: VectorMap(YiNbofFzC17jEHHCMwrRcpy9MrrjabMMLZxg8g5xmf7 -> -2)))"
}
}
}
]
}
}
],
"error": {
"code": 1,
"text": "AccountBalanceError(VectorMap(3P35xHmfsndQYQ6UWmppkejkymFc8tCbFon -> negative asset balance: 3P35xHmfsndQYQ6UWmppkejkymFc8tCbFon, new portfolio: VectorMap(YiNbofFzC17jEHHCMwrRcpy9MrrjabMMLZxg8g5xmf7 -> -2)))"
}
}
}