tx · GCHhQrtDjJEJmJJgqvWxWEUAJSy2MbE64gSj83XjXEu 3Mx1uXHEcEHWYUL8zRV8dgVaCTrw3Kdjg6X: -0.01000000 Waves 2022.05.22 16:09 [2062924] smart account 3Mx1uXHEcEHWYUL8zRV8dgVaCTrw3Kdjg6X > SELF 0.00000000 Waves
{ "type": 13, "id": "GCHhQrtDjJEJmJJgqvWxWEUAJSy2MbE64gSj83XjXEu", "fee": 1000000, "feeAssetId": null, "timestamp": 1653225048131, "version": 2, "chainId": 84, "sender": "3Mx1uXHEcEHWYUL8zRV8dgVaCTrw3Kdjg6X", "senderPublicKey": "7DRdJkCr5JgAyJLsUMLziE9ikak86Nwx7wG7iBySTcfT", "proofs": [ "6NLkTKEg4W32T8KsMCkuUAfac68Hq2DDvFyNcunaX7WUC5gPi39C2XxE8onekMgJMNHoJUYB4KNr9wyxF9UXwYA" ], "script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAAAAAAEAAAABaQEAAAAEY2FsbAAAAAAEAAAABWFzc2V0CQAEQwAAAAcCAAAABUFzc2V0AgAAAAAAAAAAAAAAAAEAAAAAAAAAAAAGBQAAAAR1bml0AAAAAAAAAAAABAAAAAdhc3NldElkCQAEOAAAAAEFAAAABWFzc2V0CQAETAAAAAIJAQAAAAtCaW5hcnlFbnRyeQAAAAICAAAAA2JpbgEAAAAACQAETAAAAAIJAQAAAAxCb29sZWFuRW50cnkAAAACAgAAAARib29sBgkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAADaW50AAAAAAAAAAABCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAAA3N0cgIAAAAACQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAECAAAAA3N0cgkABEwAAAACBQAAAAVhc3NldAkABEwAAAACCQEAAAAHUmVpc3N1ZQAAAAMFAAAAB2Fzc2V0SWQAAAAAAAAAAAEHCQAETAAAAAIJAQAAAARCdXJuAAAAAgUAAAAHYXNzZXRJZAAAAAAAAAAAAQkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIAAAAAAAAAAAEFAAAAB2Fzc2V0SWQFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5ZN0QxA==", "height": 2062924, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 67GxVqiLcUg6CknBzSoouHXS3xwhoNYkcu1MMiw7K9WF Next: DY74j9BVUCveYgmtLRQgWHPZHpFe7n7zbw5yMNMdZFab Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | - | let a = base58'3PAZv9tgK1PX7dKR7b4kchq5qdpUS3G5sYT' | |
5 | 4 | ||
6 | - | let b = base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p' | |
7 | 5 | ||
8 | - | let c = base58'34N9YcEETLWn93qYQ64EsP1x89tSruJU44RrEMSXXEPJ' | |
9 | - | ||
10 | - | let d = base58'6XtHjpXbs9RRJP2Sr9GUyVqzACcby9TkThHXnjVC5CDJ' | |
11 | - | ||
12 | - | @Callable(e) | |
13 | - | func usdn_1000 (f) = { | |
14 | - | let g = "3Mx1uXHEcEHWYUL8zRV8dgVaCTrw3Kdjg6X" | |
15 | - | if ((toString(e.caller) != g)) | |
16 | - | then throw("only admin can do") | |
17 | - | else { | |
18 | - | let h = invoke(Address(a), "withdraw", [toBase58String(b), f], nil) | |
19 | - | if ((h == h)) | |
20 | - | then nil | |
21 | - | else throw("Strict value is not equal to itself.") | |
22 | - | } | |
6 | + | @Callable(a) | |
7 | + | func call () = { | |
8 | + | let b = Issue("Asset", "", 1, 0, true, unit, 0) | |
9 | + | let c = calculateAssetId(b) | |
10 | + | [BinaryEntry("bin", base58''), BooleanEntry("bool", true), IntegerEntry("int", 1), StringEntry("str", ""), DeleteEntry("str"), b, Reissue(c, 1, false), Burn(c, 1), ScriptTransfer(a.caller, 1, c)] | |
23 | 11 | } | |
24 | 12 | ||
25 | 13 | ||
26 | - | ||
27 | - | @Callable(e) | |
28 | - | func usdt_1000 (f) = { | |
29 | - | let g = "3Mx1uXHEcEHWYUL8zRV8dgVaCTrw3Kdjg6X" | |
30 | - | if ((toString(e.caller) != g)) | |
31 | - | then throw("only admin can do") | |
32 | - | else { | |
33 | - | let h = invoke(Address(a), "withdraw", [toBase58String(c), f], nil) | |
34 | - | if ((h == h)) | |
35 | - | then nil | |
36 | - | else throw("Strict value is not equal to itself.") | |
37 | - | } | |
38 | - | } | |
39 | - | ||
40 | - | ||
41 | - | ||
42 | - | @Callable(e) | |
43 | - | func usdc_1000 (f) = { | |
44 | - | let g = "3Mx1uXHEcEHWYUL8zRV8dgVaCTrw3Kdjg6X" | |
45 | - | if ((toString(e.caller) != g)) | |
46 | - | then throw("only admin can do") | |
47 | - | else { | |
48 | - | let h = invoke(Address(a), "withdraw", [toBase58String(d), f], nil) | |
49 | - | if ((h == h)) | |
50 | - | then nil | |
51 | - | else throw("Strict value is not equal to itself.") | |
52 | - | } | |
53 | - | } | |
54 | - | ||
14 | + | @Verifier(d) | |
15 | + | func e () = sigVerify(d.bodyBytes, d.proofs[0], d.senderPublicKey) | |
55 | 16 |
github/deemru/w8io/026f985 28.72 ms ◑