tx · ESCboWu2bc6Ed9U3fVa9u4NqnaAhagHnkdMqsT515SDc

3ND5HjtUeVLc3vpUn7awB6SEJQe5An2Xxer:  -0.01000000 Waves

2022.09.25 11:00 [2244394] smart account 3ND5HjtUeVLc3vpUn7awB6SEJQe5An2Xxer > SELF 0.00000000 Waves

{ "type": 13, "id": "ESCboWu2bc6Ed9U3fVa9u4NqnaAhagHnkdMqsT515SDc", "fee": 1000000, "feeAssetId": null, "timestamp": 1664092936826, "version": 2, "chainId": 84, "sender": "3ND5HjtUeVLc3vpUn7awB6SEJQe5An2Xxer", "senderPublicKey": "B5bDwAWAxe3eW8Q6mk5Bkwhy9a3djUN3XLh1n2DyJea5", "proofs": [ "2qR3gECFAGdixGHr3tLMh84eBn7uxu29fbnx4ZissvmNaXrm3scnuN1WzS6ypadnz3ei32mHrRqNm3BkwrZZP8NY" ], "script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAwAAAAAEVVNETgEAAAAgtiYpwwT1zlORpA5LdSQvZIxRsfrfr1QpvUjSHSqyqtEAAAAACW1lQWRkcmVzcwkBAAAAB0FkZHJlc3MAAAABAQAAABoBVwwnQqCKkBXJzfWlRzLkNiuD5nGzmlYalgAAAAAMYWRtaW5BZGRyZXNzCQEAAAAHQWRkcmVzcwAAAAEBAAAAF3N1m6elAa99oP+Sf2QxTuKIyTAcWJ8YAAAAAQAAAAFpAQAAAAh1c2RuXzEwMAAAAAADCQEAAAACIT0AAAACCAUAAAABaQAAAAZjYWxsZXIFAAAADGFkbWluQWRkcmVzcwkAAAIAAAABAgAAABFvbmx5IGFkbWluIGNhbiBkbwQAAAARdXNkbkFtb3VudE9uU3RhcnQJAAPwAAAAAgUAAAAEdGhpcwUAAAAEVVNETgMJAAAAAAAAAgUAAAARdXNkbkFtb3VudE9uU3RhcnQFAAAAEXVzZG5BbW91bnRPblN0YXJ0BAAAABJpbnZva2VJbXBvcnRVc2RjTHAJAAP8AAAABAkBAAAAEUBleHRyTmF0aXZlKDEwNjIpAA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8gaXRzZWxmLiAtIDQJAAACAAAAAQIAAAAoU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuIC0gMwkAAAIAAAABAgAAAChTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4gLSAyCQAAAgAAAAECAAAAKFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLiAtIDEAAAAAUIyQ6A==", "height": 2244394, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8FjRCM8Kz2Wz6ofeDY6XbrvrRP3v1oWC1NPt3Sn9PBvF Next: ChPMpHtCNRzx4LtFtjUBZ1CKAAA86XvreXmN157w3nXj Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let USDN = base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p'
55
66 let meAddress = Address(base58'3P339sQ6rBBSUxAJheEvpEm77htQCsJBnzy')
77
88 let adminAddress = Address(base58'3PKG6HpECVsPpGHoQyyE66wdEKfZLpbH')
99
1010 @Callable(i)
1111 func usdn_100 () = if ((i.caller != adminAddress))
1212 then throw("only admin can do")
1313 else {
1414 let usdnAmountOnStart = assetBalance(this, USDN)
1515 if ((usdnAmountOnStart == usdnAmountOnStart))
1616 then {
1717 let invokeImportUsdcLp = invoke(addressFromStringValue("3PAZv9tgK1PX7dKR7b4kchq5qdpUS3G5sYT"), "replenishWithAtoken", nil, i.payments)
1818 if ((invokeImportUsdcLp == invokeImportUsdcLp))
1919 then {
2020 let invokeToVesting = invoke(addressFromStringValue("3PCbvPVQfSvVu88ip8Fm5YjwJhjEYk1Txhk"), "convertToUSDN", nil, nil)
2121 if ((invokeToVesting == invokeToVesting))
2222 then {
2323 let inv = invoke(addressFromStringValue("3PCbvPVQfSvVu88ip8Fm5YjwJhjEYk1Txhk"), "withdrawVestedAllUSDN", [false, true], nil)
2424 if ((inv == inv))
2525 then {
2626 let usdnAmountAfterWithdraw = assetBalance(this, USDN)
2727 if ((usdnAmountAfterWithdraw == usdnAmountAfterWithdraw))
2828 then [ScriptTransfer(meAddress, usdnAmountAfterWithdraw, USDN)]
2929 else throw("Strict value is not equal to itself. - 5")
3030 }
3131 else throw("Strict value is not equal to itself. - 4")
3232 }
3333 else throw("Strict value is not equal to itself. - 3")
3434 }
3535 else throw("Strict value is not equal to itself. - 2")
3636 }
3737 else throw("Strict value is not equal to itself. - 1")
3838 }
3939
4040

github/deemru/w8io/026f985 
35.92 ms