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 | |
---|---|---|---|
52 | 52 | case _ => | |
53 | 53 | "NONE" | |
54 | 54 | } | |
55 | - | let IDinc = | |
55 | + | let IDinc = 1 | |
56 | 56 | if ((p1var == "STOP")) | |
57 | 57 | then throw("System is on pause") | |
58 | 58 | else if ((p5var == "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(i) | |
7 | 7 | func init (titre) = { | |
8 | 8 | let S = toBase58String(i.caller.bytes) | |
9 | 9 | let A = "3N3g1WYmFt7TkNtYqv13ZXuUdiHHXVE6ZM2" | |
10 | 10 | if ((S == A)) | |
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(i) | |
18 | 18 | func WD (titre,cat,link) = { | |
19 | 19 | let SenderAddress = toBase58String(i.caller.bytes) | |
20 | 20 | let ParamAddress = addressFromStringValue("3N3g1WYmFt7TkNtYqv13ZXuUdiHHXVE6ZM2") | |
21 | 21 | let P1 = "Stop" | |
22 | 22 | let P2 = "Max" | |
23 | 23 | let P3 = "NBE" | |
24 | 24 | let P4 = "ID" | |
25 | 25 | let p1var = match getString(ParamAddress, P1) { | |
26 | 26 | case a: String => | |
27 | 27 | a | |
28 | 28 | case _ => | |
29 | 29 | "NONE" | |
30 | 30 | } | |
31 | 31 | let p2var = match getString(ParamAddress, P2) { | |
32 | 32 | case a: String => | |
33 | 33 | a | |
34 | 34 | case _ => | |
35 | 35 | "NONE" | |
36 | 36 | } | |
37 | 37 | let p3var = match getString(ParamAddress, P3) { | |
38 | 38 | case a: String => | |
39 | 39 | a | |
40 | 40 | case _ => | |
41 | 41 | "NONE" | |
42 | 42 | } | |
43 | 43 | let p4var = match getInteger(ParamAddress, P4) { | |
44 | 44 | case a: Int => | |
45 | 45 | a | |
46 | 46 | case _ => | |
47 | 47 | "NONE" | |
48 | 48 | } | |
49 | 49 | let p5var = match getString(ParamAddress, SenderAddress) { | |
50 | 50 | case a: String => | |
51 | 51 | a | |
52 | 52 | case _ => | |
53 | 53 | "NONE" | |
54 | 54 | } | |
55 | - | let IDinc = | |
55 | + | let IDinc = 1 | |
56 | 56 | if ((p1var == "STOP")) | |
57 | 57 | then throw("System is on pause") | |
58 | 58 | else if ((p5var == "NONE")) | |
59 | 59 | then WriteSet([DataEntry("ID", IDinc)]) | |
60 | 60 | else throw("Not permitted") | |
61 | 61 | } | |
62 | 62 | ||
63 | 63 |
github/deemru/w8io/169f3d6 29.52 ms ◑