tx · 4ja9B4yvtWjQSx7fWucT3m5KYMRU4g5Mj9ffigvmEpAc

3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz:  -0.02900000 Waves

2022.06.29 14:50 [2117692] smart account 3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz > SELF 0.00000000 Waves

{ "type": 13, "id": "4ja9B4yvtWjQSx7fWucT3m5KYMRU4g5Mj9ffigvmEpAc", "fee": 2900000, "feeAssetId": null, "timestamp": 1656503532908, "version": 1, "sender": "3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz", "senderPublicKey": "D28XoueZWsMfm8Y5pa6C5ZFuYoWgre2Wm8tzJANJgMnq", "proofs": [ "t46KRagzEZUXFVPKMC71HaL4DB5s9coApZ2ML8qUKsMt6MdCRAXAtUmdSo8iPViQ3vBR1f8UQHG8r97JHwgSTN9" ], "script": "base64:BgI3CAISAwoBCBIDCgEIEgMKAQgSABIAEgQKAggBEgMKAQgSBAoCCAgSBAoCCAgSAwoBCBIECgIICF8ABlNDQUxFOAAIAAVNVUxUOACAwtcvAAdTQ0FMRTE4ABIABk1VTFQxOAkAtgIBAICAkLu61q3wDQADU0VQAgJfXwAOUE9PTFdFSUdIVE1VTFQFBU1VTFQ4AAp6ZXJvQmlnSW50CQC2AgEAAAAJb25lQmlnSW50CQC2AgEAAQEJYXNBbnlMaXN0AQN2YWwEByRtYXRjaDAFA3ZhbAMJAAECBQckbWF0Y2gwAglMaXN0W0FueV0ECnZhbEFueUx5c3QFByRtYXRjaDAFCnZhbEFueUx5c3QJAAIBAhtmYWlsIHRvIGNhc3QgaW50byBMaXN0W0FueV0BBWFzSW50AQN2YWwEByRtYXRjaDAFA3ZhbAMJAAECBQckbWF0Y2gwAgNJbnQEBnZhbEludAUHJG1hdGNoMAUGdmFsSW50CQACAQIVZmFpbCB0byBjYXN0IGludG8gSW50AQhhc1N0cmluZwEDdmFsBAckbWF0Y2gwBQN2YWwDCQABAgUHJG1hdGNoMAIGU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XRjaDAJARZtYW5hZ2VyUHVibGljS2V5T3JVbml0AAMJAAECBQckbWF0Y2gwAgpCeXRlVmVjdG9yBAJwawUHJG1hdGNoMAUCcGsDCQABAgUHJG1hdGNoMAIEVW5pdAgFAnR4D3NlbmRlclB1YmxpY0tleQkAAgECC01hdGNoIGVycm9yBBFtaWdyYXRvclB1YmxpY0tleQQHJG1hdGNoMAkBF21pZ3JhdG9yUHVibGljS2V5T3JVbml0AAMJAAECBQckbWF0Y2gwAgpCeXRlVmVjdG9yBAJwawUHJG1hdGNoMAUCcGsDCQABAgUHJG1hdGNoMAIEVW5pdAgFAnR4D3NlbmRlclB1YmxpY0tleQkAAgECC01hdGNoIGVycm9yAwkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAUPdGFyZ2V0UHVibGljS2V5BgkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAURbWlncmF0b3JQdWJsaWNLZXlrWUR6", "chainId": 84, "height": 2117692, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: FvUiXeu4R36wBiUWerVothmY9PBWMpXxBDie2ZJAk4rG Next: HBJhyaqdBX29ChSrFq8PSCKyas9biTXsWa2EA3sGdtXo Diff:
OldNewDifferences
1-{-# STDLIB_VERSION 5 #-}
1+{-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = 8
101101 func I () = "%s%s__config__factoryAddress"
102102
103103
104-let J = 1
105-
106-let K = 2
107-
108-let L = 3
109-
110-let M = 4
111-
112-let N = 5
113-
114-let O = 6
115-
116-let P = 7
117-
118-func Q () = "%s__factoryConfig"
104+func J () = "%s__votingEmissionContract"
119105
120106
121-func R () = "%s__managerPublicKey"
107+let K = 1
108+
109+let L = 2
110+
111+let M = 3
112+
113+let N = 4
114+
115+let O = 5
116+
117+let P = 6
118+
119+let Q = 7
120+
121+func R () = "%s__factoryConfig"
122122
123123
124-func S () = "%s__migratorPublicKey"
124+func S () = "%s__managerPublicKey"
125125
126126
127-func T () = "%s__pendingManagerPublicKey"
127+func T () = "%s__migratorPublicKey"
128128
129129
130-func U () = "%s__stablePoolAddonAddr"
130+func U () = "%s__pendingManagerPublicKey"
131131
132132
133-func V (W) = makeString(["%s%s%s", W, "mappings__lpAsset2PoolContract"], e)
133+func V () = "%s__stablePoolAddonAddr"
134134
135135
136-func X () = "%s__lpTokensList"
136+func W (X) = makeString(["%s%s%s", X, "mappings__lpAsset2PoolContract"], e)
137137
138138
139-func Y (W) = makeString(["%s%s%s", W, "mappings__lpAsset2PoolContract"], e)
139+func Y () = "%s__lpTokensList"
140140
141141
142-func Z (aa) = makeString(["%s%s", "poolWeight", aa], e)
142+func Z (X) = makeString(["%s%s%s", X, "mappings__lpAsset2PoolContract"], e)
143143
144144
145-func ab (ac) = split(valueOrElse(getString(ac, X()), ""), e)
145+func aa (ab) = makeString(["%s%s", "poolWeight", ab], e)
146146
147147
148-func ad (ac) = split(v(ac, Q()), e)
148+func ac (ad) = split(valueOrElse(getString(ad, Y()), ""), e)
149149
150150
151-func ae (af) = addressFromStringValue(af[K])
151+func ae (ad) = split(v(ad, R()), e)
152152
153153
154-func ag (af) = addressFromStringValue(af[N])
154+func af (ag) = addressFromStringValue(ag[L])
155155
156156
157-func ah (af) = addressFromStringValue(af[J])
157+func ah (ag) = addressFromStringValue(ag[O])
158158
159159
160-func ai () = "%s%s__ratePerBlock__current"
160+func ai (ag) = addressFromStringValue(ag[K])
161161
162162
163-func aj () = "%s%s__ratePerBlockMax__current"
163+func aj () = "%s%s__ratePerBlock__current"
164164
165165
166-func ak () = "%s%s__emission__startBlock"
166+func ak () = "%s%s__ratePerBlockMax__current"
167167
168168
169-func al () = "%s%s__emission__duration"
169+func al () = "%s%s__emission__startBlock"
170170
171171
172-func am () = "%s%s__emission__endBlock"
172+func am () = "%s%s__emission__duration"
173173
174174
175-func an (ao,ap) = makeString(["%s%s%s__staked", ao, ap], e)
175+func an () = "%s%s__emission__endBlock"
176176
177177
178-func aq (ap) = ("%s%s%s__staked__total__" + ap)
178+func ao (ap,aq) = makeString(["%s%s%s__staked", ap, aq], e)
179179
180180
181-func ar (ap,ao) = makeString(["%s%s%s__claimed", ao, ap], e)
181+func ar (aq) = ("%s%s%s__staked__total__" + aq)
182182
183183
184-func as (ap,ao) = makeString(["%s%s%s__claimedMinReward", ao, ap], e)
184+func as (aq,ap) = makeString(["%s%s%s__claimed", ap, aq], e)
185185
186186
187-func at (ap,ao) = makeString(["%s%s%s__claimedBoostReward", ao, ap], e)
187+func at (aq,ap) = makeString(["%s%s%s__claimedMinReward", ap, aq], e)
188188
189189
190-func au (ap) = makeString(["%s%s%s__claimed__total", ap], e)
190+func au (aq,ap) = makeString(["%s%s%s__claimedBoostReward", ap, aq], e)
191191
192192
193-func av (u) = valueOrElse(getInteger(this, u), 0)
193+func av (aq) = makeString(["%s%s%s__claimed__total", aq], e)
194194
195195
196-func aw (ax) = makeString(["%s%s%s", ax, "total", "bal"], e)
196+func aw (u) = valueOrElse(getInteger(this, u), 0)
197197
198198
199-func ay (ax,az) = makeString(["%s%s%s", ax, az, "bal"], e)
199+func ax (ay) = makeString(["%s%s%s", ay, "total", "bal"], e)
200200
201201
202-func aA (ax) = makeString(["%s%s%s", ax, "total", "balINT"], e)
202+func az (ay,aA) = makeString(["%s%s%s", ay, aA, "bal"], e)
203203
204204
205-func aB (ax,az) = makeString(["%s%s%s", ax, az, "balINT"], e)
205+func aB (ay) = makeString(["%s%s%s", ay, "total", "balINT"], e)
206206
207207
208-func aC (ax) = makeString(["%s%s%s", ax, "total", "lastUpd"], e)
208+func aC (ay,aA) = makeString(["%s%s%s", ay, aA, "balINT"], e)
209209
210210
211-func aD (ax,az) = makeString(["%s%s%s", ax, az, "lastUpd"], e)
211+func aD (ay) = makeString(["%s%s%s", ay, "total", "lastUpd"], e)
212212
213213
214-func aE (ax) = makeString(["%s%s%s%s", ax, "common", "lpInt"], e)
214+func aE (ay,aA) = makeString(["%s%s%s", ay, aA, "lastUpd"], e)
215215
216216
217-func aF (ax) = makeString(["%s%s%s%s", ax, "common", "lpIntH"], e)
217+func aF (ay) = makeString(["%s%s%s%s", ay, "common", "lpInt"], e)
218218
219219
220-func aG (ax,az) = makeString(["%s%s%s%s", ax, az, "lpInt"], e)
220+func aG (ay) = makeString(["%s%s%s%s", ay, "common", "lpIntH"], e)
221221
222222
223-func aH (ax,az) = makeString(["%s%s%s%s", ax, az, "lpIntH"], e)
223+func aH (ay,aA) = makeString(["%s%s%s%s", ay, aA, "lpInt"], e)
224224
225225
226-func aI (ax) = makeString(["%s", ax, "wxPerLp"], e)
226+func aI (ay,aA) = makeString(["%s%s%s%s", ay, aA, "lpIntH"], e)
227227
228228
229-func aJ (ax) = makeString(["%s", ax, "wxPerLpX18"], e)
229+func aJ (ay) = makeString(["%s", ay, "wxPerLp"], e)
230230
231231
232-func aK (ax,az) = makeString(["%s%s%s%s", ax, az, "uIntL"], e)
232+func aK (ay) = makeString(["%s", ay, "wxPerLpX18"], e)
233233
234234
235-func aL (aM,az,aN) = makeString(["%s%s%s%s__history", aM, az, aN], e)
235+func aL (ay,aA) = makeString(["%s%s%s%s", ay, aA, "uIntL"], e)
236236
237237
238-func aO (az,ax,aM,aP) = makeString(["%s%s%s%d%d%d", az, ax, aM, toString(height), toString(lastBlock.timestamp), toString(aP)], e)
238+func aM (aN,aA,aO) = makeString(["%s%s%s%s__history", aN, aA, aO], e)
239239
240240
241-func aQ (aM,az,ax,aP,aR) = StringEntry(aL(aM, az, toBase58String(aR)), aO(az, ax, aM, aP))
241+func aP (aA,ay,aN,aQ) = makeString(["%s%s%s%d%d%d", aA, ay, aN, toString(height), toString(lastBlock.timestamp), toString(aQ)], e)
242242
243243
244-let aS = s(this, I())
244+func aR (aN,aA,ay,aQ,aS) = StringEntry(aM(aN, aA, toBase58String(aS)), aP(aA, ay, aN, aQ))
245245
246-let aT = addressFromStringValue(aS)
247246
248-let af = ad(aT)
247+let aT = s(this, I())
249248
250-let aU = ag(af)
249+let aU = addressFromStringValue(aT)
251250
252-let aV = ae(af)
251+let ag = ae(aU)
253252
254-func aW (aX,aY,aZ,ba) = if (if ((aY == g))
255- then (aX > g)
253+let aV = ah(ag)
254+
255+let aW = af(ag)
256+
257+func aX (ay) = makeString(["%s%s", ay, "nextUser"], e)
258+
259+
260+func aY (ay) = makeString(["users", ay], e)
261+
262+
263+func aZ (ba) = makeString(["%s%s%s", ba, "head"], e)
264+
265+
266+func bb (ba) = makeString(["%s%s%s", ba, "size"], e)
267+
268+
269+func bc (ba,bd) = makeString(["%s%s%s%s", ba, bd, "prev"], e)
270+
271+
272+func be (ba,bd) = makeString(["%s%s%s%s", ba, bd, "next"], e)
273+
274+
275+func bf (ba,bd) = {
276+ let bg = getString(this, aZ(ba))
277+ let bh = getString(this, bc(ba, bd))
278+ let bi = getString(this, be(ba, bd))
279+ if (if ((bd == valueOrElse(bg, "")))
280+ then true
281+ else (bh != unit))
282+ then true
283+ else (bi != unit)
284+ }
285+
286+
287+func bj (ba,bd) = {
288+ let bg = getString(this, aZ(ba))
289+ let bk = valueOrElse(getInteger(this, bb(ba)), 0)
290+ let bl = if (!(bf(ba, bd)))
291+ then true
292+ else throw("Node exists")
293+ if ((bl == bl))
294+ then (([IntegerEntry(bb(ba), (bk + 1))] ++ (if ((bg != unit))
295+ then [StringEntry(be(ba, bd), value(bg)), StringEntry(bc(ba, value(bg)), bd)]
296+ else nil)) ++ [StringEntry(aZ(ba), bd)])
297+ else throw("Strict value is not equal to itself.")
298+ }
299+
300+
301+func bm (ba,bd) = {
302+ let bg = getString(this, aZ(ba))
303+ let bk = valueOrElse(getInteger(this, bb(ba)), 0)
304+ let bh = getString(this, bc(ba, bd))
305+ let bi = getString(this, be(ba, bd))
306+ ([IntegerEntry(bb(ba), (bk - 1))] ++ (if (if ((bh != unit))
307+ then (bi != unit)
308+ else false)
309+ then [StringEntry(be(ba, value(bh)), value(bi)), StringEntry(bc(ba, value(bi)), value(bh)), DeleteEntry(bc(ba, bd)), DeleteEntry(be(ba, bd))]
310+ else if ((bi != unit))
311+ then [StringEntry(aZ(ba), value(bi)), DeleteEntry(be(ba, bd)), DeleteEntry(bc(ba, value(bi)))]
312+ else if ((bh != unit))
313+ then [DeleteEntry(bc(ba, bd)), DeleteEntry(be(ba, value(bh)))]
314+ else if ((bd == valueOrElse(bg, "")))
315+ then [DeleteEntry(aZ(ba))]
316+ else throw(((("invalid node: " + ba) + ".") + bd))))
317+ }
318+
319+
320+func bn (bo,bp,bq,br) = if (if ((bp == g))
321+ then (bo > g)
256322 else false)
257323 then g
258- else if ((aX == g))
259- then aZ
260- else if (if ((aY > g))
261- then (aX > g)
324+ else if ((bo == g))
325+ then bq
326+ else if (if ((bp > g))
327+ then (bo > g)
262328 else false)
263- then value(parseBigInt(s(this, ba)))
329+ then value(parseBigInt(s(this, br)))
264330 else throw("calcWxPerLpIntegralUserLast: unexpected state")
265331
266332
267-func bb (ap,bc,bd) = {
268- let be = aq(ap)
269- let bf = toBigInt(av(be))
270- let bg = if ((bf == g))
333+func bs (aq,bt,bu) = {
334+ let bv = ar(aq)
335+ let bw = toBigInt(aw(bv))
336+ let bx = if ((bw == g))
271337 then h
272- else bf
273- let bh = getIntegerValue(aT, Z(bc))
274- let bi = z(aU, ak())
275- let bj = 1000
276- let bk = (z(aU, ai()) * bj)
277- let bl = fraction(bk, bh, (f * 3))
278- let bm = aE(ap)
279- let bn = aF(ap)
280- let bo = aI(ap)
281- let bp = x(this, bn, bi)
282- let bq = A(this, bm)
283- let br = 0
284- let bs = max([(height - bp), 0])
285- let bt = if ((br != 0))
286- then toBigInt(br)
287- else fraction(toBigInt(bl), toBigInt(b), bg)
288- let bu = (bf + toBigInt(bd))
289- let bv = if ((bu == g))
338+ else bw
339+ let by = getIntegerValue(aU, aa(bt))
340+ let bz = z(aV, al())
341+ let bA = 1000
342+ let bB = (z(aV, aj()) * bA)
343+ let bC = fraction(bB, by, (f * 3))
344+ let bD = aF(aq)
345+ let bE = aG(aq)
346+ let bF = aJ(aq)
347+ let bG = x(this, bE, bz)
348+ let bH = A(this, bD)
349+ let bI = 0
350+ let bJ = max([(height - bG), 0])
351+ let bK = if ((bI != 0))
352+ then toBigInt(bI)
353+ else fraction(toBigInt(bC), toBigInt(b), bx)
354+ let bL = (bw + toBigInt(bu))
355+ let bM = if ((bL == g))
290356 then h
291- else bu
292- let aZ = (bq + (bt * toBigInt(bs)))
293- let bw = (toBigInt(bl) / bv)
294- let bx = height
295- let by = makeString([toString(aZ), "dh=", toString(bs), "wxPerLpX3=", toString(bt), "stakedTotal=", toString(bf), toString(bl), toString(bk), "poolWeight=", toString(bh)], "::")
296- $Tuple3(aZ, [StringEntry(bm, toString(aZ)), IntegerEntry(bn, bx), StringEntry(bo, toString(bw))], by)
357+ else bL
358+ let bq = (bH + (bK * toBigInt(bJ)))
359+ let bN = (toBigInt(bC) / bM)
360+ let bO = height
361+ let bP = makeString([toString(bq), toString(bJ), toString(bK), toString(bw), toString(bC), toString(bB), toString(by)], "::")
362+ $Tuple3(bq, [StringEntry(bD, toString(bq)), IntegerEntry(bE, bO), StringEntry(bF, toString(bN))], bP)
297363 }
298364
299365
300-func bz (ap,ao,bc,bd) = {
301- let bA = bb(ap, bc, bd)
302- let aZ = bA._1
303- let bB = bA._2
304- let bC = bA._3
305- let bj = 1000
306- let bD = an(ao, ap)
307- let aX = av(bD)
308- let bE = aG(ap, ao)
309- let bF = aH(ap, ao)
310- let ba = aK(ap, ao)
311- let bG = A(this, bE)
312- let aY = w(this, bF)
313- let bH = aW(toBigInt(aX), toBigInt(aY), aZ, ba)
314- let bI = (b * bj)
315- let bJ = max([(bG + fraction((aZ - bH), toBigInt(aX), toBigInt(bI))), g])
316- let bK = aZ
317- let bL = height
318- let by = makeString(["wxToClaimUser", toString(bG), "wxPerLpInteg", toString(aY), "this.getString", toString(value(parseBigInt(s(this, ba)))), "wxPerLpIntegralNew", toString(aZ), "wxToClaimUserNew", toString(bJ), "wxPerLpIntegralUserLast", toString(bH), toString(aX), "poolDEBUG=", bC, "height=", toString(height)], "::")
319- $Tuple3(bJ, (bB ++ [StringEntry(bE, toString(bJ)), IntegerEntry(bF, bL), StringEntry(ba, toString(bK))]), by)
366+func bQ (aq,ap,bt,bu) = {
367+ let bR = bs(aq, bt, bu)
368+ let bq = bR._1
369+ let bS = bR._2
370+ let bT = bR._3
371+ let bA = 1000
372+ let bU = ao(ap, aq)
373+ let bo = aw(bU)
374+ let bV = aH(aq, ap)
375+ let bW = aI(aq, ap)
376+ let br = aL(aq, ap)
377+ let bX = A(this, bV)
378+ let bp = w(this, bW)
379+ let bY = bn(toBigInt(bo), toBigInt(bp), bq, br)
380+ let bZ = (b * bA)
381+ let ca = max([(bX + fraction((bq - bY), toBigInt(bo), toBigInt(bZ))), g])
382+ let cb = bq
383+ let cc = height
384+ let bP = makeString([toString(bX), toString(bY), toString(bo), bT, toString(height)], "::")
385+ $Tuple3(ca, (bS ++ [StringEntry(bV, toString(ca)), IntegerEntry(bW, cc), StringEntry(br, toString(cb))]), bP)
320386 }
321387
322388
323-func bM () = {
324- let k = getString(R())
325- if ($isInstanceOf(k, "String"))
326- then {
327- let C = k
328- fromBase58String(C)
329- }
330- else if ($isInstanceOf(k, "Unit"))
331- then unit
332- else throw("Match error")
333- }
334-
335-
336-func bN () = {
389+func cd () = {
337390 let k = getString(S())
338391 if ($isInstanceOf(k, "String"))
339392 then {
346399 }
347400
348401
349-func bO () = {
402+func ce () = {
350403 let k = getString(T())
351404 if ($isInstanceOf(k, "String"))
352405 then {
359412 }
360413
361414
362-func bP (bQ) = {
363- let bR = throw("Permission denied")
364- let k = bM()
365- if ($isInstanceOf(k, "ByteVector"))
415+func cf () = {
416+ let k = getString(U())
417+ if ($isInstanceOf(k, "String"))
366418 then {
367- let bS = k
368- if ((bQ.callerPublicKey == bS))
369- then true
370- else bR
419+ let C = k
420+ fromBase58String(C)
371421 }
372422 else if ($isInstanceOf(k, "Unit"))
373- then if ((bQ.caller == this))
374- then true
375- else bR
423+ then unit
376424 else throw("Match error")
377425 }
378426
379427
380-@Callable(bQ)
381-func constructor (bT) = {
382- let bU = bP(bQ)
383- if ((bU == bU))
384- then [StringEntry(I(), bT)]
428+let cg = throw("Permission denied")
429+
430+func ch (ci) = if ((ci.caller == this))
431+ then true
432+ else cg
433+
434+
435+func cj (ci) = {
436+ let k = cd()
437+ if ($isInstanceOf(k, "ByteVector"))
438+ then {
439+ let ck = k
440+ if ((ci.callerPublicKey == ck))
441+ then true
442+ else cg
443+ }
444+ else if ($isInstanceOf(k, "Unit"))
445+ then if ((ci.caller == this))
446+ then true
447+ else cg
448+ else throw("Match error")
449+ }
450+
451+
452+@Callable(ci)
453+func constructor (cl) = {
454+ let cm = cj(ci)
455+ if ((cm == cm))
456+ then [StringEntry(I(), cl)]
385457 else throw("Strict value is not equal to itself.")
386458 }
387459
388460
389461
390-@Callable(bQ)
391-func setManager (bV) = {
392- let bU = bP(bQ)
393- if ((bU == bU))
462+@Callable(ci)
463+func constructorV2 (cn) = {
464+ let co = [cj(ci), if ((addressFromString(cn) != unit))
465+ then true
466+ else "invalid voting emission contract address"]
467+ if ((co == co))
468+ then [StringEntry(J(), cn)]
469+ else throw("Strict value is not equal to itself.")
470+ }
471+
472+
473+
474+@Callable(ci)
475+func setManager (cp) = {
476+ let cm = cj(ci)
477+ if ((cm == cm))
394478 then {
395- let bW = fromBase58String(bV)
396- if ((bW == bW))
397- then [StringEntry(T(), bV)]
479+ let cq = fromBase58String(cp)
480+ if ((cq == cq))
481+ then [StringEntry(U(), cp)]
398482 else throw("Strict value is not equal to itself.")
399483 }
400484 else throw("Strict value is not equal to itself.")
402486
403487
404488
405-@Callable(bQ)
489+@Callable(ci)
406490 func confirmManager () = {
407- let bX = bO()
408- let bY = if (isDefined(bX))
491+ let cr = cf()
492+ let cs = if (isDefined(cr))
409493 then true
410494 else throw("No pending manager")
411- if ((bY == bY))
495+ if ((cs == cs))
412496 then {
413- let bZ = if ((bQ.callerPublicKey == value(bX)))
497+ let ct = if ((ci.callerPublicKey == value(cr)))
414498 then true
415499 else throw("You are not pending manager")
416- if ((bZ == bZ))
417- then [StringEntry(R(), toBase58String(value(bX))), DeleteEntry(T())]
500+ if ((ct == ct))
501+ then [StringEntry(S(), toBase58String(value(cr))), DeleteEntry(U())]
418502 else throw("Strict value is not equal to itself.")
419503 }
420504 else throw("Strict value is not equal to itself.")
422506
423507
424508
425-@Callable(bQ)
426-func stake () = if ((size(bQ.payments) != 1))
509+@Callable(ci)
510+func stake () = if ((size(ci.payments) != 1))
427511 then throw("invalid payment - exact one payment must be attached")
428512 else {
429- let ca = bQ.payments[0]
430- let ax = value(ca.assetId)
431- let ap = toBase58String(ax)
432- let aP = ca.amount
433- let bc = valueOrErrorMessage(getString(aT, V(ap)), ("unsupported lp asset " + ap))
434- let cb = toString(bQ.caller)
435- let ao = if ((cb == bc))
436- then toString(bQ.originCaller)
437- else cb
438- let bD = an(ao, ap)
439- let be = aq(ap)
440- let aX = av(bD)
441- let bf = av(be)
442- let cc = bz(ap, ao, bc, aP)
443- let bJ = cc._1
444- let cd = cc._2
445- let by = cc._3
446- ([IntegerEntry(bD, (aX + aP)), IntegerEntry(be, (bf + aP)), aQ("stake", ao, ap, aP, bQ.transactionId)] ++ cd)
513+ let cu = ci.payments[0]
514+ let ay = value(cu.assetId)
515+ let aq = toBase58String(ay)
516+ let aQ = cu.amount
517+ let bt = valueOrErrorMessage(getString(aU, W(aq)), ("unsupported lp asset " + aq))
518+ let cv = toString(ci.caller)
519+ let ap = if ((cv == bt))
520+ then toString(ci.originCaller)
521+ else cv
522+ let bU = ao(ap, aq)
523+ let bv = ar(aq)
524+ let bo = aw(bU)
525+ let bw = aw(bv)
526+ let cw = bQ(aq, ap, bt, aQ)
527+ let ca = cw._1
528+ let cx = cw._2
529+ let bP = cw._3
530+ let ba = aY(aq)
531+ let cy = if (bf(ba, ap))
532+ then nil
533+ else bj(ba, ap)
534+ (([IntegerEntry(bU, (bo + aQ)), IntegerEntry(bv, (bw + aQ)), aR("stake", ap, aq, aQ, ci.transactionId)] ++ cx) ++ cy)
447535 }
448536
449537
450538
451-@Callable(bQ)
452-func unstake (ap,aP) = {
453- let ax = fromBase58String(ap)
454- let bc = valueOrErrorMessage(getString(aT, V(ap)), ("unsupported lp asset " + ap))
455- let ce = valueOrElse(getString(this, U()), bc)
456- let cb = toString(bQ.caller)
457- let ao = if (if ((cb == bc))
539+@Callable(ci)
540+func unstake (aq,aQ) = {
541+ let ay = fromBase58String(aq)
542+ let bt = valueOrErrorMessage(getString(aU, W(aq)), ("unsupported lp asset " + aq))
543+ let cz = valueOrElse(getString(this, V()), bt)
544+ let cv = toString(ci.caller)
545+ let ap = if (if ((cv == bt))
458546 then true
459- else (cb == ce))
460- then toString(bQ.originCaller)
461- else cb
462- let bD = an(ao, ap)
463- let be = aq(ap)
464- let aX = av(bD)
465- let bf = av(be)
466- let cf = bz(ap, ao, bc, -(aP))
467- let bJ = cf._1
468- let cd = cf._2
469- let by = cf._3
470- if ((aP > aX))
547+ else (cv == cz))
548+ then toString(ci.originCaller)
549+ else cv
550+ let bU = ao(ap, aq)
551+ let bv = ar(aq)
552+ let bo = aw(bU)
553+ let bw = aw(bv)
554+ let cA = bQ(aq, ap, bt, -(aQ))
555+ let ca = cA._1
556+ let cx = cA._2
557+ let bP = cA._3
558+ let ba = aY(aq)
559+ let cy = if (bf(ba, ap))
560+ then bm(ba, ap)
561+ else nil
562+ if ((aQ > bo))
471563 then throw("passed amount is less then available")
472- else ([IntegerEntry(bD, (aX - aP)), IntegerEntry(be, (bf - aP)), ScriptTransfer(bQ.caller, aP, ax), aQ("unstake", ao, ap, aP, bQ.transactionId)] ++ cd)
564+ else (([IntegerEntry(bU, (bo - aQ)), IntegerEntry(bv, (bw - aQ)), ScriptTransfer(ci.caller, aQ, ay), aR("unstake", ap, aq, aQ, ci.transactionId)] ++ cx) ++ cy)
473565 }
474566
475567
476568
477-@Callable(bQ)
478-func claimWx (ap) = {
479- let az = bQ.caller
480- let ao = toString(bQ.caller)
481- let bc = v(aT, Y(ap))
482- let cg = ar(ap, ao)
483- let ch = au(ap)
484- let ci = as(ap, ao)
485- let cj = at(ap, ao)
486- let ck = A(this, cg)
487- let cl = A(this, ci)
488- let cm = A(this, cj)
489- let cn = A(this, ch)
490- let co = bz(ap, ao, bc, 0)
491- let bJ = co._1
492- let cd = co._2
493- let by = co._3
494- let cp = max([(bJ - ck), g])
495- if ((g >= cp))
496- then throw("nothing to claim")
497- else {
498- let cq = max([m(i(invoke(aV, "claimWxBoost", [ap, ao], nil))[0]), 0])
499- let cr = cp
500- let cs = min([(cr * toBigInt(2)), toBigInt(cq)])
501- let ct = q(i(invoke(aU, "emit", [toInt(cr)], nil))[0])
502- let cu = i(invoke(aU, "emit", [toInt(cs)], nil))
503- if ((cu == cu))
504- then {
505- let cv = (ck + cp)
506- let cw = (cl + cr)
507- let cx = (cl + cr)
508- let cy = (cl + cr)
509-[StringEntry(cg, toString(cv)), StringEntry(ci, toString(cw)), StringEntry(cj, toString(cx)), StringEntry(ch, toString(cy)), ScriptTransfer(az, toInt(cr), ct), ScriptTransfer(az, toInt(cs), ct), aQ("claim", ao, ap, toInt(cp), bQ.transactionId)]
510- }
511- else throw("Strict value is not equal to itself.")
512- }
569+@Callable(ci)
570+func claimWx (aq) = {
571+ let ap = toString(ci.caller)
572+ let cB = invoke(this, "claimWxINTERNAL", [aq, ap], nil)
573+ $Tuple2(nil, cB)
513574 }
514575
515576
516577
517-@Callable(bQ)
518-func claimWxREADONLY (ap,ao) = {
519- let bD = an(ao, ap)
520- let be = aq(ap)
521- let cg = ar(ap, ao)
522- let aX = av(bD)
523- let bf = av(be)
524- let ck = A(this, cg)
525- let bc = v(aT, Y(ap))
526- let bh = getIntegerValue(aT, Z(bc))
527- let cz = z(aU, ai())
528- let bi = z(aU, ak())
529- let cA = if ((bi > height))
530- then 0
531- else (height - bi)
532- let cB = fraction((cz * cA), bh, f)
533- let cC = fraction(cB, aX, bf)
534- let cD = bz(ap, ao, bc, 0)
535- let bJ = cD._1
536- let cd = cD._2
537- let by = cD._3
538- let cp = max([(bJ - ck), g])
539- let cE = i(invoke(aV, "claimWxBoostREADONLY", [ap, ao], nil))
540- let cq = max([m(cE[0]), 0])
541- let cF = o(cE[1])
542- let cr = cp
543- let cs = min([(cr * toBigInt(2)), toBigInt(cq)])
544- let cG = (cr + cs)
545- $Tuple2(nil, makeString(["%s%s%d%d%d%d%s", ap, ao, toString(cG), toString(ck), toString(cr), toString(cs), ((((by + "::") + toString(cC)) + "::BOOSTDEBUG::") + cF)], e))
578+@Callable(ci)
579+func claimWxINTERNAL (aq,ap) = {
580+ let cm = ch(ci)
581+ if ((cm == cm))
582+ then {
583+ let aA = valueOrErrorMessage(addressFromString(ap), "claimWxINTERNAL: invalid user address")
584+ let bt = v(aU, Z(aq))
585+ let cC = as(aq, ap)
586+ let cD = av(aq)
587+ let cE = at(aq, ap)
588+ let cF = au(aq, ap)
589+ let cG = A(this, cC)
590+ let cH = A(this, cE)
591+ let cI = A(this, cF)
592+ let cJ = A(this, cD)
593+ let cK = bQ(aq, ap, bt, 0)
594+ let ca = cK._1
595+ let cx = cK._2
596+ let bP = cK._3
597+ let cL = max([(ca - cG), g])
598+ if ((g >= cL))
599+ then throw("nothing to claim")
600+ else {
601+ let cM = max([m(i(invoke(aW, "claimWxBoost", [aq, ap], nil))[0]), 0])
602+ let cN = cL
603+ let cO = min([(cN * toBigInt(2)), toBigInt(cM)])
604+ let cP = q(i(invoke(aV, "emit", [toInt(cN)], nil))[0])
605+ let cQ = i(invoke(aV, "emit", [toInt(cO)], nil))
606+ if ((cQ == cQ))
607+ then {
608+ let cR = (cG + cL)
609+ let cS = (cH + cN)
610+ let cT = (cH + cN)
611+ let cU = (cH + cN)
612+[StringEntry(cC, toString(cR)), StringEntry(cE, toString(cS)), StringEntry(cF, toString(cT)), StringEntry(cD, toString(cU)), ScriptTransfer(aA, toInt(cN), cP), ScriptTransfer(aA, toInt(cO), cP), aR("claim", ap, aq, toInt(cL), ci.transactionId)]
613+ }
614+ else throw("Strict value is not equal to itself.")
615+ }
616+ }
617+ else throw("Strict value is not equal to itself.")
546618 }
547619
548620
549621
550-@Callable(bQ)
551-func onModifyWeight (ap,bc) = if ((bQ.caller != aT))
622+@Callable(ci)
623+func claimWxREADONLY (aq,ap) = {
624+ let bU = ao(ap, aq)
625+ let bv = ar(aq)
626+ let cC = as(aq, ap)
627+ let bo = aw(bU)
628+ let bw = aw(bv)
629+ let cG = A(this, cC)
630+ let bt = v(aU, Z(aq))
631+ let by = getIntegerValue(aU, aa(bt))
632+ let cV = z(aV, aj())
633+ let bz = z(aV, al())
634+ let cW = if ((bz > height))
635+ then 0
636+ else (height - bz)
637+ let cX = fraction((cV * cW), by, f)
638+ let cY = fraction(cX, bo, bw)
639+ let cZ = bQ(aq, ap, bt, 0)
640+ let ca = cZ._1
641+ let cx = cZ._2
642+ let bP = cZ._3
643+ let cL = max([(ca - cG), g])
644+ let da = i(invoke(aW, "claimWxBoostREADONLY", [aq, ap], nil))
645+ let cM = max([m(da[0]), 0])
646+ let db = o(da[1])
647+ let cN = cL
648+ let cO = min([(cN * toBigInt(2)), toBigInt(cM)])
649+ let dc = (cN + cO)
650+ $Tuple2(nil, makeString(["%s%s%d%d%d%d%s", aq, ap, toString(dc), toString(cG), toString(cN), toString(cO), ((((bP + "::") + toString(cY)) + "::BOOST::") + db)], e))
651+ }
652+
653+
654+
655+@Callable(ci)
656+func usersListTraversal (ay) = {
657+ let cm = if ((toBase58String(ci.caller.bytes) == valueOrElse(getString(this, J()), "")))
658+ then true
659+ else cj(ci)
660+ if ((cm == cm))
661+ then {
662+ let ba = aY(ay)
663+ let dd = getString(aX(ay))
664+ let bg = getString(aZ(ba))
665+ let k = dd
666+ if ($isInstanceOf(k, "Unit"))
667+ then {
668+ let de = bg
669+ if ($isInstanceOf(de, "Unit"))
670+ then $Tuple2(nil, false)
671+ else if ($isInstanceOf(de, "String"))
672+ then {
673+ let df = de
674+ $Tuple2([StringEntry(aX(ay), df)], true)
675+ }
676+ else throw("Match error")
677+ }
678+ else if ($isInstanceOf(k, "String"))
679+ then {
680+ let aA = k
681+ let cG = A(this, as(ay, aA))
682+ let dg = v(aU, Z(ay))
683+ let dh = bQ(ay, aA, dg, 0)
684+ let ca = dh._1
685+ let cx = dh._2
686+ let bP = dh._3
687+ let cL = (ca - cG)
688+ let di = if ((cL > g))
689+ then invoke(this, "claimWxINTERNAL", [ay, aA], nil)
690+ else unit
691+ if ((di == di))
692+ then {
693+ let dj = getString(be(ba, aA))
694+ let de = dj
695+ if ($isInstanceOf(de, "Unit"))
696+ then $Tuple2([DeleteEntry(aX(ay))], false)
697+ else if ($isInstanceOf(de, "String"))
698+ then {
699+ let dk = de
700+ $Tuple2([StringEntry(aX(ay), dk)], true)
701+ }
702+ else throw("Match error")
703+ }
704+ else throw("Strict value is not equal to itself.")
705+ }
706+ else throw("Match error")
707+ }
708+ else throw("Strict value is not equal to itself.")
709+ }
710+
711+
712+
713+@Callable(ci)
714+func onModifyWeight (aq,bt) = if ((ci.caller != aU))
552715 then throw("permissions denied")
553716 else {
554- let cH = bb(ap, bc, 0)
555- let aZ = cH._1
556- let bB = cH._2
557- let bC = cH._3
558- bB
717+ let dl = bs(aq, bt, 0)
718+ let bq = dl._1
719+ let bS = dl._2
720+ let bT = dl._3
721+ bS
559722 }
560723
561724
562-@Verifier(cI)
563-func cJ () = {
564- let cK = {
565- let k = bM()
725+@Verifier(dm)
726+func dn () = {
727+ let do = {
728+ let k = cd()
566729 if ($isInstanceOf(k, "ByteVector"))
567730 then {
568- let bS = k
569- bS
731+ let ck = k
732+ ck
570733 }
571734 else if ($isInstanceOf(k, "Unit"))
572- then cI.senderPublicKey
735+ then dm.senderPublicKey
573736 else throw("Match error")
574737 }
575- let cL = {
576- let k = bN()
738+ let dp = {
739+ let k = ce()
577740 if ($isInstanceOf(k, "ByteVector"))
578741 then {
579- let bS = k
580- bS
742+ let ck = k
743+ ck
581744 }
582745 else if ($isInstanceOf(k, "Unit"))
583- then cI.senderPublicKey
746+ then dm.senderPublicKey
584747 else throw("Match error")
585748 }
586- if (sigVerify(cI.bodyBytes, cI.proofs[0], cK))
749+ if (sigVerify(dm.bodyBytes, dm.proofs[0], do))
587750 then true
588- else sigVerify(cI.bodyBytes, cI.proofs[0], cL)
751+ else sigVerify(dm.bodyBytes, dm.proofs[0], dp)
589752 }
590753
Full:
OldNewDifferences
1-{-# STDLIB_VERSION 5 #-}
1+{-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = 8
55
66 let b = 100000000
77
88 let c = 18
99
1010 let d = toBigInt(1000000000000000000)
1111
1212 let e = "__"
1313
1414 let f = b
1515
1616 let g = toBigInt(0)
1717
1818 let h = toBigInt(1)
1919
2020 func i (j) = {
2121 let k = j
2222 if ($isInstanceOf(k, "List[Any]"))
2323 then {
2424 let l = k
2525 l
2626 }
2727 else throw("fail to cast into List[Any]")
2828 }
2929
3030
3131 func m (j) = {
3232 let k = j
3333 if ($isInstanceOf(k, "Int"))
3434 then {
3535 let n = k
3636 n
3737 }
3838 else throw("fail to cast into Int")
3939 }
4040
4141
4242 func o (j) = {
4343 let k = j
4444 if ($isInstanceOf(k, "String"))
4545 then {
4646 let p = k
4747 p
4848 }
4949 else throw("fail to cast into Int")
5050 }
5151
5252
5353 func q (j) = {
5454 let k = j
5555 if ($isInstanceOf(k, "ByteVector"))
5656 then {
5757 let r = k
5858 r
5959 }
6060 else throw("fail to cast into Int")
6161 }
6262
6363
6464 func s (t,u) = valueOrErrorMessage(getString(t, u), (("mandatory this." + u) + " is not defined"))
6565
6666
6767 func v (t,u) = valueOrErrorMessage(getString(t, u), (((("mandatory " + toString(t)) + ".") + u) + " is not defined"))
6868
6969
7070 func w (t,u) = valueOrElse(getInteger(t, u), 0)
7171
7272
7373 func x (t,u,y) = valueOrElse(getInteger(t, u), y)
7474
7575
7676 func z (t,u) = valueOrErrorMessage(getInteger(t, u), (("mandatory this." + u) + " is not defined"))
7777
7878
7979 func A (t,u) = value(parseBigInt(valueOrElse(getString(t, u), "0")))
8080
8181
8282 func B (t,u,y) = {
8383 let k = getString(t, u)
8484 if ($isInstanceOf(k, "String"))
8585 then {
8686 let C = k
8787 value(parseBigInt(C))
8888 }
8989 else if ($isInstanceOf(k, "Unit"))
9090 then y
9191 else throw("Match error")
9292 }
9393
9494
9595 func D (E,F) = fraction(toBigInt(E), d, toBigInt(F))
9696
9797
9898 func G (j,H) = toInt(fraction(j, toBigInt(H), d))
9999
100100
101101 func I () = "%s%s__config__factoryAddress"
102102
103103
104-let J = 1
105-
106-let K = 2
107-
108-let L = 3
109-
110-let M = 4
111-
112-let N = 5
113-
114-let O = 6
115-
116-let P = 7
117-
118-func Q () = "%s__factoryConfig"
104+func J () = "%s__votingEmissionContract"
119105
120106
121-func R () = "%s__managerPublicKey"
107+let K = 1
108+
109+let L = 2
110+
111+let M = 3
112+
113+let N = 4
114+
115+let O = 5
116+
117+let P = 6
118+
119+let Q = 7
120+
121+func R () = "%s__factoryConfig"
122122
123123
124-func S () = "%s__migratorPublicKey"
124+func S () = "%s__managerPublicKey"
125125
126126
127-func T () = "%s__pendingManagerPublicKey"
127+func T () = "%s__migratorPublicKey"
128128
129129
130-func U () = "%s__stablePoolAddonAddr"
130+func U () = "%s__pendingManagerPublicKey"
131131
132132
133-func V (W) = makeString(["%s%s%s", W, "mappings__lpAsset2PoolContract"], e)
133+func V () = "%s__stablePoolAddonAddr"
134134
135135
136-func X () = "%s__lpTokensList"
136+func W (X) = makeString(["%s%s%s", X, "mappings__lpAsset2PoolContract"], e)
137137
138138
139-func Y (W) = makeString(["%s%s%s", W, "mappings__lpAsset2PoolContract"], e)
139+func Y () = "%s__lpTokensList"
140140
141141
142-func Z (aa) = makeString(["%s%s", "poolWeight", aa], e)
142+func Z (X) = makeString(["%s%s%s", X, "mappings__lpAsset2PoolContract"], e)
143143
144144
145-func ab (ac) = split(valueOrElse(getString(ac, X()), ""), e)
145+func aa (ab) = makeString(["%s%s", "poolWeight", ab], e)
146146
147147
148-func ad (ac) = split(v(ac, Q()), e)
148+func ac (ad) = split(valueOrElse(getString(ad, Y()), ""), e)
149149
150150
151-func ae (af) = addressFromStringValue(af[K])
151+func ae (ad) = split(v(ad, R()), e)
152152
153153
154-func ag (af) = addressFromStringValue(af[N])
154+func af (ag) = addressFromStringValue(ag[L])
155155
156156
157-func ah (af) = addressFromStringValue(af[J])
157+func ah (ag) = addressFromStringValue(ag[O])
158158
159159
160-func ai () = "%s%s__ratePerBlock__current"
160+func ai (ag) = addressFromStringValue(ag[K])
161161
162162
163-func aj () = "%s%s__ratePerBlockMax__current"
163+func aj () = "%s%s__ratePerBlock__current"
164164
165165
166-func ak () = "%s%s__emission__startBlock"
166+func ak () = "%s%s__ratePerBlockMax__current"
167167
168168
169-func al () = "%s%s__emission__duration"
169+func al () = "%s%s__emission__startBlock"
170170
171171
172-func am () = "%s%s__emission__endBlock"
172+func am () = "%s%s__emission__duration"
173173
174174
175-func an (ao,ap) = makeString(["%s%s%s__staked", ao, ap], e)
175+func an () = "%s%s__emission__endBlock"
176176
177177
178-func aq (ap) = ("%s%s%s__staked__total__" + ap)
178+func ao (ap,aq) = makeString(["%s%s%s__staked", ap, aq], e)
179179
180180
181-func ar (ap,ao) = makeString(["%s%s%s__claimed", ao, ap], e)
181+func ar (aq) = ("%s%s%s__staked__total__" + aq)
182182
183183
184-func as (ap,ao) = makeString(["%s%s%s__claimedMinReward", ao, ap], e)
184+func as (aq,ap) = makeString(["%s%s%s__claimed", ap, aq], e)
185185
186186
187-func at (ap,ao) = makeString(["%s%s%s__claimedBoostReward", ao, ap], e)
187+func at (aq,ap) = makeString(["%s%s%s__claimedMinReward", ap, aq], e)
188188
189189
190-func au (ap) = makeString(["%s%s%s__claimed__total", ap], e)
190+func au (aq,ap) = makeString(["%s%s%s__claimedBoostReward", ap, aq], e)
191191
192192
193-func av (u) = valueOrElse(getInteger(this, u), 0)
193+func av (aq) = makeString(["%s%s%s__claimed__total", aq], e)
194194
195195
196-func aw (ax) = makeString(["%s%s%s", ax, "total", "bal"], e)
196+func aw (u) = valueOrElse(getInteger(this, u), 0)
197197
198198
199-func ay (ax,az) = makeString(["%s%s%s", ax, az, "bal"], e)
199+func ax (ay) = makeString(["%s%s%s", ay, "total", "bal"], e)
200200
201201
202-func aA (ax) = makeString(["%s%s%s", ax, "total", "balINT"], e)
202+func az (ay,aA) = makeString(["%s%s%s", ay, aA, "bal"], e)
203203
204204
205-func aB (ax,az) = makeString(["%s%s%s", ax, az, "balINT"], e)
205+func aB (ay) = makeString(["%s%s%s", ay, "total", "balINT"], e)
206206
207207
208-func aC (ax) = makeString(["%s%s%s", ax, "total", "lastUpd"], e)
208+func aC (ay,aA) = makeString(["%s%s%s", ay, aA, "balINT"], e)
209209
210210
211-func aD (ax,az) = makeString(["%s%s%s", ax, az, "lastUpd"], e)
211+func aD (ay) = makeString(["%s%s%s", ay, "total", "lastUpd"], e)
212212
213213
214-func aE (ax) = makeString(["%s%s%s%s", ax, "common", "lpInt"], e)
214+func aE (ay,aA) = makeString(["%s%s%s", ay, aA, "lastUpd"], e)
215215
216216
217-func aF (ax) = makeString(["%s%s%s%s", ax, "common", "lpIntH"], e)
217+func aF (ay) = makeString(["%s%s%s%s", ay, "common", "lpInt"], e)
218218
219219
220-func aG (ax,az) = makeString(["%s%s%s%s", ax, az, "lpInt"], e)
220+func aG (ay) = makeString(["%s%s%s%s", ay, "common", "lpIntH"], e)
221221
222222
223-func aH (ax,az) = makeString(["%s%s%s%s", ax, az, "lpIntH"], e)
223+func aH (ay,aA) = makeString(["%s%s%s%s", ay, aA, "lpInt"], e)
224224
225225
226-func aI (ax) = makeString(["%s", ax, "wxPerLp"], e)
226+func aI (ay,aA) = makeString(["%s%s%s%s", ay, aA, "lpIntH"], e)
227227
228228
229-func aJ (ax) = makeString(["%s", ax, "wxPerLpX18"], e)
229+func aJ (ay) = makeString(["%s", ay, "wxPerLp"], e)
230230
231231
232-func aK (ax,az) = makeString(["%s%s%s%s", ax, az, "uIntL"], e)
232+func aK (ay) = makeString(["%s", ay, "wxPerLpX18"], e)
233233
234234
235-func aL (aM,az,aN) = makeString(["%s%s%s%s__history", aM, az, aN], e)
235+func aL (ay,aA) = makeString(["%s%s%s%s", ay, aA, "uIntL"], e)
236236
237237
238-func aO (az,ax,aM,aP) = makeString(["%s%s%s%d%d%d", az, ax, aM, toString(height), toString(lastBlock.timestamp), toString(aP)], e)
238+func aM (aN,aA,aO) = makeString(["%s%s%s%s__history", aN, aA, aO], e)
239239
240240
241-func aQ (aM,az,ax,aP,aR) = StringEntry(aL(aM, az, toBase58String(aR)), aO(az, ax, aM, aP))
241+func aP (aA,ay,aN,aQ) = makeString(["%s%s%s%d%d%d", aA, ay, aN, toString(height), toString(lastBlock.timestamp), toString(aQ)], e)
242242
243243
244-let aS = s(this, I())
244+func aR (aN,aA,ay,aQ,aS) = StringEntry(aM(aN, aA, toBase58String(aS)), aP(aA, ay, aN, aQ))
245245
246-let aT = addressFromStringValue(aS)
247246
248-let af = ad(aT)
247+let aT = s(this, I())
249248
250-let aU = ag(af)
249+let aU = addressFromStringValue(aT)
251250
252-let aV = ae(af)
251+let ag = ae(aU)
253252
254-func aW (aX,aY,aZ,ba) = if (if ((aY == g))
255- then (aX > g)
253+let aV = ah(ag)
254+
255+let aW = af(ag)
256+
257+func aX (ay) = makeString(["%s%s", ay, "nextUser"], e)
258+
259+
260+func aY (ay) = makeString(["users", ay], e)
261+
262+
263+func aZ (ba) = makeString(["%s%s%s", ba, "head"], e)
264+
265+
266+func bb (ba) = makeString(["%s%s%s", ba, "size"], e)
267+
268+
269+func bc (ba,bd) = makeString(["%s%s%s%s", ba, bd, "prev"], e)
270+
271+
272+func be (ba,bd) = makeString(["%s%s%s%s", ba, bd, "next"], e)
273+
274+
275+func bf (ba,bd) = {
276+ let bg = getString(this, aZ(ba))
277+ let bh = getString(this, bc(ba, bd))
278+ let bi = getString(this, be(ba, bd))
279+ if (if ((bd == valueOrElse(bg, "")))
280+ then true
281+ else (bh != unit))
282+ then true
283+ else (bi != unit)
284+ }
285+
286+
287+func bj (ba,bd) = {
288+ let bg = getString(this, aZ(ba))
289+ let bk = valueOrElse(getInteger(this, bb(ba)), 0)
290+ let bl = if (!(bf(ba, bd)))
291+ then true
292+ else throw("Node exists")
293+ if ((bl == bl))
294+ then (([IntegerEntry(bb(ba), (bk + 1))] ++ (if ((bg != unit))
295+ then [StringEntry(be(ba, bd), value(bg)), StringEntry(bc(ba, value(bg)), bd)]
296+ else nil)) ++ [StringEntry(aZ(ba), bd)])
297+ else throw("Strict value is not equal to itself.")
298+ }
299+
300+
301+func bm (ba,bd) = {
302+ let bg = getString(this, aZ(ba))
303+ let bk = valueOrElse(getInteger(this, bb(ba)), 0)
304+ let bh = getString(this, bc(ba, bd))
305+ let bi = getString(this, be(ba, bd))
306+ ([IntegerEntry(bb(ba), (bk - 1))] ++ (if (if ((bh != unit))
307+ then (bi != unit)
308+ else false)
309+ then [StringEntry(be(ba, value(bh)), value(bi)), StringEntry(bc(ba, value(bi)), value(bh)), DeleteEntry(bc(ba, bd)), DeleteEntry(be(ba, bd))]
310+ else if ((bi != unit))
311+ then [StringEntry(aZ(ba), value(bi)), DeleteEntry(be(ba, bd)), DeleteEntry(bc(ba, value(bi)))]
312+ else if ((bh != unit))
313+ then [DeleteEntry(bc(ba, bd)), DeleteEntry(be(ba, value(bh)))]
314+ else if ((bd == valueOrElse(bg, "")))
315+ then [DeleteEntry(aZ(ba))]
316+ else throw(((("invalid node: " + ba) + ".") + bd))))
317+ }
318+
319+
320+func bn (bo,bp,bq,br) = if (if ((bp == g))
321+ then (bo > g)
256322 else false)
257323 then g
258- else if ((aX == g))
259- then aZ
260- else if (if ((aY > g))
261- then (aX > g)
324+ else if ((bo == g))
325+ then bq
326+ else if (if ((bp > g))
327+ then (bo > g)
262328 else false)
263- then value(parseBigInt(s(this, ba)))
329+ then value(parseBigInt(s(this, br)))
264330 else throw("calcWxPerLpIntegralUserLast: unexpected state")
265331
266332
267-func bb (ap,bc,bd) = {
268- let be = aq(ap)
269- let bf = toBigInt(av(be))
270- let bg = if ((bf == g))
333+func bs (aq,bt,bu) = {
334+ let bv = ar(aq)
335+ let bw = toBigInt(aw(bv))
336+ let bx = if ((bw == g))
271337 then h
272- else bf
273- let bh = getIntegerValue(aT, Z(bc))
274- let bi = z(aU, ak())
275- let bj = 1000
276- let bk = (z(aU, ai()) * bj)
277- let bl = fraction(bk, bh, (f * 3))
278- let bm = aE(ap)
279- let bn = aF(ap)
280- let bo = aI(ap)
281- let bp = x(this, bn, bi)
282- let bq = A(this, bm)
283- let br = 0
284- let bs = max([(height - bp), 0])
285- let bt = if ((br != 0))
286- then toBigInt(br)
287- else fraction(toBigInt(bl), toBigInt(b), bg)
288- let bu = (bf + toBigInt(bd))
289- let bv = if ((bu == g))
338+ else bw
339+ let by = getIntegerValue(aU, aa(bt))
340+ let bz = z(aV, al())
341+ let bA = 1000
342+ let bB = (z(aV, aj()) * bA)
343+ let bC = fraction(bB, by, (f * 3))
344+ let bD = aF(aq)
345+ let bE = aG(aq)
346+ let bF = aJ(aq)
347+ let bG = x(this, bE, bz)
348+ let bH = A(this, bD)
349+ let bI = 0
350+ let bJ = max([(height - bG), 0])
351+ let bK = if ((bI != 0))
352+ then toBigInt(bI)
353+ else fraction(toBigInt(bC), toBigInt(b), bx)
354+ let bL = (bw + toBigInt(bu))
355+ let bM = if ((bL == g))
290356 then h
291- else bu
292- let aZ = (bq + (bt * toBigInt(bs)))
293- let bw = (toBigInt(bl) / bv)
294- let bx = height
295- let by = makeString([toString(aZ), "dh=", toString(bs), "wxPerLpX3=", toString(bt), "stakedTotal=", toString(bf), toString(bl), toString(bk), "poolWeight=", toString(bh)], "::")
296- $Tuple3(aZ, [StringEntry(bm, toString(aZ)), IntegerEntry(bn, bx), StringEntry(bo, toString(bw))], by)
357+ else bL
358+ let bq = (bH + (bK * toBigInt(bJ)))
359+ let bN = (toBigInt(bC) / bM)
360+ let bO = height
361+ let bP = makeString([toString(bq), toString(bJ), toString(bK), toString(bw), toString(bC), toString(bB), toString(by)], "::")
362+ $Tuple3(bq, [StringEntry(bD, toString(bq)), IntegerEntry(bE, bO), StringEntry(bF, toString(bN))], bP)
297363 }
298364
299365
300-func bz (ap,ao,bc,bd) = {
301- let bA = bb(ap, bc, bd)
302- let aZ = bA._1
303- let bB = bA._2
304- let bC = bA._3
305- let bj = 1000
306- let bD = an(ao, ap)
307- let aX = av(bD)
308- let bE = aG(ap, ao)
309- let bF = aH(ap, ao)
310- let ba = aK(ap, ao)
311- let bG = A(this, bE)
312- let aY = w(this, bF)
313- let bH = aW(toBigInt(aX), toBigInt(aY), aZ, ba)
314- let bI = (b * bj)
315- let bJ = max([(bG + fraction((aZ - bH), toBigInt(aX), toBigInt(bI))), g])
316- let bK = aZ
317- let bL = height
318- let by = makeString(["wxToClaimUser", toString(bG), "wxPerLpInteg", toString(aY), "this.getString", toString(value(parseBigInt(s(this, ba)))), "wxPerLpIntegralNew", toString(aZ), "wxToClaimUserNew", toString(bJ), "wxPerLpIntegralUserLast", toString(bH), toString(aX), "poolDEBUG=", bC, "height=", toString(height)], "::")
319- $Tuple3(bJ, (bB ++ [StringEntry(bE, toString(bJ)), IntegerEntry(bF, bL), StringEntry(ba, toString(bK))]), by)
366+func bQ (aq,ap,bt,bu) = {
367+ let bR = bs(aq, bt, bu)
368+ let bq = bR._1
369+ let bS = bR._2
370+ let bT = bR._3
371+ let bA = 1000
372+ let bU = ao(ap, aq)
373+ let bo = aw(bU)
374+ let bV = aH(aq, ap)
375+ let bW = aI(aq, ap)
376+ let br = aL(aq, ap)
377+ let bX = A(this, bV)
378+ let bp = w(this, bW)
379+ let bY = bn(toBigInt(bo), toBigInt(bp), bq, br)
380+ let bZ = (b * bA)
381+ let ca = max([(bX + fraction((bq - bY), toBigInt(bo), toBigInt(bZ))), g])
382+ let cb = bq
383+ let cc = height
384+ let bP = makeString([toString(bX), toString(bY), toString(bo), bT, toString(height)], "::")
385+ $Tuple3(ca, (bS ++ [StringEntry(bV, toString(ca)), IntegerEntry(bW, cc), StringEntry(br, toString(cb))]), bP)
320386 }
321387
322388
323-func bM () = {
324- let k = getString(R())
325- if ($isInstanceOf(k, "String"))
326- then {
327- let C = k
328- fromBase58String(C)
329- }
330- else if ($isInstanceOf(k, "Unit"))
331- then unit
332- else throw("Match error")
333- }
334-
335-
336-func bN () = {
389+func cd () = {
337390 let k = getString(S())
338391 if ($isInstanceOf(k, "String"))
339392 then {
340393 let C = k
341394 fromBase58String(C)
342395 }
343396 else if ($isInstanceOf(k, "Unit"))
344397 then unit
345398 else throw("Match error")
346399 }
347400
348401
349-func bO () = {
402+func ce () = {
350403 let k = getString(T())
351404 if ($isInstanceOf(k, "String"))
352405 then {
353406 let C = k
354407 fromBase58String(C)
355408 }
356409 else if ($isInstanceOf(k, "Unit"))
357410 then unit
358411 else throw("Match error")
359412 }
360413
361414
362-func bP (bQ) = {
363- let bR = throw("Permission denied")
364- let k = bM()
365- if ($isInstanceOf(k, "ByteVector"))
415+func cf () = {
416+ let k = getString(U())
417+ if ($isInstanceOf(k, "String"))
366418 then {
367- let bS = k
368- if ((bQ.callerPublicKey == bS))
369- then true
370- else bR
419+ let C = k
420+ fromBase58String(C)
371421 }
372422 else if ($isInstanceOf(k, "Unit"))
373- then if ((bQ.caller == this))
374- then true
375- else bR
423+ then unit
376424 else throw("Match error")
377425 }
378426
379427
380-@Callable(bQ)
381-func constructor (bT) = {
382- let bU = bP(bQ)
383- if ((bU == bU))
384- then [StringEntry(I(), bT)]
428+let cg = throw("Permission denied")
429+
430+func ch (ci) = if ((ci.caller == this))
431+ then true
432+ else cg
433+
434+
435+func cj (ci) = {
436+ let k = cd()
437+ if ($isInstanceOf(k, "ByteVector"))
438+ then {
439+ let ck = k
440+ if ((ci.callerPublicKey == ck))
441+ then true
442+ else cg
443+ }
444+ else if ($isInstanceOf(k, "Unit"))
445+ then if ((ci.caller == this))
446+ then true
447+ else cg
448+ else throw("Match error")
449+ }
450+
451+
452+@Callable(ci)
453+func constructor (cl) = {
454+ let cm = cj(ci)
455+ if ((cm == cm))
456+ then [StringEntry(I(), cl)]
385457 else throw("Strict value is not equal to itself.")
386458 }
387459
388460
389461
390-@Callable(bQ)
391-func setManager (bV) = {
392- let bU = bP(bQ)
393- if ((bU == bU))
462+@Callable(ci)
463+func constructorV2 (cn) = {
464+ let co = [cj(ci), if ((addressFromString(cn) != unit))
465+ then true
466+ else "invalid voting emission contract address"]
467+ if ((co == co))
468+ then [StringEntry(J(), cn)]
469+ else throw("Strict value is not equal to itself.")
470+ }
471+
472+
473+
474+@Callable(ci)
475+func setManager (cp) = {
476+ let cm = cj(ci)
477+ if ((cm == cm))
394478 then {
395- let bW = fromBase58String(bV)
396- if ((bW == bW))
397- then [StringEntry(T(), bV)]
479+ let cq = fromBase58String(cp)
480+ if ((cq == cq))
481+ then [StringEntry(U(), cp)]
398482 else throw("Strict value is not equal to itself.")
399483 }
400484 else throw("Strict value is not equal to itself.")
401485 }
402486
403487
404488
405-@Callable(bQ)
489+@Callable(ci)
406490 func confirmManager () = {
407- let bX = bO()
408- let bY = if (isDefined(bX))
491+ let cr = cf()
492+ let cs = if (isDefined(cr))
409493 then true
410494 else throw("No pending manager")
411- if ((bY == bY))
495+ if ((cs == cs))
412496 then {
413- let bZ = if ((bQ.callerPublicKey == value(bX)))
497+ let ct = if ((ci.callerPublicKey == value(cr)))
414498 then true
415499 else throw("You are not pending manager")
416- if ((bZ == bZ))
417- then [StringEntry(R(), toBase58String(value(bX))), DeleteEntry(T())]
500+ if ((ct == ct))
501+ then [StringEntry(S(), toBase58String(value(cr))), DeleteEntry(U())]
418502 else throw("Strict value is not equal to itself.")
419503 }
420504 else throw("Strict value is not equal to itself.")
421505 }
422506
423507
424508
425-@Callable(bQ)
426-func stake () = if ((size(bQ.payments) != 1))
509+@Callable(ci)
510+func stake () = if ((size(ci.payments) != 1))
427511 then throw("invalid payment - exact one payment must be attached")
428512 else {
429- let ca = bQ.payments[0]
430- let ax = value(ca.assetId)
431- let ap = toBase58String(ax)
432- let aP = ca.amount
433- let bc = valueOrErrorMessage(getString(aT, V(ap)), ("unsupported lp asset " + ap))
434- let cb = toString(bQ.caller)
435- let ao = if ((cb == bc))
436- then toString(bQ.originCaller)
437- else cb
438- let bD = an(ao, ap)
439- let be = aq(ap)
440- let aX = av(bD)
441- let bf = av(be)
442- let cc = bz(ap, ao, bc, aP)
443- let bJ = cc._1
444- let cd = cc._2
445- let by = cc._3
446- ([IntegerEntry(bD, (aX + aP)), IntegerEntry(be, (bf + aP)), aQ("stake", ao, ap, aP, bQ.transactionId)] ++ cd)
513+ let cu = ci.payments[0]
514+ let ay = value(cu.assetId)
515+ let aq = toBase58String(ay)
516+ let aQ = cu.amount
517+ let bt = valueOrErrorMessage(getString(aU, W(aq)), ("unsupported lp asset " + aq))
518+ let cv = toString(ci.caller)
519+ let ap = if ((cv == bt))
520+ then toString(ci.originCaller)
521+ else cv
522+ let bU = ao(ap, aq)
523+ let bv = ar(aq)
524+ let bo = aw(bU)
525+ let bw = aw(bv)
526+ let cw = bQ(aq, ap, bt, aQ)
527+ let ca = cw._1
528+ let cx = cw._2
529+ let bP = cw._3
530+ let ba = aY(aq)
531+ let cy = if (bf(ba, ap))
532+ then nil
533+ else bj(ba, ap)
534+ (([IntegerEntry(bU, (bo + aQ)), IntegerEntry(bv, (bw + aQ)), aR("stake", ap, aq, aQ, ci.transactionId)] ++ cx) ++ cy)
447535 }
448536
449537
450538
451-@Callable(bQ)
452-func unstake (ap,aP) = {
453- let ax = fromBase58String(ap)
454- let bc = valueOrErrorMessage(getString(aT, V(ap)), ("unsupported lp asset " + ap))
455- let ce = valueOrElse(getString(this, U()), bc)
456- let cb = toString(bQ.caller)
457- let ao = if (if ((cb == bc))
539+@Callable(ci)
540+func unstake (aq,aQ) = {
541+ let ay = fromBase58String(aq)
542+ let bt = valueOrErrorMessage(getString(aU, W(aq)), ("unsupported lp asset " + aq))
543+ let cz = valueOrElse(getString(this, V()), bt)
544+ let cv = toString(ci.caller)
545+ let ap = if (if ((cv == bt))
458546 then true
459- else (cb == ce))
460- then toString(bQ.originCaller)
461- else cb
462- let bD = an(ao, ap)
463- let be = aq(ap)
464- let aX = av(bD)
465- let bf = av(be)
466- let cf = bz(ap, ao, bc, -(aP))
467- let bJ = cf._1
468- let cd = cf._2
469- let by = cf._3
470- if ((aP > aX))
547+ else (cv == cz))
548+ then toString(ci.originCaller)
549+ else cv
550+ let bU = ao(ap, aq)
551+ let bv = ar(aq)
552+ let bo = aw(bU)
553+ let bw = aw(bv)
554+ let cA = bQ(aq, ap, bt, -(aQ))
555+ let ca = cA._1
556+ let cx = cA._2
557+ let bP = cA._3
558+ let ba = aY(aq)
559+ let cy = if (bf(ba, ap))
560+ then bm(ba, ap)
561+ else nil
562+ if ((aQ > bo))
471563 then throw("passed amount is less then available")
472- else ([IntegerEntry(bD, (aX - aP)), IntegerEntry(be, (bf - aP)), ScriptTransfer(bQ.caller, aP, ax), aQ("unstake", ao, ap, aP, bQ.transactionId)] ++ cd)
564+ else (([IntegerEntry(bU, (bo - aQ)), IntegerEntry(bv, (bw - aQ)), ScriptTransfer(ci.caller, aQ, ay), aR("unstake", ap, aq, aQ, ci.transactionId)] ++ cx) ++ cy)
473565 }
474566
475567
476568
477-@Callable(bQ)
478-func claimWx (ap) = {
479- let az = bQ.caller
480- let ao = toString(bQ.caller)
481- let bc = v(aT, Y(ap))
482- let cg = ar(ap, ao)
483- let ch = au(ap)
484- let ci = as(ap, ao)
485- let cj = at(ap, ao)
486- let ck = A(this, cg)
487- let cl = A(this, ci)
488- let cm = A(this, cj)
489- let cn = A(this, ch)
490- let co = bz(ap, ao, bc, 0)
491- let bJ = co._1
492- let cd = co._2
493- let by = co._3
494- let cp = max([(bJ - ck), g])
495- if ((g >= cp))
496- then throw("nothing to claim")
497- else {
498- let cq = max([m(i(invoke(aV, "claimWxBoost", [ap, ao], nil))[0]), 0])
499- let cr = cp
500- let cs = min([(cr * toBigInt(2)), toBigInt(cq)])
501- let ct = q(i(invoke(aU, "emit", [toInt(cr)], nil))[0])
502- let cu = i(invoke(aU, "emit", [toInt(cs)], nil))
503- if ((cu == cu))
504- then {
505- let cv = (ck + cp)
506- let cw = (cl + cr)
507- let cx = (cl + cr)
508- let cy = (cl + cr)
509-[StringEntry(cg, toString(cv)), StringEntry(ci, toString(cw)), StringEntry(cj, toString(cx)), StringEntry(ch, toString(cy)), ScriptTransfer(az, toInt(cr), ct), ScriptTransfer(az, toInt(cs), ct), aQ("claim", ao, ap, toInt(cp), bQ.transactionId)]
510- }
511- else throw("Strict value is not equal to itself.")
512- }
569+@Callable(ci)
570+func claimWx (aq) = {
571+ let ap = toString(ci.caller)
572+ let cB = invoke(this, "claimWxINTERNAL", [aq, ap], nil)
573+ $Tuple2(nil, cB)
513574 }
514575
515576
516577
517-@Callable(bQ)
518-func claimWxREADONLY (ap,ao) = {
519- let bD = an(ao, ap)
520- let be = aq(ap)
521- let cg = ar(ap, ao)
522- let aX = av(bD)
523- let bf = av(be)
524- let ck = A(this, cg)
525- let bc = v(aT, Y(ap))
526- let bh = getIntegerValue(aT, Z(bc))
527- let cz = z(aU, ai())
528- let bi = z(aU, ak())
529- let cA = if ((bi > height))
530- then 0
531- else (height - bi)
532- let cB = fraction((cz * cA), bh, f)
533- let cC = fraction(cB, aX, bf)
534- let cD = bz(ap, ao, bc, 0)
535- let bJ = cD._1
536- let cd = cD._2
537- let by = cD._3
538- let cp = max([(bJ - ck), g])
539- let cE = i(invoke(aV, "claimWxBoostREADONLY", [ap, ao], nil))
540- let cq = max([m(cE[0]), 0])
541- let cF = o(cE[1])
542- let cr = cp
543- let cs = min([(cr * toBigInt(2)), toBigInt(cq)])
544- let cG = (cr + cs)
545- $Tuple2(nil, makeString(["%s%s%d%d%d%d%s", ap, ao, toString(cG), toString(ck), toString(cr), toString(cs), ((((by + "::") + toString(cC)) + "::BOOSTDEBUG::") + cF)], e))
578+@Callable(ci)
579+func claimWxINTERNAL (aq,ap) = {
580+ let cm = ch(ci)
581+ if ((cm == cm))
582+ then {
583+ let aA = valueOrErrorMessage(addressFromString(ap), "claimWxINTERNAL: invalid user address")
584+ let bt = v(aU, Z(aq))
585+ let cC = as(aq, ap)
586+ let cD = av(aq)
587+ let cE = at(aq, ap)
588+ let cF = au(aq, ap)
589+ let cG = A(this, cC)
590+ let cH = A(this, cE)
591+ let cI = A(this, cF)
592+ let cJ = A(this, cD)
593+ let cK = bQ(aq, ap, bt, 0)
594+ let ca = cK._1
595+ let cx = cK._2
596+ let bP = cK._3
597+ let cL = max([(ca - cG), g])
598+ if ((g >= cL))
599+ then throw("nothing to claim")
600+ else {
601+ let cM = max([m(i(invoke(aW, "claimWxBoost", [aq, ap], nil))[0]), 0])
602+ let cN = cL
603+ let cO = min([(cN * toBigInt(2)), toBigInt(cM)])
604+ let cP = q(i(invoke(aV, "emit", [toInt(cN)], nil))[0])
605+ let cQ = i(invoke(aV, "emit", [toInt(cO)], nil))
606+ if ((cQ == cQ))
607+ then {
608+ let cR = (cG + cL)
609+ let cS = (cH + cN)
610+ let cT = (cH + cN)
611+ let cU = (cH + cN)
612+[StringEntry(cC, toString(cR)), StringEntry(cE, toString(cS)), StringEntry(cF, toString(cT)), StringEntry(cD, toString(cU)), ScriptTransfer(aA, toInt(cN), cP), ScriptTransfer(aA, toInt(cO), cP), aR("claim", ap, aq, toInt(cL), ci.transactionId)]
613+ }
614+ else throw("Strict value is not equal to itself.")
615+ }
616+ }
617+ else throw("Strict value is not equal to itself.")
546618 }
547619
548620
549621
550-@Callable(bQ)
551-func onModifyWeight (ap,bc) = if ((bQ.caller != aT))
622+@Callable(ci)
623+func claimWxREADONLY (aq,ap) = {
624+ let bU = ao(ap, aq)
625+ let bv = ar(aq)
626+ let cC = as(aq, ap)
627+ let bo = aw(bU)
628+ let bw = aw(bv)
629+ let cG = A(this, cC)
630+ let bt = v(aU, Z(aq))
631+ let by = getIntegerValue(aU, aa(bt))
632+ let cV = z(aV, aj())
633+ let bz = z(aV, al())
634+ let cW = if ((bz > height))
635+ then 0
636+ else (height - bz)
637+ let cX = fraction((cV * cW), by, f)
638+ let cY = fraction(cX, bo, bw)
639+ let cZ = bQ(aq, ap, bt, 0)
640+ let ca = cZ._1
641+ let cx = cZ._2
642+ let bP = cZ._3
643+ let cL = max([(ca - cG), g])
644+ let da = i(invoke(aW, "claimWxBoostREADONLY", [aq, ap], nil))
645+ let cM = max([m(da[0]), 0])
646+ let db = o(da[1])
647+ let cN = cL
648+ let cO = min([(cN * toBigInt(2)), toBigInt(cM)])
649+ let dc = (cN + cO)
650+ $Tuple2(nil, makeString(["%s%s%d%d%d%d%s", aq, ap, toString(dc), toString(cG), toString(cN), toString(cO), ((((bP + "::") + toString(cY)) + "::BOOST::") + db)], e))
651+ }
652+
653+
654+
655+@Callable(ci)
656+func usersListTraversal (ay) = {
657+ let cm = if ((toBase58String(ci.caller.bytes) == valueOrElse(getString(this, J()), "")))
658+ then true
659+ else cj(ci)
660+ if ((cm == cm))
661+ then {
662+ let ba = aY(ay)
663+ let dd = getString(aX(ay))
664+ let bg = getString(aZ(ba))
665+ let k = dd
666+ if ($isInstanceOf(k, "Unit"))
667+ then {
668+ let de = bg
669+ if ($isInstanceOf(de, "Unit"))
670+ then $Tuple2(nil, false)
671+ else if ($isInstanceOf(de, "String"))
672+ then {
673+ let df = de
674+ $Tuple2([StringEntry(aX(ay), df)], true)
675+ }
676+ else throw("Match error")
677+ }
678+ else if ($isInstanceOf(k, "String"))
679+ then {
680+ let aA = k
681+ let cG = A(this, as(ay, aA))
682+ let dg = v(aU, Z(ay))
683+ let dh = bQ(ay, aA, dg, 0)
684+ let ca = dh._1
685+ let cx = dh._2
686+ let bP = dh._3
687+ let cL = (ca - cG)
688+ let di = if ((cL > g))
689+ then invoke(this, "claimWxINTERNAL", [ay, aA], nil)
690+ else unit
691+ if ((di == di))
692+ then {
693+ let dj = getString(be(ba, aA))
694+ let de = dj
695+ if ($isInstanceOf(de, "Unit"))
696+ then $Tuple2([DeleteEntry(aX(ay))], false)
697+ else if ($isInstanceOf(de, "String"))
698+ then {
699+ let dk = de
700+ $Tuple2([StringEntry(aX(ay), dk)], true)
701+ }
702+ else throw("Match error")
703+ }
704+ else throw("Strict value is not equal to itself.")
705+ }
706+ else throw("Match error")
707+ }
708+ else throw("Strict value is not equal to itself.")
709+ }
710+
711+
712+
713+@Callable(ci)
714+func onModifyWeight (aq,bt) = if ((ci.caller != aU))
552715 then throw("permissions denied")
553716 else {
554- let cH = bb(ap, bc, 0)
555- let aZ = cH._1
556- let bB = cH._2
557- let bC = cH._3
558- bB
717+ let dl = bs(aq, bt, 0)
718+ let bq = dl._1
719+ let bS = dl._2
720+ let bT = dl._3
721+ bS
559722 }
560723
561724
562-@Verifier(cI)
563-func cJ () = {
564- let cK = {
565- let k = bM()
725+@Verifier(dm)
726+func dn () = {
727+ let do = {
728+ let k = cd()
566729 if ($isInstanceOf(k, "ByteVector"))
567730 then {
568- let bS = k
569- bS
731+ let ck = k
732+ ck
570733 }
571734 else if ($isInstanceOf(k, "Unit"))
572- then cI.senderPublicKey
735+ then dm.senderPublicKey
573736 else throw("Match error")
574737 }
575- let cL = {
576- let k = bN()
738+ let dp = {
739+ let k = ce()
577740 if ($isInstanceOf(k, "ByteVector"))
578741 then {
579- let bS = k
580- bS
742+ let ck = k
743+ ck
581744 }
582745 else if ($isInstanceOf(k, "Unit"))
583- then cI.senderPublicKey
746+ then dm.senderPublicKey
584747 else throw("Match error")
585748 }
586- if (sigVerify(cI.bodyBytes, cI.proofs[0], cK))
749+ if (sigVerify(dm.bodyBytes, dm.proofs[0], do))
587750 then true
588- else sigVerify(cI.bodyBytes, cI.proofs[0], cL)
751+ else sigVerify(dm.bodyBytes, dm.proofs[0], dp)
589752 }
590753

github/deemru/w8io/026f985 
170.92 ms