tx · H8PGwURbPQ48SEU8ZJMbx8Kf34WKNUByLCJTXtbLrntW 3N3g1WYmFt7TkNtYqv13ZXuUdiHHXVE6ZM2: -0.01400000 Waves 2019.10.27 15:15 [738519] smart account 3N3g1WYmFt7TkNtYqv13ZXuUdiHHXVE6ZM2 > SELF 0.00000000 Waves
{ "type": 13, "id": "H8PGwURbPQ48SEU8ZJMbx8Kf34WKNUByLCJTXtbLrntW", "fee": 1400000, "feeAssetId": null, "timestamp": 1572178503055, "version": 1, "sender": "3N3g1WYmFt7TkNtYqv13ZXuUdiHHXVE6ZM2", "senderPublicKey": "Aky5vMQd8jGjewgAAF9RPrZBVbviKSac31og8C5MuyLU", "proofs": [ "2KRbdumZsjCt4fQ8uryhz8iyzdQspetZPURTQdJZrz72mCj4m2Wf1jaMC31PeuRFmgAbkvYB8eNRY4StMgVgzdXF" ], "script": "base64:AAIDAAAAAAAAAA4IARIDCgEIEgUKAwgBCAAAAAAAAAACAAAAAWkBAAAABGluaXQAAAABAAAABXRpdHJlBAAAAAFTCQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMEAAAAAUECAAAAIzNOM2cxV1ltRnQ3VGtOdFlxdjEzWlh1VWRpSEhYVkU2Wk0yAwkAAAAAAAACBQAAAAFTBQAAAAFBCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACAgAAAAJJRAAAAAAAAAAAAAkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgIAAAADTkJFAAAAAAAAAAAACQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACAgAAAANNYXgAAAAAAACYloAFAAAAA25pbAkAAAIAAAABAgAAAA1Ob3QgcGVybWl0dGVkAAAAAWkBAAAAAldEAAAAAwAAAAV0aXRyZQAAAANjYXQAAAAEbGluawQAAAANU2VuZGVyQWRkcmVzcwkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzBAAAAAxQYXJh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AABAgAAABJTeXN0ZW0gaXMgb24gcGF1c2UDCQAAAAAAAAIFAAAABXA1dmFyAgAAAAROT05FCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACAgAAAAJJRAUAAAAFSURpbmMFAAAAA25pbAkAAAIAAAABAgAAAA1Ob3QgcGVybWl0dGVkAAAAADX+a90=", "chainId": 84, "height": 738519, "spentComplexity": 0 } View: original | compacted Prev: 6b9nu7WfM5jQX4Em2DVRMC7Qb5rxr9WknHAeMqt88xXW Next: DnsjTeP7BR9F8Qwpr9JNkThHTUXTqxPH1FQpJTwTtKGo Diff:
Old | New | Differences | |
---|---|---|---|
67 | 67 | } | |
68 | 68 | else "NONE" | |
69 | 69 | } | |
70 | - | let t = | |
70 | + | let t = 1 | |
71 | 71 | if ((m == "STOP")) | |
72 | 72 | then throw("System is on pause") | |
73 | 73 | else if ((s == "NONE")) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | ||
5 | 5 | ||
6 | 6 | @Callable(a) | |
7 | 7 | func init (b) = { | |
8 | 8 | let c = toBase58String(a.caller.bytes) | |
9 | 9 | let d = "3N3g1WYmFt7TkNtYqv13ZXuUdiHHXVE6ZM2" | |
10 | 10 | if ((c == d)) | |
11 | 11 | then WriteSet([DataEntry("ID", 0), DataEntry("NBE", 0), DataEntry("Max", 10000000)]) | |
12 | 12 | else throw("Not permitted") | |
13 | 13 | } | |
14 | 14 | ||
15 | 15 | ||
16 | 16 | ||
17 | 17 | @Callable(a) | |
18 | 18 | func WD (b,e,f) = { | |
19 | 19 | let g = toBase58String(a.caller.bytes) | |
20 | 20 | let h = addressFromStringValue("3N3g1WYmFt7TkNtYqv13ZXuUdiHHXVE6ZM2") | |
21 | 21 | let i = "Stop" | |
22 | 22 | let j = "Max" | |
23 | 23 | let k = "NBE" | |
24 | 24 | let l = "ID" | |
25 | 25 | let m = { | |
26 | 26 | let n = getString(h, i) | |
27 | 27 | if ($isInstanceOf(n, "String")) | |
28 | 28 | then { | |
29 | 29 | let o = n | |
30 | 30 | o | |
31 | 31 | } | |
32 | 32 | else "NONE" | |
33 | 33 | } | |
34 | 34 | let p = { | |
35 | 35 | let n = getString(h, j) | |
36 | 36 | if ($isInstanceOf(n, "String")) | |
37 | 37 | then { | |
38 | 38 | let o = n | |
39 | 39 | o | |
40 | 40 | } | |
41 | 41 | else "NONE" | |
42 | 42 | } | |
43 | 43 | let q = { | |
44 | 44 | let n = getString(h, k) | |
45 | 45 | if ($isInstanceOf(n, "String")) | |
46 | 46 | then { | |
47 | 47 | let o = n | |
48 | 48 | o | |
49 | 49 | } | |
50 | 50 | else "NONE" | |
51 | 51 | } | |
52 | 52 | let r = { | |
53 | 53 | let n = getInteger(h, l) | |
54 | 54 | if ($isInstanceOf(n, "Int")) | |
55 | 55 | then { | |
56 | 56 | let o = n | |
57 | 57 | o | |
58 | 58 | } | |
59 | 59 | else "NONE" | |
60 | 60 | } | |
61 | 61 | let s = { | |
62 | 62 | let n = getString(h, g) | |
63 | 63 | if ($isInstanceOf(n, "String")) | |
64 | 64 | then { | |
65 | 65 | let o = n | |
66 | 66 | o | |
67 | 67 | } | |
68 | 68 | else "NONE" | |
69 | 69 | } | |
70 | - | let t = | |
70 | + | let t = 1 | |
71 | 71 | if ((m == "STOP")) | |
72 | 72 | then throw("System is on pause") | |
73 | 73 | else if ((s == "NONE")) | |
74 | 74 | then WriteSet([DataEntry("ID", t)]) | |
75 | 75 | else throw("Not permitted") | |
76 | 76 | } | |
77 | 77 | ||
78 | 78 |
github/deemru/w8io/169f3d6 31.67 ms ◑