tx · 3CBpjNjfvuP7S7HCbJq4t8eDp72gGJeqUHU1mE8ivcai

3N1Epwa6GQuTQr2K9WzeUcqSFCdERwuvL5T:  -0.01400000 Waves

2022.05.11 16:32 [2047071] smart account 3N1Epwa6GQuTQr2K9WzeUcqSFCdERwuvL5T > SELF 0.00000000 Waves

{ "type": 13, "id": "3CBpjNjfvuP7S7HCbJq4t8eDp72gGJeqUHU1mE8ivcai", "fee": 1400000, "feeAssetId": null, "timestamp": 1652276025450, "version": 1, "sender": "3N1Epwa6GQuTQr2K9WzeUcqSFCdERwuvL5T", "senderPublicKey": "7iXEgsFNsnbLZ3ca4tmz8jffnyxMu9keuBV6CuQPJLuA", "proofs": [ "5EhmXR2FCtHrKanK1KgKqBKR6FSNeypgEWzV9CvXvwiAyJFcKUb49Ghx8tEYbY1dqwP6xXKGWz7QW2hW7Hk5RJZ3" ], "script": "base64:AAIFAAAAAAAAADQIAhILCgkICAgIAQgBCAESBAoCCAgSBQoDCAgEEgQKAggIEgMKAQESBAoCCAgSAwoBCBIAAAAAHAAAAAAJc2VwYXJhdG9yAgAAAAJfXwAAAAAMa2V5RmVlQW1vdW50CQAEuQAAAAIJAARMAAAAAgIAAAACJXMJAARMAAAAAgIAAAADZmVlBQAAAANuaWwFAAAACXNlcGFyYXRvcgAAAAAOa2V5VXNkbkFzc2V0SWQJAAS5AAAAAgkABEwAAAACAgAAAAIlcwkABEwAAAACAgAAAAt1c2RuQXNzZXRJZAUAAAADbmlsBQAAAAlzZXBhcmF0b3IAAAAAEWtleVZvdGluZ0R1cmF0aW9uCQAEuQAAAAIJAARMAAAAAgIAAAACJXMJAARMAAAAAgIAAAALZXBvY2hMZW5ndGgFAAAAA25pbAUAAAAJc2VwYXJhdG9yAAAAABFrZXlGaW5hbGl6ZVJld2FyZAkABLkAAAACCQAETAAAAAICAAAAAiVzCQAETAAAAAICAAAADmZpbmFsaXplUmV3YXJkBQAAAANuaWwFAAAACXNlcGFyYXRvcgAAAAASa2V5Vm90aW5n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S2V5T3JVbml0AAAAAAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAKQnl0ZVZlY3RvcgQAAAACcGsFAAAAByRtYXRjaDAFAAAAAnBrAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAARVbml0CAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5CQAAAgAAAAECAAAAC01hdGNoIGVycm9yCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAAPdGFyZ2V0UHVibGljS2V51Jc6MQ==", "chainId": 84, "height": 2047071, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 7yXFtrVdX8up8moYTCL1Sqa2A4vs5uJPBjwGh28GWdj3 Next: 6FAX2uLk4oBSHzCdLXJGbGf1Qc4zyNUgQt6zrwRSAz7u Diff:
OldNewDifferences
140140 then true
141141 else throw("Invalid USDN asset ID")]
142142 if ((aa == aa))
143- then $Tuple2([StringEntry(h, R), StringEntry(i, S), StringEntry(j, U), IntegerEntry(b, V), IntegerEntry(d, X), IntegerEntry(e, Z), StringEntry(g, W), StringEntry(c, Y)], unit)
143+ then $Tuple2([StringEntry(h, R), StringEntry(i, S), StringEntry(j, U), IntegerEntry(b, V), IntegerEntry(d, X), IntegerEntry(e, Z), StringEntry(g, W), StringEntry(c, Y), StringEntry(k, T)], unit)
144144 else throw("Strict value is not equal to itself.")
145145 }
146146
217217 let ak = aj[1]
218218 let al = aj[2]
219219 let y = invoke(E, "getUserGwxAmountAtHeightREADONLY", [toString(L.caller), ai], nil)
220- let am = if (ah)
220+ let am = if ((O(y) > 0))
221+ then true
222+ else throw("you don't have gwx")
223+ if ((am == am))
221224 then {
222- let an = (parseIntValue(ak) + O(y))
223- let ao = v(o, p, toString(L.caller))
224- let ap = x(toString(O(y)), ah)
225- $Tuple2([StringEntry(r(o, p), s(toString(an), al)), StringEntry(ao, ap)], unit)
225+ let an = if (ah)
226+ then {
227+ let ao = (parseIntValue(ak) + O(y))
228+ let ap = v(o, p, toString(L.caller))
229+ let aq = x(toString(O(y)), ah)
230+ $Tuple2([StringEntry(r(o, p), s(toString(ao), al)), StringEntry(ap, aq)], unit)
231+ }
232+ else {
233+ let ar = (parseIntValue(al) + O(y))
234+ let as = v(o, p, toString(L.caller))
235+ let at = x(toString(O(y)), ah)
236+ $Tuple2([StringEntry(r(o, p), s(ak, toString(ar))), StringEntry(as, at)], unit)
237+ }
238+ an
226239 }
227- else {
228- let aq = (parseIntValue(al) + O(y))
229- let ar = v(o, p, toString(L.caller))
230- let as = x(toString(O(y)), ah)
231- $Tuple2([StringEntry(r(o, p), s(ak, toString(aq))), StringEntry(ar, as)], unit)
232- }
233- am
240+ else throw("Strict value is not equal to itself.")
234241 }
235242 else throw("Strict value is not equal to itself.")
236243 }
245252 if ((aa == aa))
246253 then {
247254 let z = split(value(getString(v(o, p, toString(L.caller)))), a)
248- let at = z[1]
249- let au = z[2]
255+ let au = z[1]
256+ let av = z[2]
250257 let aj = split(value(getString(r(o, p))), a)
251258 let ak = aj[1]
252259 let al = aj[2]
253- let av = if ((au == "yes"))
260+ let aw = if ((av == "yes"))
254261 then {
255- let an = (parseIntValue(ak) - parseIntValue(at))
256- $Tuple2([StringEntry(r(o, p), s(toString(an), al)), DeleteEntry(v(o, p, toString(L.caller)))], unit)
262+ let ao = (parseIntValue(ak) - parseIntValue(au))
263+ $Tuple2([StringEntry(r(o, p), s(toString(ao), al)), DeleteEntry(v(o, p, toString(L.caller)))], unit)
257264 }
258265 else {
259- let aq = (parseIntValue(al) - parseIntValue(at))
260- $Tuple2([StringEntry(r(o, p), s(ak, toString(aq))), DeleteEntry(v(o, p, toString(L.caller)))], unit)
266+ let ar = (parseIntValue(al) - parseIntValue(au))
267+ $Tuple2([StringEntry(r(o, p), s(ak, toString(ar))), DeleteEntry(v(o, p, toString(L.caller)))], unit)
261268 }
262- av
269+ aw
263270 }
264271 else throw("Strict value is not equal to itself.")
265272 }
267274
268275
269276 @Callable(L)
270-func setFee (aw) = {
277+func setFee (ax) = {
271278 let aa = [K(L)]
272279 if ((aa == aa))
273- then [IntegerEntry(b, aw)]
280+ then [IntegerEntry(b, ax)]
274281 else throw("Strict value is not equal to itself.")
275282 }
276283
289296 let aj = split(value(getString(r(o, p))), a)
290297 let ak = parseIntValue(aj[1])
291298 let al = parseIntValue(aj[2])
292- let av = if ((ak > al))
299+ let aw = if ((ak > al))
293300 then {
294- let ax = invoke(F, "setPoolLabels", [o, p, "WX_EMISSION"], nil)
295- if ((ax == ax))
301+ let ay = invoke(F, "setPoolLabels", [o, p, "WX_EMISSION"], nil)
302+ if ((ay == ay))
296303 then $Tuple2([DeleteEntry(n(o, p))], unit)
297304 else throw("Strict value is not equal to itself.")
298305 }
299306 else $Tuple2([DeleteEntry(n(o, p))], unit)
300- av
307+ aw
301308 }
302309 else throw("Strict value is not equal to itself.")
303310 }
305312
306313
307314 @Callable(L)
308-func setManager (ay) = {
309- let az = K(L)
310- if ((az == az))
315+func setManager (az) = {
316+ let aA = K(L)
317+ if ((aA == aA))
311318 then {
312- let aA = fromBase58String(ay)
313- if ((aA == aA))
314- then [StringEntry(B(), ay)]
319+ let aB = fromBase58String(az)
320+ if ((aB == aB))
321+ then [StringEntry(B(), az)]
315322 else throw("Strict value is not equal to itself.")
316323 }
317324 else throw("Strict value is not equal to itself.")
321328
322329 @Callable(L)
323330 func confirmManager () = {
324- let aB = J()
325- let aC = if (isDefined(aB))
331+ let aC = J()
332+ let aD = if (isDefined(aC))
326333 then true
327334 else throw("No pending manager")
328- if ((aC == aC))
335+ if ((aD == aD))
329336 then {
330- let aD = if ((L.callerPublicKey == value(aB)))
337+ let aE = if ((L.callerPublicKey == value(aC)))
331338 then true
332339 else throw("You are not pending manager")
333- if ((aD == aD))
334- then [StringEntry(A(), toBase58String(value(aB))), DeleteEntry(B())]
340+ if ((aE == aE))
341+ then [StringEntry(A(), toBase58String(value(aC))), DeleteEntry(B())]
335342 else throw("Strict value is not equal to itself.")
336343 }
337344 else throw("Strict value is not equal to itself.")
338345 }
339346
340347
341-@Verifier(aE)
342-func aF () = {
343- let aG = {
348+@Verifier(aF)
349+func aG () = {
350+ let aH = {
344351 let H = G()
345352 if ($isInstanceOf(H, "ByteVector"))
346353 then {
348355 N
349356 }
350357 else if ($isInstanceOf(H, "Unit"))
351- then aE.senderPublicKey
358+ then aF.senderPublicKey
352359 else throw("Match error")
353360 }
354- sigVerify(aE.bodyBytes, aE.proofs[0], aG)
361+ sigVerify(aF.bodyBytes, aF.proofs[0], aH)
355362 }
356363
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "__"
55
66 let b = makeString(["%s", "fee"], a)
77
88 let c = makeString(["%s", "usdnAssetId"], a)
99
1010 let d = makeString(["%s", "epochLength"], a)
1111
1212 let e = makeString(["%s", "finalizeReward"], a)
1313
1414 let f = makeString(["%s", "votingThreshold"], a)
1515
1616 let g = makeString(["%s", "wxAssetId"], a)
1717
1818 let h = makeString(["%s", "assetsStoreContract"], a)
1919
2020 let i = makeString(["%s", "userPoolContract"], a)
2121
2222 let j = makeString(["%s", "emissionContract"], a)
2323
2424 let k = makeString(["%s", "boostingContract"], a)
2525
2626 func l (m) = valueOrErrorMessage(getString(this, m), (m + " is not defined"))
2727
2828
2929 func n (o,p) = makeString(["%s%s%s", "inList", o, p], a)
3030
3131
3232 func q (o,p) = makeString(["%s%s%s", "startHeight", o, p], a)
3333
3434
3535 func r (o,p) = makeString(["%s%s%s", "votingResult", o, p], a)
3636
3737
3838 func s (t,u) = makeString(["%d%d", t, u], a)
3939
4040
4141 func v (o,p,w) = makeString(["%s%s%s%s", "vote", o, p, w], a)
4242
4343
4444 func x (y,z) = {
4545 let m = if (z)
4646 then makeString(["%d%s", y, "yes"], a)
4747 else makeString(["%d%s", y, "no"], a)
4848 m
4949 }
5050
5151
5252 func A () = "%s__managerPublicKey"
5353
5454
5555 func B () = "%s__pendingManagerPublicKey"
5656
5757
5858 let C = addressFromStringValue(l(j))
5959
6060 let D = addressFromStringValue(l(i))
6161
6262 let E = addressFromStringValue(l(k))
6363
6464 let F = addressFromStringValue(l(h))
6565
6666 func G () = {
6767 let H = getString(A())
6868 if ($isInstanceOf(H, "String"))
6969 then {
7070 let I = H
7171 fromBase58String(I)
7272 }
7373 else if ($isInstanceOf(H, "Unit"))
7474 then unit
7575 else throw("Match error")
7676 }
7777
7878
7979 func J () = {
8080 let H = getString(B())
8181 if ($isInstanceOf(H, "String"))
8282 then {
8383 let I = H
8484 fromBase58String(I)
8585 }
8686 else if ($isInstanceOf(H, "Unit"))
8787 then unit
8888 else throw("Match error")
8989 }
9090
9191
9292 func K (L) = {
9393 let M = throw("Permission denied")
9494 let H = G()
9595 if ($isInstanceOf(H, "ByteVector"))
9696 then {
9797 let N = H
9898 if ((L.callerPublicKey == N))
9999 then true
100100 else M
101101 }
102102 else if ($isInstanceOf(H, "Unit"))
103103 then if ((L.caller == this))
104104 then true
105105 else M
106106 else throw("Match error")
107107 }
108108
109109
110110 func O (P) = {
111111 let H = P
112112 if ($isInstanceOf(H, "Int"))
113113 then {
114114 let Q = H
115115 Q
116116 }
117117 else throw("Failed to cast into Integer")
118118 }
119119
120120
121121 @Callable(L)
122122 func constructor (R,S,T,U,V,W,X,Y,Z) = {
123123 let aa = [K(L), if (isDefined(addressFromString(R)))
124124 then true
125125 else throw("Invalid asset_store contract address"), if (isDefined(addressFromString(T)))
126126 then true
127127 else throw("Invalid boosting contract address"), if (isDefined(addressFromString(S)))
128128 then true
129129 else throw("Invalid user_pools contract address"), if (isDefined(addressFromString(U)))
130130 then true
131131 else throw("Invalid emission contract address"), if ((V >= 0))
132132 then true
133133 else throw("Invalid fee amount"), if ((X > 0))
134134 then true
135135 else throw("Invalid voting duration"), if ((Z > 0))
136136 then true
137137 else throw("Invalid finalize reward"), if (isDefined(assetInfo(fromBase58String(W))))
138138 then true
139139 else throw("Invalid WX asset ID"), if (isDefined(assetInfo(fromBase58String(Y))))
140140 then true
141141 else throw("Invalid USDN asset ID")]
142142 if ((aa == aa))
143- then $Tuple2([StringEntry(h, R), StringEntry(i, S), StringEntry(j, U), IntegerEntry(b, V), IntegerEntry(d, X), IntegerEntry(e, Z), StringEntry(g, W), StringEntry(c, Y)], unit)
143+ then $Tuple2([StringEntry(h, R), StringEntry(i, S), StringEntry(j, U), IntegerEntry(b, V), IntegerEntry(d, X), IntegerEntry(e, Z), StringEntry(g, W), StringEntry(c, Y), StringEntry(k, T)], unit)
144144 else throw("Strict value is not equal to itself.")
145145 }
146146
147147
148148
149149 @Callable(L)
150150 func suggest (o,p) = {
151151 let ab = value(L.payments[0])
152152 let ac = valueOrErrorMessage(assetInfo(fromBase58String(o)), "Invalid amountAssetId ID")
153153 let aa = [if ((ac.issuer == L.caller))
154154 then true
155155 else throw("Asset can only be suggested by its issuer"), if ((ac.scripted == false))
156156 then true
157157 else throw("Asset is smart"), if ((toBase58String(value(ab.assetId)) == value(getString(g))))
158158 then true
159159 else throw("Invalid fee asset"), if ((ab.amount == value(getInteger(b))))
160160 then true
161161 else throw("Invalid fee amount"), if ((p == value(getString(c))))
162162 then true
163163 else throw("priceAssetId is not USDN"), if ((getBoolean(n(o, p)) == unit))
164164 then true
165165 else throw("Already in voting list")]
166166 if ((aa == aa))
167167 then {
168168 let ad = {
169169 let H = invoke(D, "statusREADONLY", [o, p], nil)
170170 if ($isInstanceOf(H, "String"))
171171 then {
172172 let I = H
173173 if ((I == "active"))
174174 then true
175175 else throw("User pool is not active")
176176 }
177177 else throw("User pool is not active")
178178 }
179179 if ((ad == ad))
180180 then {
181181 let ae = {
182182 let H = invoke(F, "isVerifiedREADONLY", [o], nil)
183183 if ($isInstanceOf(H, "Boolean"))
184184 then {
185185 let af = H
186186 af
187187 }
188188 else throw("Asset is not verified")
189189 }
190190 if ((ae == ae))
191191 then {
192192 let ag = invoke(C, "burn", nil, [AttachedPayment(ab.assetId, ab.amount)])
193193 if ((ag == ag))
194194 then [BooleanEntry(n(o, p), true), IntegerEntry(q(o, p), height), StringEntry(r(o, p), s("0", "0"))]
195195 else throw("Strict value is not equal to itself.")
196196 }
197197 else throw("Strict value is not equal to itself.")
198198 }
199199 else throw("Strict value is not equal to itself.")
200200 }
201201 else throw("Strict value is not equal to itself.")
202202 }
203203
204204
205205
206206 @Callable(L)
207207 func vote (o,p,ah) = {
208208 let ai = (value(getInteger(q(o, p))) + value(getInteger(d)))
209209 let aa = [if (valueOrElse(getBoolean(n(o, p)), false))
210210 then true
211211 else throw("The token isn't on the voting list"), if ((ai > height))
212212 then true
213213 else throw("too late to vote")]
214214 if ((aa == aa))
215215 then {
216216 let aj = split(value(getString(r(o, p))), a)
217217 let ak = aj[1]
218218 let al = aj[2]
219219 let y = invoke(E, "getUserGwxAmountAtHeightREADONLY", [toString(L.caller), ai], nil)
220- let am = if (ah)
220+ let am = if ((O(y) > 0))
221+ then true
222+ else throw("you don't have gwx")
223+ if ((am == am))
221224 then {
222- let an = (parseIntValue(ak) + O(y))
223- let ao = v(o, p, toString(L.caller))
224- let ap = x(toString(O(y)), ah)
225- $Tuple2([StringEntry(r(o, p), s(toString(an), al)), StringEntry(ao, ap)], unit)
225+ let an = if (ah)
226+ then {
227+ let ao = (parseIntValue(ak) + O(y))
228+ let ap = v(o, p, toString(L.caller))
229+ let aq = x(toString(O(y)), ah)
230+ $Tuple2([StringEntry(r(o, p), s(toString(ao), al)), StringEntry(ap, aq)], unit)
231+ }
232+ else {
233+ let ar = (parseIntValue(al) + O(y))
234+ let as = v(o, p, toString(L.caller))
235+ let at = x(toString(O(y)), ah)
236+ $Tuple2([StringEntry(r(o, p), s(ak, toString(ar))), StringEntry(as, at)], unit)
237+ }
238+ an
226239 }
227- else {
228- let aq = (parseIntValue(al) + O(y))
229- let ar = v(o, p, toString(L.caller))
230- let as = x(toString(O(y)), ah)
231- $Tuple2([StringEntry(r(o, p), s(ak, toString(aq))), StringEntry(ar, as)], unit)
232- }
233- am
240+ else throw("Strict value is not equal to itself.")
234241 }
235242 else throw("Strict value is not equal to itself.")
236243 }
237244
238245
239246
240247 @Callable(L)
241248 func cancelVote (o,p) = {
242249 let aa = [if (isDefined(getString(r(o, p))))
243250 then true
244251 else throw("No vote for assets pair")]
245252 if ((aa == aa))
246253 then {
247254 let z = split(value(getString(v(o, p, toString(L.caller)))), a)
248- let at = z[1]
249- let au = z[2]
255+ let au = z[1]
256+ let av = z[2]
250257 let aj = split(value(getString(r(o, p))), a)
251258 let ak = aj[1]
252259 let al = aj[2]
253- let av = if ((au == "yes"))
260+ let aw = if ((av == "yes"))
254261 then {
255- let an = (parseIntValue(ak) - parseIntValue(at))
256- $Tuple2([StringEntry(r(o, p), s(toString(an), al)), DeleteEntry(v(o, p, toString(L.caller)))], unit)
262+ let ao = (parseIntValue(ak) - parseIntValue(au))
263+ $Tuple2([StringEntry(r(o, p), s(toString(ao), al)), DeleteEntry(v(o, p, toString(L.caller)))], unit)
257264 }
258265 else {
259- let aq = (parseIntValue(al) - parseIntValue(at))
260- $Tuple2([StringEntry(r(o, p), s(ak, toString(aq))), DeleteEntry(v(o, p, toString(L.caller)))], unit)
266+ let ar = (parseIntValue(al) - parseIntValue(au))
267+ $Tuple2([StringEntry(r(o, p), s(ak, toString(ar))), DeleteEntry(v(o, p, toString(L.caller)))], unit)
261268 }
262- av
269+ aw
263270 }
264271 else throw("Strict value is not equal to itself.")
265272 }
266273
267274
268275
269276 @Callable(L)
270-func setFee (aw) = {
277+func setFee (ax) = {
271278 let aa = [K(L)]
272279 if ((aa == aa))
273- then [IntegerEntry(b, aw)]
280+ then [IntegerEntry(b, ax)]
274281 else throw("Strict value is not equal to itself.")
275282 }
276283
277284
278285
279286 @Callable(L)
280287 func finalize (o,p) = {
281288 let ai = (value(getInteger(q(o, p))) + value(getInteger(d)))
282289 let aa = [if (isDefined(getBoolean(n(o, p))))
283290 then true
284291 else throw("No assets pair"), if ((height >= ai))
285292 then true
286293 else throw("insufficient height for completion")]
287294 if ((aa == aa))
288295 then {
289296 let aj = split(value(getString(r(o, p))), a)
290297 let ak = parseIntValue(aj[1])
291298 let al = parseIntValue(aj[2])
292- let av = if ((ak > al))
299+ let aw = if ((ak > al))
293300 then {
294- let ax = invoke(F, "setPoolLabels", [o, p, "WX_EMISSION"], nil)
295- if ((ax == ax))
301+ let ay = invoke(F, "setPoolLabels", [o, p, "WX_EMISSION"], nil)
302+ if ((ay == ay))
296303 then $Tuple2([DeleteEntry(n(o, p))], unit)
297304 else throw("Strict value is not equal to itself.")
298305 }
299306 else $Tuple2([DeleteEntry(n(o, p))], unit)
300- av
307+ aw
301308 }
302309 else throw("Strict value is not equal to itself.")
303310 }
304311
305312
306313
307314 @Callable(L)
308-func setManager (ay) = {
309- let az = K(L)
310- if ((az == az))
315+func setManager (az) = {
316+ let aA = K(L)
317+ if ((aA == aA))
311318 then {
312- let aA = fromBase58String(ay)
313- if ((aA == aA))
314- then [StringEntry(B(), ay)]
319+ let aB = fromBase58String(az)
320+ if ((aB == aB))
321+ then [StringEntry(B(), az)]
315322 else throw("Strict value is not equal to itself.")
316323 }
317324 else throw("Strict value is not equal to itself.")
318325 }
319326
320327
321328
322329 @Callable(L)
323330 func confirmManager () = {
324- let aB = J()
325- let aC = if (isDefined(aB))
331+ let aC = J()
332+ let aD = if (isDefined(aC))
326333 then true
327334 else throw("No pending manager")
328- if ((aC == aC))
335+ if ((aD == aD))
329336 then {
330- let aD = if ((L.callerPublicKey == value(aB)))
337+ let aE = if ((L.callerPublicKey == value(aC)))
331338 then true
332339 else throw("You are not pending manager")
333- if ((aD == aD))
334- then [StringEntry(A(), toBase58String(value(aB))), DeleteEntry(B())]
340+ if ((aE == aE))
341+ then [StringEntry(A(), toBase58String(value(aC))), DeleteEntry(B())]
335342 else throw("Strict value is not equal to itself.")
336343 }
337344 else throw("Strict value is not equal to itself.")
338345 }
339346
340347
341-@Verifier(aE)
342-func aF () = {
343- let aG = {
348+@Verifier(aF)
349+func aG () = {
350+ let aH = {
344351 let H = G()
345352 if ($isInstanceOf(H, "ByteVector"))
346353 then {
347354 let N = H
348355 N
349356 }
350357 else if ($isInstanceOf(H, "Unit"))
351- then aE.senderPublicKey
358+ then aF.senderPublicKey
352359 else throw("Match error")
353360 }
354- sigVerify(aE.bodyBytes, aE.proofs[0], aG)
361+ sigVerify(aF.bodyBytes, aF.proofs[0], aH)
355362 }
356363

github/deemru/w8io/169f3d6 
62.39 ms