tx · B9bXATLXRKRvRKGLTsBk2ZMMy5SsbLKzAMnDs6rLQkcZ

3P2Jq3M8dm8ke1LChn8XwuKqBvRgRR322f5:  -0.01000000 Waves

2022.11.23 11:04 [3394936] smart account 3P2Jq3M8dm8ke1LChn8XwuKqBvRgRR322f5 > SELF 0.00000000 Waves

{ "type": 13, "id": "B9bXATLXRKRvRKGLTsBk2ZMMy5SsbLKzAMnDs6rLQkcZ", "fee": 1000000, "feeAssetId": null, "timestamp": 1669190686250, "version": 2, "chainId": 87, "sender": "3P2Jq3M8dm8ke1LChn8XwuKqBvRgRR322f5", "senderPublicKey": "FCxjEtbgWJ2XGJbguTasjXetDNK9jun3pakw9HKvgWZj", "proofs": [ "5D9bi3LcXWndNUAqgxtgbJKaMeTTyeDyQ4etE73MXUsrMp2qYKNtYF5TrdGkQFQc64obRuFst2QkgeK2aMkmWmvv" ], "script": "base64:BgIICAISABIAEgAEAAxkZXN0UmVjZWl2ZXIJARFAZXh0ck5hdGl2ZSgxMDYyKQECIzNQTjJhSzVlWGlSOUZlOUtRTXdrWlB6OVdTVTJRSFR4Z1dVAAd2ZXN0aW5nCQERQGV4dHJOYXRpdmUoMTA2MikBAiMzUENidlBWUWZTdlZ1ODhpcDhGbTVZandKaGpFWWsxVHhoawAHcmV3YXJkcwkBEUBleHRyTmF0aXZlKDEwNjIpAQIjM1BLWms1VGRQQ0xQMkdadmlpcExGZks0NkV4VG53a1JDQmQABFVTRE4BILYmKcME9c5TkaQOS3UkL2SMUbH6369UKb1I0h0qsqrRAwFpARV3aXRoZHJhd1Zlc3RlZEFsbFVTRE4ABAFyCQD8BwQFB3Zlc3RpbmcCFXdpdGhkcmF3VmVzdGVkQWxsVVNETgkAzAgCBwkAzAgCBgUDbmlsBQNuaWwDCQAAAgUBcgUBcgkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDBQxkZXN0UmVjZWl2ZXIJAPAHAgUEdGhpcwUEVVNETgUEVVNETgUDbmlsCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAWkBDGNsYWltUmV3YXJkcwAEAXIJAPwHBAUHcmV3YXJkcwIMY2xhaW1SZXdhcmRzBQNuaWwFA25pbAMJAAACBQFyBQFyCQDMCAIJAQ5TY3JpcHRUcmFuc2ZlcgMFDGRlc3RSZWNlaXZlcgkA8AcCBQR0aGlzBQRVU0ROBQRVU0ROBQNuaWwJAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4BaQEQd2l0aGRyYXdBbmRDbGFpbQAEAnIxCQD8BwQFB3Zlc3RpbmcCFXdpdGhkcmF3VmVzdGVkQWxsVVNETgkAzAgCBwkAzAgCBgUDbmlsBQNuaWwDCQAAAgUCcjEFAnIxBAJyMgkA/AcEBQdyZXdhcmRzAgxjbGFpbVJld2FyZHMFA25pbAUDbmlsAwkAAAIFAnIyBQJyMgkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDBQxkZXN0UmVjZWl2ZXIJAPAHAgUEdGhpcwUEVVNETgUEVVNETgUDbmlsCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAFtg4xw=", "height": 3394936, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5Ge6LeHR3puVYA78BfU9Q1Ssjw3MFrS8u9ic6qnJV4wp Next: none Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let destReceiver = addressFromStringValue("3PN2aK5eXiR9Fe9KQMwkZPz9WSU2QHTxgWU")
55
66 let vesting = addressFromStringValue("3PCbvPVQfSvVu88ip8Fm5YjwJhjEYk1Txhk")
77
88 let rewards = addressFromStringValue("3PKZk5TdPCLP2GZviipLFfK46ExTnwkRCBd")
99
1010 let USDN = base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p'
1111
1212 @Callable(i)
1313 func withdrawVestedAllUSDN () = {
1414 let r = invoke(vesting, "withdrawVestedAllUSDN", [false, true], nil)
1515 if ((r == r))
1616 then [ScriptTransfer(destReceiver, assetBalance(this, USDN), USDN)]
1717 else throw("Strict value is not equal to itself.")
1818 }
1919
2020
2121
2222 @Callable(i)
2323 func claimRewards () = {
2424 let r = invoke(rewards, "claimRewards", nil, nil)
2525 if ((r == r))
2626 then [ScriptTransfer(destReceiver, assetBalance(this, USDN), USDN)]
2727 else throw("Strict value is not equal to itself.")
2828 }
2929
3030
3131
3232 @Callable(i)
3333 func withdrawAndClaim () = {
3434 let r1 = invoke(vesting, "withdrawVestedAllUSDN", [false, true], nil)
3535 if ((r1 == r1))
3636 then {
3737 let r2 = invoke(rewards, "claimRewards", nil, nil)
3838 if ((r2 == r2))
3939 then [ScriptTransfer(destReceiver, assetBalance(this, USDN), USDN)]
4040 else throw("Strict value is not equal to itself.")
4141 }
4242 else throw("Strict value is not equal to itself.")
4343 }
4444
4545

github/deemru/w8io/3ef1775 
22.36 ms