tx · 4vgyaGQhnumaZYfqqhMGFKJG2Tgh3uqg7VzhaHu7PpWc

3MrtFvvc7QBGaNXke4B8T7brYidircMU8pM:  -0.01400000 Waves

2023.02.22 23:50 [2461360] smart account 3MrtFvvc7QBGaNXke4B8T7brYidircMU8pM > SELF 0.00000000 Waves

{ "type": 13, "id": "4vgyaGQhnumaZYfqqhMGFKJG2Tgh3uqg7VzhaHu7PpWc", "fee": 1400000, "feeAssetId": null, "timestamp": 1677098849785, "version": 2, "chainId": 84, "sender": "3MrtFvvc7QBGaNXke4B8T7brYidircMU8pM", "senderPublicKey": "A3DknTXNtQRgyx5yLE3L1YUXipPTqbF3qQrCvp8ZbFPq", "proofs": [ "2a6GimP4F56QMUGE43Yp4aMgUm3Au3HzM4RJ74mzFAddJXq5QuTrJpvXu3rfmxU3KsPYP52ncwut1ocry6HoS17Y" ], "script": "base64:BgJOCAISBgoECAgICBIJCgcICAEIAQgBEgcKBQEIAQgBEgMKAQgSAwoBCBIECgIBBBIDCgEIEgsKCQEICAEBAQEBBBIAEgASAwoBCBIDCgEIPAAJU0VQQVJBVE9SAgJfXwAIS0VZX0lOSVQCBElOSVQADEtFWV9NVUxUSVNJRwIITVVMVElTSUcACktFWV9TVEFUVVMCBlNUQVRVUwAKS0VZX1BBVVNFRAIGUEFVU0VEAApLRVlfUEFVU0VSAgZQQVVTRVIADEtFWV9FWEVDVVRPUgIIRVhFQ1VUT1IAEEtFWV9ST09UX0FEQVBURVICDFJPT1RfQURBUFRFUgATS0VZX0NBTExFUl9DT05UUkFDVAIPQ0FMTEVSX0NPTlRSQUNUAAlLRVlfQ0hBSU4CBUNIQUlOAAtLRVlfQklORElORwIHQklORElORwAHS0VZX0ZFRQIDRkVFABFLRVlfRkVFX1JFQ0lQSUVOVAINRkVFX1JFQ0lQSUVOVAATRlVOQ19SRUxFQVNFX1RPS0VOUwINcmVsZWFzZVRva2VucwAFV0FWRVMCBVdBVkVTAA5XQVZFU19ERUNJTUFMUwAIAAhERUNJTU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ZhbGlkYXRlQWRkcmVzcwIFCW11bHRpc2lnXwIdc2V0TXVsdGlzaWc6IGludmFsaWQgbXVsdGlzaWcHAwkAAAIFA2VycgUDZXJyCQCUCgIJAQ1fc2F2ZU11bHRpc2lnAQkBEUBleHRyTmF0aXZlKDEwNjIpAQUJbXVsdGlzaWdfBQR1bml0CQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAQJ0eAEGdmVyaWZ5AAQHJG1hdGNoMAkAoggBBQxLRVlfTVVMVElTSUcDCQABAgUHJG1hdGNoMAIGU3RyaW5nBAhtdWx0aXNpZwUHJG1hdGNoMAkBC3ZhbHVlT3JFbHNlAgkAmwgCCQERQGV4dHJOYXRpdmUoMTA2MikBBQhtdWx0aXNpZwkAuQkCCQDMCAIFCktFWV9TVEFUVVMJAMwIAgkApQgBBQR0aGlzCQDMCAIJANgEAQgFAnR4AmlkBQNuaWwFCVNFUEFSQVRPUgcJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAIBQJ0eA9zZW5kZXJQdWJsaWNLZXlv+W7b", "height": 2461360, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: FsdhTvBcNQP2rmCVB1YZBh73ndKK1yJ3aB5YUg3L9ZLR Next: 3QmGLKYytno6jaX9QVTynJDtKtEAE6Tg7FMMXKHuNsQm Diff:
OldNewDifferences
320320
321321
322322 @Callable(aI)
323-func init (ad,at,X) = {
324- let aJ = if (if (if (if (if (aw(aI.caller))
323+func init (ad,at,X,aJ) = {
324+ let aK = if (if (if (if (if (if (aw(aI.caller))
325325 then ay()
326326 else false)
327327 then ax()
331331 then t(at, "init: invalid adapter")
332332 else false)
333333 then t(X, "init: invalid pauser")
334+ else false)
335+ then t(aJ, "init: invalid feeRecipient")
334336 else false
335- if ((aJ == aJ))
336- then $Tuple2((((Q(true) ++ ac(addressFromStringValue(ad))) ++ as(addressFromStringValue(at))) ++ W(addressFromStringValue(X))), unit)
337+ if ((aK == aK))
338+ then $Tuple2(((((Q(true) ++ ac(addressFromStringValue(ad))) ++ as(addressFromStringValue(at))) ++ W(addressFromStringValue(X))) ++ av(addressFromStringValue(aJ))), unit)
337339 else throw("Strict value is not equal to itself.")
338340 }
339341
340342
341343
342344 @Callable(aI)
343-func mintTokens (aK,aL,M,aM,aN,aO,aP) = {
344- let aJ = if (if (if (if (if (if (if (az())
345+func mintTokens (aL,aM,M,aN,aO,aP,aQ) = {
346+ let aK = if (if (if (if (if (if (if (az())
345347 then aA()
346348 else false)
347- then t(aL, "mint: invalid asset contract")
349+ then t(aM, "mint: invalid asset contract")
348350 else false)
349351 then aF(aI.caller, "mint: invalid executor")
350352 else false)
351- then aG(aK, "mint: invalid caller")
353+ then aG(aL, "mint: invalid caller")
352354 else false)
353- then t(aM, "mint: invalid recipient address")
355+ then t(aN, "mint: invalid recipient address")
354356 else false)
355357 then A(M, 0, s, "mint: invalid amount")
356358 else false)
357- then A(aN, 0, s, "mint: invalid gaslessReward")
359+ then A(aO, 0, s, "mint: invalid gaslessReward")
358360 else false
359- if ((aJ == aJ))
361+ if ((aK == aK))
360362 then {
361- let aQ = aE(invoke(addressFromStringValue(aL), "getAssetId", nil, nil))
362- if ((aQ == aQ))
363+ let aR = aE(invoke(addressFromStringValue(aM), "getAssetId", nil, nil))
364+ if ((aR == aR))
363365 then {
364- let aR = aD(invoke(addressFromStringValue(aL), "getDecimals", nil, nil))
365- if ((aR == aR))
366+ let aS = aD(invoke(addressFromStringValue(aM), "getDecimals", nil, nil))
367+ if ((aS == aS))
366368 then {
367- let aS = L(M, q, aR)
368- let aT = L(aN, q, aR)
369- let aU = if ((size(aO) > 0))
369+ let aT = L(M, q, aS)
370+ let aU = L(aO, q, aS)
371+ let aV = if ((size(aP) > 0))
370372 then {
371- let aV = if (t(aO, "mint: invalid referrer address"))
372- then A(aP, 0, s, "mint: invalid referrer fee")
373+ let aW = if (t(aP, "mint: invalid referrer address"))
374+ then A(aQ, 0, s, "mint: invalid referrer fee")
373375 else false
374- if ((aV == aV))
376+ if ((aW == aW))
375377 then {
376- let aW = L(aP, q, aR)
377- $Tuple2(aW, [ScriptTransfer(addressFromStringValue(aO), aW, aQ)])
378+ let aX = L(aQ, q, aS)
379+ $Tuple2(aX, [ScriptTransfer(addressFromStringValue(aP), aX, aR)])
378380 }
379381 else throw("Strict value is not equal to itself.")
380382 }
381383 else $Tuple2(0, nil)
382- let aX = aU._1
383- let aY = aU._2
384- let aZ = invoke(addressFromStringValue(aL), "mint", [(aS + aX), toString(this)], nil)
385- if ((aZ == aZ))
384+ let aY = aV._1
385+ let aZ = aV._2
386+ let ba = invoke(addressFromStringValue(aM), "mint", [(aT + aY), toString(this)], nil)
387+ if ((ba == ba))
386388 then {
387- let ba = if (if ((aT > 0))
388- then (addressFromStringValue(aM) != aI.originCaller)
389+ let bb = if (if ((aU > 0))
390+ then (addressFromStringValue(aN) != aI.originCaller)
389391 else false)
390- then [ScriptTransfer(addressFromStringValue(aM), (aS - aT), aQ), ScriptTransfer(aI.originCaller, aT, aQ)]
391- else [ScriptTransfer(addressFromStringValue(aM), aS, aQ)]
392- $Tuple2((ba ++ aY), unit)
392+ then [ScriptTransfer(addressFromStringValue(aN), (aT - aU), aR), ScriptTransfer(aI.originCaller, aU, aR)]
393+ else [ScriptTransfer(addressFromStringValue(aN), aT, aR)]
394+ $Tuple2((bb ++ aZ), unit)
393395 }
394396 else throw("Strict value is not equal to itself.")
395397 }
403405
404406
405407 @Callable(aI)
406-func burnTokens (al,aL,M,aM,aN) = {
407- let aJ = if (if (if (if (if (az())
408+func burnTokens (al,aM,M,aN,aO) = {
409+ let aK = if (if (if (if (if (az())
408410 then aA()
409411 else false)
410- then t(aL, "burn: invalid asset contract")
412+ then t(aM, "burn: invalid asset contract")
411413 else false)
412414 then aH(al, "burn: invalid execution chain")
413415 else false)
415417 else false)
416418 then A(aI.payments[0].amount, M, s, "burn: invalid payment amount")
417419 else false
418- if ((aJ == aJ))
420+ if ((aK == aK))
419421 then {
420- let aQ = aE(invoke(addressFromStringValue(aL), "getAssetId", nil, nil))
421- if ((aQ == aQ))
422+ let aR = aE(invoke(addressFromStringValue(aM), "getAssetId", nil, nil))
423+ if ((aR == aR))
422424 then {
423- let aR = aD(invoke(addressFromStringValue(aL), "getDecimals", nil, nil))
424- if ((aR == aR))
425+ let aS = aD(invoke(addressFromStringValue(aM), "getDecimals", nil, nil))
426+ if ((aS == aS))
425427 then {
426- let bb = ak(al, aQ)
427- let bc = bb._1
428- let bd = bb._2
429- let be = bb._3
430- let bf = bb._4
431- let bg = bb._5
432- let bh = bb._6
433- let bi = bb._7
434- let aV = if (if (I(aI.payments[0], aQ, "burn: invalid payment asset"))
435- then A(M, bd, s, "burn: less than min")
428+ let bc = ak(al, aR)
429+ let bd = bc._1
430+ let be = bc._2
431+ let bf = bc._3
432+ let bg = bc._4
433+ let bh = bc._5
434+ let bi = bc._6
435+ let bj = bc._7
436+ let aW = if (if (I(aI.payments[0], aR, "burn: invalid payment asset"))
437+ then A(M, be, s, "burn: less than min")
436438 else false)
437- then E(bi, true, "burn: token is disabled")
439+ then E(bj, true, "burn: token is disabled")
438440 else false
439- if ((aV == aV))
441+ if ((aW == aW))
440442 then {
441- let bj = if ((M > bf))
442- then bh
443- else bg
444- let bk = (be + ((M * bj) / r))
445- let bl = A(M, (bk + 1), s, "burn: fee more than amount")
446- if ((bl == bl))
443+ let bk = if ((M > bg))
444+ then bi
445+ else bh
446+ let bl = (bf + ((M * bk) / r))
447+ let bm = A(M, (bl + 1), s, "burn: fee more than amount")
448+ if ((bm == bm))
447449 then {
448- let bm = (M - bk)
449- let bn = A(bm, (aN + 1), s, "burn: reward more than amount")
450- if ((bn == bn))
450+ let bn = (M - bl)
451+ let bo = A(bn, (aO + 1), s, "burn: reward more than amount")
452+ if ((bo == bo))
451453 then {
452- let bo = (ap(aQ) + bk)
453- let aS = L(bm, aR, q)
454- let aT = L(aN, aR, q)
455- let aZ = invoke(ar(), n, [al, bc, aS, aM, aT], nil)
456- if ((aZ == aZ))
457- then $Tuple2((aq(aQ, bo) ++ [Burn(aQ, bm)]), unit)
454+ let bp = (ap(aR) + bl)
455+ let aT = L(bn, aS, q)
456+ let aU = L(aO, aS, q)
457+ let ba = invoke(ar(), n, [al, bd, aT, aN, aU], nil)
458+ if ((ba == ba))
459+ then $Tuple2((aq(aR, bp) ++ [Burn(aR, bn)]), unit)
458460 else throw("Strict value is not equal to itself.")
459461 }
460462 else throw("Strict value is not equal to itself.")
473475
474476
475477 @Callable(aI)
476-func transferFee (aL) = {
477- let aJ = if (if (az())
478+func transferFee (aM) = {
479+ let aK = if (if (az())
478480 then aA()
479481 else false)
480- then t(aL, "burnFee: invalid asset contract")
482+ then t(aM, "burnFee: invalid asset contract")
481483 else false
482- if ((aJ == aJ))
484+ if ((aK == aK))
483485 then {
484- let aQ = aE(invoke(addressFromStringValue(aL), "getAssetId", nil, nil))
485- if ((aQ == aQ))
486- then $Tuple2((aq(aQ, 0) ++ [ScriptTransfer(au(), ap(aQ), aQ)]), unit)
486+ let aR = aE(invoke(addressFromStringValue(aM), "getAssetId", nil, nil))
487+ if ((aR == aR))
488+ then $Tuple2((aq(aR, 0) ++ [ScriptTransfer(au(), ap(aR), aR)]), unit)
487489 else throw("Strict value is not equal to itself.")
488490 }
489491 else throw("Strict value is not equal to itself.")
492494
493495
494496 @Callable(aI)
495-func updateCallerContract (aK) = {
496- let aJ = if (aw(aI.caller))
497+func updateCallerContract (aL) = {
498+ let aK = if (aw(aI.caller))
497499 then az()
498500 else false
499- if ((aJ == aJ))
500- then $Tuple2(af(aK), unit)
501+ if ((aK == aK))
502+ then $Tuple2(af(aL), unit)
501503 else throw("Strict value is not equal to itself.")
502504 }
503505
504506
505507
506508 @Callable(aI)
507-func updateExecutionChain (al,bp) = {
508- let aJ = if (if (aw(aI.caller))
509+func updateExecutionChain (al,bq) = {
510+ let aK = if (if (aw(aI.caller))
509511 then az()
510512 else false)
511513 then A(al, 0, s, "updateExecutionChain: invalid executionChainId")
512514 else false
513- if ((aJ == aJ))
514- then $Tuple2(aj(al, bp), unit)
515+ if ((aK == aK))
516+ then $Tuple2(aj(al, bq), unit)
515517 else throw("Strict value is not equal to itself.")
516518 }
517519
518520
519521
520522 @Callable(aI)
521-func updateFeeRecipient (bq) = {
522- let aJ = if (if (aw(aI.caller))
523+func updateFeeRecipient (aJ) = {
524+ let aK = if (if (aw(aI.caller))
523525 then az()
524526 else false)
525- then t(bq, "updateFeeRecipient: invalid feeRecipient")
527+ then t(aJ, "updateFeeRecipient: invalid feeRecipient")
526528 else false
527- if ((aJ == aJ))
528- then $Tuple2(av(addressFromStringValue(bq)), unit)
529+ if ((aK == aK))
530+ then $Tuple2(av(addressFromStringValue(aJ)), unit)
529531 else throw("Strict value is not equal to itself.")
530532 }
531533
532534
533535
534536 @Callable(aI)
535-func updateBindingInfo (al,aL,br,bs,bt,bu,bv,bw,bp) = {
536- let aJ = if (if (if (if (if (if (if (if (aw(aI.caller))
537+func updateBindingInfo (al,aM,br,bs,bt,bu,bv,bw,bq) = {
538+ let aK = if (if (if (if (if (if (if (if (aw(aI.caller))
537539 then az()
538540 else false)
539- then t(aL, "updateBindingInfo: invalid asset contract")
541+ then t(aM, "updateBindingInfo: invalid asset contract")
540542 else false)
541543 then A(al, 0, s, "updateBindingInfo: invalid executionChainId")
542544 else false)
550552 else false)
551553 then A(bw, 0, s, "updateBindingInfo: invalid afterPercentFee")
552554 else false
553- if ((aJ == aJ))
555+ if ((aK == aK))
554556 then {
555- let aQ = aE(invoke(addressFromStringValue(aL), "getAssetId", nil, nil))
556- if ((aQ == aQ))
557+ let aR = aE(invoke(addressFromStringValue(aM), "getAssetId", nil, nil))
558+ if ((aR == aR))
557559 then {
558- let bb = $Tuple7(br, bs, bt, bu, bv, bw, bp)
559- $Tuple2(an(al, aQ, bb), unit)
560+ let bc = $Tuple7(br, bs, bt, bu, bv, bw, bq)
561+ $Tuple2(an(al, aR, bc), unit)
560562 }
561563 else throw("Strict value is not equal to itself.")
562564 }
567569
568570 @Callable(aI)
569571 func pause () = {
570- let aJ = if (if (aC(aI.caller))
572+ let aK = if (if (aC(aI.caller))
571573 then az()
572574 else false)
573575 then aA()
574576 else false
575- if ((aJ == aJ))
577+ if ((aK == aK))
576578 then $Tuple2(T(true), unit)
577579 else throw("Strict value is not equal to itself.")
578580 }
581583
582584 @Callable(aI)
583585 func unpause () = {
584- let aJ = if (if (aC(aI.caller))
586+ let aK = if (if (aC(aI.caller))
585587 then az()
586588 else false)
587589 then aB()
588590 else false
589- if ((aJ == aJ))
591+ if ((aK == aK))
590592 then $Tuple2(T(false), unit)
591593 else throw("Strict value is not equal to itself.")
592594 }
595597
596598 @Callable(aI)
597599 func updatePauser (X) = {
598- let aJ = if (if (aw(aI.caller))
600+ let aK = if (if (aw(aI.caller))
599601 then az()
600602 else false)
601603 then t(X, "init: invalid pauser")
602604 else false
603- if ((aJ == aJ))
605+ if ((aK == aK))
604606 then $Tuple2(W(addressFromStringValue(X)), unit)
605607 else throw("Strict value is not equal to itself.")
606608 }
609611
610612 @Callable(aI)
611613 func setMultisig (aa) = {
612- let aJ = if (aw(aI.caller))
614+ let aK = if (aw(aI.caller))
613615 then t(aa, "setMultisig: invalid multisig")
614616 else false
615- if ((aJ == aJ))
617+ if ((aK == aK))
616618 then $Tuple2(Z(addressFromStringValue(aa)), unit)
617619 else throw("Strict value is not equal to itself.")
618620 }
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
3030 let n = "releaseTokens"
3131
3232 let o = "WAVES"
3333
3434 let p = 8
3535
3636 let q = 6
3737
3838 let r = 1000000
3939
4040 let s = 9223372036854775807
4141
4242 func t (u,v) = {
4343 let w = addressFromString(u)
4444 if ($isInstanceOf(w, "Address"))
4545 then {
4646 let x = w
4747 true
4848 }
4949 else throw(v)
5050 }
5151
5252
5353 func y (z,v) = {
5454 let w = assetInfo(fromBase58String(z))
5555 if ($isInstanceOf(w, "Asset"))
5656 then {
5757 let x = w
5858 true
5959 }
6060 else throw(v)
6161 }
6262
6363
6464 func A (B,C,D,v) = if (if ((C > B))
6565 then true
6666 else (B > D))
6767 then throw(v)
6868 else true
6969
7070
7171 func E (B,F,v) = if ((B != F))
7272 then throw(v)
7373 else true
7474
7575
7676 func G (H,F,v) = if ((size(H) != F))
7777 then throw(v)
7878 else true
7979
8080
8181 func I (J,K,v) = if ((J.assetId != K))
8282 then throw(v)
8383 else true
8484
8585
8686 func L (M,N,O) = if ((N >= O))
8787 then (M / pow(10, 0, (N - O), 0, 0, DOWN))
8888 else (M * pow(10, 0, (O - N), 0, 0, DOWN))
8989
9090
9191 func P () = {
9292 let w = getBoolean(b)
9393 if ($isInstanceOf(w, "Boolean"))
9494 then {
9595 let x = w
9696 x
9797 }
9898 else false
9999 }
100100
101101
102102 func Q (R) = [BooleanEntry(b, R)]
103103
104104
105105 func S () = {
106106 let w = getBoolean(e)
107107 if ($isInstanceOf(w, "Boolean"))
108108 then {
109109 let x = w
110110 x
111111 }
112112 else false
113113 }
114114
115115
116116 func T (U) = [BooleanEntry(e, U)]
117117
118118
119119 func V () = {
120120 let w = getString(f)
121121 if ($isInstanceOf(w, "String"))
122122 then {
123123 let x = w
124124 addressFromStringValue(x)
125125 }
126126 else Address(base58'')
127127 }
128128
129129
130130 func W (X) = [StringEntry(f, toString(X))]
131131
132132
133133 func Y () = {
134134 let w = getString(c)
135135 if ($isInstanceOf(w, "String"))
136136 then {
137137 let x = w
138138 addressFromStringValue(x)
139139 }
140140 else Address(base58'')
141141 }
142142
143143
144144 func Z (aa) = [StringEntry(c, toString(aa))]
145145
146146
147147 func ab () = {
148148 let w = getString(g)
149149 if ($isInstanceOf(w, "String"))
150150 then {
151151 let x = w
152152 addressFromStringValue(x)
153153 }
154154 else Address(base58'')
155155 }
156156
157157
158158 func ac (ad) = [StringEntry(g, toString(ad))]
159159
160160
161161 func ae () = {
162162 let w = getString(i)
163163 if ($isInstanceOf(w, "String"))
164164 then {
165165 let x = w
166166 x
167167 }
168168 else ""
169169 }
170170
171171
172172 func af (ag) = [StringEntry(i, ag)]
173173
174174
175175 func ah (ai) = {
176176 let w = getBoolean(makeString([j, toString(ai)], a))
177177 if ($isInstanceOf(w, "Boolean"))
178178 then {
179179 let x = w
180180 x
181181 }
182182 else false
183183 }
184184
185185
186186 func aj (ai,B) = [BooleanEntry(makeString([j, toString(ai)], a), B)]
187187
188188
189189 func ak (al,z) = {
190190 let w = getString(makeString([k, toString(al), toBase58String(z)], a))
191191 if ($isInstanceOf(w, "String"))
192192 then {
193193 let x = w
194194 let am = split(x, a)
195195 $Tuple7(am[0], parseIntValue(am[1]), parseIntValue(am[2]), parseIntValue(am[3]), parseIntValue(am[4]), parseIntValue(am[5]), if ((am[6] == "1"))
196196 then true
197197 else false)
198198 }
199199 else $Tuple7("", 0, 0, 0, 0, 0, false)
200200 }
201201
202202
203203 func an (al,z,ao) = [StringEntry(makeString([k, toString(al), toBase58String(z)], a), makeString([ao._1, toString(ao._2), toString(ao._3), toString(ao._4), toString(ao._5), toString(ao._6), if (ao._7)
204204 then "1"
205205 else "0"], a))]
206206
207207
208208 func ap (z) = {
209209 let w = getInteger(makeString([l, toBase58String(z)], a))
210210 if ($isInstanceOf(w, "Int"))
211211 then {
212212 let x = w
213213 x
214214 }
215215 else 0
216216 }
217217
218218
219219 func aq (z,B) = [IntegerEntry(makeString([l, toBase58String(z)], a), B)]
220220
221221
222222 func ar () = {
223223 let w = getString(h)
224224 if ($isInstanceOf(w, "String"))
225225 then {
226226 let x = w
227227 addressFromStringValue(x)
228228 }
229229 else Address(base58'')
230230 }
231231
232232
233233 func as (at) = [StringEntry(h, toString(at))]
234234
235235
236236 func au () = {
237237 let w = getString(m)
238238 if ($isInstanceOf(w, "String"))
239239 then {
240240 let x = w
241241 addressFromStringValue(x)
242242 }
243243 else Address(base58'')
244244 }
245245
246246
247247 func av (B) = [StringEntry(m, toString(B))]
248248
249249
250250 func aw (ag) = if ((ag != this))
251251 then throw("_onlyThisContract: revert")
252252 else true
253253
254254
255255 func ax () = if ((Y() == Address(base58'')))
256256 then throw("_whenMultisigSet: revert")
257257 else true
258258
259259
260260 func ay () = if (P())
261261 then throw("_whenNotInitialized: revert")
262262 else true
263263
264264
265265 func az () = if (!(P()))
266266 then throw("_whenInitialized: revert")
267267 else true
268268
269269
270270 func aA () = if (S())
271271 then throw("_whenNotPaused: revert")
272272 else true
273273
274274
275275 func aB () = if (!(S()))
276276 then throw("_whenPaused: revert")
277277 else true
278278
279279
280280 func aC (ag) = if ((ag != V()))
281281 then throw("_onlyPauser: revert")
282282 else true
283283
284284
285285 func aD (B) = {
286286 let w = B
287287 if ($isInstanceOf(w, "Int"))
288288 then {
289289 let x = w
290290 x
291291 }
292292 else throw("_asInt: revert")
293293 }
294294
295295
296296 func aE (B) = {
297297 let w = B
298298 if ($isInstanceOf(w, "ByteVector"))
299299 then {
300300 let x = w
301301 x
302302 }
303303 else throw("_asBytes: revert")
304304 }
305305
306306
307307 func aF (B,v) = if ((B != ab()))
308308 then throw(v)
309309 else true
310310
311311
312312 func aG (B,v) = if ((B != ae()))
313313 then throw(v)
314314 else true
315315
316316
317317 func aH (al,v) = if (!(ah(al)))
318318 then throw(v)
319319 else true
320320
321321
322322 @Callable(aI)
323-func init (ad,at,X) = {
324- let aJ = if (if (if (if (if (aw(aI.caller))
323+func init (ad,at,X,aJ) = {
324+ let aK = if (if (if (if (if (if (aw(aI.caller))
325325 then ay()
326326 else false)
327327 then ax()
328328 else false)
329329 then t(ad, "init: invalid executor")
330330 else false)
331331 then t(at, "init: invalid adapter")
332332 else false)
333333 then t(X, "init: invalid pauser")
334+ else false)
335+ then t(aJ, "init: invalid feeRecipient")
334336 else false
335- if ((aJ == aJ))
336- then $Tuple2((((Q(true) ++ ac(addressFromStringValue(ad))) ++ as(addressFromStringValue(at))) ++ W(addressFromStringValue(X))), unit)
337+ if ((aK == aK))
338+ then $Tuple2(((((Q(true) ++ ac(addressFromStringValue(ad))) ++ as(addressFromStringValue(at))) ++ W(addressFromStringValue(X))) ++ av(addressFromStringValue(aJ))), unit)
337339 else throw("Strict value is not equal to itself.")
338340 }
339341
340342
341343
342344 @Callable(aI)
343-func mintTokens (aK,aL,M,aM,aN,aO,aP) = {
344- let aJ = if (if (if (if (if (if (if (az())
345+func mintTokens (aL,aM,M,aN,aO,aP,aQ) = {
346+ let aK = if (if (if (if (if (if (if (az())
345347 then aA()
346348 else false)
347- then t(aL, "mint: invalid asset contract")
349+ then t(aM, "mint: invalid asset contract")
348350 else false)
349351 then aF(aI.caller, "mint: invalid executor")
350352 else false)
351- then aG(aK, "mint: invalid caller")
353+ then aG(aL, "mint: invalid caller")
352354 else false)
353- then t(aM, "mint: invalid recipient address")
355+ then t(aN, "mint: invalid recipient address")
354356 else false)
355357 then A(M, 0, s, "mint: invalid amount")
356358 else false)
357- then A(aN, 0, s, "mint: invalid gaslessReward")
359+ then A(aO, 0, s, "mint: invalid gaslessReward")
358360 else false
359- if ((aJ == aJ))
361+ if ((aK == aK))
360362 then {
361- let aQ = aE(invoke(addressFromStringValue(aL), "getAssetId", nil, nil))
362- if ((aQ == aQ))
363+ let aR = aE(invoke(addressFromStringValue(aM), "getAssetId", nil, nil))
364+ if ((aR == aR))
363365 then {
364- let aR = aD(invoke(addressFromStringValue(aL), "getDecimals", nil, nil))
365- if ((aR == aR))
366+ let aS = aD(invoke(addressFromStringValue(aM), "getDecimals", nil, nil))
367+ if ((aS == aS))
366368 then {
367- let aS = L(M, q, aR)
368- let aT = L(aN, q, aR)
369- let aU = if ((size(aO) > 0))
369+ let aT = L(M, q, aS)
370+ let aU = L(aO, q, aS)
371+ let aV = if ((size(aP) > 0))
370372 then {
371- let aV = if (t(aO, "mint: invalid referrer address"))
372- then A(aP, 0, s, "mint: invalid referrer fee")
373+ let aW = if (t(aP, "mint: invalid referrer address"))
374+ then A(aQ, 0, s, "mint: invalid referrer fee")
373375 else false
374- if ((aV == aV))
376+ if ((aW == aW))
375377 then {
376- let aW = L(aP, q, aR)
377- $Tuple2(aW, [ScriptTransfer(addressFromStringValue(aO), aW, aQ)])
378+ let aX = L(aQ, q, aS)
379+ $Tuple2(aX, [ScriptTransfer(addressFromStringValue(aP), aX, aR)])
378380 }
379381 else throw("Strict value is not equal to itself.")
380382 }
381383 else $Tuple2(0, nil)
382- let aX = aU._1
383- let aY = aU._2
384- let aZ = invoke(addressFromStringValue(aL), "mint", [(aS + aX), toString(this)], nil)
385- if ((aZ == aZ))
384+ let aY = aV._1
385+ let aZ = aV._2
386+ let ba = invoke(addressFromStringValue(aM), "mint", [(aT + aY), toString(this)], nil)
387+ if ((ba == ba))
386388 then {
387- let ba = if (if ((aT > 0))
388- then (addressFromStringValue(aM) != aI.originCaller)
389+ let bb = if (if ((aU > 0))
390+ then (addressFromStringValue(aN) != aI.originCaller)
389391 else false)
390- then [ScriptTransfer(addressFromStringValue(aM), (aS - aT), aQ), ScriptTransfer(aI.originCaller, aT, aQ)]
391- else [ScriptTransfer(addressFromStringValue(aM), aS, aQ)]
392- $Tuple2((ba ++ aY), unit)
392+ then [ScriptTransfer(addressFromStringValue(aN), (aT - aU), aR), ScriptTransfer(aI.originCaller, aU, aR)]
393+ else [ScriptTransfer(addressFromStringValue(aN), aT, aR)]
394+ $Tuple2((bb ++ aZ), unit)
393395 }
394396 else throw("Strict value is not equal to itself.")
395397 }
396398 else throw("Strict value is not equal to itself.")
397399 }
398400 else throw("Strict value is not equal to itself.")
399401 }
400402 else throw("Strict value is not equal to itself.")
401403 }
402404
403405
404406
405407 @Callable(aI)
406-func burnTokens (al,aL,M,aM,aN) = {
407- let aJ = if (if (if (if (if (az())
408+func burnTokens (al,aM,M,aN,aO) = {
409+ let aK = if (if (if (if (if (az())
408410 then aA()
409411 else false)
410- then t(aL, "burn: invalid asset contract")
412+ then t(aM, "burn: invalid asset contract")
411413 else false)
412414 then aH(al, "burn: invalid execution chain")
413415 else false)
414416 then G(aI.payments, 1, "burn: no payment")
415417 else false)
416418 then A(aI.payments[0].amount, M, s, "burn: invalid payment amount")
417419 else false
418- if ((aJ == aJ))
420+ if ((aK == aK))
419421 then {
420- let aQ = aE(invoke(addressFromStringValue(aL), "getAssetId", nil, nil))
421- if ((aQ == aQ))
422+ let aR = aE(invoke(addressFromStringValue(aM), "getAssetId", nil, nil))
423+ if ((aR == aR))
422424 then {
423- let aR = aD(invoke(addressFromStringValue(aL), "getDecimals", nil, nil))
424- if ((aR == aR))
425+ let aS = aD(invoke(addressFromStringValue(aM), "getDecimals", nil, nil))
426+ if ((aS == aS))
425427 then {
426- let bb = ak(al, aQ)
427- let bc = bb._1
428- let bd = bb._2
429- let be = bb._3
430- let bf = bb._4
431- let bg = bb._5
432- let bh = bb._6
433- let bi = bb._7
434- let aV = if (if (I(aI.payments[0], aQ, "burn: invalid payment asset"))
435- then A(M, bd, s, "burn: less than min")
428+ let bc = ak(al, aR)
429+ let bd = bc._1
430+ let be = bc._2
431+ let bf = bc._3
432+ let bg = bc._4
433+ let bh = bc._5
434+ let bi = bc._6
435+ let bj = bc._7
436+ let aW = if (if (I(aI.payments[0], aR, "burn: invalid payment asset"))
437+ then A(M, be, s, "burn: less than min")
436438 else false)
437- then E(bi, true, "burn: token is disabled")
439+ then E(bj, true, "burn: token is disabled")
438440 else false
439- if ((aV == aV))
441+ if ((aW == aW))
440442 then {
441- let bj = if ((M > bf))
442- then bh
443- else bg
444- let bk = (be + ((M * bj) / r))
445- let bl = A(M, (bk + 1), s, "burn: fee more than amount")
446- if ((bl == bl))
443+ let bk = if ((M > bg))
444+ then bi
445+ else bh
446+ let bl = (bf + ((M * bk) / r))
447+ let bm = A(M, (bl + 1), s, "burn: fee more than amount")
448+ if ((bm == bm))
447449 then {
448- let bm = (M - bk)
449- let bn = A(bm, (aN + 1), s, "burn: reward more than amount")
450- if ((bn == bn))
450+ let bn = (M - bl)
451+ let bo = A(bn, (aO + 1), s, "burn: reward more than amount")
452+ if ((bo == bo))
451453 then {
452- let bo = (ap(aQ) + bk)
453- let aS = L(bm, aR, q)
454- let aT = L(aN, aR, q)
455- let aZ = invoke(ar(), n, [al, bc, aS, aM, aT], nil)
456- if ((aZ == aZ))
457- then $Tuple2((aq(aQ, bo) ++ [Burn(aQ, bm)]), unit)
454+ let bp = (ap(aR) + bl)
455+ let aT = L(bn, aS, q)
456+ let aU = L(aO, aS, q)
457+ let ba = invoke(ar(), n, [al, bd, aT, aN, aU], nil)
458+ if ((ba == ba))
459+ then $Tuple2((aq(aR, bp) ++ [Burn(aR, bn)]), unit)
458460 else throw("Strict value is not equal to itself.")
459461 }
460462 else throw("Strict value is not equal to itself.")
461463 }
462464 else throw("Strict value is not equal to itself.")
463465 }
464466 else throw("Strict value is not equal to itself.")
465467 }
466468 else throw("Strict value is not equal to itself.")
467469 }
468470 else throw("Strict value is not equal to itself.")
469471 }
470472 else throw("Strict value is not equal to itself.")
471473 }
472474
473475
474476
475477 @Callable(aI)
476-func transferFee (aL) = {
477- let aJ = if (if (az())
478+func transferFee (aM) = {
479+ let aK = if (if (az())
478480 then aA()
479481 else false)
480- then t(aL, "burnFee: invalid asset contract")
482+ then t(aM, "burnFee: invalid asset contract")
481483 else false
482- if ((aJ == aJ))
484+ if ((aK == aK))
483485 then {
484- let aQ = aE(invoke(addressFromStringValue(aL), "getAssetId", nil, nil))
485- if ((aQ == aQ))
486- then $Tuple2((aq(aQ, 0) ++ [ScriptTransfer(au(), ap(aQ), aQ)]), unit)
486+ let aR = aE(invoke(addressFromStringValue(aM), "getAssetId", nil, nil))
487+ if ((aR == aR))
488+ then $Tuple2((aq(aR, 0) ++ [ScriptTransfer(au(), ap(aR), aR)]), unit)
487489 else throw("Strict value is not equal to itself.")
488490 }
489491 else throw("Strict value is not equal to itself.")
490492 }
491493
492494
493495
494496 @Callable(aI)
495-func updateCallerContract (aK) = {
496- let aJ = if (aw(aI.caller))
497+func updateCallerContract (aL) = {
498+ let aK = if (aw(aI.caller))
497499 then az()
498500 else false
499- if ((aJ == aJ))
500- then $Tuple2(af(aK), unit)
501+ if ((aK == aK))
502+ then $Tuple2(af(aL), unit)
501503 else throw("Strict value is not equal to itself.")
502504 }
503505
504506
505507
506508 @Callable(aI)
507-func updateExecutionChain (al,bp) = {
508- let aJ = if (if (aw(aI.caller))
509+func updateExecutionChain (al,bq) = {
510+ let aK = if (if (aw(aI.caller))
509511 then az()
510512 else false)
511513 then A(al, 0, s, "updateExecutionChain: invalid executionChainId")
512514 else false
513- if ((aJ == aJ))
514- then $Tuple2(aj(al, bp), unit)
515+ if ((aK == aK))
516+ then $Tuple2(aj(al, bq), unit)
515517 else throw("Strict value is not equal to itself.")
516518 }
517519
518520
519521
520522 @Callable(aI)
521-func updateFeeRecipient (bq) = {
522- let aJ = if (if (aw(aI.caller))
523+func updateFeeRecipient (aJ) = {
524+ let aK = if (if (aw(aI.caller))
523525 then az()
524526 else false)
525- then t(bq, "updateFeeRecipient: invalid feeRecipient")
527+ then t(aJ, "updateFeeRecipient: invalid feeRecipient")
526528 else false
527- if ((aJ == aJ))
528- then $Tuple2(av(addressFromStringValue(bq)), unit)
529+ if ((aK == aK))
530+ then $Tuple2(av(addressFromStringValue(aJ)), unit)
529531 else throw("Strict value is not equal to itself.")
530532 }
531533
532534
533535
534536 @Callable(aI)
535-func updateBindingInfo (al,aL,br,bs,bt,bu,bv,bw,bp) = {
536- let aJ = if (if (if (if (if (if (if (if (aw(aI.caller))
537+func updateBindingInfo (al,aM,br,bs,bt,bu,bv,bw,bq) = {
538+ let aK = if (if (if (if (if (if (if (if (aw(aI.caller))
537539 then az()
538540 else false)
539- then t(aL, "updateBindingInfo: invalid asset contract")
541+ then t(aM, "updateBindingInfo: invalid asset contract")
540542 else false)
541543 then A(al, 0, s, "updateBindingInfo: invalid executionChainId")
542544 else false)
543545 then A(bs, 0, s, "updateBindingInfo: invalid minAmount")
544546 else false)
545547 then A(bt, 0, s, "updateBindingInfo: invalid minFee")
546548 else false)
547549 then A(bu, 0, s, "updateBindingInfo: invalid thresholdFee")
548550 else false)
549551 then A(bv, 0, s, "updateBindingInfo: invalid beforePercentFee")
550552 else false)
551553 then A(bw, 0, s, "updateBindingInfo: invalid afterPercentFee")
552554 else false
553- if ((aJ == aJ))
555+ if ((aK == aK))
554556 then {
555- let aQ = aE(invoke(addressFromStringValue(aL), "getAssetId", nil, nil))
556- if ((aQ == aQ))
557+ let aR = aE(invoke(addressFromStringValue(aM), "getAssetId", nil, nil))
558+ if ((aR == aR))
557559 then {
558- let bb = $Tuple7(br, bs, bt, bu, bv, bw, bp)
559- $Tuple2(an(al, aQ, bb), unit)
560+ let bc = $Tuple7(br, bs, bt, bu, bv, bw, bq)
561+ $Tuple2(an(al, aR, bc), unit)
560562 }
561563 else throw("Strict value is not equal to itself.")
562564 }
563565 else throw("Strict value is not equal to itself.")
564566 }
565567
566568
567569
568570 @Callable(aI)
569571 func pause () = {
570- let aJ = if (if (aC(aI.caller))
572+ let aK = if (if (aC(aI.caller))
571573 then az()
572574 else false)
573575 then aA()
574576 else false
575- if ((aJ == aJ))
577+ if ((aK == aK))
576578 then $Tuple2(T(true), unit)
577579 else throw("Strict value is not equal to itself.")
578580 }
579581
580582
581583
582584 @Callable(aI)
583585 func unpause () = {
584- let aJ = if (if (aC(aI.caller))
586+ let aK = if (if (aC(aI.caller))
585587 then az()
586588 else false)
587589 then aB()
588590 else false
589- if ((aJ == aJ))
591+ if ((aK == aK))
590592 then $Tuple2(T(false), unit)
591593 else throw("Strict value is not equal to itself.")
592594 }
593595
594596
595597
596598 @Callable(aI)
597599 func updatePauser (X) = {
598- let aJ = if (if (aw(aI.caller))
600+ let aK = if (if (aw(aI.caller))
599601 then az()
600602 else false)
601603 then t(X, "init: invalid pauser")
602604 else false
603- if ((aJ == aJ))
605+ if ((aK == aK))
604606 then $Tuple2(W(addressFromStringValue(X)), unit)
605607 else throw("Strict value is not equal to itself.")
606608 }
607609
608610
609611
610612 @Callable(aI)
611613 func setMultisig (aa) = {
612- let aJ = if (aw(aI.caller))
614+ let aK = if (aw(aI.caller))
613615 then t(aa, "setMultisig: invalid multisig")
614616 else false
615- if ((aJ == aJ))
617+ if ((aK == aK))
616618 then $Tuple2(Z(addressFromStringValue(aa)), unit)
617619 else throw("Strict value is not equal to itself.")
618620 }
619621
620622
621623 @Verifier(bx)
622624 func by () = {
623625 let w = getString(c)
624626 if ($isInstanceOf(w, "String"))
625627 then {
626628 let bz = w
627629 valueOrElse(getBoolean(addressFromStringValue(bz), makeString([d, toString(this), toBase58String(bx.id)], a)), false)
628630 }
629631 else sigVerify(bx.bodyBytes, bx.proofs[0], bx.senderPublicKey)
630632 }
631633

github/deemru/w8io/169f3d6 
132.97 ms