tx · Sve5MDcEV9GqtZfEyZpxS8QdF5sN55vEhf6rqjqHqqQ

3MusfsY6PqDh1YnF7YyTi5ffVT16Dm2bqf6:  -0.01000000 Waves

2023.03.09 00:23 [2481647] smart account 3MusfsY6PqDh1YnF7YyTi5ffVT16Dm2bqf6 > SELF 0.00000000 Waves

{ "type": 13, "id": "Sve5MDcEV9GqtZfEyZpxS8QdF5sN55vEhf6rqjqHqqQ", "fee": 1000000, "feeAssetId": null, "timestamp": 1678310666825, "version": 2, "chainId": 84, "sender": "3MusfsY6PqDh1YnF7YyTi5ffVT16Dm2bqf6", "senderPublicKey": "GmYZFRssDr88KiZt3x4LsJ6qfqaTfMUycQTKZVdipUgS", "proofs": [ "76oqSW2sKKevuQiZenk1t2i7CGzFUt7t8gXQhSGVyj7jCGgyKptqiiEfjLVoswCJ4AJ8BYpH2JMgrhgNMC32AjH" ], "script": "base64:BgIgCAISBAoCCAESBAoCGBgSBAoCCAgSAwoBCBIFCgMICAgCAAxvcHRpb25zX2FkZHIJAQdBZGRyZXNzAQEaAVRBW/gr9hfqKqHLxIrx+8e7siBhMf6HIMEABHRVU0QBIKskSmq2Qkbr0vzjebBhusOuaVdNUnrKRRynQB0RsCkOBQFpAQ1yZWlzc3VlVG9rZW5zAgV0b2tlbghxdWFudGl0eQQJYWRtaW5MaXN0BAckbWF0Y2gwCQCdCAIFDG9wdGlvbnNfYWRkcgIKYWRtaW5fbGlzdAMJAAECBQckbWF0Y2gwAgRVbml0AgV1bnNldAMJAAECBQckbWF0Y2gwAgZTdHJpbmcEAXgFByRtYXRjaDAFAXgJAAIBAgtNYXRjaCBlcnJvcgQQY2FsbGVyQWRkcmVzc1N0cgkApQgBCAUBaQZjYWxsZXIDCQECIT0CBQlhZG1pbkxpc3QCBXVuc2V0BAR0ZXN0CQCdCAIJARFAZXh0ck5hdGl2ZSgxMDYyKQEFCWFkbWluTGlzdAUQY2FsbGVyQWRkcmVzc1N0cgQHaXNBZG1pbgQHJG1hdGNoMAUEdG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QgIBQFpBmNhbGxlcgVieXRlcwkArAICCQCsAgIJAKwCAgkArAICBQRuYW1lAgF8BQNpbm4CAXwFBG9ncm4JAMwIAgkBDlNjcmlwdFRyYW5zZmVyAwgFAWkGY2FsbGVyAMCEPQUEdW5pdAkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDCAUBaQZjYWxsZXIAwIQ9BQR0VVNEBQNuaWwFBHVuaXQJAAIBAhVDYW4gYmUgdXNlZCBvbmx5IG9uY2UBAnR4AQZ2ZXJpZnkABAckbWF0Y2gwBQJ0eAMJAAECBQckbWF0Y2gwAg9EYXRhVHJhbnNhY3Rpb24EA2R0eAUHJG1hdGNoMAcJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAIBQJ0eA9zZW5kZXJQdWJsaWNLZXkqN9X2", "height": 2481647, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6y5mXHWyoT5BUa2uA45J8w2JtBUqD8Qqx1ugtK9GVtKU Next: GZRhmZTwAjnCBv5o4dyRam5txBdjFbvn9kUkayjvZhJD Diff:
OldNewDifferences
3636 if ((k != "no admin"))
3737 then {
3838 let l = Reissue(fromBase58String(d), e, true)
39- $Tuple2([l], "Reissue error")
39+ $Tuple2([l], {
40+ let m = l
41+ if ($isInstanceOf(m, "String"))
42+ then m
43+ else unit
44+ })
4045 }
4146 else throw((((((("You not admin: " + f) + ", isAdmin: ") + k) + ", callerAddressStr: ") + i) + ", "))
4247 }
4651
4752
4853 @Callable(c)
49-func setOptions (m,n) = {
50- let o = size(m)
51- if ((100 >= o))
54+func setOptions (n,o) = {
55+ let p = size(n)
56+ if ((100 >= p))
5257 then {
5358 let f = {
5459 let g = getString(this, "admin_list")
6166 }
6267 else throw("Match error")
6368 }
64- func p (q,r) = {
65- let s = q
66- let t = s._1
67- let u = s._2
68- $Tuple2((t :+ StringEntry(m[u], r)), (u + 1))
69+ func q (r,s) = {
70+ let t = r
71+ let u = t._1
72+ let v = t._2
73+ $Tuple2((u :+ StringEntry(n[v], s)), (v + 1))
6974 }
7075
71- let v = {
72- let w = n
73- let x = size(w)
74- let y = $Tuple2(nil, 0)
75- func z (A,B) = if ((B >= x))
76- then A
77- else p(A, w[B])
76+ let w = {
77+ let x = o
78+ let y = size(x)
79+ let z = $Tuple2(nil, 0)
80+ func A (B,C) = if ((C >= y))
81+ then B
82+ else q(B, x[C])
7883
79- func C (A,B) = if ((B >= x))
80- then A
84+ func D (B,C) = if ((C >= y))
85+ then B
8186 else throw("List size exceeds 100")
8287
83- C(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(y, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100)
88+ D(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(z, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100)
8489 }
8590 let i = toString(c.caller)
8691 if ((f != "unset"))
97102 then "no admin"
98103 else throw("Match error")
99104 }
100- func D (E) = {
101- let F = split(E, "|")
102- StringEntry(F[0], F[1])
105+ func E (F) = {
106+ let G = split(F, "|")
107+ StringEntry(G[0], G[1])
103108 }
104109
105110 if ((k != "no admin"))
106- then v
111+ then w
107112 else throw((((((("You not admin: " + f) + ", isAdmin: ") + k) + ", callerAddressStr: ") + i) + ", "))
108113 }
109114 else throw("Unset admin list")
114119
115120
116121 @Callable(c)
117-func setOption (G,H) = {
122+func setOption (H,I) = {
118123 let f = {
119124 let g = getString(this, "admin_list")
120125 if ($isInstanceOf(g, "Unit"))
142147 else throw("Match error")
143148 }
144149 if ((k != "no admin"))
145- then $Tuple2([StringEntry(G, H)], unit)
150+ then $Tuple2([StringEntry(H, I)], unit)
146151 else throw((((((("You not admin: " + f) + ", isAdmin: ") + k) + ", callerAddressStr: ") + i) + ", "))
147152 }
148153 else throw("Unset admin list")
151156
152157
153158 @Callable(c)
154-func delOption (G) = {
159+func delOption (H) = {
155160 let f = {
156161 let g = getString(this, "admin_list")
157162 if ($isInstanceOf(g, "Unit"))
179184 else throw("Match error")
180185 }
181186 if ((k != "no admin"))
182- then $Tuple2([DeleteEntry(G)], unit)
187+ then $Tuple2([DeleteEntry(H)], unit)
183188 else throw((((((("You not admin: " + f) + ", isAdmin: ") + k) + ", callerAddressStr: ") + i) + ", "))
184189 }
185190 else throw("Unset admin list")
188193
189194
190195 @Callable(c)
191-func regProvider (I,J,K) = {
192- let L = {
196+func regProvider (J,K,L) = {
197+ let M = {
193198 let g = getString(this, toBase58String(c.caller.bytes))
194199 if ($isInstanceOf(g, "String"))
195200 then {
196- let M = g
197- M
201+ let N = g
202+ N
198203 }
199204 else "unset"
200205 }
201- if ((L != "unset"))
202- then $Tuple2([StringEntry(toBase58String(c.caller.bytes), ((((I + "|") + J) + "|") + K)), ScriptTransfer(c.caller, 1000000, unit), ScriptTransfer(c.caller, 1000000, b)], unit)
206+ if ((M != "unset"))
207+ then $Tuple2([StringEntry(toBase58String(c.caller.bytes), ((((J + "|") + K) + "|") + L)), ScriptTransfer(c.caller, 1000000, unit), ScriptTransfer(c.caller, 1000000, b)], unit)
203208 else throw("Can be used only once")
204209 }
205210
206211
207-@Verifier(N)
208-func O () = {
209- let g = N
212+@Verifier(O)
213+func P () = {
214+ let g = O
210215 if ($isInstanceOf(g, "DataTransaction"))
211216 then {
212- let P = g
217+ let Q = g
213218 false
214219 }
215- else sigVerify(N.bodyBytes, N.proofs[0], N.senderPublicKey)
220+ else sigVerify(O.bodyBytes, O.proofs[0], O.senderPublicKey)
216221 }
217222
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = Address(base58'3MusfsY6PqDh1YnF7YyTi5ffVT16Dm2bqf6')
55
66 let b = base58'CX4p6XcuSBUvv44r1avCqYka5PYAVzBK5hSXaT7maU85'
77
88 @Callable(c)
99 func reissueTokens (d,e) = {
1010 let f = {
1111 let g = getString(a, "admin_list")
1212 if ($isInstanceOf(g, "Unit"))
1313 then "unset"
1414 else if ($isInstanceOf(g, "String"))
1515 then {
1616 let h = g
1717 h
1818 }
1919 else throw("Match error")
2020 }
2121 let i = toString(c.caller)
2222 if ((f != "unset"))
2323 then {
2424 let j = getString(addressFromStringValue(f), i)
2525 let k = {
2626 let g = j
2727 if ($isInstanceOf(g, "String"))
2828 then {
2929 let h = g
3030 h
3131 }
3232 else if ($isInstanceOf(g, "Unit"))
3333 then "no admin"
3434 else throw("Match error")
3535 }
3636 if ((k != "no admin"))
3737 then {
3838 let l = Reissue(fromBase58String(d), e, true)
39- $Tuple2([l], "Reissue error")
39+ $Tuple2([l], {
40+ let m = l
41+ if ($isInstanceOf(m, "String"))
42+ then m
43+ else unit
44+ })
4045 }
4146 else throw((((((("You not admin: " + f) + ", isAdmin: ") + k) + ", callerAddressStr: ") + i) + ", "))
4247 }
4348 else throw("Unset admin list")
4449 }
4550
4651
4752
4853 @Callable(c)
49-func setOptions (m,n) = {
50- let o = size(m)
51- if ((100 >= o))
54+func setOptions (n,o) = {
55+ let p = size(n)
56+ if ((100 >= p))
5257 then {
5358 let f = {
5459 let g = getString(this, "admin_list")
5560 if ($isInstanceOf(g, "Unit"))
5661 then "unset"
5762 else if ($isInstanceOf(g, "String"))
5863 then {
5964 let h = g
6065 h
6166 }
6267 else throw("Match error")
6368 }
64- func p (q,r) = {
65- let s = q
66- let t = s._1
67- let u = s._2
68- $Tuple2((t :+ StringEntry(m[u], r)), (u + 1))
69+ func q (r,s) = {
70+ let t = r
71+ let u = t._1
72+ let v = t._2
73+ $Tuple2((u :+ StringEntry(n[v], s)), (v + 1))
6974 }
7075
71- let v = {
72- let w = n
73- let x = size(w)
74- let y = $Tuple2(nil, 0)
75- func z (A,B) = if ((B >= x))
76- then A
77- else p(A, w[B])
76+ let w = {
77+ let x = o
78+ let y = size(x)
79+ let z = $Tuple2(nil, 0)
80+ func A (B,C) = if ((C >= y))
81+ then B
82+ else q(B, x[C])
7883
79- func C (A,B) = if ((B >= x))
80- then A
84+ func D (B,C) = if ((C >= y))
85+ then B
8186 else throw("List size exceeds 100")
8287
83- C(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(z(y, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100)
88+ D(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(z, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100)
8489 }
8590 let i = toString(c.caller)
8691 if ((f != "unset"))
8792 then {
8893 let j = getString(addressFromStringValue(f), i)
8994 let k = {
9095 let g = j
9196 if ($isInstanceOf(g, "String"))
9297 then {
9398 let h = g
9499 h
95100 }
96101 else if ($isInstanceOf(g, "Unit"))
97102 then "no admin"
98103 else throw("Match error")
99104 }
100- func D (E) = {
101- let F = split(E, "|")
102- StringEntry(F[0], F[1])
105+ func E (F) = {
106+ let G = split(F, "|")
107+ StringEntry(G[0], G[1])
103108 }
104109
105110 if ((k != "no admin"))
106- then v
111+ then w
107112 else throw((((((("You not admin: " + f) + ", isAdmin: ") + k) + ", callerAddressStr: ") + i) + ", "))
108113 }
109114 else throw("Unset admin list")
110115 }
111116 else throw("The number of list elements must not exceed 100")
112117 }
113118
114119
115120
116121 @Callable(c)
117-func setOption (G,H) = {
122+func setOption (H,I) = {
118123 let f = {
119124 let g = getString(this, "admin_list")
120125 if ($isInstanceOf(g, "Unit"))
121126 then "unset"
122127 else if ($isInstanceOf(g, "String"))
123128 then {
124129 let h = g
125130 h
126131 }
127132 else throw("Match error")
128133 }
129134 let i = toString(c.caller)
130135 if ((f != "unset"))
131136 then {
132137 let j = getString(addressFromStringValue(f), i)
133138 let k = {
134139 let g = j
135140 if ($isInstanceOf(g, "String"))
136141 then {
137142 let h = g
138143 h
139144 }
140145 else if ($isInstanceOf(g, "Unit"))
141146 then "no admin"
142147 else throw("Match error")
143148 }
144149 if ((k != "no admin"))
145- then $Tuple2([StringEntry(G, H)], unit)
150+ then $Tuple2([StringEntry(H, I)], unit)
146151 else throw((((((("You not admin: " + f) + ", isAdmin: ") + k) + ", callerAddressStr: ") + i) + ", "))
147152 }
148153 else throw("Unset admin list")
149154 }
150155
151156
152157
153158 @Callable(c)
154-func delOption (G) = {
159+func delOption (H) = {
155160 let f = {
156161 let g = getString(this, "admin_list")
157162 if ($isInstanceOf(g, "Unit"))
158163 then "unset"
159164 else if ($isInstanceOf(g, "String"))
160165 then {
161166 let h = g
162167 h
163168 }
164169 else throw("Match error")
165170 }
166171 let i = toString(c.caller)
167172 if ((f != "unset"))
168173 then {
169174 let j = getString(addressFromStringValue(f), i)
170175 let k = {
171176 let g = j
172177 if ($isInstanceOf(g, "String"))
173178 then {
174179 let h = g
175180 h
176181 }
177182 else if ($isInstanceOf(g, "Unit"))
178183 then "no admin"
179184 else throw("Match error")
180185 }
181186 if ((k != "no admin"))
182- then $Tuple2([DeleteEntry(G)], unit)
187+ then $Tuple2([DeleteEntry(H)], unit)
183188 else throw((((((("You not admin: " + f) + ", isAdmin: ") + k) + ", callerAddressStr: ") + i) + ", "))
184189 }
185190 else throw("Unset admin list")
186191 }
187192
188193
189194
190195 @Callable(c)
191-func regProvider (I,J,K) = {
192- let L = {
196+func regProvider (J,K,L) = {
197+ let M = {
193198 let g = getString(this, toBase58String(c.caller.bytes))
194199 if ($isInstanceOf(g, "String"))
195200 then {
196- let M = g
197- M
201+ let N = g
202+ N
198203 }
199204 else "unset"
200205 }
201- if ((L != "unset"))
202- then $Tuple2([StringEntry(toBase58String(c.caller.bytes), ((((I + "|") + J) + "|") + K)), ScriptTransfer(c.caller, 1000000, unit), ScriptTransfer(c.caller, 1000000, b)], unit)
206+ if ((M != "unset"))
207+ then $Tuple2([StringEntry(toBase58String(c.caller.bytes), ((((J + "|") + K) + "|") + L)), ScriptTransfer(c.caller, 1000000, unit), ScriptTransfer(c.caller, 1000000, b)], unit)
203208 else throw("Can be used only once")
204209 }
205210
206211
207-@Verifier(N)
208-func O () = {
209- let g = N
212+@Verifier(O)
213+func P () = {
214+ let g = O
210215 if ($isInstanceOf(g, "DataTransaction"))
211216 then {
212- let P = g
217+ let Q = g
213218 false
214219 }
215- else sigVerify(N.bodyBytes, N.proofs[0], N.senderPublicKey)
220+ else sigVerify(O.bodyBytes, O.proofs[0], O.senderPublicKey)
216221 }
217222

github/deemru/w8io/169f3d6 
70.82 ms