tx · DRoPF9CCCw9iKA6EbM3Pn1oDSSoko5Kay8nPFRQV7SKg

3N3g1WYmFt7TkNtYqv13ZXuUdiHHXVE6ZM2:  -0.01400000 Waves

2019.10.27 16:05 [738564] smart account 3N3g1WYmFt7TkNtYqv13ZXuUdiHHXVE6ZM2 > SELF 0.00000000 Waves

{ "type": 13, "id": "DRoPF9CCCw9iKA6EbM3Pn1oDSSoko5Kay8nPFRQV7SKg", "fee": 1400000, "feeAssetId": null, "timestamp": 1572181562913, "version": 1, "sender": "3N3g1WYmFt7TkNtYqv13ZXuUdiHHXVE6ZM2", "senderPublicKey": "Aky5vMQd8jGjewgAAF9RPrZBVbviKSac31og8C5MuyLU", "proofs": [ "5x4CcceKEmRy9rpP3VFDnPjLwhCxpGyBiXip7yNemsBLWbC6HC9xcUDraCBswvWfveyNDBgbKapPUufthMcgPbJi" ], "script": "base64:AAIDAAAAAAAAAA4IARIDCgEIEgUKAwgBCAAAAAAAAAACAAAAAWkBAAAABGluaXQAAAABAAAABXRpdHJlBAAAAAFTCQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMEAAAAAUECAAAAIzNOM2cxV1ltRnQ3VGtOdFlxdjEzWlh1VWRpSEhYVkU2Wk0yAwkAAAAAAAACBQAAAAFTBQAAAAFBCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACAgAAAAJJRAAAAAAAAAAAAAkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgIAAAADTkJFAAAAAAAAAAAACQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACAgAAAANNYXgAAAAAAACYloAFAAAAA25pbAkAAAIAAAABAgAAAA1Ob3QgcGVybWl0dGVkAAAAAWkBAAAAAldEAAAAAwAAAAV0aXRyZQAAAANjYXQAAAAEbGluawQAAAANU2VuZGVyQWRkcmVzcwkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzBAAAAAxQYX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jAwkAAAAAAAACBQAAAAVwM3ZhcgIAAAAEU1RPUAkAAAIAAAABAgAAABJTeXN0ZW0gaXMgb24gcGF1c2UDCQAAAAAAAAIFAAAABXA0dmFyAgAAAAROT05FCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACAgAAAANNYXgCAAAAAAkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgIAAAABTQUAAAAEdGVtcAUAAAADbmlsCQAAAgAAAAECAAAADU5vdCBwZXJtaXR0ZWQAAAAAU6IRIg==", "chainId": 84, "height": 738564, "spentComplexity": 0 } View: original | compacted Prev: DnsjTeP7BR9F8Qwpr9JNkThHTUXTqxPH1FQpJTwTtKGo Next: 2ZfivwGFVtJg8JhSKFEiuHecmwc8i2BzAgMF63a3TBgP Diff:
OldNewDifferences
1818 func WD (b,e,f) = {
1919 let g = toBase58String(a.caller.bytes)
2020 let h = addressFromStringValue("3N3g1WYmFt7TkNtYqv13ZXuUdiHHXVE6ZM2")
21- let i = "Stop"
22- let j = "Max"
23- let k = "NBE"
24- let l = "ID"
21+ let i = "ID"
22+ let j = "M"
23+ let k = "S"
24+ let l = 1000000
2525 let m = {
26- let n = getString(h, i)
27- if ($isInstanceOf(n, "String"))
26+ let n = getInteger(h, i)
27+ if ($isInstanceOf(n, "Int"))
2828 then {
2929 let o = n
3030 o
3131 }
32- else "NONE"
32+ else throw("System not ready")
3333 }
3434 let p = {
35- let n = getString(h, j)
36- if ($isInstanceOf(n, "String"))
35+ let n = getInteger(h, j)
36+ if ($isInstanceOf(n, "Int"))
3737 then {
3838 let o = n
3939 o
5050 else "NONE"
5151 }
5252 let r = {
53- let n = getInteger(h, l)
54- if ($isInstanceOf(n, "Int"))
55- then {
56- let o = n
57- o
58- }
59- else throw("System not ready")
60- }
61- let s = {
6253 let n = getString(h, g)
6354 if ($isInstanceOf(n, "String"))
6455 then {
6758 }
6859 else "NONE"
6960 }
70- let t = (r + 1)
71- let u = (toString(t) + ".1")
72- let v = (toString(t) + ".2")
73- let w = toString(t)
74- if ((m == "STOP"))
61+ let s = (m + 1)
62+ let t = (toString(s) + ".1")
63+ let u = (toString(s) + ".2")
64+ let v = toString(s)
65+ if ((q == "STOP"))
7566 then throw("System is on pause")
76- else if ((s == "NONE"))
77- then WriteSet([DataEntry(w, b), DataEntry(u, e), DataEntry(v, f), DataEntry("ID", t)])
67+ else if ((r == "NONE"))
68+ then WriteSet([DataEntry("Max", ""), DataEntry("M", l)])
7869 else throw("Not permitted")
7970 }
8071
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(a)
77 func init (b) = {
88 let c = toBase58String(a.caller.bytes)
99 let d = "3N3g1WYmFt7TkNtYqv13ZXuUdiHHXVE6ZM2"
1010 if ((c == d))
1111 then WriteSet([DataEntry("ID", 0), DataEntry("NBE", 0), DataEntry("Max", 10000000)])
1212 else throw("Not permitted")
1313 }
1414
1515
1616
1717 @Callable(a)
1818 func WD (b,e,f) = {
1919 let g = toBase58String(a.caller.bytes)
2020 let h = addressFromStringValue("3N3g1WYmFt7TkNtYqv13ZXuUdiHHXVE6ZM2")
21- let i = "Stop"
22- let j = "Max"
23- let k = "NBE"
24- let l = "ID"
21+ let i = "ID"
22+ let j = "M"
23+ let k = "S"
24+ let l = 1000000
2525 let m = {
26- let n = getString(h, i)
27- if ($isInstanceOf(n, "String"))
26+ let n = getInteger(h, i)
27+ if ($isInstanceOf(n, "Int"))
2828 then {
2929 let o = n
3030 o
3131 }
32- else "NONE"
32+ else throw("System not ready")
3333 }
3434 let p = {
35- let n = getString(h, j)
36- if ($isInstanceOf(n, "String"))
35+ let n = getInteger(h, j)
36+ if ($isInstanceOf(n, "Int"))
3737 then {
3838 let o = n
3939 o
4040 }
4141 else "NONE"
4242 }
4343 let q = {
4444 let n = getString(h, k)
4545 if ($isInstanceOf(n, "String"))
4646 then {
4747 let o = n
4848 o
4949 }
5050 else "NONE"
5151 }
5252 let r = {
53- let n = getInteger(h, l)
54- if ($isInstanceOf(n, "Int"))
55- then {
56- let o = n
57- o
58- }
59- else throw("System not ready")
60- }
61- let s = {
6253 let n = getString(h, g)
6354 if ($isInstanceOf(n, "String"))
6455 then {
6556 let o = n
6657 o
6758 }
6859 else "NONE"
6960 }
70- let t = (r + 1)
71- let u = (toString(t) + ".1")
72- let v = (toString(t) + ".2")
73- let w = toString(t)
74- if ((m == "STOP"))
61+ let s = (m + 1)
62+ let t = (toString(s) + ".1")
63+ let u = (toString(s) + ".2")
64+ let v = toString(s)
65+ if ((q == "STOP"))
7566 then throw("System is on pause")
76- else if ((s == "NONE"))
77- then WriteSet([DataEntry(w, b), DataEntry(u, e), DataEntry(v, f), DataEntry("ID", t)])
67+ else if ((r == "NONE"))
68+ then WriteSet([DataEntry("Max", ""), DataEntry("M", l)])
7869 else throw("Not permitted")
7970 }
8071
8172

github/deemru/w8io/026f985 
27.29 ms