tx · 5g144YvTrtCGfmFNi49BTLkVykjCmRy5gtYUnR2SUeiz

3N2dRaZobzhvApXZdrFKsTWZfczyyx6FboD:  -0.01400000 Waves

2021.08.19 20:21 [1665529] smart account 3N2dRaZobzhvApXZdrFKsTWZfczyyx6FboD > SELF 0.00000000 Waves

{ "type": 13, "id": "5g144YvTrtCGfmFNi49BTLkVykjCmRy5gtYUnR2SUeiz", "fee": 1400000, "feeAssetId": null, "timestamp": 1629393698387, "version": 2, "chainId": 84, "sender": "3N2dRaZobzhvApXZdrFKsTWZfczyyx6FboD", "senderPublicKey": "9WSLkkzDD1adiGFyZbCjY47yzFtCW8U5DKWUqpiuaL3p", "proofs": [ "5qNh3XpHPr4hnwUuPwgt64Ho1MGEJPbzWNXSyLQaoL3jt9iFxeZK3JXthZYKi6aqKvARy9Tm6eeUDpXQKn2t9sxt" ], "script": "base64:AAIFAAAAAAAAARMIAhIECgIBARIECgIBARoICgJhMRICV1UaCAoCYTISAlNXGggKAmEzEgJTVRoHCgJhNBIBVxoHCgJhNRIBVRoHCgJhNhIBUxoLCgJhNxIFYWRtaW4aDAoCYTgSBnNjYWxlOBoHCgJhORIBaRoKCgJiMRIEYW1udBoJCgJiMhIDbWluGgkKAmIzEgNiYnUaCQoCYjQSA2JidxoJCgJiNRIDYmJzGgsKAmI2EgVzd2FwMRoLCgJiNxIFZGlmZnUaCwoCYjgSBXN3YXAyGgsKAmI5EgVkaWZmcxoLCgJjMRIFc3dhcDMaCwoCYzISBWRpZmZ3GggKAmMzEgJvaxoICgJjNBICdHgaDAoCYzUSBnZlcmlmeQAAAAgAAAAAAmExCQEAAAARQGV4dHJOYXRpdmUoMTA2MikAAAABCQEAAAAFdmFsdWUAAAABAgAAACMzTkREM2lmQUMxN2NMenh1WXFzZ1hEUlk5RFRRNUJxbXZ3TAAAAAACYTIJAQAAABFAZXh0ck5hdGl2ZSgxMDYyKQAAAAEJAQAAAAV2YWx1ZQAAAAECAAAAIzNOQXpFUzdwU2pmb0hzS051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bAMJAAAAAAAAAgUAAAACYzEFAAAAAmMxBAAAAAJjMgkAAGUAAAACCQAD8AAAAAIFAAAABHRoaXMFAAAAAmE0BQAAAAJiNAMJAAAAAAAAAgUAAAACYzIFAAAAAmMyAwkAAGYAAAACBQAAAAJjMgUAAAACYjIEAAAAAmMzAgAAAAJvawkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAFZGVidWcFAAAAAmMyBQAAAANuaWwJAAACAAAAAQkAAaQAAAABBQAAAAJjMgkAAAIAAAABAgAAAAZzdHJpY3QJAAACAAAAAQIAAAAGc3RyaWN0CQAAAgAAAAECAAAABnN0cmljdAkAAAIAAAABAgAAAAZzdHJpY3QJAAACAAAAAQIAAAAGc3RyaWN0CQAAAgAAAAECAAAABnN0cmljdAkAAAIAAAABAgAAAAZTdHJpY3QAAAABAAAAAmM0AQAAAAJjNQAAAAAJAAH0AAAAAwgFAAAAAmM0AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACYzQAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACYzQAAAAPc2VuZGVyUHVibGljS2V5+xjJbw==", "height": 1665529, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3Byyha4Beir9iiLqHTKtkhojsRXnhnZGj45U9BSs5v1p Next: none Diff:
OldNewDifferences
1717
1818 let h = 100000000
1919
20-let i = 1000000
21-
22-@Callable(j)
23-func call1 (k,l) = if ((j.caller != g))
20+@Callable(i)
21+func call1 (j,k) = if ((i.caller != g))
2422 then throw("only admin")
2523 else {
26- let m = assetBalance(this, e)
27- let n = assetBalance(this, d)
28- let o = assetBalance(this, f)
29- if (if (if ((m == m))
24+ let l = assetBalance(this, e)
25+ let m = assetBalance(this, d)
26+ let n = assetBalance(this, f)
27+ if (if (if ((l == l))
28+ then (m == m)
29+ else false)
3030 then (n == n)
3131 else false)
32- then (o == o)
33- else false)
3432 then {
35- let p = invoke(a, "exchange", [1], [AttachedPayment(d, (k * h))])
36- if ((p == p))
33+ let o = invoke(a, "exchange", [1], [AttachedPayment(d, (j * h))])
34+ if ((o == o))
3735 then {
38- let q = (assetBalance(this, e) - m)
39- if ((q == q))
36+ let p = (assetBalance(this, e) - l)
37+ if ((p == p))
4038 then {
41- let r = invoke(c, "exchange", [1], [AttachedPayment(e, q)])
42- if ((r == r))
39+ let q = invoke(c, "exchange", [1], [AttachedPayment(e, p)])
40+ if ((q == q))
4341 then {
44- let s = (assetBalance(this, f) - o)
45- if ((s == s))
42+ let r = (assetBalance(this, f) - n)
43+ if ((r == r))
4644 then {
47- let t = invoke(b, "exchange", [1], [AttachedPayment(f, s)])
48- if ((t == t))
45+ let s = invoke(b, "exchange", [1], [AttachedPayment(f, r)])
46+ if ((s == s))
4947 then {
50- let u = (assetBalance(this, d) - n)
51- if ((u == u))
52- then if ((u > l))
53- then {
54- let v = "ok"
55-[IntegerEntry("debug", u), ScriptTransfer(g, u, d)]
56- }
57- else throw(toString(u))
48+ let t = (assetBalance(this, d) - m)
49+ if ((t == t))
50+ then if ((t > k))
51+ then [IntegerEntry("debug", t)]
52+ else throw(toString(t))
5853 else throw("strict value what the fuck")
5954 }
6055 else throw("strict value what the fuck")
7267
7368
7469
75-@Callable(j)
76-func call2 (k,l) = if ((j.caller != g))
70+@Callable(i)
71+func call2 (j,k) = if ((i.caller != g))
7772 then throw("only admin")
7873 else {
79- let m = assetBalance(this, e)
80- let n = assetBalance(this, d)
81- let o = assetBalance(this, f)
82- if (if (if ((m == m))
74+ let l = assetBalance(this, e)
75+ let m = assetBalance(this, d)
76+ let n = assetBalance(this, f)
77+ if (if (if ((l == l))
78+ then (m == m)
79+ else false)
8380 then (n == n)
8481 else false)
85- then (o == o)
86- else false)
8782 then {
88- let p = invoke(b, "exchange", [1], [AttachedPayment(d, (k * h))])
89- if ((p == p))
83+ let o = invoke(b, "exchange", [1], [AttachedPayment(d, (j * h))])
84+ if ((o == o))
9085 then {
91- let s = (assetBalance(this, f) - o)
92- if ((s == s))
86+ let r = (assetBalance(this, f) - n)
87+ if ((r == r))
9388 then {
94- let r = invoke(c, "exchange", [1], [AttachedPayment(f, s)])
95- if ((r == r))
89+ let q = invoke(c, "exchange", [1], [AttachedPayment(f, r)])
90+ if ((q == q))
9691 then {
97- let q = (assetBalance(this, e) - m)
98- if ((q == q))
92+ let p = (assetBalance(this, e) - l)
93+ if ((p == p))
9994 then {
100- let t = invoke(a, "exchange", [1], [AttachedPayment(e, q)])
101- if ((t == t))
95+ let s = invoke(a, "exchange", [1], [AttachedPayment(e, p)])
96+ if ((s == s))
10297 then {
103- let u = (assetBalance(this, d) - n)
104- if ((u == u))
105- then if ((u > l))
98+ let t = (assetBalance(this, d) - m)
99+ if ((t == t))
100+ then if ((t > k))
106101 then {
107- let v = "ok"
108-[IntegerEntry("debug", u), ScriptTransfer(g, u, d)]
102+ let u = "ok"
103+[IntegerEntry("debug", t)]
109104 }
110- else throw(toString(u))
105+ else throw(toString(t))
111106 else throw("strict")
112107 }
113108 else throw("strict")
124119 }
125120
126121
127-@Verifier(w)
128-func x () = sigVerify(w.bodyBytes, w.proofs[0], w.senderPublicKey)
122+@Verifier(v)
123+func w () = sigVerify(v.bodyBytes, v.proofs[0], v.senderPublicKey)
129124
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = addressFromStringValue(value("3NDD3ifAC17cLzxuYqsgXDRY9DTQ5BqmvwL"))
55
66 let b = addressFromStringValue(value("3NAzES7pSjfoHsKNumP5HRtSt3qadbqnHip"))
77
88 let c = addressFromStringValue(value("3MrBtdped4oUFs1BvLNu53Dm1AMGiTHkT9B"))
99
1010 let d = base58'3Tg4GRpKeek5wWAQRJKH1ucjMuKNom3f2h67WNNu6xVS'
1111
1212 let e = base58'gAAmMoquySsX6q5EmzciFfB8RecAhZR9W1HKNntNekL'
1313
1414 let f = base58'89G3XEYzMSztS6RPN5h2da7j43r4zgKufReZWn1MqX7g'
1515
1616 let g = addressFromStringValue("3N97G98bPF5ghnZ1iMmQ7tMH6MBsNZnS272")
1717
1818 let h = 100000000
1919
20-let i = 1000000
21-
22-@Callable(j)
23-func call1 (k,l) = if ((j.caller != g))
20+@Callable(i)
21+func call1 (j,k) = if ((i.caller != g))
2422 then throw("only admin")
2523 else {
26- let m = assetBalance(this, e)
27- let n = assetBalance(this, d)
28- let o = assetBalance(this, f)
29- if (if (if ((m == m))
24+ let l = assetBalance(this, e)
25+ let m = assetBalance(this, d)
26+ let n = assetBalance(this, f)
27+ if (if (if ((l == l))
28+ then (m == m)
29+ else false)
3030 then (n == n)
3131 else false)
32- then (o == o)
33- else false)
3432 then {
35- let p = invoke(a, "exchange", [1], [AttachedPayment(d, (k * h))])
36- if ((p == p))
33+ let o = invoke(a, "exchange", [1], [AttachedPayment(d, (j * h))])
34+ if ((o == o))
3735 then {
38- let q = (assetBalance(this, e) - m)
39- if ((q == q))
36+ let p = (assetBalance(this, e) - l)
37+ if ((p == p))
4038 then {
41- let r = invoke(c, "exchange", [1], [AttachedPayment(e, q)])
42- if ((r == r))
39+ let q = invoke(c, "exchange", [1], [AttachedPayment(e, p)])
40+ if ((q == q))
4341 then {
44- let s = (assetBalance(this, f) - o)
45- if ((s == s))
42+ let r = (assetBalance(this, f) - n)
43+ if ((r == r))
4644 then {
47- let t = invoke(b, "exchange", [1], [AttachedPayment(f, s)])
48- if ((t == t))
45+ let s = invoke(b, "exchange", [1], [AttachedPayment(f, r)])
46+ if ((s == s))
4947 then {
50- let u = (assetBalance(this, d) - n)
51- if ((u == u))
52- then if ((u > l))
53- then {
54- let v = "ok"
55-[IntegerEntry("debug", u), ScriptTransfer(g, u, d)]
56- }
57- else throw(toString(u))
48+ let t = (assetBalance(this, d) - m)
49+ if ((t == t))
50+ then if ((t > k))
51+ then [IntegerEntry("debug", t)]
52+ else throw(toString(t))
5853 else throw("strict value what the fuck")
5954 }
6055 else throw("strict value what the fuck")
6156 }
6257 else throw("strict value what the fuck")
6358 }
6459 else throw("strict value what the fuck")
6560 }
6661 else throw("strict value what the fuck")
6762 }
6863 else throw("strict value what the fuck")
6964 }
7065 else throw("Strict value is not equal to itself")
7166 }
7267
7368
7469
75-@Callable(j)
76-func call2 (k,l) = if ((j.caller != g))
70+@Callable(i)
71+func call2 (j,k) = if ((i.caller != g))
7772 then throw("only admin")
7873 else {
79- let m = assetBalance(this, e)
80- let n = assetBalance(this, d)
81- let o = assetBalance(this, f)
82- if (if (if ((m == m))
74+ let l = assetBalance(this, e)
75+ let m = assetBalance(this, d)
76+ let n = assetBalance(this, f)
77+ if (if (if ((l == l))
78+ then (m == m)
79+ else false)
8380 then (n == n)
8481 else false)
85- then (o == o)
86- else false)
8782 then {
88- let p = invoke(b, "exchange", [1], [AttachedPayment(d, (k * h))])
89- if ((p == p))
83+ let o = invoke(b, "exchange", [1], [AttachedPayment(d, (j * h))])
84+ if ((o == o))
9085 then {
91- let s = (assetBalance(this, f) - o)
92- if ((s == s))
86+ let r = (assetBalance(this, f) - n)
87+ if ((r == r))
9388 then {
94- let r = invoke(c, "exchange", [1], [AttachedPayment(f, s)])
95- if ((r == r))
89+ let q = invoke(c, "exchange", [1], [AttachedPayment(f, r)])
90+ if ((q == q))
9691 then {
97- let q = (assetBalance(this, e) - m)
98- if ((q == q))
92+ let p = (assetBalance(this, e) - l)
93+ if ((p == p))
9994 then {
100- let t = invoke(a, "exchange", [1], [AttachedPayment(e, q)])
101- if ((t == t))
95+ let s = invoke(a, "exchange", [1], [AttachedPayment(e, p)])
96+ if ((s == s))
10297 then {
103- let u = (assetBalance(this, d) - n)
104- if ((u == u))
105- then if ((u > l))
98+ let t = (assetBalance(this, d) - m)
99+ if ((t == t))
100+ then if ((t > k))
106101 then {
107- let v = "ok"
108-[IntegerEntry("debug", u), ScriptTransfer(g, u, d)]
102+ let u = "ok"
103+[IntegerEntry("debug", t)]
109104 }
110- else throw(toString(u))
105+ else throw(toString(t))
111106 else throw("strict")
112107 }
113108 else throw("strict")
114109 }
115110 else throw("strict")
116111 }
117112 else throw("strict")
118113 }
119114 else throw("strict")
120115 }
121116 else throw("strict")
122117 }
123118 else throw("Strict")
124119 }
125120
126121
127-@Verifier(w)
128-func x () = sigVerify(w.bodyBytes, w.proofs[0], w.senderPublicKey)
122+@Verifier(v)
123+func w () = sigVerify(v.bodyBytes, v.proofs[0], v.senderPublicKey)
129124

github/deemru/w8io/169f3d6 
52.84 ms