tx · 3qq2sXCZydXCfDPnxtANiF6TjUWefMS8xqzYqwouki68

3N2dRaZobzhvApXZdrFKsTWZfczyyx6FboD:  -0.01400000 Waves

2021.08.19 19:49 [1665497] smart account 3N2dRaZobzhvApXZdrFKsTWZfczyyx6FboD > SELF 0.00000000 Waves

{ "type": 13, "id": "3qq2sXCZydXCfDPnxtANiF6TjUWefMS8xqzYqwouki68", "fee": 1400000, "feeAssetId": null, "timestamp": 1629391748924, "version": 2, "chainId": 84, "sender": "3N2dRaZobzhvApXZdrFKsTWZfczyyx6FboD", "senderPublicKey": "9WSLkkzDD1adiGFyZbCjY47yzFtCW8U5DKWUqpiuaL3p", "proofs": [ "4mPfaqNwELBtDnGfeZq2t3FeLXSocFu8Si1Tr3bzaB55563VhLLYXrfKnR4JefQnWiAxPfWaLWACfuwHK3HHug4z" ], "script": "base64:AAIFAAAAAAAAASEIAhIECgIBARIECgIBARoICgJhMRICV1UaCAoCYTISAlNXGggKAmEzEgJTVRoHCgJhNBIBVxoHCgJhNRIBVRoHCgJhNhIBUxoLCgJhNxIFYWRtaW4aDAoCYTgSBnNjYWxlOBoMCgJhORIGc2NhbGU2GgcKAmIxEgFpGgoKAmIyEgRhbW50GgkKAmIzEgNtaW4aCQoCYjQSA2JidRoJCgJiNRIDYmJ3GgkKAmI2EgNiYnMaCwoCYjcSBXN3YXAxGgsKAmI4EgVkaWZmdRoLCgJiORIFc3dhcDIaCwoCYzESBWRpZmZzGgsKAmMyEgVzd2FwMxoLCgJjMxIFZGlmZncaCAoCYzQSAm9rGggKAmM1EgJ0eBoMCgJjNhIGdmVyaWZ5AAAACQAAAAACYTEJAQAAABFAZXh0ck5hdGl2ZSgxMDYyKQAAAAEJAQAAAAV2YWx1ZQAAAAECAAAAIzNOREQzaWZBQzE3Y0x6eHVZcXNnWERSWTlEVFE1QnFtdndMAAAAAAJhMgkBAAAAEUBleHRyTmF0aXZlKDEwNjIpAAAAAQkBAAAABXZhbHVlAAAAAQIAAAAjM05BekVTN3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0dGFjaGVkUGF5bWVudAAAAAIFAAAAAmE1BQAAAAJiOAUAAAADbmlsAwkAAAAAAAACBQAAAAJjMgUAAAACYzIEAAAAAmMzCQAAZQAAAAIJAAPwAAAAAgUAAAAEdGhpcwUAAAACYTQFAAAAAmI1AwkAAAAAAAACBQAAAAJjMwUAAAACYzMDCQAAZgAAAAIFAAAAAmMzBQAAAAJiMwQAAAACYzQCAAAAAm9rCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACAgAAAAVkZWJ1ZwUAAAACYzMFAAAAA25pbAkAAAIAAAABCQABpAAAAAEFAAAAAmMzCQAAAgAAAAECAAAAGnN0cmljdCB2YWx1ZSB3aGF0IHRoZSBmdWNrCQAAAgAAAAECAAAAGnN0cmljdCB2YWx1ZSB3aGF0IHRoZSBmdWNrCQAAAgAAAAECAAAAGnN0cmljdCB2YWx1ZSB3aGF0IHRoZSBmdWNrCQAAAgAAAAECAAAAGnN0cmljdCB2YWx1ZSB3aGF0IHRoZSBmdWNrCQAAAgAAAAECAAAAGnN0cmljdCB2YWx1ZSB3aGF0IHRoZSBmdWNrCQAAAgAAAAECAAAAGnN0cmljdCB2YWx1ZSB3aGF0IHRoZSBmdWNrCQAAAgAAAAECAAAAI1N0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmAAAAAQAAAAJjNQEAAAACYzYAAAAACQAB9AAAAAMIBQAAAAJjNQAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAmM1AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAmM1AAAAD3NlbmRlclB1YmxpY0tleb27Q24=", "height": 1665497, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: CY5rNBWccUSahazx1uRD1LHrjUuoxooitZJGKfDcUTQG Next: 3Byyha4Beir9iiLqHTKtkhojsRXnhnZGj45U9BSs5v1p Diff:
OldNewDifferences
2020 let i = 1000000
2121
2222 @Callable(j)
23-func call1 () = if ((j.caller != g))
23+func call1 (k,l) = if ((j.caller != g))
2424 then throw("only admin")
2525 else {
26- let k = assetBalance(this, e)
27- let l = assetBalance(this, d)
28- let m = assetBalance(this, f)
29- if (if (if ((k == k))
30- then (l == l)
26+ let m = assetBalance(this, e)
27+ let n = assetBalance(this, d)
28+ let o = assetBalance(this, f)
29+ if (if (if ((m == m))
30+ then (n == n)
3131 else false)
32- then (m == m)
32+ then (o == o)
3333 else false)
3434 then {
35- let n = invoke(a, "exchange", [1], [AttachedPayment(d, (1 * h))])
36- if ((n == n))
35+ let p = invoke(a, "exchange", [1], [AttachedPayment(d, (k * h))])
36+ if ((p == p))
3737 then {
38- let o = (assetBalance(this, e) - k)
39- if ((o == o))
38+ let q = (assetBalance(this, e) - m)
39+ if ((q == q))
4040 then {
41- let p = invoke(c, "exchange", [1], [AttachedPayment(e, o)])
42- if ((p == p))
41+ let r = invoke(c, "exchange", [1], [AttachedPayment(e, q)])
42+ if ((r == r))
4343 then {
44- let q = (assetBalance(this, f) - m)
45- if ((q == q))
44+ let s = (assetBalance(this, f) - o)
45+ if ((s == s))
4646 then {
47- let r = invoke(b, "exchange", [1], [AttachedPayment(f, q)])
48- if ((r == r))
47+ let t = invoke(b, "exchange", [1], [AttachedPayment(f, s)])
48+ if ((t == t))
4949 then {
50- let s = (assetBalance(this, d) - l)
51- if ((s == s))
52- then if ((s > 0))
50+ let u = (assetBalance(this, d) - n)
51+ if ((u == u))
52+ then if ((u > l))
5353 then {
54- let t = "ok"
55-[IntegerEntry("debug", s)]
54+ let v = "ok"
55+[IntegerEntry("debug", u)]
5656 }
57- else throw(toString(s))
57+ else throw(toString(u))
5858 else throw("strict value what the fuck")
5959 }
6060 else throw("strict value what the fuck")
7373
7474
7575 @Callable(j)
76-func call2 () = if ((j.caller != g))
76+func call2 (k,l) = if ((j.caller != g))
7777 then throw("only admin")
7878 else {
79- let k = assetBalance(this, e)
80- let l = assetBalance(this, d)
81- let m = assetBalance(this, f)
82- if (if (if ((k == k))
83- then (l == l)
79+ let m = assetBalance(this, e)
80+ let n = assetBalance(this, d)
81+ let o = assetBalance(this, f)
82+ if (if (if ((m == m))
83+ then (n == n)
8484 else false)
85- then (m == m)
85+ then (o == o)
8686 else false)
8787 then {
88- let n = invoke(b, "exchange", [1], [AttachedPayment(d, (1 * h))])
89- if ((n == n))
88+ let p = invoke(b, "exchange", [1], [AttachedPayment(d, (k * h))])
89+ if ((p == p))
9090 then {
91- let q = (assetBalance(this, f) - m)
92- if ((q == q))
91+ let s = (assetBalance(this, f) - o)
92+ if ((s == s))
9393 then {
94- let p = invoke(c, "exchange", [1], [AttachedPayment(f, q)])
95- if ((p == p))
94+ let r = invoke(c, "exchange", [1], [AttachedPayment(f, s)])
95+ if ((r == r))
9696 then {
97- let o = (assetBalance(this, e) - k)
98- if ((o == o))
97+ let q = (assetBalance(this, e) - m)
98+ if ((q == q))
9999 then {
100- let r = invoke(a, "exchange", [1], [AttachedPayment(e, o)])
101- if ((r == r))
100+ let t = invoke(a, "exchange", [1], [AttachedPayment(e, q)])
101+ if ((t == t))
102102 then {
103- let s = (assetBalance(this, d) - l)
104- if ((s == s))
105- then if ((s > 0))
103+ let u = (assetBalance(this, d) - n)
104+ if ((u == u))
105+ then if ((u > l))
106106 then {
107- let t = "ok"
108-[IntegerEntry("debug", s)]
107+ let v = "ok"
108+[IntegerEntry("debug", u)]
109109 }
110- else throw(toString(s))
110+ else throw(toString(u))
111111 else throw("strict value what the fuck")
112112 }
113113 else throw("strict value what the fuck")
124124 }
125125
126126
127-@Verifier(u)
128-func v () = sigVerify(u.bodyBytes, u.proofs[0], u.senderPublicKey)
127+@Verifier(w)
128+func x () = sigVerify(w.bodyBytes, w.proofs[0], w.senderPublicKey)
129129
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
2020 let i = 1000000
2121
2222 @Callable(j)
23-func call1 () = if ((j.caller != g))
23+func call1 (k,l) = if ((j.caller != g))
2424 then throw("only admin")
2525 else {
26- let k = assetBalance(this, e)
27- let l = assetBalance(this, d)
28- let m = assetBalance(this, f)
29- if (if (if ((k == k))
30- then (l == l)
26+ let m = assetBalance(this, e)
27+ let n = assetBalance(this, d)
28+ let o = assetBalance(this, f)
29+ if (if (if ((m == m))
30+ then (n == n)
3131 else false)
32- then (m == m)
32+ then (o == o)
3333 else false)
3434 then {
35- let n = invoke(a, "exchange", [1], [AttachedPayment(d, (1 * h))])
36- if ((n == n))
35+ let p = invoke(a, "exchange", [1], [AttachedPayment(d, (k * h))])
36+ if ((p == p))
3737 then {
38- let o = (assetBalance(this, e) - k)
39- if ((o == o))
38+ let q = (assetBalance(this, e) - m)
39+ if ((q == q))
4040 then {
41- let p = invoke(c, "exchange", [1], [AttachedPayment(e, o)])
42- if ((p == p))
41+ let r = invoke(c, "exchange", [1], [AttachedPayment(e, q)])
42+ if ((r == r))
4343 then {
44- let q = (assetBalance(this, f) - m)
45- if ((q == q))
44+ let s = (assetBalance(this, f) - o)
45+ if ((s == s))
4646 then {
47- let r = invoke(b, "exchange", [1], [AttachedPayment(f, q)])
48- if ((r == r))
47+ let t = invoke(b, "exchange", [1], [AttachedPayment(f, s)])
48+ if ((t == t))
4949 then {
50- let s = (assetBalance(this, d) - l)
51- if ((s == s))
52- then if ((s > 0))
50+ let u = (assetBalance(this, d) - n)
51+ if ((u == u))
52+ then if ((u > l))
5353 then {
54- let t = "ok"
55-[IntegerEntry("debug", s)]
54+ let v = "ok"
55+[IntegerEntry("debug", u)]
5656 }
57- else throw(toString(s))
57+ else throw(toString(u))
5858 else throw("strict value what the fuck")
5959 }
6060 else throw("strict value what the fuck")
6161 }
6262 else throw("strict value what the fuck")
6363 }
6464 else throw("strict value what the fuck")
6565 }
6666 else throw("strict value what the fuck")
6767 }
6868 else throw("strict value what the fuck")
6969 }
7070 else throw("Strict value is not equal to itself")
7171 }
7272
7373
7474
7575 @Callable(j)
76-func call2 () = if ((j.caller != g))
76+func call2 (k,l) = if ((j.caller != g))
7777 then throw("only admin")
7878 else {
79- let k = assetBalance(this, e)
80- let l = assetBalance(this, d)
81- let m = assetBalance(this, f)
82- if (if (if ((k == k))
83- then (l == l)
79+ let m = assetBalance(this, e)
80+ let n = assetBalance(this, d)
81+ let o = assetBalance(this, f)
82+ if (if (if ((m == m))
83+ then (n == n)
8484 else false)
85- then (m == m)
85+ then (o == o)
8686 else false)
8787 then {
88- let n = invoke(b, "exchange", [1], [AttachedPayment(d, (1 * h))])
89- if ((n == n))
88+ let p = invoke(b, "exchange", [1], [AttachedPayment(d, (k * h))])
89+ if ((p == p))
9090 then {
91- let q = (assetBalance(this, f) - m)
92- if ((q == q))
91+ let s = (assetBalance(this, f) - o)
92+ if ((s == s))
9393 then {
94- let p = invoke(c, "exchange", [1], [AttachedPayment(f, q)])
95- if ((p == p))
94+ let r = invoke(c, "exchange", [1], [AttachedPayment(f, s)])
95+ if ((r == r))
9696 then {
97- let o = (assetBalance(this, e) - k)
98- if ((o == o))
97+ let q = (assetBalance(this, e) - m)
98+ if ((q == q))
9999 then {
100- let r = invoke(a, "exchange", [1], [AttachedPayment(e, o)])
101- if ((r == r))
100+ let t = invoke(a, "exchange", [1], [AttachedPayment(e, q)])
101+ if ((t == t))
102102 then {
103- let s = (assetBalance(this, d) - l)
104- if ((s == s))
105- then if ((s > 0))
103+ let u = (assetBalance(this, d) - n)
104+ if ((u == u))
105+ then if ((u > l))
106106 then {
107- let t = "ok"
108-[IntegerEntry("debug", s)]
107+ let v = "ok"
108+[IntegerEntry("debug", u)]
109109 }
110- else throw(toString(s))
110+ else throw(toString(u))
111111 else throw("strict value what the fuck")
112112 }
113113 else throw("strict value what the fuck")
114114 }
115115 else throw("strict value what the fuck")
116116 }
117117 else throw("strict value what the fuck")
118118 }
119119 else throw("strict value what the fuck")
120120 }
121121 else throw("strict value what the fuck")
122122 }
123123 else throw("Strict value is not equal to itself")
124124 }
125125
126126
127-@Verifier(u)
128-func v () = sigVerify(u.bodyBytes, u.proofs[0], u.senderPublicKey)
127+@Verifier(w)
128+func x () = sigVerify(w.bodyBytes, w.proofs[0], w.senderPublicKey)
129129

github/deemru/w8io/169f3d6 
67.06 ms