tx · 74hcPcBEsnk9vzDq3p8VGyh4JXP84tkA11MbncpnD1Hk 3N7dpRHRc9PPXSCLMZA4tRFEQXzPQNHjs6T: -0.01000000 Waves 2023.05.31 12:25 [2601954] smart account 3N7dpRHRc9PPXSCLMZA4tRFEQXzPQNHjs6T > SELF 0.00000000 Waves
{ "type": 13, "id": "74hcPcBEsnk9vzDq3p8VGyh4JXP84tkA11MbncpnD1Hk", "fee": 1000000, "feeAssetId": null, "timestamp": 1685525257054, "version": 2, "chainId": 84, "sender": "3N7dpRHRc9PPXSCLMZA4tRFEQXzPQNHjs6T", "senderPublicKey": "6FwWutvTDWVXuYEgsyB6W34RQ5pNvL1ButovpyfJdgfr", "proofs": [ "2sqtZHULoPxQgGQixC3wFmxgTBkC1sgq2SwYEq7QPhDU3dYDxvtXdgZTMCR3cD3MNGsSVd6zw66FGWoVXURAgaGG" ], "script": "base64:BgIOCAISBAoCAQESBAoCAQEAAgFpAQ13aXRoZHJhd0FzaW1pAgtwbGF0Zm9ybUZlZQZhbW91bnQED2NvbnRyYWN0QWRkcmVzcwEaAVTtUtIUU1Fri0FIWpfzmBNloogPBC0pwfQEBXRlYW1zASCFY5Wj84iOsN4MF44ITr+aP5K7Jts66HaOFtwUIipIfgMJAAACCAgFAWkGY2FsbGVyBWJ5dGVzBQ9jb250cmFjdEFkZHJlc3MJAAIBAhlzb3JyeSAgeW91IGhhdmUgbm8gYWNjZXNzAwMJAGcCBQtwbGF0Zm9ybUZlZQAACQBnAgULcGxhdGZvcm1GZWUFBmFtb3VudAcJAMwIAgkBDlNjcmlwdFRyYW5zZmVyAwgFAWkGY2FsbGVyCQBoAgUGYW1vdW50AGQFBXRlYW1zBQNuaWwFA25pbAFpAQ13aXRoZHJhd1dhdmVzAgtwbGF0Zm9ybUZlZQZhbW91bnQED2NvbnRyYWN0QWRkcmVzcwEaAVTtUtIUU1Fri0FIWpfzmBNloogPBC0pwfQDCQAAAggIBQFpBmNhbGxlcgVieXRlcwUPY29udHJhY3RBZGRyZXNzCQACAQIZc29ycnkgIHlvdSBoYXZlIG5vIGFjY2VzcwMDCQBnAgULcGxhdGZvcm1GZWUAAAkAZwIFC3BsYXRmb3JtRmVlBQZhbW91bnQHCQDMCAIJAQ5TY3JpcHRUcmFuc2ZlcgMIBQFpBmNhbGxlcgUGYW1vdW50BQR1bml0BQNuaWwFA25pbAECdHgBBnZlcmlmeQAGSie4IA==", "height": 2601954, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: 3hbsKK4ashSAXgtikp5AJQq1hefDkE85hZVMFjrwbHtG Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 6 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | ||
5 | + | ||
6 | + | @Callable(a) | |
7 | + | func withdrawAsimi (b,c) = { | |
8 | + | let d = base58'3NBYw8rxLmTvyEdsvaYor8nHG6GJ4NjB2Aw' | |
9 | + | let e = base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq' | |
10 | + | if ((a.caller.bytes == d)) | |
11 | + | then throw("sorry you have no access") | |
12 | + | else if (if ((b >= 0)) | |
13 | + | then (b >= c) | |
14 | + | else false) | |
15 | + | then [ScriptTransfer(a.caller, (c * 100), e)] | |
16 | + | else nil | |
17 | + | } | |
18 | + | ||
19 | + | ||
20 | + | ||
21 | + | @Callable(a) | |
22 | + | func withdrawWaves (b,c) = { | |
23 | + | let d = base58'3NBYw8rxLmTvyEdsvaYor8nHG6GJ4NjB2Aw' | |
24 | + | if ((a.caller.bytes == d)) | |
25 | + | then throw("sorry you have no access") | |
26 | + | else if (if ((b >= 0)) | |
27 | + | then (b >= c) | |
28 | + | else false) | |
29 | + | then [ScriptTransfer(a.caller, c, unit)] | |
30 | + | else nil | |
31 | + | } | |
32 | + | ||
33 | + | ||
34 | + | @Verifier(f) | |
35 | + | func g () = true | |
36 | + |
github/deemru/w8io/169f3d6 20.75 ms ◑