tx · 97pBBzSPacL7VX4tkvFFMsTe22HJwn3weKxhyKPtGvNE

3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz:  -0.02400000 Waves

2023.05.25 09:28 [2593142] smart account 3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz > SELF 0.00000000 Waves

{ "type": 13, "id": "97pBBzSPacL7VX4tkvFFMsTe22HJwn3weKxhyKPtGvNE", "fee": 2400000, "feeAssetId": null, "timestamp": 1684996129647, "version": 2, "chainId": 84, "sender": "3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz", "senderPublicKey": "D28XoueZWsMfm8Y5pa6C5ZFuYoWgre2Wm8tzJANJgMnq", "proofs": [ "2bFsYHfX9gBKCsHFhjKXxRsYeXT8peavpkhNoee94j9WAuXxVMYGZ8KbuSKVX1rVjrzMXcK1WQmcpKojFFn6ZpVi" ], "script": "base64:BgK/IAgCEgMKAQgSAwoBCBIAEgMKAQgSBAoCCAESBgoEAgECAhIDCgEIEgMKAQgSBQoDCAgEEgYKBAEYCBgSBAoCGAgSBAoCCAgSBAoCCAgSAwoBCBIDCgEIEgQKAggIIgZTQ0FMRTgiBU1VTFQzIgVNVUxUOCIHU0NBTEUxOCIGTVVMVDE4IgNTRVAiDlBPT0xXRUlHSFRNVUxUIgp6ZXJvQmlnSW50IglvbmVCaWdJbnQiB3dyYXBFcnIiA21zZyIIdGhyb3dFcnIiCWFzQW55TGlzdCIDdmFsIgckbWF0Y2gwIgp2YWxBbnlMeXN0IgVhc0ludCIGdmFsSW50Ighhc1N0cmluZyIGdmFsU3RyIgxhc0J5dGVWZWN0b3IiBnZhbEJpbiIPZ2V0U3RyaW5nT3JGYWlsIgdhZGRyZXNzIgNrZXkiGGdldFN0cmluZ0J5QWRkcmVzc09yRmFpbCIMZ2V0SW50T3JaZXJvIg9nZXRJbnRPckRlZmF1bHQiCmRlZmF1bHRWYWwiDGdldEludE9yRmFpbCIZZ2V0QmlnSW50RnJvbVN0cmluZ09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CQABAgUCZHUCBFVuaXQJAJQKAgkAzAgCCQELRGVsZXRlRW50cnkBCQECYmQBBQJhQgUDbmlsBwMJAAECBQJkdQIGU3RyaW5nBAJkeAUCZHUJAJQKAgkAzAgCCQELU3RyaW5nRW50cnkCCQECYmQBBQJhQgUCZHgFA25pbAYJAAIBAgtNYXRjaCBlcnJvcgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAgECC01hdGNoIGVycm9yCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAmNtAQ5vbk1vZGlmeVdlaWdodAICYXQCYnoDCQECIT0CCAUCY20GY2FsbGVyBQJhWAkBAWwBAhJwZXJtaXNzaW9ucyBkZW5pZWQEAmR5CQECYnkDBQJhdAUCYnoAAAQCYncIBQJkeQJfMQQCYlgIBQJkeQJfMgQCYlkIBQJkeQJfMwUCYlgBAmR6AQJkQQAEAmRCBAFvCQECY2kAAwkAAQIFAW8CCkJ5dGVWZWN0b3IEAmNvBQFvBQJjbwMJAAECBQFvAgRVbml0CAUCZHoPc2VuZGVyUHVibGljS2V5CQACAQILTWF0Y2ggZXJyb3IJAPQDAwgFAmR6CWJvZHlCeXRlcwkAkQMCCAUCZHoGcHJvb2ZzAAAFAmRCrhoMrA==", "height": 2593142, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3HzmJhCQEtWw3UA9RkuCzsYHWkJghLBMj6vX4Pd6eFQt Next: DRESwBBqVW7GshuvxQsC1yWfW2fr4PvbAYYXuZSavikS Diff:
OldNewDifferences
644644 then {
645645 let aD = valueOrErrorMessage(addressFromString(as), j("claimWxINTERNAL: invalid user address"))
646646 let bz = z(aX, ab(at))
647- let cL = invoke(this, "onModifyWeight", [at, bz], nil)
648- if ((cL == cL))
649- then {
650- let cM = av(at, as)
651- let cN = ay(at)
652- let cO = aw(at, as)
653- let cP = ax(at, as)
654- let cQ = E(this, cM)
655- let cB = E(this, cO)
656- let cR = E(this, cP)
657- let cS = E(this, cN)
658- let cT = bV(at, as, bz, 0)
659- let cf = cT._1
660- let cx = cT._2
661- let bU = cT._3
662- let cC = max([(cf - cB), h])
663- if ((h >= cC))
664- then if (cD)
665- then l("nothing to claim")
666- else $Tuple2(nil, 0)
667- else {
668- let cU = max([q(m(invoke(aZ, "claimWxBoost", [at, as], nil))[0]), 0])
669- let cV = cC
670- let cW = min([(cV * toBigInt((ba - 1))), toBigInt(cU)])
671- let cX = (cV + cW)
672- let cY = u(m(invoke(aY, "emit", [toInt(cV)], nil))[0])
673- let cZ = m(invoke(aY, "emit", [toInt(cW)], nil))
674- if ((cZ == cZ))
675- then {
676- let da = ((cQ + cV) + cW)
677- let db = (cB + cV)
678- let dc = (cR + cW)
679- let dd = (cS + cC)
680- $Tuple2([StringEntry(cM, toString(da)), StringEntry(cO, toString(db)), StringEntry(cP, toString(dc)), StringEntry(cN, toString(dd)), ScriptTransfer(aD, toInt(cV), cY), ScriptTransfer(aD, toInt(cW), cY), aU("claim", as, at, toInt(cC), cm.transactionId)], toInt(cX))
681- }
682- else throw("Strict value is not equal to itself.")
647+ let cL = av(at, as)
648+ let cM = ay(at)
649+ let cN = aw(at, as)
650+ let cO = ax(at, as)
651+ let cP = E(this, cL)
652+ let cB = E(this, cN)
653+ let cQ = E(this, cO)
654+ let cR = E(this, cM)
655+ let cS = bV(at, as, bz, 0)
656+ let cf = cS._1
657+ let cx = cS._2
658+ let bU = cS._3
659+ let cC = max([(cf - cB), h])
660+ if ((h >= cC))
661+ then if (cD)
662+ then l("nothing to claim")
663+ else $Tuple2(nil, 0)
664+ else {
665+ let cT = max([q(m(invoke(aZ, "claimWxBoost", [at, as], nil))[0]), 0])
666+ let cU = cC
667+ let cV = min([(cU * toBigInt((ba - 1))), toBigInt(cT)])
668+ let cW = (cU + cV)
669+ let cX = u(m(invoke(aY, "emit", [toInt(cU)], nil))[0])
670+ let cY = m(invoke(aY, "emit", [toInt(cV)], nil))
671+ if ((cY == cY))
672+ then {
673+ let cZ = ((cP + cU) + cV)
674+ let da = (cB + cU)
675+ let db = (cQ + cV)
676+ let dc = (cR + cC)
677+ $Tuple2([StringEntry(cL, toString(cZ)), StringEntry(cN, toString(da)), StringEntry(cO, toString(db)), StringEntry(cM, toString(dc)), ScriptTransfer(aD, toInt(cU), cX), ScriptTransfer(aD, toInt(cV), cX), aU("claim", as, at, toInt(cC), cm.transactionId)], toInt(cW))
683678 }
679+ else throw("Strict value is not equal to itself.")
684680 }
685- else throw("Strict value is not equal to itself.")
686681 }
687682 else throw("Strict value is not equal to itself.")
688683 }
690685
691686
692687 @Callable(cm)
693-func claimWxBulkInternalREADONLY (de,df,as,dg) = if ((de == size(df)))
694- then $Tuple2(nil, dg)
688+func claimWxBulkInternalREADONLY (dd,de,as,df) = if ((dd == size(de)))
689+ then $Tuple2(nil, df)
695690 else {
696- let aB = df[de]
697- let dh = split({
691+ let aB = de[dd]
692+ let dg = split({
698693 let bb = invoke(this, "claimWxREADONLY", [aB, as], nil)
699694 if ($isInstanceOf(bb, "String"))
700695 then bb
701696 else throw(($getType(bb) + " couldn't be cast to String"))
702697 }, f)
703- let di = dh[3]
704- let dj = dh[4]
705- let dk = {
698+ let dh = dg[3]
699+ let di = dg[4]
700+ let dj = {
706701 let bb = invoke(aZ, "getUserVoteFinalizedREADONLY", [aB, as], nil)
707702 if ($isInstanceOf(bb, "Int"))
708703 then bb
709704 else throw(($getType(bb) + " couldn't be cast to Int"))
710705 }
711- let dl = (dg :+ makeString(["%d%d%d", di, dj, toString(dk)], f))
712- let dm = {
713- let bb = invoke(this, "claimWxBulkInternalREADONLY", [(de + 1), df, as, dl], nil)
706+ let dk = (df :+ makeString(["%d%d%d", dh, di, toString(dj)], f))
707+ let dl = {
708+ let bb = invoke(this, "claimWxBulkInternalREADONLY", [(dd + 1), de, as, dk], nil)
714709 if ($isInstanceOf(bb, "List[Any]"))
715710 then bb
716711 else throw(($getType(bb) + " couldn't be cast to List[Any]"))
717712 }
718- if ((dm == dm))
719- then $Tuple2(nil, dm)
713+ if ((dl == dl))
714+ then $Tuple2(nil, dl)
720715 else throw("Strict value is not equal to itself.")
721716 }
722717
723718
724719
725720 @Callable(cm)
726-func claimWxBulkREADONLY (df,as) = {
727- let dl = invoke(this, "claimWxBulkInternalREADONLY", [0, df, as, nil], nil)
728- $Tuple2(nil, dl)
721+func claimWxBulkREADONLY (de,as) = {
722+ let dk = invoke(this, "claimWxBulkInternalREADONLY", [0, de, as, nil], nil)
723+ $Tuple2(nil, dk)
729724 }
730725
731726
734729 func claimWxREADONLY (at,as) = {
735730 let bZ = ar(as, at)
736731 let bB = au(at)
737- let cM = av(at, as)
738- let cO = aw(at, as)
732+ let cL = av(at, as)
733+ let cN = aw(at, as)
739734 let bu = az(bZ)
740735 let bC = az(bB)
741- let cQ = E(this, cM)
742- let cB = E(this, cO)
736+ let cP = E(this, cL)
737+ let cB = E(this, cN)
743738 let bz = z(aX, ab(at))
744739 let bE = getIntegerValue(aX, ac(bz))
745- let cL = invoke(this, "onModifyWeight", [at, bz], nil)
746- if ((cL == cL))
747- then {
748- let dn = D(aY, am())
749- let bF = D(aY, ao())
750- let do = if ((bF > height))
751- then 0
752- else (height - bF)
753- let dp = fraction((dn * do), bE, g)
754- let dq = fraction(dp, bu, bC)
755- let dr = bV(at, as, bz, 0)
756- let cf = dr._1
757- let cx = dr._2
758- let bU = dr._3
759- let cC = max([(cf - cB), h])
760- let ds = m(invoke(aZ, "claimWxBoostREADONLY", [at, as], nil))
761- let cU = max([q(ds[0]), 0])
762- let dt = s(ds[1])
763- let cV = cC
764- let cW = min([(cV * toBigInt((ba - 1))), toBigInt(cU)])
765- let cX = (cV + cW)
766- $Tuple2(nil, makeString(["%s%s%d%d%d%d%s", at, as, toString(cX), toString(cQ), toString(cV), toString(cW), "soon"], f))
767- }
768- else throw("Strict value is not equal to itself.")
740+ let dm = D(aY, am())
741+ let bF = D(aY, ao())
742+ let dn = if ((bF > height))
743+ then 0
744+ else (height - bF)
745+ let do = fraction((dm * dn), bE, g)
746+ let dp = fraction(do, bu, bC)
747+ let dq = bV(at, as, bz, 0)
748+ let cf = dq._1
749+ let cx = dq._2
750+ let bU = dq._3
751+ let cC = max([(cf - cB), h])
752+ let dr = m(invoke(aZ, "claimWxBoostREADONLY", [at, as], nil))
753+ let cT = max([q(dr[0]), 0])
754+ let ds = s(dr[1])
755+ let cU = cC
756+ let cV = min([(cU * toBigInt((ba - 1))), toBigInt(cT)])
757+ let cW = (cU + cV)
758+ $Tuple2(nil, makeString(["%s%s%d%d%d%d%s", at, as, toString(cW), toString(cP), toString(cU), toString(cV), "soon"], f))
769759 }
770760
771761
794784 if ((cG == cG))
795785 then {
796786 let bg = be(aB)
797- let du = getString(bd(aB))
787+ let dt = getString(bd(aB))
798788 let bm = getString(bf(bg))
799- let o = du
789+ let o = dt
800790 if ($isInstanceOf(o, "Unit"))
801791 then {
802- let dv = bm
803- if ($isInstanceOf(dv, "Unit"))
792+ let du = bm
793+ if ($isInstanceOf(du, "Unit"))
804794 then $Tuple2(nil, false)
805- else if ($isInstanceOf(dv, "String"))
795+ else if ($isInstanceOf(du, "String"))
806796 then {
807- let dw = dv
808- $Tuple2([StringEntry(bd(aB), dw)], true)
797+ let dv = du
798+ $Tuple2([StringEntry(bd(aB), dv)], true)
809799 }
810800 else throw("Match error")
811801 }
822812 else unit
823813 if ((cE == cE))
824814 then {
825- let dx = getString(bk(bg, aD))
826- let dv = dx
827- if ($isInstanceOf(dv, "Unit"))
815+ let dw = getString(bk(bg, aD))
816+ let du = dw
817+ if ($isInstanceOf(du, "Unit"))
828818 then $Tuple2([DeleteEntry(bd(aB))], false)
829- else if ($isInstanceOf(dv, "String"))
819+ else if ($isInstanceOf(du, "String"))
830820 then {
831- let dy = dv
832- $Tuple2([StringEntry(bd(aB), dy)], true)
821+ let dx = du
822+ $Tuple2([StringEntry(bd(aB), dx)], true)
833823 }
834824 else throw("Match error")
835825 }
843833
844834
845835 @Callable(cm)
846-func onModifyWeight (at,bz) = if (if ((cm.caller != aX))
847- then (cm.caller != this)
848- else false)
836+func onModifyWeight (at,bz) = if ((cm.caller != aX))
849837 then l("permissions denied")
850838 else {
851- let dz = by(at, bz, 0)
852- let bw = dz._1
853- let bX = dz._2
854- let bY = dz._3
839+ let dy = by(at, bz, 0)
840+ let bw = dy._1
841+ let bX = dy._2
842+ let bY = dy._3
855843 bX
856844 }
857845
858846
859-@Verifier(dA)
860-func dB () = {
861- let dC = {
847+@Verifier(dz)
848+func dA () = {
849+ let dB = {
862850 let o = ci()
863851 if ($isInstanceOf(o, "ByteVector"))
864852 then {
866854 co
867855 }
868856 else if ($isInstanceOf(o, "Unit"))
869- then dA.senderPublicKey
857+ then dz.senderPublicKey
870858 else throw("Match error")
871859 }
872- sigVerify(dA.bodyBytes, dA.proofs[0], dC)
860+ sigVerify(dz.bodyBytes, dz.proofs[0], dB)
873861 }
874862
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = 8
55
66 let b = 1000
77
88 let c = 100000000
99
1010 let d = 18
1111
1212 let e = toBigInt(1000000000000000000)
1313
1414 let f = "__"
1515
1616 let g = c
1717
1818 let h = toBigInt(0)
1919
2020 let i = toBigInt(1)
2121
2222 func j (k) = makeString(["staking.ride:", toString(this), k], " ")
2323
2424
2525 func l (k) = throw(j(k))
2626
2727
2828 func m (n) = {
2929 let o = n
3030 if ($isInstanceOf(o, "List[Any]"))
3131 then {
3232 let p = o
3333 p
3434 }
3535 else l("fail to cast into List[Any]")
3636 }
3737
3838
3939 func q (n) = {
4040 let o = n
4141 if ($isInstanceOf(o, "Int"))
4242 then {
4343 let r = o
4444 r
4545 }
4646 else l("fail to cast into Int")
4747 }
4848
4949
5050 func s (n) = {
5151 let o = n
5252 if ($isInstanceOf(o, "String"))
5353 then {
5454 let t = o
5555 t
5656 }
5757 else l("fail to cast into Int")
5858 }
5959
6060
6161 func u (n) = {
6262 let o = n
6363 if ($isInstanceOf(o, "ByteVector"))
6464 then {
6565 let v = o
6666 v
6767 }
6868 else l("fail to cast into Int")
6969 }
7070
7171
7272 func w (x,y) = valueOrErrorMessage(getString(x, y), j((("mandatory this." + y) + " is not defined")))
7373
7474
7575 func z (x,y) = valueOrErrorMessage(getString(x, y), j((((("mandatory " + toString(x)) + ".") + y) + " is not defined")))
7676
7777
7878 func A (x,y) = valueOrElse(getInteger(x, y), 0)
7979
8080
8181 func B (x,y,C) = valueOrElse(getInteger(x, y), C)
8282
8383
8484 func D (x,y) = valueOrErrorMessage(getInteger(x, y), j((("mandatory this." + y) + " is not defined")))
8585
8686
8787 func E (x,y) = value(parseBigInt(valueOrElse(getString(x, y), "0")))
8888
8989
9090 func F (x,y,C) = {
9191 let o = getString(x, y)
9292 if ($isInstanceOf(o, "String"))
9393 then {
9494 let G = o
9595 value(parseBigInt(G))
9696 }
9797 else if ($isInstanceOf(o, "Unit"))
9898 then C
9999 else throw("Match error")
100100 }
101101
102102
103103 func H (I,J) = fraction(toBigInt(I), e, toBigInt(J))
104104
105105
106106 func K (n,L) = toInt(fraction(n, toBigInt(L), e))
107107
108108
109109 func M () = "%s%s__config__factoryAddress"
110110
111111
112112 func N () = "%s__votingEmissionContract"
113113
114114
115115 let O = 1
116116
117117 let P = 2
118118
119119 let Q = 3
120120
121121 let R = 4
122122
123123 let S = 5
124124
125125 let T = 6
126126
127127 let U = 7
128128
129129 func V () = "%s__factoryConfig"
130130
131131
132132 func W () = "%s__managerPublicKey"
133133
134134
135135 func X () = "%s__managerVaultAddress"
136136
137137
138138 func Y (Z) = makeString(["%s%s%s", Z, "mappings__lpAsset2PoolContract"], f)
139139
140140
141141 func aa () = "%s__lpTokensList"
142142
143143
144144 func ab (Z) = makeString(["%s%s%s", Z, "mappings__lpAsset2PoolContract"], f)
145145
146146
147147 func ac (ad) = makeString(["%s%s", "poolWeight", ad], f)
148148
149149
150150 func ae (af) = split(valueOrElse(getString(af, aa()), ""), f)
151151
152152
153153 func ag (af) = split(z(af, V()), f)
154154
155155
156156 func ah (ai) = addressFromStringValue(ai[P])
157157
158158
159159 func aj (ai) = addressFromStringValue(ai[S])
160160
161161
162162 func ak (ai) = addressFromStringValue(ai[O])
163163
164164
165165 func al () = {
166166 let o = getString(X())
167167 if ($isInstanceOf(o, "String"))
168168 then {
169169 let G = o
170170 addressFromStringValue(G)
171171 }
172172 else this
173173 }
174174
175175
176176 func am () = "%s%s__ratePerBlock__current"
177177
178178
179179 func an () = "%s%s__ratePerBlockMax__current"
180180
181181
182182 func ao () = "%s%s__emission__startBlock"
183183
184184
185185 func ap () = "%s%s__emission__duration"
186186
187187
188188 func aq () = "%s%s__emission__endBlock"
189189
190190
191191 func ar (as,at) = makeString(["%s%s%s__staked", as, at], f)
192192
193193
194194 func au (at) = ("%s%s%s__staked__total__" + at)
195195
196196
197197 func av (at,as) = makeString(["%s%s%s__claimed", as, at], f)
198198
199199
200200 func aw (at,as) = makeString(["%s%s%s__claimedMinReward", as, at], f)
201201
202202
203203 func ax (at,as) = makeString(["%s%s%s__claimedBoostReward", as, at], f)
204204
205205
206206 func ay (at) = makeString(["%s%s%s__claimed__total", at], f)
207207
208208
209209 func az (y) = valueOrElse(getInteger(this, y), 0)
210210
211211
212212 func aA (aB) = makeString(["%s%s%s", aB, "total", "bal"], f)
213213
214214
215215 func aC (aB,aD) = makeString(["%s%s%s", aB, aD, "bal"], f)
216216
217217
218218 func aE (aB) = makeString(["%s%s%s", aB, "total", "balINT"], f)
219219
220220
221221 func aF (aB,aD) = makeString(["%s%s%s", aB, aD, "balINT"], f)
222222
223223
224224 func aG (aB) = makeString(["%s%s%s", aB, "total", "lastUpd"], f)
225225
226226
227227 func aH (aB,aD) = makeString(["%s%s%s", aB, aD, "lastUpd"], f)
228228
229229
230230 func aI (aB) = makeString(["%s%s%s%s", aB, "common", "lpInt"], f)
231231
232232
233233 func aJ (aB) = makeString(["%s%s%s%s", aB, "common", "lpIntH"], f)
234234
235235
236236 func aK (aB,aD) = makeString(["%s%s%s%s", aB, aD, "lpInt"], f)
237237
238238
239239 func aL (aB,aD) = makeString(["%s%s%s%s", aB, aD, "lpIntH"], f)
240240
241241
242242 func aM (aB) = makeString(["%s", aB, "wxPerLp"], f)
243243
244244
245245 func aN (aB) = makeString(["%s", aB, "wxPerLpX18"], f)
246246
247247
248248 func aO (aB,aD) = makeString(["%s%s%s%s", aB, aD, "uIntL"], f)
249249
250250
251251 func aP (aQ,aD,aR) = makeString(["%s%s%s%s__history", aQ, aD, aR], f)
252252
253253
254254 func aS (aD,aB,aQ,aT) = makeString(["%s%s%s%d%d%d", aD, aB, aQ, toString(height), toString(lastBlock.timestamp), toString(aT)], f)
255255
256256
257257 func aU (aQ,aD,aB,aT,aV) = StringEntry(aP(aQ, aD, toBase58String(aV)), aS(aD, aB, aQ, aT))
258258
259259
260260 let aW = w(this, M())
261261
262262 let aX = addressFromStringValue(aW)
263263
264264 let ai = ag(aX)
265265
266266 let aY = aj(ai)
267267
268268 let aZ = ah(ai)
269269
270270 let ba = {
271271 let bb = invoke(aY, "getBoostCoeffREADONLY", nil, nil)
272272 if ($isInstanceOf(bb, "Int"))
273273 then bb
274274 else throw(($getType(bb) + " couldn't be cast to Int"))
275275 }
276276
277277 let bc = valueOrErrorMessage(addressFromString(valueOrErrorMessage(getString(makeString(["%s", "lpStakingPoolsContract"], f)), j("lp_staking_pools contract address is undefined"))), j("invalid lp_staking_pools contract address"))
278278
279279 func bd (aB) = makeString(["%s%s", aB, "nextUser"], f)
280280
281281
282282 func be (aB) = makeString(["users", aB], f)
283283
284284
285285 func bf (bg) = makeString(["%s%s%s", bg, "head"], f)
286286
287287
288288 func bh (bg) = makeString(["%s%s%s", bg, "size"], f)
289289
290290
291291 func bi (bg,bj) = makeString(["%s%s%s%s", bg, bj, "prev"], f)
292292
293293
294294 func bk (bg,bj) = makeString(["%s%s%s%s", bg, bj, "next"], f)
295295
296296
297297 func bl (bg,bj) = {
298298 let bm = getString(this, bf(bg))
299299 let bn = getString(this, bi(bg, bj))
300300 let bo = getString(this, bk(bg, bj))
301301 if (if ((bj == valueOrElse(bm, "")))
302302 then true
303303 else (bn != unit))
304304 then true
305305 else (bo != unit)
306306 }
307307
308308
309309 func bp (bg,bj) = {
310310 let bm = getString(this, bf(bg))
311311 let bq = valueOrElse(getInteger(this, bh(bg)), 0)
312312 let br = if (!(bl(bg, bj)))
313313 then true
314314 else l("Node exists")
315315 if ((br == br))
316316 then (([IntegerEntry(bh(bg), (bq + 1))] ++ (if ((bm != unit))
317317 then [StringEntry(bk(bg, bj), value(bm)), StringEntry(bi(bg, value(bm)), bj)]
318318 else nil)) ++ [StringEntry(bf(bg), bj)])
319319 else throw("Strict value is not equal to itself.")
320320 }
321321
322322
323323 func bs (bg,bj) = {
324324 let bm = getString(this, bf(bg))
325325 let bq = valueOrElse(getInteger(this, bh(bg)), 0)
326326 let bn = getString(this, bi(bg, bj))
327327 let bo = getString(this, bk(bg, bj))
328328 ([IntegerEntry(bh(bg), (bq - 1))] ++ (if (if ((bn != unit))
329329 then (bo != unit)
330330 else false)
331331 then [StringEntry(bk(bg, value(bn)), value(bo)), StringEntry(bi(bg, value(bo)), value(bn)), DeleteEntry(bi(bg, bj)), DeleteEntry(bk(bg, bj))]
332332 else if ((bo != unit))
333333 then [StringEntry(bf(bg), value(bo)), DeleteEntry(bk(bg, bj)), DeleteEntry(bi(bg, value(bo)))]
334334 else if ((bn != unit))
335335 then [DeleteEntry(bi(bg, bj)), DeleteEntry(bk(bg, value(bn)))]
336336 else if ((bj == valueOrElse(bm, "")))
337337 then [DeleteEntry(bf(bg))]
338338 else l(((("invalid node: " + bg) + ".") + bj))))
339339 }
340340
341341
342342 func bt (bu,bv,bw,bx) = if (if ((bv == h))
343343 then (bu > h)
344344 else false)
345345 then h
346346 else if ((bu == h))
347347 then bw
348348 else if (if ((bv > h))
349349 then (bu > h)
350350 else false)
351351 then value(parseBigInt(w(this, bx)))
352352 else l("calcWxPerLpIntegralUserLast: unexpected state")
353353
354354
355355 func by (at,bz,bA) = {
356356 let bB = au(at)
357357 let bC = toBigInt(az(bB))
358358 let bD = if ((bC == h))
359359 then i
360360 else bC
361361 let bE = getIntegerValue(aX, ac(bz))
362362 let bF = D(aY, ao())
363363 let bG = (D(aY, am()) * b)
364364 let bH = fraction(bG, bE, (g * ba))
365365 let bI = aI(at)
366366 let bJ = aJ(at)
367367 let bK = aM(at)
368368 let bL = B(this, bJ, bF)
369369 let bM = E(this, bI)
370370 let bN = 0
371371 let bO = max([(height - bL), 0])
372372 let bP = if ((bN != 0))
373373 then toBigInt(bN)
374374 else fraction(toBigInt(bH), toBigInt(c), bD)
375375 let bQ = (bC + toBigInt(bA))
376376 let bR = if ((bQ == h))
377377 then i
378378 else bQ
379379 let bw = (bM + (bP * toBigInt(bO)))
380380 let bS = (toBigInt(bH) / bR)
381381 let bT = height
382382 let bU = makeString([toString(bw), toString(bO), toString(bP), toString(bC), toString(bH), toString(bG), toString(bE)], "::")
383383 $Tuple3(bw, [StringEntry(bI, toString(bw)), IntegerEntry(bJ, bT), StringEntry(bK, toString(bS))], bU)
384384 }
385385
386386
387387 func bV (at,as,bz,bA) = {
388388 let bW = by(at, bz, bA)
389389 let bw = bW._1
390390 let bX = bW._2
391391 let bY = bW._3
392392 let bZ = ar(as, at)
393393 let bu = az(bZ)
394394 let ca = aK(at, as)
395395 let cb = aL(at, as)
396396 let bx = aO(at, as)
397397 let cc = E(this, ca)
398398 let bv = A(this, cb)
399399 let cd = bt(toBigInt(bu), toBigInt(bv), bw, bx)
400400 let ce = (c * b)
401401 let cf = max([(cc + fraction((bw - cd), toBigInt(bu), toBigInt(ce))), h])
402402 let cg = bw
403403 let ch = height
404404 let bU = makeString([toString(cc), toString(cd), toString(bu), bY, toString(height)], "::")
405405 $Tuple3(cf, (bX ++ [StringEntry(ca, toString(cf)), IntegerEntry(cb, ch), StringEntry(bx, toString(cg))]), bU)
406406 }
407407
408408
409409 func ci () = {
410410 let cj = al()
411411 let o = getString(cj, W())
412412 if ($isInstanceOf(o, "String"))
413413 then {
414414 let G = o
415415 fromBase58String(G)
416416 }
417417 else if ($isInstanceOf(o, "Unit"))
418418 then unit
419419 else throw("Match error")
420420 }
421421
422422
423423 let ck = l("Permission denied")
424424
425425 func cl (cm) = if ((cm.caller == this))
426426 then true
427427 else ck
428428
429429
430430 func cn (cm) = {
431431 let o = ci()
432432 if ($isInstanceOf(o, "ByteVector"))
433433 then {
434434 let co = o
435435 if ((cm.callerPublicKey == co))
436436 then true
437437 else ck
438438 }
439439 else if ($isInstanceOf(o, "Unit"))
440440 then if ((cm.caller == this))
441441 then true
442442 else ck
443443 else throw("Match error")
444444 }
445445
446446
447447 func cp () = {
448448 let cq = addressFromStringValue(getStringValue(this, N()))
449449 let cr = {
450450 let bb = invoke(cq, "isFinalizationInProgress", nil, nil)
451451 if ($isInstanceOf(bb, "Boolean"))
452452 then bb
453453 else throw(($getType(bb) + " couldn't be cast to Boolean"))
454454 }
455455 if (!(cr))
456456 then true
457457 else l("voting emission should be finalized")
458458 }
459459
460460
461461 func cs (cm,aB,ct,aD,aT) = {
462462 let cu = cp()
463463 if ((cu == cu))
464464 then {
465465 let as = toString(aD)
466466 let at = toBase58String(aB)
467467 let bz = toString(ct)
468468 let bZ = ar(as, at)
469469 let bB = au(at)
470470 let bu = az(bZ)
471471 let cv = if ((bu == 0))
472472 then invoke(aZ, "onStakedVoteUpdate", [at, as, true], nil)
473473 else unit
474474 if ((cv == cv))
475475 then {
476476 let bC = az(bB)
477477 let cw = bV(at, as, bz, aT)
478478 let cf = cw._1
479479 let cx = cw._2
480480 let bU = cw._3
481481 let bg = be(at)
482482 let cy = if (bl(bg, as))
483483 then nil
484484 else bp(bg, as)
485485 (([IntegerEntry(bZ, (bu + aT)), IntegerEntry(bB, (bC + aT)), aU("stake", as, at, aT, cm.transactionId)] ++ cx) ++ cy)
486486 }
487487 else throw("Strict value is not equal to itself.")
488488 }
489489 else throw("Strict value is not equal to itself.")
490490 }
491491
492492
493493 func cz (cm,aB,ct,aD,cA,aT) = {
494494 let cu = cp()
495495 if ((cu == cu))
496496 then {
497497 let as = toString(aD)
498498 let at = toBase58String(aB)
499499 let bz = toString(ct)
500500 let bZ = ar(as, at)
501501 let bB = au(at)
502502 let bu = az(bZ)
503503 let bC = az(bB)
504504 let cx = bV(at, as, bz, -(aT))._2
505505 let bg = be(at)
506506 let cy = if (if (bl(bg, as))
507507 then (aT == bu)
508508 else false)
509509 then bs(bg, as)
510510 else nil
511511 let cv = if ((aT == bu))
512512 then invoke(aZ, "onStakedVoteUpdate", [at, as, false], nil)
513513 else unit
514514 if ((cv == cv))
515515 then {
516516 let cB = E(this, aw(at, as))
517517 let cf = bV(at, as, bz, 0)._1
518518 let cC = (cf - cB)
519519 let cD = true
520520 let cE = if ((cC > h))
521521 then invoke(this, "claimWxINTERNAL", [at, as, cD], nil)
522522 else unit
523523 if ((cE == cE))
524524 then if ((aT > bu))
525525 then l(((((((("passed amount=" + toString(aT)) + " is greater than available=") + toString(bu)) + ". lpAssetId=") + at) + ". stakedByUserKEY=") + bZ))
526526 else (([IntegerEntry(bZ, (bu - aT)), IntegerEntry(bB, (bC - aT)), ScriptTransfer(cA, aT, aB), aU("unstake", as, at, aT, cm.transactionId)] ++ cx) ++ cy)
527527 else throw("Strict value is not equal to itself.")
528528 }
529529 else throw("Strict value is not equal to itself.")
530530 }
531531 else throw("Strict value is not equal to itself.")
532532 }
533533
534534
535535 @Callable(cm)
536536 func constructor (cF) = {
537537 let cG = cn(cm)
538538 if ((cG == cG))
539539 then [StringEntry(M(), cF)]
540540 else throw("Strict value is not equal to itself.")
541541 }
542542
543543
544544
545545 @Callable(cm)
546546 func constructorV2 (cq) = {
547547 let cH = [cn(cm), if ((addressFromString(cq) != unit))
548548 then true
549549 else "invalid voting emission contract address"]
550550 if ((cH == cH))
551551 then [StringEntry(N(), cq)]
552552 else throw("Strict value is not equal to itself.")
553553 }
554554
555555
556556
557557 @Callable(cm)
558558 func stake () = if ((size(cm.payments) != 1))
559559 then l("invalid payment - exact one payment must be attached")
560560 else {
561561 let cI = cm.payments[0]
562562 let aB = value(cI.assetId)
563563 let at = toBase58String(aB)
564564 let aT = cI.amount
565565 let bz = valueOrErrorMessage(getString(aX, Y(at)), j(("unsupported lp asset " + at)))
566566 let ct = addressFromStringValue(bz)
567567 let aD = if ((cm.caller == ct))
568568 then cm.originCaller
569569 else cm.caller
570570 cs(cm, aB, ct, aD, aT)
571571 }
572572
573573
574574
575575 @Callable(cm)
576576 func stakeFor (as) = if ((size(cm.payments) != 1))
577577 then l("invalid payment - exact one payment must be attached")
578578 else {
579579 let cI = cm.payments[0]
580580 let aB = value(cI.assetId)
581581 let at = toBase58String(aB)
582582 let aT = cI.amount
583583 let bz = valueOrErrorMessage(getString(aX, Y(at)), j(("unsupported lp asset " + at)))
584584 let ct = addressFromStringValue(bz)
585585 let aD = valueOrErrorMessage(addressFromString(as), j("invalid user address"))
586586 cs(cm, aB, ct, aD, aT)
587587 }
588588
589589
590590
591591 @Callable(cm)
592592 func unstake (at,aT) = {
593593 let aB = fromBase58String(at)
594594 let bz = valueOrErrorMessage(getString(aX, Y(at)), j(("unsupported lp asset " + at)))
595595 let ct = addressFromStringValue(bz)
596596 let cJ = toString(cm.caller)
597597 let aD = if ((cJ == bz))
598598 then cm.originCaller
599599 else cm.caller
600600 let cA = cm.caller
601601 cz(cm, aB, ct, aD, cA, aT)
602602 }
603603
604604
605605
606606 @Callable(cm)
607607 func unstakeINTERNAL (aB,aT,aD,cA) = {
608608 let at = toBase58String(aB)
609609 let ct = addressFromStringValue(valueOrErrorMessage(getString(aX, Y(at)), j(("unsupported lp asset " + at))))
610610 let cG = if ((cm.caller == ct))
611611 then true
612612 else ck
613613 if ((cG == cG))
614614 then cz(cm, aB, ct, Address(aD), Address(cA), aT)
615615 else throw("Strict value is not equal to itself.")
616616 }
617617
618618
619619
620620 @Callable(cm)
621621 func claimWx (at) = {
622622 let as = toString(cm.caller)
623623 let cD = true
624624 let cK = invoke(this, "claimWxINTERNAL", [at, as, cD], nil)
625625 $Tuple2(nil, cK)
626626 }
627627
628628
629629
630630 @Callable(cm)
631631 func claimWxDoNotThrow (at) = {
632632 let as = toString(cm.caller)
633633 let cD = false
634634 let cK = invoke(this, "claimWxINTERNAL", [at, as, cD], nil)
635635 $Tuple2(nil, cK)
636636 }
637637
638638
639639
640640 @Callable(cm)
641641 func claimWxINTERNAL (at,as,cD) = {
642642 let cG = cl(cm)
643643 if ((cG == cG))
644644 then {
645645 let aD = valueOrErrorMessage(addressFromString(as), j("claimWxINTERNAL: invalid user address"))
646646 let bz = z(aX, ab(at))
647- let cL = invoke(this, "onModifyWeight", [at, bz], nil)
648- if ((cL == cL))
649- then {
650- let cM = av(at, as)
651- let cN = ay(at)
652- let cO = aw(at, as)
653- let cP = ax(at, as)
654- let cQ = E(this, cM)
655- let cB = E(this, cO)
656- let cR = E(this, cP)
657- let cS = E(this, cN)
658- let cT = bV(at, as, bz, 0)
659- let cf = cT._1
660- let cx = cT._2
661- let bU = cT._3
662- let cC = max([(cf - cB), h])
663- if ((h >= cC))
664- then if (cD)
665- then l("nothing to claim")
666- else $Tuple2(nil, 0)
667- else {
668- let cU = max([q(m(invoke(aZ, "claimWxBoost", [at, as], nil))[0]), 0])
669- let cV = cC
670- let cW = min([(cV * toBigInt((ba - 1))), toBigInt(cU)])
671- let cX = (cV + cW)
672- let cY = u(m(invoke(aY, "emit", [toInt(cV)], nil))[0])
673- let cZ = m(invoke(aY, "emit", [toInt(cW)], nil))
674- if ((cZ == cZ))
675- then {
676- let da = ((cQ + cV) + cW)
677- let db = (cB + cV)
678- let dc = (cR + cW)
679- let dd = (cS + cC)
680- $Tuple2([StringEntry(cM, toString(da)), StringEntry(cO, toString(db)), StringEntry(cP, toString(dc)), StringEntry(cN, toString(dd)), ScriptTransfer(aD, toInt(cV), cY), ScriptTransfer(aD, toInt(cW), cY), aU("claim", as, at, toInt(cC), cm.transactionId)], toInt(cX))
681- }
682- else throw("Strict value is not equal to itself.")
647+ let cL = av(at, as)
648+ let cM = ay(at)
649+ let cN = aw(at, as)
650+ let cO = ax(at, as)
651+ let cP = E(this, cL)
652+ let cB = E(this, cN)
653+ let cQ = E(this, cO)
654+ let cR = E(this, cM)
655+ let cS = bV(at, as, bz, 0)
656+ let cf = cS._1
657+ let cx = cS._2
658+ let bU = cS._3
659+ let cC = max([(cf - cB), h])
660+ if ((h >= cC))
661+ then if (cD)
662+ then l("nothing to claim")
663+ else $Tuple2(nil, 0)
664+ else {
665+ let cT = max([q(m(invoke(aZ, "claimWxBoost", [at, as], nil))[0]), 0])
666+ let cU = cC
667+ let cV = min([(cU * toBigInt((ba - 1))), toBigInt(cT)])
668+ let cW = (cU + cV)
669+ let cX = u(m(invoke(aY, "emit", [toInt(cU)], nil))[0])
670+ let cY = m(invoke(aY, "emit", [toInt(cV)], nil))
671+ if ((cY == cY))
672+ then {
673+ let cZ = ((cP + cU) + cV)
674+ let da = (cB + cU)
675+ let db = (cQ + cV)
676+ let dc = (cR + cC)
677+ $Tuple2([StringEntry(cL, toString(cZ)), StringEntry(cN, toString(da)), StringEntry(cO, toString(db)), StringEntry(cM, toString(dc)), ScriptTransfer(aD, toInt(cU), cX), ScriptTransfer(aD, toInt(cV), cX), aU("claim", as, at, toInt(cC), cm.transactionId)], toInt(cW))
683678 }
679+ else throw("Strict value is not equal to itself.")
684680 }
685- else throw("Strict value is not equal to itself.")
686681 }
687682 else throw("Strict value is not equal to itself.")
688683 }
689684
690685
691686
692687 @Callable(cm)
693-func claimWxBulkInternalREADONLY (de,df,as,dg) = if ((de == size(df)))
694- then $Tuple2(nil, dg)
688+func claimWxBulkInternalREADONLY (dd,de,as,df) = if ((dd == size(de)))
689+ then $Tuple2(nil, df)
695690 else {
696- let aB = df[de]
697- let dh = split({
691+ let aB = de[dd]
692+ let dg = split({
698693 let bb = invoke(this, "claimWxREADONLY", [aB, as], nil)
699694 if ($isInstanceOf(bb, "String"))
700695 then bb
701696 else throw(($getType(bb) + " couldn't be cast to String"))
702697 }, f)
703- let di = dh[3]
704- let dj = dh[4]
705- let dk = {
698+ let dh = dg[3]
699+ let di = dg[4]
700+ let dj = {
706701 let bb = invoke(aZ, "getUserVoteFinalizedREADONLY", [aB, as], nil)
707702 if ($isInstanceOf(bb, "Int"))
708703 then bb
709704 else throw(($getType(bb) + " couldn't be cast to Int"))
710705 }
711- let dl = (dg :+ makeString(["%d%d%d", di, dj, toString(dk)], f))
712- let dm = {
713- let bb = invoke(this, "claimWxBulkInternalREADONLY", [(de + 1), df, as, dl], nil)
706+ let dk = (df :+ makeString(["%d%d%d", dh, di, toString(dj)], f))
707+ let dl = {
708+ let bb = invoke(this, "claimWxBulkInternalREADONLY", [(dd + 1), de, as, dk], nil)
714709 if ($isInstanceOf(bb, "List[Any]"))
715710 then bb
716711 else throw(($getType(bb) + " couldn't be cast to List[Any]"))
717712 }
718- if ((dm == dm))
719- then $Tuple2(nil, dm)
713+ if ((dl == dl))
714+ then $Tuple2(nil, dl)
720715 else throw("Strict value is not equal to itself.")
721716 }
722717
723718
724719
725720 @Callable(cm)
726-func claimWxBulkREADONLY (df,as) = {
727- let dl = invoke(this, "claimWxBulkInternalREADONLY", [0, df, as, nil], nil)
728- $Tuple2(nil, dl)
721+func claimWxBulkREADONLY (de,as) = {
722+ let dk = invoke(this, "claimWxBulkInternalREADONLY", [0, de, as, nil], nil)
723+ $Tuple2(nil, dk)
729724 }
730725
731726
732727
733728 @Callable(cm)
734729 func claimWxREADONLY (at,as) = {
735730 let bZ = ar(as, at)
736731 let bB = au(at)
737- let cM = av(at, as)
738- let cO = aw(at, as)
732+ let cL = av(at, as)
733+ let cN = aw(at, as)
739734 let bu = az(bZ)
740735 let bC = az(bB)
741- let cQ = E(this, cM)
742- let cB = E(this, cO)
736+ let cP = E(this, cL)
737+ let cB = E(this, cN)
743738 let bz = z(aX, ab(at))
744739 let bE = getIntegerValue(aX, ac(bz))
745- let cL = invoke(this, "onModifyWeight", [at, bz], nil)
746- if ((cL == cL))
747- then {
748- let dn = D(aY, am())
749- let bF = D(aY, ao())
750- let do = if ((bF > height))
751- then 0
752- else (height - bF)
753- let dp = fraction((dn * do), bE, g)
754- let dq = fraction(dp, bu, bC)
755- let dr = bV(at, as, bz, 0)
756- let cf = dr._1
757- let cx = dr._2
758- let bU = dr._3
759- let cC = max([(cf - cB), h])
760- let ds = m(invoke(aZ, "claimWxBoostREADONLY", [at, as], nil))
761- let cU = max([q(ds[0]), 0])
762- let dt = s(ds[1])
763- let cV = cC
764- let cW = min([(cV * toBigInt((ba - 1))), toBigInt(cU)])
765- let cX = (cV + cW)
766- $Tuple2(nil, makeString(["%s%s%d%d%d%d%s", at, as, toString(cX), toString(cQ), toString(cV), toString(cW), "soon"], f))
767- }
768- else throw("Strict value is not equal to itself.")
740+ let dm = D(aY, am())
741+ let bF = D(aY, ao())
742+ let dn = if ((bF > height))
743+ then 0
744+ else (height - bF)
745+ let do = fraction((dm * dn), bE, g)
746+ let dp = fraction(do, bu, bC)
747+ let dq = bV(at, as, bz, 0)
748+ let cf = dq._1
749+ let cx = dq._2
750+ let bU = dq._3
751+ let cC = max([(cf - cB), h])
752+ let dr = m(invoke(aZ, "claimWxBoostREADONLY", [at, as], nil))
753+ let cT = max([q(dr[0]), 0])
754+ let ds = s(dr[1])
755+ let cU = cC
756+ let cV = min([(cU * toBigInt((ba - 1))), toBigInt(cT)])
757+ let cW = (cU + cV)
758+ $Tuple2(nil, makeString(["%s%s%d%d%d%d%s", at, as, toString(cW), toString(cP), toString(cU), toString(cV), "soon"], f))
769759 }
770760
771761
772762
773763 @Callable(cm)
774764 func stakedByUserREADONLY (at,as) = {
775765 let bu = valueOrElse(getInteger(ar(as, at)), 0)
776766 $Tuple2(nil, bu)
777767 }
778768
779769
780770
781771 @Callable(cm)
782772 func stakedTotalREADONLY (at) = {
783773 let bC = valueOrElse(getInteger(au(at)), 0)
784774 $Tuple2(nil, bC)
785775 }
786776
787777
788778
789779 @Callable(cm)
790780 func usersListTraversal (aB) = {
791781 let cG = if ((toBase58String(cm.caller.bytes) == valueOrElse(getString(this, N()), "")))
792782 then true
793783 else cn(cm)
794784 if ((cG == cG))
795785 then {
796786 let bg = be(aB)
797- let du = getString(bd(aB))
787+ let dt = getString(bd(aB))
798788 let bm = getString(bf(bg))
799- let o = du
789+ let o = dt
800790 if ($isInstanceOf(o, "Unit"))
801791 then {
802- let dv = bm
803- if ($isInstanceOf(dv, "Unit"))
792+ let du = bm
793+ if ($isInstanceOf(du, "Unit"))
804794 then $Tuple2(nil, false)
805- else if ($isInstanceOf(dv, "String"))
795+ else if ($isInstanceOf(du, "String"))
806796 then {
807- let dw = dv
808- $Tuple2([StringEntry(bd(aB), dw)], true)
797+ let dv = du
798+ $Tuple2([StringEntry(bd(aB), dv)], true)
809799 }
810800 else throw("Match error")
811801 }
812802 else if ($isInstanceOf(o, "String"))
813803 then {
814804 let aD = o
815805 let cB = E(this, aw(aB, aD))
816806 let ct = z(aX, ab(aB))
817807 let cf = bV(aB, aD, ct, 0)._1
818808 let cC = (cf - cB)
819809 let cD = true
820810 let cE = if ((cC > h))
821811 then invoke(this, "claimWxINTERNAL", [aB, aD, cD], nil)
822812 else unit
823813 if ((cE == cE))
824814 then {
825- let dx = getString(bk(bg, aD))
826- let dv = dx
827- if ($isInstanceOf(dv, "Unit"))
815+ let dw = getString(bk(bg, aD))
816+ let du = dw
817+ if ($isInstanceOf(du, "Unit"))
828818 then $Tuple2([DeleteEntry(bd(aB))], false)
829- else if ($isInstanceOf(dv, "String"))
819+ else if ($isInstanceOf(du, "String"))
830820 then {
831- let dy = dv
832- $Tuple2([StringEntry(bd(aB), dy)], true)
821+ let dx = du
822+ $Tuple2([StringEntry(bd(aB), dx)], true)
833823 }
834824 else throw("Match error")
835825 }
836826 else throw("Strict value is not equal to itself.")
837827 }
838828 else throw("Match error")
839829 }
840830 else throw("Strict value is not equal to itself.")
841831 }
842832
843833
844834
845835 @Callable(cm)
846-func onModifyWeight (at,bz) = if (if ((cm.caller != aX))
847- then (cm.caller != this)
848- else false)
836+func onModifyWeight (at,bz) = if ((cm.caller != aX))
849837 then l("permissions denied")
850838 else {
851- let dz = by(at, bz, 0)
852- let bw = dz._1
853- let bX = dz._2
854- let bY = dz._3
839+ let dy = by(at, bz, 0)
840+ let bw = dy._1
841+ let bX = dy._2
842+ let bY = dy._3
855843 bX
856844 }
857845
858846
859-@Verifier(dA)
860-func dB () = {
861- let dC = {
847+@Verifier(dz)
848+func dA () = {
849+ let dB = {
862850 let o = ci()
863851 if ($isInstanceOf(o, "ByteVector"))
864852 then {
865853 let co = o
866854 co
867855 }
868856 else if ($isInstanceOf(o, "Unit"))
869- then dA.senderPublicKey
857+ then dz.senderPublicKey
870858 else throw("Match error")
871859 }
872- sigVerify(dA.bodyBytes, dA.proofs[0], dC)
860+ sigVerify(dz.bodyBytes, dz.proofs[0], dB)
873861 }
874862

github/deemru/w8io/fabc49c 
99.83 ms