tx · Du2mjeg5WpWkPHtoyE48gCkWH6WuCmiJybTTRcU4BvNY

3N2M4PztorHwrfENp7D6LhYGgGodjiD1fjn:  -0.02400000 Waves

2023.08.28 11:36 [2730290] smart account 3N2M4PztorHwrfENp7D6LhYGgGodjiD1fjn > SELF 0.00000000 Waves

{ "type": 13, "id": "Du2mjeg5WpWkPHtoyE48gCkWH6WuCmiJybTTRcU4BvNY", "fee": 2400000, "feeAssetId": null, "timestamp": 1693211804067, "version": 2, "chainId": 84, "sender": "3N2M4PztorHwrfENp7D6LhYGgGodjiD1fjn", "senderPublicKey": "Fj9LPkCtmW3pDnVU6wPQnvqpZJCBieWSvZqY5FAGeCyp", "proofs": [ "41PsBwQ1saBBWDZVviBs38BsTg3rkZx9FrHcFGifKBsf9Eq3mx9Bzp3s7kPjFrBwvwkBrQe5uFy9cynF1XuLteAi", "2WhWuBDnkczKrFQQJiiSqJLUsaF2vctVPiPhrLz7GZEPd5pmGcJJkcgvYn1LqLmnXABNVappV7z8GbbiQTkh9jzU" ], "script": "base64:BgIhCAISABIAEgQKAggIEgMKAQgSBwoFCAgIAQESAwoBCBIAUAAGU0NBTEU4AIDC1y8AC0xFTkRFUlNfQVBSCQDMCAIAlgEJAMwIAgB4CQDMCAIAZAkAzAgCAFAJAMwIAgA8CQDMCAIAKAkAzAgCAB4JAMwIAgAUCQDMCAIACgUDbmlsABNMRU5ERVJTX0FQUl9QRVJJT0RTCQDMCAICAzEtMQkAzAgCAgMyLTIJAMwIAgIDMy0zCQDMCAICAzQtNAkAzAgCAgM1LTgJAMwIAgIEOS0xMgkAzAgCAgUxNC0xNgkAzAgCAgUxNy0yMAkAzAgCAgYyMC0xMDQFA25pbAATTEVOREVSU19NQVhfUEVSSU9EUwBoAAZMUF9BUFIJAMwIAgCWAQkAzAgCAHgJAMwIAgBkCQDMCAIAUAkAzAgCADwJAMwIAgAoBQNuaWwADkxQX0FQUl9QRVJJT0RTCQDMCAICAzEtMQkAzAgCAgMyLTIJAMwIAgI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LAAEAAAQSYWRtaW5QdWJLZXkzU2lnbmVkAwkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAgUIYWRtaW4zUEsAAQAACQBnAgkAZAIJAGQCBRJhZG1pblB1YktleTFTaWduZWQFEmFkbWluUHViS2V5MlNpZ25lZAUSYWRtaW5QdWJLZXkzU2lnbmVkAAIEByRtYXRjaDAFAnR4AwkAAQIFByRtYXRjaDACF0ludm9rZVNjcmlwdFRyYW5zYWN0aW9uBANpbnYFByRtYXRjaDAEBmlzU2VsZgkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAgFAnR4D3NlbmRlclB1YmxpY0tleQQKaXNSaWdodEZlZQMJAAACCAUDaW52A2ZlZQCg9zYJAAACCAUDaW52CmZlZUFzc2V0SWQFBHVuaXQHBAppc0luaXRDYWxsCQAAAggFA2ludghmdW5jdGlvbgIEaW5pdAQMaXNub1BheW1lbnRzCQAAAgkAkAMBCAUDaW52CHBheW1lbnRzAAADAwMDBQppc1JpZ2h0RmVlBQppc0luaXRDYWxsBwUGaXNTZWxmBwUMaXNub1BheW1lbnRzBwYFE211bHRpU2lnbmVkQnlBZG1pbnMFE211bHRpU2lnbmVkQnlBZG1pbnNd363n", "height": 2730290, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: FPKLWkgy6Zyj2uXph7GjFcrdZcyNFMGewQVs8tPsYURU Next: none Diff:
OldNewDifferences
435435
436436 @Callable(ak)
437437 func lendAction (bm,aU) = valueOrElse(an(ak), {
438- let bz = valueOrElse(getInteger(this, (aU + s)), 0)
438+ let bz = valueOrElse(getInteger(this, (((aU + "_") + bm) + s)), 0)
439439 let bZ = bl(bm, aU)
440440 let bB = bZ._1
441441 let bC = bZ._2
446446
447447 @Callable(ak)
448448 func lpAction (bm) = valueOrElse(ao(ak), {
449- let bz = valueOrElse(getInteger(this, t), 0)
449+ let bz = valueOrElse(getInteger(this, (bm + t)), 0)
450450 let ca = bq(bm)
451451 let bB = ca._1
452452 let bH = ca._2
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = 100000000
55
66 let b = [150, 120, 100, 80, 60, 40, 30, 20, 10]
77
88 let c = ["1-1", "2-2", "3-3", "4-4", "5-8", "9-12", "14-16", "17-20", "20-104"]
99
1010 let d = 104
1111
1212 let e = [150, 120, 100, 80, 60, 40]
1313
1414 let f = ["1-1", "2-2", "3-3", "4-4", "5-8", "9-12"]
1515
1616 let g = 12
1717
1818 let h = "startHeight"
1919
2020 let i = "periodLength"
2121
2222 let j = "lendRewardsAmount"
2323
2424 let k = "lpRewardAmount"
2525
2626 let l = "tokens"
2727
2828 let m = "_userTotalSupply"
2929
3030 let n = "_tokenInterest"
3131
3232 let o = "_tokenInterestHeight"
3333
3434 let p = "_tokenRewardPerBlock"
3535
3636 let q = "rewardUpdatePeriod"
3737
3838 let r = "_userLandInterest"
3939
4040 let s = "_userLendAvailableClaim"
4141
4242 let t = "_userLpAvailableClaim"
4343
4444 let u = "lpInterest"
4545
4646 let v = "lpInterestHeight"
4747
4848 let w = "prevLPTotalSupply"
4949
5050 let x = "lpRewardPerBlock"
5151
5252 let y = "_userLpInterest"
5353
5454 let z = "_twap5B"
5555
5656 let A = "_prevLendTotalSupply"
5757
5858 let B = "axlyTokenId"
5959
6060 let C = "total_supplied_"
6161
6262 let D = "_supplied_"
6363
6464 let E = "setup_tokens"
6565
6666 let F = "_total_share_tokens_locked"
6767
6868 let G = "_share_tokens_locked"
6969
7070 let H = "axlyPool"
7171
7272 let I = "share_asset_id"
7373
7474 let J = "price_oracle"
7575
7676 let K = "mainContract"
7777
7878 let L = "tokenomicContract"
7979
8080 let M = "swopfi_farming_addr"
8181
8282 let N = "lend_service_addr"
8383
8484 let O = "group1_admin1_pub_key"
8585
8686 let P = "group1_admin2_pub_key"
8787
8888 let Q = "group1_admin3_pub_key"
8989
9090 let R = "admin_call_pub_key"
9191
9292 let S = valueOrErrorMessage(getString(this, H), "Can't get axlyPool key")
9393
9494 let T = addressFromStringValue(valueOrErrorMessage(getString(this, K), "Can't get mainContact key"))
9595
9696 let U = addressFromStringValue(valueOrErrorMessage(getString(this, L), "Can't get tokenomicContract key"))
9797
9898 let V = addressFromStringValue(valueOrErrorMessage(getString(T, N), "Can't get lend_service_addr key"))
9999
100100 let W = addressFromStringValue(valueOrErrorMessage(getString(T, M), "Can't get swopfi_farming_addr key"))
101101
102102 let X = addressFromStringValue(valueOrErrorMessage(getString(T, J), "Can't get price_oracle key"))
103103
104104 let Y = fromBase58String(valueOrErrorMessage(getString(T, O), "Can't get admin1PK"))
105105
106106 let Z = fromBase58String(valueOrErrorMessage(getString(T, P), "Can't get admin2PK"))
107107
108108 let aa = fromBase58String(valueOrErrorMessage(getString(T, Q), "Can't get operatorPK"))
109109
110110 let ab = fromBase58String(valueOrErrorMessage(getString(this, R), "Can't get operatorPK"))
111111
112112 let ac = valueOrErrorMessage(getString(U, B), "Can't get Axly token id")
113113
114114 let ad = getIntegerValue(this, h)
115115
116116 let ae = getIntegerValue(this, i)
117117
118118 let af = getIntegerValue(U, j)
119119
120120 let ag = (af / d)
121121
122122 let ah = getIntegerValue(U, k)
123123
124124 let ai = (ah / g)
125125
126126 func aj (ak) = if (containsElement([Y, Z, aa], ak.callerPublicKey))
127127 then unit
128128 else throw("Only admin group1 can call this function")
129129
130130
131131 func al (ak) = if ((ak.caller == this))
132132 then unit
133133 else throw("Only contract itself can call this function")
134134
135135
136136 func am (ak) = if ((ak.callerPublicKey == ab))
137137 then unit
138138 else throw("Only operator can call this function")
139139
140140
141141 func an (ak) = if ((ak.caller == V))
142142 then unit
143143 else throw("Only land contract can call this function")
144144
145145
146146 func ao (ak) = if ((ak.caller == W))
147147 then unit
148148 else throw("Only land contract can call this function")
149149
150150
151151 func ap () = {
152152 let aq = valueOrElse(getString(this, l), "")
153153 if ((aq == ""))
154154 then nil
155155 else split(aq, ",")
156156 }
157157
158158
159159 func ar (as) = getIntegerValue(X, (as + z))
160160
161161
162162 func at (as) = if ((as == "WAVES"))
163163 then 8
164164 else {
165165 let au = assetInfo(fromBase58String(as))
166166 if ($isInstanceOf(au, "Asset"))
167167 then {
168168 let av = au
169169 av.decimals
170170 }
171171 else throw("Can't find asset")
172172 }
173173
174174
175175 func aw (as) = pow(10, 0, at(as), 0, 0, DOWN)
176176
177177
178178 func ax (ay,az,aA) = {
179179 func aB (aC,aD) = {
180180 let aE = aC
181181 let aF = aE._1
182182 let aG = aE._2
183183 let aH = split(aD, "-")
184184 let aI = $Tuple2(parseIntValue(aH[0]), parseIntValue(aH[1]))
185185 let aJ = aI._1
186186 let aK = aI._2
187187 if (aG)
188188 then aC
189189 else if (if ((ay >= aJ))
190190 then (aK >= ay)
191191 else false)
192192 then $Tuple2(aF, true)
193193 else $Tuple2((aF + 1), false)
194194 }
195195
196196 let aL = {
197197 let aM = c
198198 let aN = size(aM)
199199 let aO = $Tuple2(0, false)
200200 func aP (aQ,aR) = if ((aR >= aN))
201201 then aQ
202202 else aB(aQ, aM[aR])
203203
204204 func aS (aQ,aR) = if ((aR >= aN))
205205 then aQ
206206 else throw("List size exceeds 9")
207207
208208 aS(aP(aP(aP(aP(aP(aP(aP(aP(aP(aO, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9)
209209 }
210210 let aF = aL._1
211211 let aG = aL._2
212212 if (aG)
213213 then fraction((b[aF] * a), 7, 365)
214214 else 0
215215 }
216216
217217
218218 func aT () = {
219219 func aB (aC,aU) = {
220220 let aV = aC
221221 let aW = aV._1
222222 let aX = aV._2
223223 let aY = aV._3
224224 let aZ = valueOrElse(getInteger(V, (C + aU)), 0)
225225 let ba = ar(aU)
226226 let bb = aw(aU)
227227 let bc = fraction(aZ, ba, bb)
228228 $Tuple3((aW :+ aZ), (aX :+ bc), (aY + bc))
229229 }
230230
231231 let aM = ap()
232232 let aN = size(aM)
233233 let aO = $Tuple3(nil, nil, 0)
234234 func aP (aQ,aR) = if ((aR >= aN))
235235 then aQ
236236 else aB(aQ, aM[aR])
237237
238238 func aS (aQ,aR) = if ((aR >= aN))
239239 then aQ
240240 else throw("List size exceeds 30")
241241
242242 aS(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aO, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30)
243243 }
244244
245245
246246 func bd (aU) = {
247247 let aZ = valueOrElse(getInteger(V, (C + aU)), 0)
248248 let ba = ar(aU)
249249 let bb = aw(aU)
250250 fraction(aZ, ba, bb)
251251 }
252252
253253
254254 func be (aU,aW) = if ((ad >= height))
255255 then 0
256256 else {
257257 let bf = getIntegerValue(this, (aU + p))
258258 let bg = getIntegerValue(this, (aU + n))
259259 let bh = getIntegerValue(this, (aU + o))
260260 let bi = ((height - bh) * bf)
261261 let bj = if ((aW > 0))
262262 then fraction(bi, a, aW)
263263 else 0
264264 (bg + bj)
265265 }
266266
267267
268268 func bk (aW) = if ((ad >= height))
269269 then 0
270270 else {
271271 let bf = valueOrElse(getInteger(this, x), 0)
272272 let bg = valueOrElse(getInteger(this, u), 0)
273273 let bh = valueOrElse(getInteger(this, v), height)
274274 let bi = ((height - bh) * bf)
275275 let bj = if ((aW > 0))
276276 then fraction(bi, a, aW)
277277 else 0
278278 (bg + bj)
279279 }
280280
281281
282282 func bl (bm,aU) = {
283283 let aW = valueOrElse(getInteger(V, (C + aU)), 0)
284284 let bn = be(aU, aW)
285285 let bo = valueOrElse(getInteger(V, ((bm + D) + aU)), 0)
286286 let bp = valueOrElse(getInteger(this, (((aU + "_") + bm) + r)), if ((bo == 0))
287287 then bn
288288 else 0)
289289 let bi = fraction(bo, (bn - bp), a)
290290 $Tuple3(bi, bn, bo)
291291 }
292292
293293
294294 func bq (bm) = {
295295 let aW = valueOrElse(getInteger(W, (S + F)), 0)
296296 let bn = bk(aW)
297297 let bo = valueOrElse(getInteger(W, (((S + "_") + bm) + G)), 0)
298298 let bp = valueOrElse(getInteger(this, (bm + y)), if ((bo == 0))
299299 then bn
300300 else 0)
301301 let bi = fraction(bo, (bn - bp), a)
302302 $Tuple3(bi, bn, bo)
303303 }
304304
305305
306306 func br (bm,bs) = {
307307 func bt (aC,aU) = {
308308 let bu = aC
309309 let bv = bu._1
310310 let bw = bu._2
311311 let bx = bu._3
312312 let by = bu._4
313313 let bz = valueOrElse(getInteger(this, (((aU + "_") + bm) + s)), 0)
314314 let bA = bl(bm, aU)
315315 let bB = bA._1
316316 let bC = bA._2
317317 let bo = bA._3
318318 let bD = (bz + bB)
319319 if (if ((bD > 0))
320320 then true
321321 else (bo > 0))
322322 then {
323323 let bE = if (if (bs)
324324 then true
325325 else (bD == 0))
326326 then by
327327 else (by ++ [IntegerEntry((((aU + "_") + bm) + r), bC), IntegerEntry((((aU + "_") + bm) + s), 0), IntegerEntry((aU + n), bC), IntegerEntry((aU + o), height)])
328328 $Tuple4((bv :+ aU), (bw :+ bD), (bx + bD), bE)
329329 }
330330 else $Tuple4(bv, bw, bx, by)
331331 }
332332
333333 let aM = ap()
334334 let aN = size(aM)
335335 let aO = $Tuple4(nil, nil, 0, nil)
336336 func aP (aQ,aR) = if ((aR >= aN))
337337 then aQ
338338 else bt(aQ, aM[aR])
339339
340340 func aS (aQ,aR) = if ((aR >= aN))
341341 then aQ
342342 else throw("List size exceeds 30")
343343
344344 aS(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aO, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30)
345345 }
346346
347347
348348 func bF (bm,bs) = {
349349 let bz = valueOrElse(getInteger(this, (bm + t)), 0)
350350 let bG = bq(bm)
351351 let bB = bG._1
352352 let bH = bG._2
353353 let bo = bG._3
354354 let bD = (bz + bB)
355355 if (if (bs)
356356 then true
357357 else (bD == 0))
358358 then $Tuple2(bD, nil)
359359 else $Tuple2(bD, [IntegerEntry((bm + y), bH), IntegerEntry((bm + t), 0), IntegerEntry(u, bH), IntegerEntry(v, height)])
360360 }
361361
362362
363363 func bI () = {
364364 let bJ = ar(ac)
365365 let bK = aw(ac)
366366 func bL (aA,aU) = {
367367 let bM = valueOrElse(getInteger(this, (aU + p)), 0)
368368 let bN = fraction(bM, bJ, bK)
369369 let bO = ((bN * ae) * 52)
370370 let aX = bd(aU)
371371 (aA :+ fraction(bO, a, aX))
372372 }
373373
374374 let bP = {
375375 let aM = ap()
376376 let aN = size(aM)
377377 let aO = nil
378378 func aP (aQ,aR) = if ((aR >= aN))
379379 then aQ
380380 else bL(aQ, aM[aR])
381381
382382 func aS (aQ,aR) = if ((aR >= aN))
383383 then aQ
384384 else throw("List size exceeds 30")
385385
386386 aS(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aO, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30)
387387 }
388388 let bQ = getIntegerValue(W, (S + F))
389389 let bR = getStringValue(addressFromStringValue(S), I)
390390 let bS = aw(bR)
391391 let bT = {
392392 let bU = invoke(T, "getShareAssetPriceREADONLY", [bR], nil)
393393 if ($isInstanceOf(bU, "Int"))
394394 then bU
395395 else throw(($getType(bU) + " couldn't be cast to Int"))
396396 }
397397 let bV = fraction(bQ, bT, bS)
398398 let bM = valueOrElse(getInteger(this, x), 0)
399399 let bN = fraction(bM, bJ, bK)
400400 let bO = ((bN * ae) * 52)
401401 let bW = fraction(bO, a, bV)
402402 $Tuple3(ap(), bP, bW)
403403 }
404404
405405
406406 @Callable(ak)
407407 func claimLenderRewards () = {
408408 let bX = br(toString(ak.caller), false)
409409 if ((bX._3 == 0))
410410 then throw("claim amount must be greater than 0")
411411 else {
412412 let bY = invoke(U, "withdrawLendReward", [bX._3, toString(ak.caller)], nil)
413413 if ((bY == bY))
414414 then bX._4
415415 else throw("Strict value is not equal to itself.")
416416 }
417417 }
418418
419419
420420
421421 @Callable(ak)
422422 func claimLpRewards () = {
423423 let bX = bF(toString(ak.caller), false)
424424 if ((bX._1 == 0))
425425 then throw("claim amount must be greater than 0")
426426 else {
427427 let bY = invoke(U, "withdrawLpReward", [bX._1, toString(ak.caller)], nil)
428428 if ((bY == bY))
429429 then bX._2
430430 else throw("Strict value is not equal to itself.")
431431 }
432432 }
433433
434434
435435
436436 @Callable(ak)
437437 func lendAction (bm,aU) = valueOrElse(an(ak), {
438- let bz = valueOrElse(getInteger(this, (aU + s)), 0)
438+ let bz = valueOrElse(getInteger(this, (((aU + "_") + bm) + s)), 0)
439439 let bZ = bl(bm, aU)
440440 let bB = bZ._1
441441 let bC = bZ._2
442442 [IntegerEntry((((aU + "_") + bm) + r), bC), IntegerEntry((((aU + "_") + bm) + s), (bz + bB)), IntegerEntry((aU + n), bC), IntegerEntry((aU + o), height)]
443443 })
444444
445445
446446
447447 @Callable(ak)
448448 func lpAction (bm) = valueOrElse(ao(ak), {
449- let bz = valueOrElse(getInteger(this, t), 0)
449+ let bz = valueOrElse(getInteger(this, (bm + t)), 0)
450450 let ca = bq(bm)
451451 let bB = ca._1
452452 let bH = ca._2
453453 [IntegerEntry((bm + y), bH), IntegerEntry((bm + t), (bz + bB)), IntegerEntry(u, bH), IntegerEntry(v, height)]
454454 })
455455
456456
457457
458458 @Callable(ak)
459459 func init (cb,cc,cd,ce,ae) = valueOrElse(al(ak), if (!(isDefined(addressFromString(cb))))
460460 then throw("Wrong farming address")
461461 else if (!(isDefined(addressFromString(cc))))
462462 then throw("Wrong main contract address")
463463 else [StringEntry(K, cb), StringEntry(L, cc), StringEntry(H, cd), IntegerEntry(h, ce), IntegerEntry(i, ae)])
464464
465465
466466
467467 @Callable(ak)
468468 func initNewToken (aU) = valueOrElse(aj(ak), if (isDefined(getInteger(this, (aU + n))))
469469 then throw("token already inited")
470470 else if (!(contains(getStringValue(V, E), aU)))
471471 then throw("no token on landing")
472472 else {
473473 let cf = (ap() :+ aU)
474474 [IntegerEntry((aU + n), 0), IntegerEntry((aU + o), max([ad, height])), StringEntry(l, makeString(cf, ",")), IntegerEntry((aU + p), 0)]
475475 })
476476
477477
478478
479479 @Callable(ak)
480480 func updateRewards () = valueOrElse(am(ak), {
481481 let cg = valueOrElse(getInteger(this, q), 0)
482482 let ch = (((height - ad) / ae) + 1)
483483 let ci = if ((0 >= ch))
484484 then 1
485485 else ch
486486 if ((ci > 104))
487487 then throw("max period is 104")
488488 else if (if ((cg >= ci))
489489 then (cg != 0)
490490 else false)
491491 then throw("rewards alredy updated in this period")
492492 else {
493493 let cj = aT()
494494 let aW = cj._1
495495 let aX = cj._2
496496 let aY = cj._3
497497 let bJ = ar(ac)
498498 let bK = aw(ac)
499499 let ck = ax(ci, c, b)
500500 func cl (aC,aU) = {
501501 let cm = aC
502502 let by = cm._1
503503 let cn = cm._2
504504 let aF = cm._3
505505 if ((aW[aF] == 0))
506506 then $Tuple3((by ++ [IntegerEntry((aU + A), aW[aF]), IntegerEntry((aU + p), 0), IntegerEntry((aU + n), be(aU, aW[aF])), IntegerEntry((aU + o), max([ad, height]))]), cn, (aF + 1))
507507 else {
508508 let co = fraction(aX[aF], a, aY)
509509 let cp = fraction(co, ag, a)
510510 let cq = fraction(cp, bJ, bK)
511511 let cr = valueOrElse(getInteger(this, (aU + A)), 0)
512512 let cs = if (if ((cr == 0))
513513 then true
514514 else (aW[aF] == 0))
515515 then 0
516516 else (fraction(aW[aF], a, cr) - a)
517517 let bi = ((min([(ck * (a + max([cs, 0]))), fraction(ck, (15 * a), 10)]) / a) / 100)
518518 let ct = min([cq, fraction(aX[aF], bi, a)])
519519 let cu = fraction(ct, bK, bJ)
520520 let bf = (cu / ae)
521521 $Tuple3((by ++ [IntegerEntry((aU + A), aW[aF]), IntegerEntry((aU + p), bf), IntegerEntry((aU + n), be(aU, aW[aF])), IntegerEntry((aU + o), max([ad, height]))]), (cn + cu), (aF + 1))
522522 }
523523 }
524524
525525 let cv = {
526526 let aM = ap()
527527 let aN = size(aM)
528528 let aO = $Tuple3(nil, 0, 0)
529529 func aP (aQ,aR) = if ((aR >= aN))
530530 then aQ
531531 else cl(aQ, aM[aR])
532532
533533 func aS (aQ,aR) = if ((aR >= aN))
534534 then aQ
535535 else throw("List size exceeds 30")
536536
537537 aS(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aP(aO, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30)
538538 }
539539 let cw = cv._1
540540 let cx = cv._2
541541 let cy = ax(ci, f, e)
542542 let bQ = getIntegerValue(W, (S + F))
543543 let cz = valueOrElse(getInteger(this, w), 0)
544544 let bR = getStringValue(addressFromStringValue(S), I)
545545 let bS = aw(bR)
546546 let bT = {
547547 let bU = invoke(T, "getShareAssetPriceREADONLY", [bR], nil)
548548 if ($isInstanceOf(bU, "Int"))
549549 then bU
550550 else throw(($getType(bU) + " couldn't be cast to Int"))
551551 }
552552 let bV = fraction(bQ, bT, bS)
553553 let cA = fraction(ai, bJ, bK)
554554 let cB = if (if ((cz == 0))
555555 then true
556556 else (bQ == 0))
557557 then 0
558558 else (fraction(bQ, a, cz) - a)
559559 let cC = ((min([(cy * (a + max([cB, 0]))), fraction(cy, (15 * a), 10)]) / a) / 100)
560560 let cD = min([cA, fraction(bV, cC, a)])
561561 let cE = fraction(cD, bK, bJ)
562562 let cF = (cE / ae)
563563 let cG = (ag - cx)
564564 let cH = (ai - cE)
565565 let bY = invoke(U, "withdrawLpReward", [(cG + cH), toString(this)], nil)
566566 if ((bY == bY))
567567 then {
568568 let cI = if ((12 >= ci))
569569 then [IntegerEntry(w, bQ), IntegerEntry(x, cF), IntegerEntry(u, bk(bQ)), IntegerEntry(v, max([ad, height])), ScriptTransfer(Address(base58'3MsXJ3BesPECkYejzBQGHZPJT8GVYy4Fd3Q'), cG, fromBase58String(ac)), ScriptTransfer(Address(base58'3MsXJ3BesPECkYejzBQGHZPJT8GVYy4Fd3Q'), cH, fromBase58String(ac))]
570570 else nil
571571 ((cI ++ cw) :+ IntegerEntry(q, ci))
572572 }
573573 else throw("Strict value is not equal to itself.")
574574 }
575575 })
576576
577577
578578 @Verifier(cJ)
579579 func cK () = {
580580 let cL = {
581581 let cM = if (sigVerify(cJ.bodyBytes, cJ.proofs[0], Y))
582582 then 1
583583 else 0
584584 let cN = if (sigVerify(cJ.bodyBytes, cJ.proofs[1], Z))
585585 then 1
586586 else 0
587587 let cO = if (sigVerify(cJ.bodyBytes, cJ.proofs[2], aa))
588588 then 1
589589 else 0
590590 (((cM + cN) + cO) >= 2)
591591 }
592592 let au = cJ
593593 if ($isInstanceOf(au, "InvokeScriptTransaction"))
594594 then {
595595 let bY = au
596596 let cP = sigVerify(cJ.bodyBytes, cJ.proofs[0], cJ.senderPublicKey)
597597 let cQ = if ((bY.fee == 900000))
598598 then (bY.feeAssetId == unit)
599599 else false
600600 let cR = (bY.function == "init")
601601 let cS = (size(bY.payments) == 0)
602602 if (if (if (if (cQ)
603603 then cR
604604 else false)
605605 then cP
606606 else false)
607607 then cS
608608 else false)
609609 then true
610610 else cL
611611 }
612612 else cL
613613 }
614614

github/deemru/w8io/169f3d6 
74.01 ms