tx · 5Z1JkyR2dz4cb2Dj5tp9UrMtWcPMpuen9D5L3xvJzgxu

3Mx4GxjrawhKHBgMKH9C5Hmbj8ePZDrs8ed:  -0.01500000 Waves

2023.05.11 10:15 [2572909] smart account 3Mx4GxjrawhKHBgMKH9C5Hmbj8ePZDrs8ed > SELF 0.00000000 Waves

{ "type": 13, "id": "5Z1JkyR2dz4cb2Dj5tp9UrMtWcPMpuen9D5L3xvJzgxu", "fee": 1500000, "feeAssetId": null, "timestamp": 1683789365317, "version": 2, "chainId": 84, "sender": "3Mx4GxjrawhKHBgMKH9C5Hmbj8ePZDrs8ed", "senderPublicKey": "9DpEgmia9fGpxtGGDeSMtER4g9qB7WQPPYTKTHzqSFuX", "proofs": [ "tBrWjLXzgHGKauwNYaAzNzAYGzYig6qcTvxjU1KxoWAKC1Cydfc6U413QUXGJqUWzxRbRPEWQ9TWZmNRYZfNqgE" ], "script": "base64:BgJUCAISBgoECAgICBIJCgcICAgICAgIEgUKAwEIARIECgIBCBIDCgEIEgQKAgEEEgMKAQgSBQoDAQgBEgsKCQEICAEBAQEBBBIAEgASAwoBCBIDCgEIPwAJU0VQQVJBVE9SAgJfXwAIS0VZX0lOSVQCBElOSVQADEtFWV9NVUxUSVNJRwIITVVMVElTSUcACktFWV9TVEFUVVMCBlNUQVRVUwAKS0VZX1BBVVNFRAIGUEFVU0VEAApLRVlfUEFVU0VSAgZQQVVTRVIADEtFWV9FWEVDVVRPUgIIRVhFQ1VUT1IAEEtFWV9ST09UX0FEQVBURVICDFJPT1RfQURBUFRFUgATS0VZX0NBTExFUl9DT05UUkFDVAIPQ0FMTEVSX0NPTlRSQUNUAAlLRVlfQ0hBSU4CBUNIQUlOAAtLRVlfQklORElORwIHQklORElORwAHS0VZX0ZFRQIDRkVFABFLRVlfRkVFX1JFQ0lQSUVOVAINRkVFX1JFQ0lQSUVOVAAYS0VZX1JFRkVSUkVSX0ZFRV9QRVJDRU5UAhRSRUZFUlJFUl9GRUVfUEVSQ0VOVAAT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C5CQIJAMwIAgUKS0VZX1NUQVRVUwkAzAgCCQClCAEFBHRoaXMJAMwIAgkA2AQBCAUCdHgCaWQFA25pbAUJU0VQQVJBVE9SBwkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAgFAnR4D3NlbmRlclB1YmxpY0tleXdm2AQ=", "height": 2572909, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: AYFnp5rYW8kJxTU3XfHTS36TQmnTRmvNWWLoDDyZfUDy Next: CutHDDT3ZWqnnsLpCRLmXhXX1GbbmRJseeNLkgQeUveE Diff:
OldNewDifferences
2727
2828 let m = "FEE_RECIPIENT"
2929
30-let n = "releaseTokens"
30+let n = "REFERRER_FEE_PERCENT"
3131
32-let o = "WAVES"
32+let o = "releaseTokens"
3333
34-let p = 8
34+let p = "WAVES"
3535
36-let q = 6
36+let q = 8
3737
38-let r = 1000000
38+let r = 6
3939
40-let s = 9223372036854775807
40+let s = 1000000
4141
42-func t (u,v) = {
43- let w = addressFromString(u)
44- if ($isInstanceOf(w, "Address"))
42+let t = 200000
43+
44+let u = 9223372036854775807
45+
46+func v (w,x) = {
47+ let y = addressFromString(w)
48+ if ($isInstanceOf(y, "Address"))
4549 then {
46- let x = w
50+ let z = y
4751 true
4852 }
49- else throw(v)
53+ else throw(x)
5054 }
5155
5256
53-func y (z,v) = {
54- let w = assetInfo(fromBase58String(z))
55- if ($isInstanceOf(w, "Asset"))
57+func A (B,x) = {
58+ let y = assetInfo(fromBase58String(B))
59+ if ($isInstanceOf(y, "Asset"))
5660 then {
57- let x = w
61+ let z = y
5862 true
5963 }
60- else throw(v)
64+ else throw(x)
6165 }
6266
6367
64-func A (B,C,D,v) = if (if ((C > B))
68+func C (D,E,F,x) = if (if ((E > D))
6569 then true
66- else (B > D))
67- then throw(v)
70+ else (D > F))
71+ then throw(x)
6872 else true
6973
7074
71-func E (B,F,v) = if ((B != F))
72- then throw(v)
75+func G (D,H,x) = if ((D != H))
76+ then throw(x)
7377 else true
7478
7579
76-func G (H,F,v) = if ((size(H) != F))
77- then throw(v)
80+func I (J,H,x) = if ((size(J) != H))
81+ then throw(x)
7882 else true
7983
8084
81-func I (J,K,L) = if ((K >= L))
82- then (J / pow(10, 0, (K - L), 0, 0, DOWN))
83- else (J * pow(10, 0, (L - K), 0, 0, DOWN))
85+func K (L,M,N) = if ((M >= N))
86+ then (L / pow(10, 0, (M - N), 0, 0, DOWN))
87+ else (L * pow(10, 0, (N - M), 0, 0, DOWN))
8488
8589
86-func M () = {
87- let w = getBoolean(b)
88- if ($isInstanceOf(w, "Boolean"))
90+func O () = {
91+ let y = getBoolean(b)
92+ if ($isInstanceOf(y, "Boolean"))
8993 then {
90- let x = w
91- x
94+ let z = y
95+ z
9296 }
9397 else false
9498 }
9599
96100
97-func N (O) = [BooleanEntry(b, O)]
101+func P (Q) = [BooleanEntry(b, Q)]
98102
99103
100-func P () = {
101- let w = getBoolean(e)
102- if ($isInstanceOf(w, "Boolean"))
104+func R () = {
105+ let y = getBoolean(e)
106+ if ($isInstanceOf(y, "Boolean"))
103107 then {
104- let x = w
105- x
108+ let z = y
109+ z
106110 }
107111 else false
108112 }
109113
110114
111-func Q (R) = [BooleanEntry(e, R)]
115+func S (T) = [BooleanEntry(e, T)]
112116
113117
114-func S () = {
115- let w = getString(f)
116- if ($isInstanceOf(w, "String"))
118+func U () = {
119+ let y = getString(f)
120+ if ($isInstanceOf(y, "String"))
117121 then {
118- let x = w
119- addressFromStringValue(x)
122+ let z = y
123+ addressFromStringValue(z)
120124 }
121125 else Address(base58'')
122126 }
123127
124128
125-func T (U) = [StringEntry(f, toString(U))]
129+func V (W) = [StringEntry(f, toString(W))]
126130
127131
128-func V () = {
129- let w = getString(c)
130- if ($isInstanceOf(w, "String"))
132+func X () = {
133+ let y = getString(c)
134+ if ($isInstanceOf(y, "String"))
131135 then {
132- let x = w
133- addressFromStringValue(x)
136+ let z = y
137+ addressFromStringValue(z)
134138 }
135139 else Address(base58'')
136140 }
137141
138142
139-func W (X) = [StringEntry(c, toString(X))]
143+func Y (Z) = [StringEntry(c, toString(Z))]
140144
141145
142-func Y () = {
143- let w = getString(g)
144- if ($isInstanceOf(w, "String"))
146+func aa () = {
147+ let y = getString(g)
148+ if ($isInstanceOf(y, "String"))
145149 then {
146- let x = w
147- addressFromStringValue(x)
150+ let z = y
151+ addressFromStringValue(z)
148152 }
149153 else Address(base58'')
150154 }
151155
152156
153-func Z (aa) = [StringEntry(g, toString(aa))]
157+func ab (ac) = [StringEntry(g, toString(ac))]
154158
155159
156-func ab () = {
157- let w = getString(i)
158- if ($isInstanceOf(w, "String"))
160+func ad () = {
161+ let y = getString(i)
162+ if ($isInstanceOf(y, "String"))
159163 then {
160- let x = w
161- x
164+ let z = y
165+ z
162166 }
163167 else ""
164168 }
165169
166170
167-func ac (ad) = [StringEntry(i, ad)]
171+func ae (af) = [StringEntry(i, af)]
168172
169173
170-func ae (af) = {
171- let w = getBoolean(makeString([j, toString(af)], a))
172- if ($isInstanceOf(w, "Boolean"))
174+func ag (ah) = {
175+ let y = getBoolean(makeString([j, toString(ah)], a))
176+ if ($isInstanceOf(y, "Boolean"))
173177 then {
174- let x = w
175- x
178+ let z = y
179+ z
176180 }
177181 else false
178182 }
179183
180184
181-func ag (af,B) = [BooleanEntry(makeString([j, toString(af)], a), B)]
185+func ai (ah,D) = [BooleanEntry(makeString([j, toString(ah)], a), D)]
182186
183187
184-func ah (ai,z) = {
185- let w = getString(makeString([k, toString(ai), toBase58String(z)], a))
186- if ($isInstanceOf(w, "String"))
188+func aj (ak,B) = {
189+ let y = getString(makeString([k, toString(ak), toBase58String(B)], a))
190+ if ($isInstanceOf(y, "String"))
187191 then {
188- let x = w
189- let aj = split(x, a)
190- $Tuple8(addressFromStringValue(aj[0]), aj[1], parseIntValue(aj[2]), parseIntValue(aj[3]), parseIntValue(aj[4]), parseIntValue(aj[5]), parseIntValue(aj[6]), if ((aj[7] == "1"))
192+ let z = y
193+ let al = split(z, a)
194+ $Tuple8(addressFromStringValue(al[0]), al[1], parseIntValue(al[2]), parseIntValue(al[3]), parseIntValue(al[4]), parseIntValue(al[5]), parseIntValue(al[6]), if ((al[7] == "1"))
191195 then true
192196 else false)
193197 }
195199 }
196200
197201
198-func ak (ai,z,al) = [StringEntry(makeString([k, toString(ai), toBase58String(z)], a), makeString([toString(al._1), al._2, toString(al._3), toString(al._4), toString(al._5), toString(al._6), toString(al._7), if (al._8)
202+func am (ak,B,an) = [StringEntry(makeString([k, toString(ak), toBase58String(B)], a), makeString([toString(an._1), an._2, toString(an._3), toString(an._4), toString(an._5), toString(an._6), toString(an._7), if (an._8)
199203 then "1"
200204 else "0"], a))]
201205
202206
203-func am (z) = {
204- let w = getInteger(makeString([l, toBase58String(z)], a))
205- if ($isInstanceOf(w, "Int"))
207+func ao (B) = {
208+ let y = getInteger(makeString([l, toBase58String(B)], a))
209+ if ($isInstanceOf(y, "Int"))
206210 then {
207- let x = w
208- x
211+ let z = y
212+ z
209213 }
210214 else 0
211215 }
212216
213217
214-func an (z,B) = [IntegerEntry(makeString([l, toBase58String(z)], a), B)]
218+func ap (B,D) = [IntegerEntry(makeString([l, toBase58String(B)], a), D)]
215219
216220
217-func ao () = {
218- let w = getString(h)
219- if ($isInstanceOf(w, "String"))
221+func aq () = {
222+ let y = getString(h)
223+ if ($isInstanceOf(y, "String"))
220224 then {
221- let x = w
222- addressFromStringValue(x)
225+ let z = y
226+ addressFromStringValue(z)
223227 }
224228 else Address(base58'')
225229 }
226230
227231
228-func ap (aq) = [StringEntry(h, toString(aq))]
232+func ar (as) = [StringEntry(h, toString(as))]
229233
230234
231-func ar () = {
232- let w = getString(m)
233- if ($isInstanceOf(w, "String"))
235+func at () = {
236+ let y = getString(m)
237+ if ($isInstanceOf(y, "String"))
234238 then {
235- let x = w
236- addressFromStringValue(x)
239+ let z = y
240+ addressFromStringValue(z)
237241 }
238242 else Address(base58'')
239243 }
240244
241245
242-func as (B) = [StringEntry(m, toString(B))]
246+func au (D) = [StringEntry(m, toString(D))]
243247
244248
245-func at (ad) = if ((ad != this))
249+func av (ak,aw) = {
250+ let y = getInteger(makeString([n, toString(ak), toString(aw)], a))
251+ if ($isInstanceOf(y, "Int"))
252+ then {
253+ let z = y
254+ z
255+ }
256+ else 0
257+ }
258+
259+
260+func ax (ak,aw,D) = [IntegerEntry(makeString([n, toString(ak), toString(aw)], a), D)]
261+
262+
263+func ay (af) = if ((af != this))
246264 then throw("_onlyThisContract: revert")
247265 else true
248266
249267
250-func au () = if ((V() == Address(base58'')))
268+func az () = if ((X() == Address(base58'')))
251269 then throw("_whenMultisigSet: revert")
252270 else true
253271
254272
255-func av () = if (M())
273+func aA () = if (O())
256274 then throw("_whenNotInitialized: revert")
257275 else true
258276
259277
260-func aw () = if (!(M()))
278+func aB () = if (!(O()))
261279 then throw("_whenInitialized: revert")
262280 else true
263281
264282
265-func ax () = if (P())
283+func aC () = if (R())
266284 then throw("_whenNotPaused: revert")
267285 else true
268286
269287
270-func ay () = if (!(P()))
288+func aD () = if (!(R()))
271289 then throw("_whenPaused: revert")
272290 else true
273291
274292
275-func az (ad) = if ((ad != S()))
293+func aE (af) = if ((af != U()))
276294 then throw("_onlyPauser: revert")
277295 else true
278296
279297
280-func aA (B) = {
281- let w = B
282- if ($isInstanceOf(w, "Int"))
298+func aF (D) = {
299+ let y = D
300+ if ($isInstanceOf(y, "Int"))
283301 then {
284- let x = w
285- x
302+ let z = y
303+ z
286304 }
287305 else throw("_asInt: revert")
288306 }
289307
290308
291-func aB (B) = {
292- let w = B
293- if ($isInstanceOf(w, "ByteVector"))
309+func aG (D) = {
310+ let y = D
311+ if ($isInstanceOf(y, "ByteVector"))
294312 then {
295- let x = w
296- x
313+ let z = y
314+ z
297315 }
298316 else throw("_asBytes: revert")
299317 }
300318
301319
302-func aC (B,v) = if ((B != Y()))
303- then throw(v)
320+func aH (D,x) = if ((D != aa()))
321+ then throw(x)
304322 else true
305323
306324
307-func aD (B,v) = if ((B != ab()))
308- then throw(v)
325+func aI (D,x) = if ((D != ad()))
326+ then throw(x)
309327 else true
310328
311329
312-func aE (ai,v) = if (!(ae(ai)))
313- then throw(v)
330+func aJ (ak,x) = if (!(ag(ak)))
331+ then throw(x)
314332 else true
315333
316334
317-@Callable(aF)
318-func init (aa,aq,U,aG) = {
319- let aH = if (if (if (if (if (if (at(aF.caller))
320- then av()
335+@Callable(aK)
336+func init (ac,as,W,aL) = {
337+ let aM = if (if (if (if (if (if (ay(aK.caller))
338+ then aA()
321339 else false)
322- then au()
340+ then az()
323341 else false)
324- then t(aa, "init: invalid executor")
342+ then v(ac, "init: invalid executor")
325343 else false)
326- then t(aq, "init: invalid adapter")
344+ then v(as, "init: invalid adapter")
327345 else false)
328- then t(U, "init: invalid pauser")
346+ then v(W, "init: invalid pauser")
329347 else false)
330- then t(aG, "init: invalid feeRecipient")
348+ then v(aL, "init: invalid feeRecipient")
331349 else false
332- if ((aH == aH))
333- then $Tuple2(((((N(true) ++ Z(addressFromStringValue(aa))) ++ ap(addressFromStringValue(aq))) ++ T(addressFromStringValue(U))) ++ as(addressFromStringValue(aG))), unit)
350+ if ((aM == aM))
351+ then $Tuple2(((((P(true) ++ ab(addressFromStringValue(ac))) ++ ar(addressFromStringValue(as))) ++ V(addressFromStringValue(W))) ++ au(addressFromStringValue(aL))), unit)
334352 else throw("Strict value is not equal to itself.")
335353 }
336354
337355
338356
339-@Callable(aF)
340-func mintTokens (aI,aJ,J,aK,aL,aM,aN) = {
341- let aO = valueOrErrorMessage(parseInt(J), "mint: amount is not Int")
342- let aP = valueOrErrorMessage(parseInt(aL), "mint: gaslessReward is not Int")
343- let aQ = valueOrErrorMessage(parseInt(aN), "mint: referrerFee is not Int")
344- let aH = if (if (if (if (if (if (if (if (aw())
345- then ax()
357+@Callable(aK)
358+func mintTokens (aN,aO,L,aP,aQ,aw,aR) = {
359+ let aS = valueOrErrorMessage(parseInt(L), "mint: amount is not Int")
360+ let aT = valueOrErrorMessage(parseInt(aQ), "mint: gaslessReward is not Int")
361+ let aU = valueOrErrorMessage(parseInt(aR), "mint: referrerFee is not Int")
362+ let aM = if (if (if (if (if (if (if (if (aB())
363+ then aC()
346364 else false)
347- then t(aJ, "mint: invalid asset contract")
365+ then v(aO, "mint: invalid asset contract")
348366 else false)
349- then aC(aF.caller, "mint: invalid executor")
367+ then aH(aK.caller, "mint: invalid executor")
350368 else false)
351- then aD(aI, "mint: invalid caller")
369+ then aI(aN, "mint: invalid caller")
352370 else false)
353- then t(aK, "mint: invalid recipient address")
371+ then v(aP, "mint: invalid recipient address")
354372 else false)
355- then A(aO, 0, s, "mint: invalid amount")
373+ then C(aS, 0, u, "mint: invalid amount")
356374 else false)
357- then A(aP, 0, s, "mint: invalid gaslessReward")
375+ then C(aT, 0, u, "mint: invalid gaslessReward")
358376 else false)
359- then A(aQ, 0, s, "mint: invalid referrer fee")
377+ then C(aU, 0, u, "mint: invalid referrer fee")
360378 else false
361- if ((aH == aH))
379+ if ((aM == aM))
362380 then {
363- let aR = aB(invoke(addressFromStringValue(aJ), "getAssetId", nil, nil))
364- if ((aR == aR))
381+ let aV = aG(invoke(addressFromStringValue(aO), "getAssetId", nil, nil))
382+ if ((aV == aV))
365383 then {
366- let aS = aA(invoke(addressFromStringValue(aJ), "getDecimals", nil, nil))
367- if ((aS == aS))
384+ let aW = aF(invoke(addressFromStringValue(aO), "getDecimals", nil, nil))
385+ if ((aW == aW))
368386 then {
369- let aT = I(aO, q, aS)
370- let aU = I(aP, q, aS)
371- let aV = {
372- let w = addressFromString(aM)
373- if ($isInstanceOf(w, "Address"))
387+ let aX = K(aS, r, aW)
388+ let aY = K(aT, r, aW)
389+ let aZ = {
390+ let y = addressFromString(aw)
391+ if ($isInstanceOf(y, "Address"))
374392 then {
375- let aW = w
376- let aX = I(aQ, q, aS)
377- $Tuple2(aX, [ScriptTransfer(aW, aX, aR)])
393+ let ba = y
394+ let bb = K(aU, r, aW)
395+ $Tuple2(bb, [ScriptTransfer(ba, bb, aV)])
378396 }
379397 else $Tuple2(0, nil)
380398 }
381- let aX = aV._1
382- let aY = aV._2
383- let aZ = invoke(addressFromStringValue(aJ), "mint", [(aT + aX), toString(this)], nil)
384- if ((aZ == aZ))
399+ let bb = aZ._1
400+ let bc = aZ._2
401+ let bd = invoke(addressFromStringValue(aO), "mint", [(aX + bb), toString(this)], nil)
402+ if ((bd == bd))
385403 then {
386- let ba = if (if ((aU > 0))
387- then (addressFromStringValue(aK) != aF.originCaller)
404+ let be = if (if ((aY > 0))
405+ then (addressFromStringValue(aP) != aK.originCaller)
388406 else false)
389- then [ScriptTransfer(addressFromStringValue(aK), (aT - aU), aR), ScriptTransfer(aF.originCaller, aU, aR)]
390- else [ScriptTransfer(addressFromStringValue(aK), aT, aR)]
391- $Tuple2((ba ++ aY), unit)
407+ then [ScriptTransfer(addressFromStringValue(aP), (aX - aY), aV), ScriptTransfer(aK.originCaller, aY, aV)]
408+ else [ScriptTransfer(addressFromStringValue(aP), aX, aV)]
409+ $Tuple2((be ++ bc), unit)
392410 }
393411 else throw("Strict value is not equal to itself.")
394412 }
401419
402420
403421
404-@Callable(aF)
405-func burnTokens (ai,aK,aL) = {
406- let aH = if (if (if (if (aw())
407- then ax()
422+@Callable(aK)
423+func burnTokens (ak,aP,aQ) = {
424+ let aM = if (if (if (if (if (aB())
425+ then aC()
408426 else false)
409- then aE(ai, "burn: invalid execution chain")
427+ then aJ(ak, "burn: invalid execution chain")
410428 else false)
411- then G(aF.payments, 1, "burn: no payment")
429+ then I(aK.payments, 1, "burn: no payment")
412430 else false)
413- then A(aF.payments[0].amount, 0, s, "burn: invalid payment amount")
431+ then C(aQ, 0, u, "burn: invalid gaslessReward")
432+ else false)
433+ then C(aK.payments[0].amount, 0, u, "burn: invalid payment amount")
414434 else false
415- if ((aH == aH))
435+ if ((aM == aM))
416436 then {
417- let aO = aF.payments[0].amount
418- let aR = {
419- let w = aF.payments[0].assetId
420- if ($isInstanceOf(w, "ByteVector"))
437+ let aS = aK.payments[0].amount
438+ let aV = {
439+ let y = aK.payments[0].assetId
440+ if ($isInstanceOf(y, "ByteVector"))
421441 then {
422- let x = w
423- x
442+ let z = y
443+ z
424444 }
425445 else throw("burn: invalid asset")
426446 }
427- let bb = ah(ai, aR)
428- let bc = bb._1
429- let bd = bb._2
430- let be = bb._3
431- let bf = bb._4
432- let bg = bb._5
433- let bh = bb._6
434- let bi = bb._7
435- let bj = bb._8
436- let bk = if (if (t(toString(bc), "burn: no such binding"))
437- then A(aO, be, s, "burn: less than min")
447+ let bf = aj(ak, aV)
448+ let bg = bf._1
449+ let bh = bf._2
450+ let bi = bf._3
451+ let bj = bf._4
452+ let bk = bf._5
453+ let bl = bf._6
454+ let bm = bf._7
455+ let bn = bf._8
456+ let bo = if (if (v(toString(bg), "burn: no such binding"))
457+ then C(aS, bi, u, "burn: less than min")
438458 else false)
439- then E(bj, true, "burn: token is disabled")
459+ then G(bn, true, "burn: token is disabled")
440460 else false
441- if ((bk == bk))
461+ if ((bo == bo))
442462 then {
443- let aS = aA(invoke(bc, "getDecimals", nil, nil))
444- if ((aS == aS))
463+ let aW = aF(invoke(bg, "getDecimals", nil, nil))
464+ if ((aW == aW))
445465 then {
446- let bl = if ((aO > bg))
447- then bi
448- else bh
449- let bm = (bf + fraction(aO, bl, r))
450- let bn = A(aO, (bm + 1), s, "burn: fee more than amount")
451- if ((bn == bn))
466+ let bp = if ((aS > bk))
467+ then bm
468+ else bl
469+ let bq = (bj + fraction(aS, bp, s))
470+ let br = C(aS, (bq + 1), u, "burn: fee more than amount")
471+ if ((br == br))
452472 then {
453- let bo = (aO - bm)
454- let bp = A(bo, (aL + 1), s, "burn: reward more than amount")
455- if ((bp == bp))
473+ let bs = (aS - bq)
474+ let bt = C(bs, (aQ + 1), u, "burn: reward more than amount")
475+ if ((bt == bt))
456476 then {
457- let bq = (am(aR) + bm)
458- let aT = I(bo, aS, q)
459- let aU = I(aL, aS, q)
460- let aZ = invoke(ao(), n, [ai, bd, aT, aK, aU], nil)
461- if ((aZ == aZ))
462- then $Tuple2((an(aR, bq) ++ [Burn(aR, bo)]), unit)
477+ let bu = (ao(aV) + bq)
478+ let aX = K(bs, aW, r)
479+ let aY = K(aQ, aW, r)
480+ let bd = invoke(aq(), o, [ak, bh, aX, aP, aY], nil)
481+ if ((bd == bd))
482+ then $Tuple2((ap(aV, bu) ++ [Burn(aV, bs)]), unit)
463483 else throw("Strict value is not equal to itself.")
464484 }
465485 else throw("Strict value is not equal to itself.")
475495
476496
477497
478-@Callable(aF)
479-func transferFee (ai,z) = {
480- let aH = if (if (aw())
481- then ax()
498+@Callable(aK)
499+func transferFee (ak,B) = {
500+ let aM = if (if (aB())
501+ then aC()
482502 else false)
483- then y(z, "transferFee: invalid asset")
503+ then A(B, "transferFee: invalid asset")
484504 else false
485- if ((aH == aH))
505+ if ((aM == aM))
486506 then {
487- let aR = fromBase58String(z)
488- let bb = ah(ai, aR)
489- let bc = bb._1
490- let bj = bb._8
491- let bk = if (t(toString(bc), "transferFee: no such binding"))
492- then E(bj, true, "transferFee: token is disabled")
507+ let aV = fromBase58String(B)
508+ let bf = aj(ak, aV)
509+ let bg = bf._1
510+ let bn = bf._8
511+ let bo = if (v(toString(bg), "transferFee: no such binding"))
512+ then G(bn, true, "transferFee: token is disabled")
493513 else false
494- if ((bk == bk))
495- then $Tuple2((an(aR, 0) ++ [ScriptTransfer(ar(), am(aR), aR)]), unit)
514+ if ((bo == bo))
515+ then $Tuple2((ap(aV, 0) ++ [ScriptTransfer(at(), ao(aV), aV)]), unit)
496516 else throw("Strict value is not equal to itself.")
497517 }
498518 else throw("Strict value is not equal to itself.")
500520
501521
502522
503-@Callable(aF)
504-func updateCallerContract (aI) = {
505- let aH = if (at(aF.caller))
506- then aw()
523+@Callable(aK)
524+func updateCallerContract (aN) = {
525+ let aM = if (ay(aK.caller))
526+ then aB()
507527 else false
508- if ((aH == aH))
509- then $Tuple2(ac(aI), unit)
528+ if ((aM == aM))
529+ then $Tuple2(ae(aN), unit)
510530 else throw("Strict value is not equal to itself.")
511531 }
512532
513533
514534
515-@Callable(aF)
516-func updateExecutionChain (ai,br) = {
517- let aH = if (if (at(aF.caller))
518- then aw()
535+@Callable(aK)
536+func updateExecutionChain (ak,bv) = {
537+ let aM = if (if (ay(aK.caller))
538+ then aB()
519539 else false)
520- then A(ai, 0, s, "updateExecutionChain: invalid executionChainId")
540+ then C(ak, 0, u, "updateExecutionChain: invalid executionChainId")
521541 else false
522- if ((aH == aH))
523- then $Tuple2(ag(ai, br), unit)
542+ if ((aM == aM))
543+ then $Tuple2(ai(ak, bv), unit)
524544 else throw("Strict value is not equal to itself.")
525545 }
526546
527547
528548
529-@Callable(aF)
530-func updateFeeRecipient (aG) = {
531- let aH = if (if (at(aF.caller))
532- then aw()
549+@Callable(aK)
550+func updateFeeRecipient (aL) = {
551+ let aM = if (if (ay(aK.caller))
552+ then aB()
533553 else false)
534- then t(aG, "updateFeeRecipient: invalid feeRecipient")
554+ then v(aL, "updateFeeRecipient: invalid feeRecipient")
535555 else false
536- if ((aH == aH))
537- then $Tuple2(as(addressFromStringValue(aG)), unit)
556+ if ((aM == aM))
557+ then $Tuple2(au(addressFromStringValue(aL)), unit)
538558 else throw("Strict value is not equal to itself.")
539559 }
540560
541561
542562
543-@Callable(aF)
544-func updateBindingInfo (ai,aJ,bs,bt,bu,bv,bw,bx,br) = {
545- let aH = if (if (if (if (if (if (if (if (at(aF.caller))
546- then aw()
563+@Callable(aK)
564+func updateReferrer (ak,aw,bw) = {
565+ let aM = if (if (if (if (ay(aK.caller))
566+ then aB()
547567 else false)
548- then t(aJ, "updateBindingInfo: invalid asset contract")
568+ then aJ(ak, "updateReferrer: invalid execution chain")
549569 else false)
550- then A(ai, 0, s, "updateBindingInfo: invalid executionChainId")
570+ then v(aw, "updateReferrer: invalid referrer")
551571 else false)
552- then A(bt, 0, s, "updateBindingInfo: invalid minAmount")
572+ then C(bw, 0, t, "updateReferrer: invalid fee")
573+ else false
574+ if ((aM == aM))
575+ then $Tuple2(ax(ak, addressFromStringValue(aw), bw), unit)
576+ else throw("Strict value is not equal to itself.")
577+ }
578+
579+
580+
581+@Callable(aK)
582+func updateBindingInfo (ak,aO,bx,by,bz,bA,bB,bC,bv) = {
583+ let aM = if (if (if (if (if (if (if (if (ay(aK.caller))
584+ then aB()
553585 else false)
554- then A(bu, 0, s, "updateBindingInfo: invalid minFee")
586+ then v(aO, "updateBindingInfo: invalid asset contract")
555587 else false)
556- then A(bv, 0, s, "updateBindingInfo: invalid thresholdFee")
588+ then C(ak, 0, u, "updateBindingInfo: invalid executionChainId")
557589 else false)
558- then A(bw, 0, s, "updateBindingInfo: invalid beforePercentFee")
590+ then C(by, 0, u, "updateBindingInfo: invalid minAmount")
559591 else false)
560- then A(bx, 0, s, "updateBindingInfo: invalid afterPercentFee")
592+ then C(bz, 0, u, "updateBindingInfo: invalid minFee")
593+ else false)
594+ then C(bA, 0, u, "updateBindingInfo: invalid thresholdFee")
595+ else false)
596+ then C(bB, 0, u, "updateBindingInfo: invalid beforePercentFee")
597+ else false)
598+ then C(bC, 0, u, "updateBindingInfo: invalid afterPercentFee")
561599 else false
562- if ((aH == aH))
600+ if ((aM == aM))
563601 then {
564- let aR = aB(invoke(addressFromStringValue(aJ), "getAssetId", nil, nil))
565- if ((aR == aR))
602+ let aV = aG(invoke(addressFromStringValue(aO), "getAssetId", nil, nil))
603+ if ((aV == aV))
566604 then {
567- let bb = $Tuple8(addressFromStringValue(aJ), bs, bt, bu, bv, bw, bx, br)
568- $Tuple2(ak(ai, aR, bb), unit)
605+ let bf = $Tuple8(addressFromStringValue(aO), bx, by, bz, bA, bB, bC, bv)
606+ $Tuple2(am(ak, aV, bf), unit)
569607 }
570608 else throw("Strict value is not equal to itself.")
571609 }
574612
575613
576614
577-@Callable(aF)
615+@Callable(aK)
578616 func pause () = {
579- let aH = if (if (az(aF.caller))
580- then aw()
617+ let aM = if (if (aE(aK.caller))
618+ then aB()
581619 else false)
582- then ax()
620+ then aC()
583621 else false
584- if ((aH == aH))
585- then $Tuple2(Q(true), unit)
622+ if ((aM == aM))
623+ then $Tuple2(S(true), unit)
586624 else throw("Strict value is not equal to itself.")
587625 }
588626
589627
590628
591-@Callable(aF)
629+@Callable(aK)
592630 func unpause () = {
593- let aH = if (if (az(aF.caller))
594- then aw()
631+ let aM = if (if (aE(aK.caller))
632+ then aB()
595633 else false)
596- then ay()
634+ then aD()
597635 else false
598- if ((aH == aH))
599- then $Tuple2(Q(false), unit)
636+ if ((aM == aM))
637+ then $Tuple2(S(false), unit)
600638 else throw("Strict value is not equal to itself.")
601639 }
602640
603641
604642
605-@Callable(aF)
606-func updatePauser (U) = {
607- let aH = if (if (at(aF.caller))
608- then aw()
643+@Callable(aK)
644+func updatePauser (W) = {
645+ let aM = if (if (ay(aK.caller))
646+ then aB()
609647 else false)
610- then t(U, "init: invalid pauser")
648+ then v(W, "init: invalid pauser")
611649 else false
612- if ((aH == aH))
613- then $Tuple2(T(addressFromStringValue(U)), unit)
650+ if ((aM == aM))
651+ then $Tuple2(V(addressFromStringValue(W)), unit)
614652 else throw("Strict value is not equal to itself.")
615653 }
616654
617655
618656
619-@Callable(aF)
620-func setMultisig (X) = {
621- let aH = if (at(aF.caller))
622- then t(X, "setMultisig: invalid multisig")
657+@Callable(aK)
658+func setMultisig (Z) = {
659+ let aM = if (ay(aK.caller))
660+ then v(Z, "setMultisig: invalid multisig")
623661 else false
624- if ((aH == aH))
625- then $Tuple2(W(addressFromStringValue(X)), unit)
662+ if ((aM == aM))
663+ then $Tuple2(Y(addressFromStringValue(Z)), unit)
626664 else throw("Strict value is not equal to itself.")
627665 }
628666
629667
630-@Verifier(by)
631-func bz () = {
632- let w = getString(c)
633- if ($isInstanceOf(w, "String"))
668+@Verifier(bD)
669+func bE () = {
670+ let y = getString(c)
671+ if ($isInstanceOf(y, "String"))
634672 then {
635- let bA = w
636- valueOrElse(getBoolean(addressFromStringValue(bA), makeString([d, toString(this), toBase58String(by.id)], a)), false)
673+ let bF = y
674+ valueOrElse(getBoolean(addressFromStringValue(bF), makeString([d, toString(this), toBase58String(bD.id)], a)), false)
637675 }
638- else sigVerify(by.bodyBytes, by.proofs[0], by.senderPublicKey)
676+ else sigVerify(bD.bodyBytes, bD.proofs[0], bD.senderPublicKey)
639677 }
640678
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "__"
55
66 let b = "INIT"
77
88 let c = "MULTISIG"
99
1010 let d = "STATUS"
1111
1212 let e = "PAUSED"
1313
1414 let f = "PAUSER"
1515
1616 let g = "EXECUTOR"
1717
1818 let h = "ROOT_ADAPTER"
1919
2020 let i = "CALLER_CONTRACT"
2121
2222 let j = "CHAIN"
2323
2424 let k = "BINDING"
2525
2626 let l = "FEE"
2727
2828 let m = "FEE_RECIPIENT"
2929
30-let n = "releaseTokens"
30+let n = "REFERRER_FEE_PERCENT"
3131
32-let o = "WAVES"
32+let o = "releaseTokens"
3333
34-let p = 8
34+let p = "WAVES"
3535
36-let q = 6
36+let q = 8
3737
38-let r = 1000000
38+let r = 6
3939
40-let s = 9223372036854775807
40+let s = 1000000
4141
42-func t (u,v) = {
43- let w = addressFromString(u)
44- if ($isInstanceOf(w, "Address"))
42+let t = 200000
43+
44+let u = 9223372036854775807
45+
46+func v (w,x) = {
47+ let y = addressFromString(w)
48+ if ($isInstanceOf(y, "Address"))
4549 then {
46- let x = w
50+ let z = y
4751 true
4852 }
49- else throw(v)
53+ else throw(x)
5054 }
5155
5256
53-func y (z,v) = {
54- let w = assetInfo(fromBase58String(z))
55- if ($isInstanceOf(w, "Asset"))
57+func A (B,x) = {
58+ let y = assetInfo(fromBase58String(B))
59+ if ($isInstanceOf(y, "Asset"))
5660 then {
57- let x = w
61+ let z = y
5862 true
5963 }
60- else throw(v)
64+ else throw(x)
6165 }
6266
6367
64-func A (B,C,D,v) = if (if ((C > B))
68+func C (D,E,F,x) = if (if ((E > D))
6569 then true
66- else (B > D))
67- then throw(v)
70+ else (D > F))
71+ then throw(x)
6872 else true
6973
7074
71-func E (B,F,v) = if ((B != F))
72- then throw(v)
75+func G (D,H,x) = if ((D != H))
76+ then throw(x)
7377 else true
7478
7579
76-func G (H,F,v) = if ((size(H) != F))
77- then throw(v)
80+func I (J,H,x) = if ((size(J) != H))
81+ then throw(x)
7882 else true
7983
8084
81-func I (J,K,L) = if ((K >= L))
82- then (J / pow(10, 0, (K - L), 0, 0, DOWN))
83- else (J * pow(10, 0, (L - K), 0, 0, DOWN))
85+func K (L,M,N) = if ((M >= N))
86+ then (L / pow(10, 0, (M - N), 0, 0, DOWN))
87+ else (L * pow(10, 0, (N - M), 0, 0, DOWN))
8488
8589
86-func M () = {
87- let w = getBoolean(b)
88- if ($isInstanceOf(w, "Boolean"))
90+func O () = {
91+ let y = getBoolean(b)
92+ if ($isInstanceOf(y, "Boolean"))
8993 then {
90- let x = w
91- x
94+ let z = y
95+ z
9296 }
9397 else false
9498 }
9599
96100
97-func N (O) = [BooleanEntry(b, O)]
101+func P (Q) = [BooleanEntry(b, Q)]
98102
99103
100-func P () = {
101- let w = getBoolean(e)
102- if ($isInstanceOf(w, "Boolean"))
104+func R () = {
105+ let y = getBoolean(e)
106+ if ($isInstanceOf(y, "Boolean"))
103107 then {
104- let x = w
105- x
108+ let z = y
109+ z
106110 }
107111 else false
108112 }
109113
110114
111-func Q (R) = [BooleanEntry(e, R)]
115+func S (T) = [BooleanEntry(e, T)]
112116
113117
114-func S () = {
115- let w = getString(f)
116- if ($isInstanceOf(w, "String"))
118+func U () = {
119+ let y = getString(f)
120+ if ($isInstanceOf(y, "String"))
117121 then {
118- let x = w
119- addressFromStringValue(x)
122+ let z = y
123+ addressFromStringValue(z)
120124 }
121125 else Address(base58'')
122126 }
123127
124128
125-func T (U) = [StringEntry(f, toString(U))]
129+func V (W) = [StringEntry(f, toString(W))]
126130
127131
128-func V () = {
129- let w = getString(c)
130- if ($isInstanceOf(w, "String"))
132+func X () = {
133+ let y = getString(c)
134+ if ($isInstanceOf(y, "String"))
131135 then {
132- let x = w
133- addressFromStringValue(x)
136+ let z = y
137+ addressFromStringValue(z)
134138 }
135139 else Address(base58'')
136140 }
137141
138142
139-func W (X) = [StringEntry(c, toString(X))]
143+func Y (Z) = [StringEntry(c, toString(Z))]
140144
141145
142-func Y () = {
143- let w = getString(g)
144- if ($isInstanceOf(w, "String"))
146+func aa () = {
147+ let y = getString(g)
148+ if ($isInstanceOf(y, "String"))
145149 then {
146- let x = w
147- addressFromStringValue(x)
150+ let z = y
151+ addressFromStringValue(z)
148152 }
149153 else Address(base58'')
150154 }
151155
152156
153-func Z (aa) = [StringEntry(g, toString(aa))]
157+func ab (ac) = [StringEntry(g, toString(ac))]
154158
155159
156-func ab () = {
157- let w = getString(i)
158- if ($isInstanceOf(w, "String"))
160+func ad () = {
161+ let y = getString(i)
162+ if ($isInstanceOf(y, "String"))
159163 then {
160- let x = w
161- x
164+ let z = y
165+ z
162166 }
163167 else ""
164168 }
165169
166170
167-func ac (ad) = [StringEntry(i, ad)]
171+func ae (af) = [StringEntry(i, af)]
168172
169173
170-func ae (af) = {
171- let w = getBoolean(makeString([j, toString(af)], a))
172- if ($isInstanceOf(w, "Boolean"))
174+func ag (ah) = {
175+ let y = getBoolean(makeString([j, toString(ah)], a))
176+ if ($isInstanceOf(y, "Boolean"))
173177 then {
174- let x = w
175- x
178+ let z = y
179+ z
176180 }
177181 else false
178182 }
179183
180184
181-func ag (af,B) = [BooleanEntry(makeString([j, toString(af)], a), B)]
185+func ai (ah,D) = [BooleanEntry(makeString([j, toString(ah)], a), D)]
182186
183187
184-func ah (ai,z) = {
185- let w = getString(makeString([k, toString(ai), toBase58String(z)], a))
186- if ($isInstanceOf(w, "String"))
188+func aj (ak,B) = {
189+ let y = getString(makeString([k, toString(ak), toBase58String(B)], a))
190+ if ($isInstanceOf(y, "String"))
187191 then {
188- let x = w
189- let aj = split(x, a)
190- $Tuple8(addressFromStringValue(aj[0]), aj[1], parseIntValue(aj[2]), parseIntValue(aj[3]), parseIntValue(aj[4]), parseIntValue(aj[5]), parseIntValue(aj[6]), if ((aj[7] == "1"))
192+ let z = y
193+ let al = split(z, a)
194+ $Tuple8(addressFromStringValue(al[0]), al[1], parseIntValue(al[2]), parseIntValue(al[3]), parseIntValue(al[4]), parseIntValue(al[5]), parseIntValue(al[6]), if ((al[7] == "1"))
191195 then true
192196 else false)
193197 }
194198 else $Tuple8(Address(base58''), "", 0, 0, 0, 0, 0, false)
195199 }
196200
197201
198-func ak (ai,z,al) = [StringEntry(makeString([k, toString(ai), toBase58String(z)], a), makeString([toString(al._1), al._2, toString(al._3), toString(al._4), toString(al._5), toString(al._6), toString(al._7), if (al._8)
202+func am (ak,B,an) = [StringEntry(makeString([k, toString(ak), toBase58String(B)], a), makeString([toString(an._1), an._2, toString(an._3), toString(an._4), toString(an._5), toString(an._6), toString(an._7), if (an._8)
199203 then "1"
200204 else "0"], a))]
201205
202206
203-func am (z) = {
204- let w = getInteger(makeString([l, toBase58String(z)], a))
205- if ($isInstanceOf(w, "Int"))
207+func ao (B) = {
208+ let y = getInteger(makeString([l, toBase58String(B)], a))
209+ if ($isInstanceOf(y, "Int"))
206210 then {
207- let x = w
208- x
211+ let z = y
212+ z
209213 }
210214 else 0
211215 }
212216
213217
214-func an (z,B) = [IntegerEntry(makeString([l, toBase58String(z)], a), B)]
218+func ap (B,D) = [IntegerEntry(makeString([l, toBase58String(B)], a), D)]
215219
216220
217-func ao () = {
218- let w = getString(h)
219- if ($isInstanceOf(w, "String"))
221+func aq () = {
222+ let y = getString(h)
223+ if ($isInstanceOf(y, "String"))
220224 then {
221- let x = w
222- addressFromStringValue(x)
225+ let z = y
226+ addressFromStringValue(z)
223227 }
224228 else Address(base58'')
225229 }
226230
227231
228-func ap (aq) = [StringEntry(h, toString(aq))]
232+func ar (as) = [StringEntry(h, toString(as))]
229233
230234
231-func ar () = {
232- let w = getString(m)
233- if ($isInstanceOf(w, "String"))
235+func at () = {
236+ let y = getString(m)
237+ if ($isInstanceOf(y, "String"))
234238 then {
235- let x = w
236- addressFromStringValue(x)
239+ let z = y
240+ addressFromStringValue(z)
237241 }
238242 else Address(base58'')
239243 }
240244
241245
242-func as (B) = [StringEntry(m, toString(B))]
246+func au (D) = [StringEntry(m, toString(D))]
243247
244248
245-func at (ad) = if ((ad != this))
249+func av (ak,aw) = {
250+ let y = getInteger(makeString([n, toString(ak), toString(aw)], a))
251+ if ($isInstanceOf(y, "Int"))
252+ then {
253+ let z = y
254+ z
255+ }
256+ else 0
257+ }
258+
259+
260+func ax (ak,aw,D) = [IntegerEntry(makeString([n, toString(ak), toString(aw)], a), D)]
261+
262+
263+func ay (af) = if ((af != this))
246264 then throw("_onlyThisContract: revert")
247265 else true
248266
249267
250-func au () = if ((V() == Address(base58'')))
268+func az () = if ((X() == Address(base58'')))
251269 then throw("_whenMultisigSet: revert")
252270 else true
253271
254272
255-func av () = if (M())
273+func aA () = if (O())
256274 then throw("_whenNotInitialized: revert")
257275 else true
258276
259277
260-func aw () = if (!(M()))
278+func aB () = if (!(O()))
261279 then throw("_whenInitialized: revert")
262280 else true
263281
264282
265-func ax () = if (P())
283+func aC () = if (R())
266284 then throw("_whenNotPaused: revert")
267285 else true
268286
269287
270-func ay () = if (!(P()))
288+func aD () = if (!(R()))
271289 then throw("_whenPaused: revert")
272290 else true
273291
274292
275-func az (ad) = if ((ad != S()))
293+func aE (af) = if ((af != U()))
276294 then throw("_onlyPauser: revert")
277295 else true
278296
279297
280-func aA (B) = {
281- let w = B
282- if ($isInstanceOf(w, "Int"))
298+func aF (D) = {
299+ let y = D
300+ if ($isInstanceOf(y, "Int"))
283301 then {
284- let x = w
285- x
302+ let z = y
303+ z
286304 }
287305 else throw("_asInt: revert")
288306 }
289307
290308
291-func aB (B) = {
292- let w = B
293- if ($isInstanceOf(w, "ByteVector"))
309+func aG (D) = {
310+ let y = D
311+ if ($isInstanceOf(y, "ByteVector"))
294312 then {
295- let x = w
296- x
313+ let z = y
314+ z
297315 }
298316 else throw("_asBytes: revert")
299317 }
300318
301319
302-func aC (B,v) = if ((B != Y()))
303- then throw(v)
320+func aH (D,x) = if ((D != aa()))
321+ then throw(x)
304322 else true
305323
306324
307-func aD (B,v) = if ((B != ab()))
308- then throw(v)
325+func aI (D,x) = if ((D != ad()))
326+ then throw(x)
309327 else true
310328
311329
312-func aE (ai,v) = if (!(ae(ai)))
313- then throw(v)
330+func aJ (ak,x) = if (!(ag(ak)))
331+ then throw(x)
314332 else true
315333
316334
317-@Callable(aF)
318-func init (aa,aq,U,aG) = {
319- let aH = if (if (if (if (if (if (at(aF.caller))
320- then av()
335+@Callable(aK)
336+func init (ac,as,W,aL) = {
337+ let aM = if (if (if (if (if (if (ay(aK.caller))
338+ then aA()
321339 else false)
322- then au()
340+ then az()
323341 else false)
324- then t(aa, "init: invalid executor")
342+ then v(ac, "init: invalid executor")
325343 else false)
326- then t(aq, "init: invalid adapter")
344+ then v(as, "init: invalid adapter")
327345 else false)
328- then t(U, "init: invalid pauser")
346+ then v(W, "init: invalid pauser")
329347 else false)
330- then t(aG, "init: invalid feeRecipient")
348+ then v(aL, "init: invalid feeRecipient")
331349 else false
332- if ((aH == aH))
333- then $Tuple2(((((N(true) ++ Z(addressFromStringValue(aa))) ++ ap(addressFromStringValue(aq))) ++ T(addressFromStringValue(U))) ++ as(addressFromStringValue(aG))), unit)
350+ if ((aM == aM))
351+ then $Tuple2(((((P(true) ++ ab(addressFromStringValue(ac))) ++ ar(addressFromStringValue(as))) ++ V(addressFromStringValue(W))) ++ au(addressFromStringValue(aL))), unit)
334352 else throw("Strict value is not equal to itself.")
335353 }
336354
337355
338356
339-@Callable(aF)
340-func mintTokens (aI,aJ,J,aK,aL,aM,aN) = {
341- let aO = valueOrErrorMessage(parseInt(J), "mint: amount is not Int")
342- let aP = valueOrErrorMessage(parseInt(aL), "mint: gaslessReward is not Int")
343- let aQ = valueOrErrorMessage(parseInt(aN), "mint: referrerFee is not Int")
344- let aH = if (if (if (if (if (if (if (if (aw())
345- then ax()
357+@Callable(aK)
358+func mintTokens (aN,aO,L,aP,aQ,aw,aR) = {
359+ let aS = valueOrErrorMessage(parseInt(L), "mint: amount is not Int")
360+ let aT = valueOrErrorMessage(parseInt(aQ), "mint: gaslessReward is not Int")
361+ let aU = valueOrErrorMessage(parseInt(aR), "mint: referrerFee is not Int")
362+ let aM = if (if (if (if (if (if (if (if (aB())
363+ then aC()
346364 else false)
347- then t(aJ, "mint: invalid asset contract")
365+ then v(aO, "mint: invalid asset contract")
348366 else false)
349- then aC(aF.caller, "mint: invalid executor")
367+ then aH(aK.caller, "mint: invalid executor")
350368 else false)
351- then aD(aI, "mint: invalid caller")
369+ then aI(aN, "mint: invalid caller")
352370 else false)
353- then t(aK, "mint: invalid recipient address")
371+ then v(aP, "mint: invalid recipient address")
354372 else false)
355- then A(aO, 0, s, "mint: invalid amount")
373+ then C(aS, 0, u, "mint: invalid amount")
356374 else false)
357- then A(aP, 0, s, "mint: invalid gaslessReward")
375+ then C(aT, 0, u, "mint: invalid gaslessReward")
358376 else false)
359- then A(aQ, 0, s, "mint: invalid referrer fee")
377+ then C(aU, 0, u, "mint: invalid referrer fee")
360378 else false
361- if ((aH == aH))
379+ if ((aM == aM))
362380 then {
363- let aR = aB(invoke(addressFromStringValue(aJ), "getAssetId", nil, nil))
364- if ((aR == aR))
381+ let aV = aG(invoke(addressFromStringValue(aO), "getAssetId", nil, nil))
382+ if ((aV == aV))
365383 then {
366- let aS = aA(invoke(addressFromStringValue(aJ), "getDecimals", nil, nil))
367- if ((aS == aS))
384+ let aW = aF(invoke(addressFromStringValue(aO), "getDecimals", nil, nil))
385+ if ((aW == aW))
368386 then {
369- let aT = I(aO, q, aS)
370- let aU = I(aP, q, aS)
371- let aV = {
372- let w = addressFromString(aM)
373- if ($isInstanceOf(w, "Address"))
387+ let aX = K(aS, r, aW)
388+ let aY = K(aT, r, aW)
389+ let aZ = {
390+ let y = addressFromString(aw)
391+ if ($isInstanceOf(y, "Address"))
374392 then {
375- let aW = w
376- let aX = I(aQ, q, aS)
377- $Tuple2(aX, [ScriptTransfer(aW, aX, aR)])
393+ let ba = y
394+ let bb = K(aU, r, aW)
395+ $Tuple2(bb, [ScriptTransfer(ba, bb, aV)])
378396 }
379397 else $Tuple2(0, nil)
380398 }
381- let aX = aV._1
382- let aY = aV._2
383- let aZ = invoke(addressFromStringValue(aJ), "mint", [(aT + aX), toString(this)], nil)
384- if ((aZ == aZ))
399+ let bb = aZ._1
400+ let bc = aZ._2
401+ let bd = invoke(addressFromStringValue(aO), "mint", [(aX + bb), toString(this)], nil)
402+ if ((bd == bd))
385403 then {
386- let ba = if (if ((aU > 0))
387- then (addressFromStringValue(aK) != aF.originCaller)
404+ let be = if (if ((aY > 0))
405+ then (addressFromStringValue(aP) != aK.originCaller)
388406 else false)
389- then [ScriptTransfer(addressFromStringValue(aK), (aT - aU), aR), ScriptTransfer(aF.originCaller, aU, aR)]
390- else [ScriptTransfer(addressFromStringValue(aK), aT, aR)]
391- $Tuple2((ba ++ aY), unit)
407+ then [ScriptTransfer(addressFromStringValue(aP), (aX - aY), aV), ScriptTransfer(aK.originCaller, aY, aV)]
408+ else [ScriptTransfer(addressFromStringValue(aP), aX, aV)]
409+ $Tuple2((be ++ bc), unit)
392410 }
393411 else throw("Strict value is not equal to itself.")
394412 }
395413 else throw("Strict value is not equal to itself.")
396414 }
397415 else throw("Strict value is not equal to itself.")
398416 }
399417 else throw("Strict value is not equal to itself.")
400418 }
401419
402420
403421
404-@Callable(aF)
405-func burnTokens (ai,aK,aL) = {
406- let aH = if (if (if (if (aw())
407- then ax()
422+@Callable(aK)
423+func burnTokens (ak,aP,aQ) = {
424+ let aM = if (if (if (if (if (aB())
425+ then aC()
408426 else false)
409- then aE(ai, "burn: invalid execution chain")
427+ then aJ(ak, "burn: invalid execution chain")
410428 else false)
411- then G(aF.payments, 1, "burn: no payment")
429+ then I(aK.payments, 1, "burn: no payment")
412430 else false)
413- then A(aF.payments[0].amount, 0, s, "burn: invalid payment amount")
431+ then C(aQ, 0, u, "burn: invalid gaslessReward")
432+ else false)
433+ then C(aK.payments[0].amount, 0, u, "burn: invalid payment amount")
414434 else false
415- if ((aH == aH))
435+ if ((aM == aM))
416436 then {
417- let aO = aF.payments[0].amount
418- let aR = {
419- let w = aF.payments[0].assetId
420- if ($isInstanceOf(w, "ByteVector"))
437+ let aS = aK.payments[0].amount
438+ let aV = {
439+ let y = aK.payments[0].assetId
440+ if ($isInstanceOf(y, "ByteVector"))
421441 then {
422- let x = w
423- x
442+ let z = y
443+ z
424444 }
425445 else throw("burn: invalid asset")
426446 }
427- let bb = ah(ai, aR)
428- let bc = bb._1
429- let bd = bb._2
430- let be = bb._3
431- let bf = bb._4
432- let bg = bb._5
433- let bh = bb._6
434- let bi = bb._7
435- let bj = bb._8
436- let bk = if (if (t(toString(bc), "burn: no such binding"))
437- then A(aO, be, s, "burn: less than min")
447+ let bf = aj(ak, aV)
448+ let bg = bf._1
449+ let bh = bf._2
450+ let bi = bf._3
451+ let bj = bf._4
452+ let bk = bf._5
453+ let bl = bf._6
454+ let bm = bf._7
455+ let bn = bf._8
456+ let bo = if (if (v(toString(bg), "burn: no such binding"))
457+ then C(aS, bi, u, "burn: less than min")
438458 else false)
439- then E(bj, true, "burn: token is disabled")
459+ then G(bn, true, "burn: token is disabled")
440460 else false
441- if ((bk == bk))
461+ if ((bo == bo))
442462 then {
443- let aS = aA(invoke(bc, "getDecimals", nil, nil))
444- if ((aS == aS))
463+ let aW = aF(invoke(bg, "getDecimals", nil, nil))
464+ if ((aW == aW))
445465 then {
446- let bl = if ((aO > bg))
447- then bi
448- else bh
449- let bm = (bf + fraction(aO, bl, r))
450- let bn = A(aO, (bm + 1), s, "burn: fee more than amount")
451- if ((bn == bn))
466+ let bp = if ((aS > bk))
467+ then bm
468+ else bl
469+ let bq = (bj + fraction(aS, bp, s))
470+ let br = C(aS, (bq + 1), u, "burn: fee more than amount")
471+ if ((br == br))
452472 then {
453- let bo = (aO - bm)
454- let bp = A(bo, (aL + 1), s, "burn: reward more than amount")
455- if ((bp == bp))
473+ let bs = (aS - bq)
474+ let bt = C(bs, (aQ + 1), u, "burn: reward more than amount")
475+ if ((bt == bt))
456476 then {
457- let bq = (am(aR) + bm)
458- let aT = I(bo, aS, q)
459- let aU = I(aL, aS, q)
460- let aZ = invoke(ao(), n, [ai, bd, aT, aK, aU], nil)
461- if ((aZ == aZ))
462- then $Tuple2((an(aR, bq) ++ [Burn(aR, bo)]), unit)
477+ let bu = (ao(aV) + bq)
478+ let aX = K(bs, aW, r)
479+ let aY = K(aQ, aW, r)
480+ let bd = invoke(aq(), o, [ak, bh, aX, aP, aY], nil)
481+ if ((bd == bd))
482+ then $Tuple2((ap(aV, bu) ++ [Burn(aV, bs)]), unit)
463483 else throw("Strict value is not equal to itself.")
464484 }
465485 else throw("Strict value is not equal to itself.")
466486 }
467487 else throw("Strict value is not equal to itself.")
468488 }
469489 else throw("Strict value is not equal to itself.")
470490 }
471491 else throw("Strict value is not equal to itself.")
472492 }
473493 else throw("Strict value is not equal to itself.")
474494 }
475495
476496
477497
478-@Callable(aF)
479-func transferFee (ai,z) = {
480- let aH = if (if (aw())
481- then ax()
498+@Callable(aK)
499+func transferFee (ak,B) = {
500+ let aM = if (if (aB())
501+ then aC()
482502 else false)
483- then y(z, "transferFee: invalid asset")
503+ then A(B, "transferFee: invalid asset")
484504 else false
485- if ((aH == aH))
505+ if ((aM == aM))
486506 then {
487- let aR = fromBase58String(z)
488- let bb = ah(ai, aR)
489- let bc = bb._1
490- let bj = bb._8
491- let bk = if (t(toString(bc), "transferFee: no such binding"))
492- then E(bj, true, "transferFee: token is disabled")
507+ let aV = fromBase58String(B)
508+ let bf = aj(ak, aV)
509+ let bg = bf._1
510+ let bn = bf._8
511+ let bo = if (v(toString(bg), "transferFee: no such binding"))
512+ then G(bn, true, "transferFee: token is disabled")
493513 else false
494- if ((bk == bk))
495- then $Tuple2((an(aR, 0) ++ [ScriptTransfer(ar(), am(aR), aR)]), unit)
514+ if ((bo == bo))
515+ then $Tuple2((ap(aV, 0) ++ [ScriptTransfer(at(), ao(aV), aV)]), unit)
496516 else throw("Strict value is not equal to itself.")
497517 }
498518 else throw("Strict value is not equal to itself.")
499519 }
500520
501521
502522
503-@Callable(aF)
504-func updateCallerContract (aI) = {
505- let aH = if (at(aF.caller))
506- then aw()
523+@Callable(aK)
524+func updateCallerContract (aN) = {
525+ let aM = if (ay(aK.caller))
526+ then aB()
507527 else false
508- if ((aH == aH))
509- then $Tuple2(ac(aI), unit)
528+ if ((aM == aM))
529+ then $Tuple2(ae(aN), unit)
510530 else throw("Strict value is not equal to itself.")
511531 }
512532
513533
514534
515-@Callable(aF)
516-func updateExecutionChain (ai,br) = {
517- let aH = if (if (at(aF.caller))
518- then aw()
535+@Callable(aK)
536+func updateExecutionChain (ak,bv) = {
537+ let aM = if (if (ay(aK.caller))
538+ then aB()
519539 else false)
520- then A(ai, 0, s, "updateExecutionChain: invalid executionChainId")
540+ then C(ak, 0, u, "updateExecutionChain: invalid executionChainId")
521541 else false
522- if ((aH == aH))
523- then $Tuple2(ag(ai, br), unit)
542+ if ((aM == aM))
543+ then $Tuple2(ai(ak, bv), unit)
524544 else throw("Strict value is not equal to itself.")
525545 }
526546
527547
528548
529-@Callable(aF)
530-func updateFeeRecipient (aG) = {
531- let aH = if (if (at(aF.caller))
532- then aw()
549+@Callable(aK)
550+func updateFeeRecipient (aL) = {
551+ let aM = if (if (ay(aK.caller))
552+ then aB()
533553 else false)
534- then t(aG, "updateFeeRecipient: invalid feeRecipient")
554+ then v(aL, "updateFeeRecipient: invalid feeRecipient")
535555 else false
536- if ((aH == aH))
537- then $Tuple2(as(addressFromStringValue(aG)), unit)
556+ if ((aM == aM))
557+ then $Tuple2(au(addressFromStringValue(aL)), unit)
538558 else throw("Strict value is not equal to itself.")
539559 }
540560
541561
542562
543-@Callable(aF)
544-func updateBindingInfo (ai,aJ,bs,bt,bu,bv,bw,bx,br) = {
545- let aH = if (if (if (if (if (if (if (if (at(aF.caller))
546- then aw()
563+@Callable(aK)
564+func updateReferrer (ak,aw,bw) = {
565+ let aM = if (if (if (if (ay(aK.caller))
566+ then aB()
547567 else false)
548- then t(aJ, "updateBindingInfo: invalid asset contract")
568+ then aJ(ak, "updateReferrer: invalid execution chain")
549569 else false)
550- then A(ai, 0, s, "updateBindingInfo: invalid executionChainId")
570+ then v(aw, "updateReferrer: invalid referrer")
551571 else false)
552- then A(bt, 0, s, "updateBindingInfo: invalid minAmount")
572+ then C(bw, 0, t, "updateReferrer: invalid fee")
573+ else false
574+ if ((aM == aM))
575+ then $Tuple2(ax(ak, addressFromStringValue(aw), bw), unit)
576+ else throw("Strict value is not equal to itself.")
577+ }
578+
579+
580+
581+@Callable(aK)
582+func updateBindingInfo (ak,aO,bx,by,bz,bA,bB,bC,bv) = {
583+ let aM = if (if (if (if (if (if (if (if (ay(aK.caller))
584+ then aB()
553585 else false)
554- then A(bu, 0, s, "updateBindingInfo: invalid minFee")
586+ then v(aO, "updateBindingInfo: invalid asset contract")
555587 else false)
556- then A(bv, 0, s, "updateBindingInfo: invalid thresholdFee")
588+ then C(ak, 0, u, "updateBindingInfo: invalid executionChainId")
557589 else false)
558- then A(bw, 0, s, "updateBindingInfo: invalid beforePercentFee")
590+ then C(by, 0, u, "updateBindingInfo: invalid minAmount")
559591 else false)
560- then A(bx, 0, s, "updateBindingInfo: invalid afterPercentFee")
592+ then C(bz, 0, u, "updateBindingInfo: invalid minFee")
593+ else false)
594+ then C(bA, 0, u, "updateBindingInfo: invalid thresholdFee")
595+ else false)
596+ then C(bB, 0, u, "updateBindingInfo: invalid beforePercentFee")
597+ else false)
598+ then C(bC, 0, u, "updateBindingInfo: invalid afterPercentFee")
561599 else false
562- if ((aH == aH))
600+ if ((aM == aM))
563601 then {
564- let aR = aB(invoke(addressFromStringValue(aJ), "getAssetId", nil, nil))
565- if ((aR == aR))
602+ let aV = aG(invoke(addressFromStringValue(aO), "getAssetId", nil, nil))
603+ if ((aV == aV))
566604 then {
567- let bb = $Tuple8(addressFromStringValue(aJ), bs, bt, bu, bv, bw, bx, br)
568- $Tuple2(ak(ai, aR, bb), unit)
605+ let bf = $Tuple8(addressFromStringValue(aO), bx, by, bz, bA, bB, bC, bv)
606+ $Tuple2(am(ak, aV, bf), unit)
569607 }
570608 else throw("Strict value is not equal to itself.")
571609 }
572610 else throw("Strict value is not equal to itself.")
573611 }
574612
575613
576614
577-@Callable(aF)
615+@Callable(aK)
578616 func pause () = {
579- let aH = if (if (az(aF.caller))
580- then aw()
617+ let aM = if (if (aE(aK.caller))
618+ then aB()
581619 else false)
582- then ax()
620+ then aC()
583621 else false
584- if ((aH == aH))
585- then $Tuple2(Q(true), unit)
622+ if ((aM == aM))
623+ then $Tuple2(S(true), unit)
586624 else throw("Strict value is not equal to itself.")
587625 }
588626
589627
590628
591-@Callable(aF)
629+@Callable(aK)
592630 func unpause () = {
593- let aH = if (if (az(aF.caller))
594- then aw()
631+ let aM = if (if (aE(aK.caller))
632+ then aB()
595633 else false)
596- then ay()
634+ then aD()
597635 else false
598- if ((aH == aH))
599- then $Tuple2(Q(false), unit)
636+ if ((aM == aM))
637+ then $Tuple2(S(false), unit)
600638 else throw("Strict value is not equal to itself.")
601639 }
602640
603641
604642
605-@Callable(aF)
606-func updatePauser (U) = {
607- let aH = if (if (at(aF.caller))
608- then aw()
643+@Callable(aK)
644+func updatePauser (W) = {
645+ let aM = if (if (ay(aK.caller))
646+ then aB()
609647 else false)
610- then t(U, "init: invalid pauser")
648+ then v(W, "init: invalid pauser")
611649 else false
612- if ((aH == aH))
613- then $Tuple2(T(addressFromStringValue(U)), unit)
650+ if ((aM == aM))
651+ then $Tuple2(V(addressFromStringValue(W)), unit)
614652 else throw("Strict value is not equal to itself.")
615653 }
616654
617655
618656
619-@Callable(aF)
620-func setMultisig (X) = {
621- let aH = if (at(aF.caller))
622- then t(X, "setMultisig: invalid multisig")
657+@Callable(aK)
658+func setMultisig (Z) = {
659+ let aM = if (ay(aK.caller))
660+ then v(Z, "setMultisig: invalid multisig")
623661 else false
624- if ((aH == aH))
625- then $Tuple2(W(addressFromStringValue(X)), unit)
662+ if ((aM == aM))
663+ then $Tuple2(Y(addressFromStringValue(Z)), unit)
626664 else throw("Strict value is not equal to itself.")
627665 }
628666
629667
630-@Verifier(by)
631-func bz () = {
632- let w = getString(c)
633- if ($isInstanceOf(w, "String"))
668+@Verifier(bD)
669+func bE () = {
670+ let y = getString(c)
671+ if ($isInstanceOf(y, "String"))
634672 then {
635- let bA = w
636- valueOrElse(getBoolean(addressFromStringValue(bA), makeString([d, toString(this), toBase58String(by.id)], a)), false)
673+ let bF = y
674+ valueOrElse(getBoolean(addressFromStringValue(bF), makeString([d, toString(this), toBase58String(bD.id)], a)), false)
637675 }
638- else sigVerify(by.bodyBytes, by.proofs[0], by.senderPublicKey)
676+ else sigVerify(bD.bodyBytes, bD.proofs[0], bD.senderPublicKey)
639677 }
640678

github/deemru/w8io/026f985 
184.94 ms