tx · GKCCosiMtVE6Yf2M8uQwjtKQqNU3BtFMWE9Ut75BqZ9A

3NB5N2sZzeeXumQavrLSnySaDhLEtAjDhoj:  -0.05000000 Waves

2019.11.22 07:16 [775908] smart account 3NB5N2sZzeeXumQavrLSnySaDhLEtAjDhoj > SELF 0.00000000 Waves

{ "type": 13, "id": "GKCCosiMtVE6Yf2M8uQwjtKQqNU3BtFMWE9Ut75BqZ9A", "fee": 5000000, "feeAssetId": null, "timestamp": 1574396186809, "version": 1, "sender": "3NB5N2sZzeeXumQavrLSnySaDhLEtAjDhoj", "senderPublicKey": "J6uUrhmBcnvdu5KYxCr6uY5XoFb6bK1CdjWR8CMBst8o", "proofs": [ "4oEpuHTenMz4Z2azr24mGW3dwTSQsGKEWRxxgWiDP66ahkALAyryc3zexhFjS6naGM5DG76zJahMLSQMxyaUphMx" ], "script": "base64:AAIDAAAAAAAAAAwIARIECgIICBIAEgAAAAACAAAAAAROT05FAgAAAARub25lAQAAAAVtZXJnZQAAAAIAAAABYQAAAAFiCQABLAAAAAIJAAEsAAAAAgUAAAABYQIAAAABfAUAAAABYgAAAAMAAAABaQEAAAALZGVmU2NhbHBpbmcAAAACAAAABmdyaWRJRAAAAARvQXNrBAAAAA9zdXBwbGllckFkZHJlc3MJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgUAAAAGZ3JpZElEBQAAAA9zdXBwbGllckFkZHJlc3MJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgUAAAAGZ3JpZElEAgAAAAVfb0FzawUAAAAEb0FzawUAAAADbmlsAAAAAWkBAAAADGxpc3RTY2FscGluZwAAAAAEAAAAD3N1cHBsaWVyQWRkcmVzcwkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzBAAAAAhvQXNrTGlzdAkBAAAAEUBleHRyTmF0aXZ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wkAAZEAAAACBQAAAAskbGlzdDY1NzY4MwAAAAAAAAAACgkAAAIAAAABAgAAABNMaXN0IHNpemUgZXhjZWVkIDEwCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACAgAAAAxUZXN0ZV8xX0xpc3QFAAAAAXMFAAAAA25pbAAAAAFpAQAAAA1zdGFydFNjYWxwaW5nAAAAAAQAAAAPc3VwcGxpZXJBZGRyZXNzCQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMEAAAAA2FycgkBAAAABXZhbHVlAAAAAQkABB0AAAACBQAAAAR0aGlzAgAAAAxUZXN0ZV8xX29Bc2sJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgIAAAAIVGVzdGVfMV8FAAAAD3N1cHBsaWVyQWRkcmVzcwUAAAADYXJyBQAAAANuaWwAAAAA8r6bzw==", "chainId": 84, "height": 775908, "spentComplexity": 0 } View: original | compacted Prev: EziYtTki7W3KgfvnSNtWy2JubxTsj1qcdpxx4wsSJPa1 Next: 6WMiVHmTfSYNELXSaxZTLpatC1oBFViW96Thf4CNb9F7 Diff:
OldNewDifferences
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "none"
55
6-func b (c,d) = ((toString(c) + "|") + toString(d))
6+func b (c,d) = ((c + "|") + d)
77
88
99 @Callable(e)
1919 let h = toBase58String(e.caller.bytes)
2020 let i = getStringValue(this, "Teste_1_oAsk")
2121 let j = split(i, "|")
22- let k = 5 :: j
23- WriteSet([DataEntry("Teste_1_List", j[1])])
22+ let k = "5" :: j
23+ let l = {
24+ let m = k
25+ let n = size(m)
26+ let o = "0"
27+ if ((n == 0))
28+ then o
29+ else {
30+ let p = b(o, m[0])
31+ if ((n == 1))
32+ then p
33+ else {
34+ let q = b(p, m[1])
35+ if ((n == 2))
36+ then q
37+ else {
38+ let r = b(q, m[2])
39+ if ((n == 3))
40+ then r
41+ else {
42+ let s = b(r, m[3])
43+ if ((n == 4))
44+ then s
45+ else {
46+ let t = b(s, m[4])
47+ if ((n == 5))
48+ then t
49+ else {
50+ let u = b(t, m[5])
51+ if ((n == 6))
52+ then u
53+ else {
54+ let v = b(u, m[6])
55+ if ((n == 7))
56+ then v
57+ else {
58+ let w = b(v, m[7])
59+ if ((n == 8))
60+ then w
61+ else {
62+ let x = b(w, m[8])
63+ if ((n == 9))
64+ then x
65+ else {
66+ let y = b(x, m[9])
67+ if ((n == 10))
68+ then y
69+ else {
70+ let z = b(y, m[10])
71+ throw("List size exceed 10")
72+ }
73+ }
74+ }
75+ }
76+ }
77+ }
78+ }
79+ }
80+ }
81+ }
82+ }
83+ }
84+ WriteSet([DataEntry("Teste_1_List", l)])
2485 }
2586
2687
2889 @Callable(e)
2990 func startScalping () = {
3091 let h = toBase58String(e.caller.bytes)
31- let l = value(getString(this, "Teste_1_oAsk"))
32- WriteSet([DataEntry(("Teste_1_" + h), l)])
92+ let A = value(getString(this, "Teste_1_oAsk"))
93+ WriteSet([DataEntry(("Teste_1_" + h), A)])
3394 }
3495
3596
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "none"
55
6-func b (c,d) = ((toString(c) + "|") + toString(d))
6+func b (c,d) = ((c + "|") + d)
77
88
99 @Callable(e)
1010 func defScalping (f,g) = {
1111 let h = toBase58String(e.caller.bytes)
1212 WriteSet([DataEntry(f, h), DataEntry((f + "_oAsk"), g)])
1313 }
1414
1515
1616
1717 @Callable(e)
1818 func listScalping () = {
1919 let h = toBase58String(e.caller.bytes)
2020 let i = getStringValue(this, "Teste_1_oAsk")
2121 let j = split(i, "|")
22- let k = 5 :: j
23- WriteSet([DataEntry("Teste_1_List", j[1])])
22+ let k = "5" :: j
23+ let l = {
24+ let m = k
25+ let n = size(m)
26+ let o = "0"
27+ if ((n == 0))
28+ then o
29+ else {
30+ let p = b(o, m[0])
31+ if ((n == 1))
32+ then p
33+ else {
34+ let q = b(p, m[1])
35+ if ((n == 2))
36+ then q
37+ else {
38+ let r = b(q, m[2])
39+ if ((n == 3))
40+ then r
41+ else {
42+ let s = b(r, m[3])
43+ if ((n == 4))
44+ then s
45+ else {
46+ let t = b(s, m[4])
47+ if ((n == 5))
48+ then t
49+ else {
50+ let u = b(t, m[5])
51+ if ((n == 6))
52+ then u
53+ else {
54+ let v = b(u, m[6])
55+ if ((n == 7))
56+ then v
57+ else {
58+ let w = b(v, m[7])
59+ if ((n == 8))
60+ then w
61+ else {
62+ let x = b(w, m[8])
63+ if ((n == 9))
64+ then x
65+ else {
66+ let y = b(x, m[9])
67+ if ((n == 10))
68+ then y
69+ else {
70+ let z = b(y, m[10])
71+ throw("List size exceed 10")
72+ }
73+ }
74+ }
75+ }
76+ }
77+ }
78+ }
79+ }
80+ }
81+ }
82+ }
83+ }
84+ WriteSet([DataEntry("Teste_1_List", l)])
2485 }
2586
2687
2788
2889 @Callable(e)
2990 func startScalping () = {
3091 let h = toBase58String(e.caller.bytes)
31- let l = value(getString(this, "Teste_1_oAsk"))
32- WriteSet([DataEntry(("Teste_1_" + h), l)])
92+ let A = value(getString(this, "Teste_1_oAsk"))
93+ WriteSet([DataEntry(("Teste_1_" + h), A)])
3394 }
3495
3596

github/deemru/w8io/169f3d6 
52.21 ms