tx · E1CcCK1jK2o4mBmBL54aUiuFpuNoKy3LVyg3JEADkPvt 3Mv7KsgbnZc4SnweoZu7ZmPCWpUAiTryb6m: -0.01000000 Waves 2022.12.06 18:35 [2348674] smart account 3Mv7KsgbnZc4SnweoZu7ZmPCWpUAiTryb6m > SELF 0.00000000 Waves
{ "type": 13, "id": "E1CcCK1jK2o4mBmBL54aUiuFpuNoKy3LVyg3JEADkPvt", "fee": 1000000, "feeAssetId": null, "timestamp": 1670340963941, "version": 2, "chainId": 84, "sender": "3Mv7KsgbnZc4SnweoZu7ZmPCWpUAiTryb6m", "senderPublicKey": "B1ZCSm1PmekLtzmVuF7NtSQjUagSEC6UjCuqi2AUW3Es", "proofs": [ "EpLQg9fyvxg2sY4ZsRZmqW3Lc3zkJVkTiTS5AHU99f4fgMRcPPCr7esu1Mc1TbajXFU2PTB36afRCvnYWyeMiJy" ], "script": "base64:BgIICAISBAoCBAQDAApVU0ROX0FTU0VUASC2JinDBPXOU5GkDkt1JC9kjFGx+t+vVCm9SNIdKrKq0QALdmVzdGluZ0RhcHAJAQdBZGRyZXNzAQEaAVd1Et2Tgg9b3iV2FTnLSdUfUygJxOhxXicAC3VzZXJBZGRyZXNzCQEHQWRkcmVzcwEBGgFUQ/EZjvOFG71IZffMWXmtibAJQSTL7rbmAQFpAQh3aXRoZHJhdwIFd2hhbGUHcmVndWxhcgMJAQIhPQIIBQFpBmNhbGxlcgULdXNlckFkZHJlc3MJAAIBAjRvbmx5IHRoZSBzcGVjaWZpZWQgdXNlciBpcyBhbGxvd2VkIHRvIGNhbGwgdGhpcyBEQVBQBBB3aXRoZHJhd2FsQW1vdW50CQD8BwQFC3Zlc3RpbmdEYXBwAhV3aXRoZHJhd1Zlc3RlZEFsbFVTRE4JAMwIAgUFd2hhbGUJAMwIAgUHcmVndWxhcgUDbmlsBQNuaWwDCQAAAgUQd2l0aGRyYXdhbEFtb3VudAUQd2l0aGRyYXdhbEFtb3VudAQHJG1hdGNoMAUQd2l0aGRyYXdhbEFtb3VudAMJAAECBQckbWF0Y2gwAgNJbnQEBmFtb3VudAUHJG1hdGNoMAkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDBQt1c2VyQWRkcmVzcwUGYW1vdW50BQpVU0ROX0FTU0VUBQNuaWwJAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4A4LUC+g==", "height": 2348674, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5CmKzyR1WVRuFB9vJQKkHKRZDt9DevR27j18DK1wxrkU Next: AqB2bx5VUq3witrdYZjtXbuny7ZDNtwFBfMs6zsrbmHp Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 6 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | let a = base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p' | |
5 | + | ||
6 | + | let b = Address(base58'3PCbvPVQfSvVu88ip8Fm5YjwJhjEYk1Txhk') | |
7 | + | ||
8 | + | let c = Address(base58'3Mv7KsgbnZc4SnweoZu7ZmPCWpUAiTryb6m') | |
9 | + | ||
10 | + | @Callable(d) | |
11 | + | func withdraw (e,f) = if ((d.caller != c)) | |
12 | + | then throw("only the specified user is allowed to call this DAPP") | |
13 | + | else { | |
14 | + | let g = invoke(b, "withdrawVestedAllUSDN", [e, f], nil) | |
15 | + | if ((g == g)) | |
16 | + | then { | |
17 | + | let h = g | |
18 | + | if ($isInstanceOf(h, "Int")) | |
19 | + | then { | |
20 | + | let i = h | |
21 | + | [ScriptTransfer(c, i, a)] | |
22 | + | } | |
23 | + | else throw("Strict value is not equal to itself.") | |
24 | + | } | |
25 | + | else throw("Strict value is not equal to itself.") | |
26 | + | } | |
27 | + | ||
28 | + |
github/deemru/w8io/026f985 17.99 ms ◑