tx · 32ydWiJyLBtq5coE7ak5GPxPTooaoi6fotNdeJKW8NmT 3Mpq2LM1tQ5k17Z4oTyoqi3NmoSoZAJHmJL: -0.01000000 Waves 2022.09.23 14:23 [2241726] smart account 3Mpq2LM1tQ5k17Z4oTyoqi3NmoSoZAJHmJL > SELF 0.00000000 Waves
{ "type": 13, "id": "32ydWiJyLBtq5coE7ak5GPxPTooaoi6fotNdeJKW8NmT", "fee": 1000000, "feeAssetId": null, "timestamp": 1663932205701, "version": 2, "chainId": 84, "sender": "3Mpq2LM1tQ5k17Z4oTyoqi3NmoSoZAJHmJL", "senderPublicKey": "9FkAUZB4ttzEtzU1r863SN9HCpAPBdTSgUEqwWLyuvAA", "proofs": [ "2uhqziwaHvqnk8UfVP8476A2SXrKUGpQUFzMLi2FMbAyAJkNsepPKqcfGZAdeZKGq6bAaKqMxSNSTnrAqjk6UvpE" ], "script": "base64:AAIFAAAAAAAAAGgIAhIAIgRVU0ROIgltZUFkZHJlc3MiDGFkbWluQWRkcmVzcyIBaSIRdXNkbkFtb3VudE9uU3RhcnQiD2ludm9rZVRvVmVzdGluZyIDaW52Ihd1c2RuQW1vdW50QWZ0ZXJXaXRoZHJhdwAAAAMAAAAAAWEBAAAAILYmKcME9c5TkaQOS3UkL2SMUbH6369UKb1I0h0qsqrRAAAAAAFiCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFXJqAMCkZONGXCherIE8gqRGALS8LL8ZtsAAAAAAFjCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFXNBTfcURG3zBU0fe4nHNFDKs6K5tNjiZhAAAAAQAAAAFkAQAAAAh1c2RuXzEwMAAAAAADCQEAAAACIT0AAAACCAUAAAABZAAAAAZjYWxsZXIFAAAAAWMJAAACAAAAAQIAAAARb25seSBhZG1pbiBjYW4gZG8EAAAAAWUJAAPwAAAAAgUAAAAEdGhpcwUAAAABYQMJAAAAAAAAAgUAAAABZQUAAAABZQQAAAABZgkAA/wAAAAECQEAAAARQGV4dHJOYXRpdmUoMTA2MikAAAABAgAAACMzUENidlBWUWZTdlZ1ODhpcDhGbTVZandKaGpFWWsxVHhoawIAAAANY29udmVydFRvVVNETgUAAAADbmlsBQAAAANuaWwDCQAAAAAAAAIFAAAAAWYFAAAAAWYEAAAAAWcJAAP8AAAABAkBAAAAEUBleHRyTmF0aXZlKDEwNjIpAAAAAQIAAAAjM1BDYnZQVlFmU3ZWdTg4aXA4Rm01WWp3SmhqRVlrMVR4aGsCAAAAFXdpdGhkcmF3VmVzdGVkQWxsVVNETgkABEwAAAACBwkABEwAAAACBgUAAAADbmlsBQAAAANuaWwDCQAAAAAAAAIFAAAAAWcFAAAAAWcEAAAAAWgJAAPwAAAAAgUAAAAEdGhpcwUAAAABYQMJAAAAAAAAAgUAAAABaAUAAAABaAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADBQAAAAFiBQAAAAFoBQAAAAFhBQAAAANuaWwJAAACAAAAAQIAAAAkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuCQAAAgAAAAECAAAAJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAACAAAAAQIAAAAkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAAAAAP0FSOw=", "height": 2241726, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 5 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | let a = base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p' | |
5 | + | ||
6 | + | let b = Address(base58'3P5T88oGg47FEsJcpC2o43BSF34Bs5dcFpP') | |
7 | + | ||
8 | + | let c = Address(base58'3P6gGsVQbD2xgmaNxN7Rj3arohPsBxvo5GC') | |
9 | + | ||
10 | + | @Callable(d) | |
11 | + | func usdn_100 () = if ((d.caller != c)) | |
12 | + | then throw("only admin can do") | |
13 | + | else { | |
14 | + | let e = assetBalance(this, a) | |
15 | + | if ((e == e)) | |
16 | + | then { | |
17 | + | let f = invoke(addressFromStringValue("3PCbvPVQfSvVu88ip8Fm5YjwJhjEYk1Txhk"), "convertToUSDN", nil, nil) | |
18 | + | if ((f == f)) | |
19 | + | then { | |
20 | + | let g = invoke(addressFromStringValue("3PCbvPVQfSvVu88ip8Fm5YjwJhjEYk1Txhk"), "withdrawVestedAllUSDN", [false, true], nil) | |
21 | + | if ((g == g)) | |
22 | + | then { | |
23 | + | let h = assetBalance(this, a) | |
24 | + | if ((h == h)) | |
25 | + | then [ScriptTransfer(b, h, a)] | |
26 | + | else throw("Strict value is not equal to itself.") | |
27 | + | } | |
28 | + | else throw("Strict value is not equal to itself.") | |
29 | + | } | |
30 | + | else throw("Strict value is not equal to itself.") | |
31 | + | } | |
32 | + | else throw("Strict value is not equal to itself.") | |
33 | + | } | |
34 | + | ||
35 | + |
github/deemru/w8io/026f985 13.70 ms ◑