tx · 7t74yhG8dBBeKbCaJb6A9zZFGZuY4RCTUpwjhcHWXUUa

3N7LYefWk1WhvCsY5A9nTq244SbVPmhCypi:  -0.02000000 Waves

2023.03.03 15:46 [2473894] smart account 3N7LYefWk1WhvCsY5A9nTq244SbVPmhCypi > SELF 0.00000000 Waves

{ "type": 13, "id": "7t74yhG8dBBeKbCaJb6A9zZFGZuY4RCTUpwjhcHWXUUa", "fee": 2000000, "feeAssetId": null, "timestamp": 1677847572848, "version": 2, "chainId": 84, "sender": "3N7LYefWk1WhvCsY5A9nTq244SbVPmhCypi", "senderPublicKey": "4qGVXRFATZNzo2RZZ5UYHXojGyJgSRBwtgJcCU8rJe5A", "proofs": [ "4eyzUxU9KUTB5bmMm1Nsb6U8YSFXWFn77dzsC5PTr54MQsMHpsXM9shPvJhPCMqxpSWPeGNSPTp4c7Hio1nfn9V8", "5MFW1Ciyoun5DQvxg983LSSixL5UrYY8iQaTze7RYckPD5w7oWmkfPTTPbeM89Yn4G2xktbnHQoydq8mZyrWpZ4G", "3AhaVVUwNqoPRQMWpdyhD66ngrBC2ukc1r5zX833xb4h8cK8x8zVmr8bR7wDVrEfFEh49AD5yCUAVvEzBiXqShmC" ], "script": "base64:BgI5CAISBQoDCAgBEgMKAQESBwoFAQEBAQESAwoBARIECgIBAhIDCgEBEgASBQoDAQEBEgcKBQEBAQEBdQALcmV2aXNpb25OdW0CAAAJTVVMVFNDQUxFAAgAB1NDQUxFMTYAEAADU0VQAgJfXwAFSEFMRjgAgOHrFwAIRVVMRVJYMTYJALYCAQD0quOekdSkMAAEVFdPWAkAtgIBAAIABU1VTFQ2AMCEPQAGTVVMVFg2CQC2AgEAwIQ9AAVNVUxUOACAwtcvAAZNVUxUWDgJALYCAQCAwtcvAAdNVUxUWDEwCQC2AgEAgMivoCUAB01VTFRYMTYJALYCAQCAgIT+pt7hEQAHV0FWRVNJRAkA2QQBAgVXQVZFUwALa1Jlc3VsdElkeEEAAAAPa1Jlc3VsdElkeFBhdWxCA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633uPE2HyHmemAjxMZcyLX9UDEKJb Next: Hu3ft7FaFxGBGF7Hkny9Uqt1MnRxAvscWCbx6bwuNbGv Diff:
OldNewDifferences
439439 else {
440440 let cu = toBigInt(ai(this, N()))
441441 let cv = toBigInt(ai(this, O()))
442- let cy = toBigInt(cc)
443442 let cw = pow(toBigInt(cs), 6, cv, 16, 8, CEILING)
444- toInt(fraction(fraction(cu, cw, l), cy, i))
443+ toInt(fraction(cu, cw, l))
445444 }
446445 $Tuple2(nil, [ct, 0, cx])
447446 }
449448
450449
451450 @Callable(co)
452-func calculateKREADONLY (cz,cA,an,cB,cC) = {
453- let cD = toBigInt(2718281)
454- let cE = 6
455- let cF = valueOrElse(getInteger(bc, "nsbtCurveParam_a"), 3)
456- let cG = valueOrElse(getInteger(bc, "nsbtCurveParam_b"), ((3 * h) / 10))
457- let cH = ao(cz, an)
458- let cI = fraction(cH, j, cA)
459- if ((cI > 10678564816))
460- then throw((("BR=" + toString(cI)) + " > 10678.564816% will overflow exponent"))
451+func calculateKREADONLY (cy,cz,an,cA,cB) = {
452+ let cC = toBigInt(2718281)
453+ let cD = 6
454+ let cE = valueOrElse(getInteger(bc, "nsbtCurveParam_a"), 3)
455+ let cF = valueOrElse(getInteger(bc, "nsbtCurveParam_b"), ((3 * h) / 10))
456+ let cG = ao(cy, an)
457+ let cH = fraction(cG, j, cz)
458+ if ((cH > 10678564816))
459+ then throw((("BR=" + toString(cH)) + " > 10678.564816% will overflow exponent"))
461460 else {
462- let cJ = (cF * (cI - j))
463- let cK = pow(cD, cE, toBigInt(cJ), b, c, DOWN)
464- let cL = fraction(toBigInt(cG), cK, i)
465- $Tuple2(nil, [cF, cG, cH, cI, cJ, toString(cK), toString(cL)])
461+ let cI = (cE * (cH - j))
462+ let cJ = pow(cC, cD, toBigInt(cI), b, c, DOWN)
463+ let cK = fraction(toBigInt(cF), cJ, i)
464+ $Tuple2(nil, [cE, cF, cG, cH, cI, toString(cJ), toString(cK)])
466465 }
467466 }
468467
469468
470469
471470 @Callable(co)
472-func curveFunctionREADONLY (cM) = {
473- let cN = av(invoke(this, "calcNeutinoMetricsREADONLY", nil, nil))
474- let an = ay(cN[v])
475- let cz = ay(cN[y])
476- let cA = ay(cN[A])
477- let cC = ay(cN[E])
478- let cB = ay(cN[F])
479- let cO = av(invoke(this, "calculateKREADONLY", [cz, cA, an, cB, cC], nil))
480- let cL = parseBigIntValue(aA(cO[u]))
481- let cP = ao(cM, an)
482- let cQ = toBigInt(cB)
483- let cR = toBigInt((cB - cC))
484- let cS = fraction(toBigInt(cP), m, cL)
485- let cT = fraction(cS, cR, cQ)
486- let cU = toInt(fraction(cR, cQ, (cT + cQ)))
487- let cV = ((cB - cC) - cU)
488- $Tuple2(nil, [cV, cP, cz, cA, cB, cC, ay(cO[o]), ay(cO[p]), ay(cO[q]), an, ay(cO[r]), ay(cO[s]), cO[t], cO[u], toString(cS), toString(cT), cU])
471+func curveFunctionREADONLY (cL) = {
472+ let cM = av(invoke(this, "calcNeutinoMetricsREADONLY", nil, nil))
473+ let an = ay(cM[v])
474+ let cy = ay(cM[y])
475+ let cz = ay(cM[A])
476+ let cB = ay(cM[E])
477+ let cA = ay(cM[F])
478+ let cN = av(invoke(this, "calculateKREADONLY", [cy, cz, an, cA, cB], nil))
479+ let cK = parseBigIntValue(aA(cN[u]))
480+ let cO = ao(cL, an)
481+ let cP = toBigInt(cA)
482+ let cQ = toBigInt((cA - cB))
483+ let cR = fraction(toBigInt(cO), m, cK)
484+ let cS = fraction(cR, cQ, cP)
485+ let cT = toInt(fraction(cQ, cP, (cS + cP)))
486+ let cU = ((cA - cB) - cT)
487+ $Tuple2(nil, [cU, cO, cy, cz, cA, cB, ay(cN[o]), ay(cN[p]), ay(cN[q]), an, ay(cN[r]), ay(cN[s]), cN[t], cN[u], toString(cR), toString(cS), cT])
489488 }
490489
491490
495494 then throw("amount should be positive")
496495 else {
497496 let an = bL
498- let cW = toBigInt(an)
499- let cX = bP("WAVES")
500- let cY = toBigInt(cX)
501- let cZ = bW
502- let da = toBigInt(cZ)
497+ let cV = toBigInt(an)
498+ let cW = bP("WAVES")
499+ let cX = toBigInt(cW)
500+ let cY = bW
501+ let cZ = toBigInt(cY)
503502 if ((cc >= h))
504503 then throw((("BR = " + toString(cc)) + ", cannot buy SURF"))
505504 else {
506- let db = (fraction(cZ, j, an) - cX)
507- let dc = (cZ - fraction(cX, an, j))
508- let dd = if ((ab == bh))
509- then if ((am > dc))
510- then dc
505+ let da = (fraction(cY, j, an) - cW)
506+ let db = (cY - fraction(cW, an, j))
507+ let dc = if ((ab == bh))
508+ then if ((am > db))
509+ then db
511510 else am
512511 else if ((ab == n))
513- then if ((am > db))
514- then db
512+ then if ((am > da))
513+ then da
515514 else am
516515 else 0
517- let de = toBigInt(dd)
516+ let dd = toBigInt(dc)
518517 if ((ab == bh))
519- then $Tuple2(nil, [toInt(fraction(fraction(de, k, cW), (da - (de / g)), cY)), 0, dd, cX, cZ, cc, cX, (cZ - dd), fraction(ao(cX, an), h, (cZ - dd)), (am - dd), an])
518+ then $Tuple2(nil, [toInt(fraction(fraction(dd, k, cV), (cZ - (dd / g)), cX)), 0, dc, cW, cY, cc, cW, (cY - dc), fraction(ao(cW, an), h, (cY - dc)), (am - dc), an])
520519 else if ((ab == n))
521- then $Tuple2(nil, [toInt(fraction(da, log(fraction((cY + de), m, cY), 16, f, 16, 16, HALFUP), m)), dd, 0, cX, cZ, cc, (cX + dd), cZ, fraction(ao((cX + dd), an), h, cZ), (am - dd), an])
520+ then $Tuple2(nil, [toInt(fraction(cZ, log(fraction((cX + dd), m, cX), 16, f, 16, 16, HALFUP), m)), dc, 0, cW, cY, cc, (cW + dc), cY, fraction(ao((cW + dc), an), h, cY), (am - dc), an])
522521 else throw("Unsupported asset")
523522 }
524523 }
526525
527526
528527 @Callable(co)
529-func calcContractNsbtPriceSYSREADONLY (df) = {
530- let cN = av(invoke(this, "calcNeutinoMetricsREADONLY", nil, nil))
531- let an = ay(cN[v])
532- let cz = ay(cN[y])
533- let cA = (ay(cN[A]) - df)
534- let cC = (ay(cN[E]) + df)
535- let cB = ay(cN[F])
536- let cO = av(invoke(this, "calculateKREADONLY", [cz, cA, an, cB, cC], nil))
537- let dg = parseBigIntValue(aA(cO[u]))
538- let dh = fraction(toBigInt(cB), m, toBigInt((cB - cC)))
539- let di = fraction(dh, dh, m)
540- let dj = fraction(dg, di, m)
541- let dk = toInt(fraction(dj, toBigInt(h), m))
542- let dl = fraction(dk, h, an)
543- $Tuple2(nil, [dk, dl])
528+func calcContractNsbtPriceSYSREADONLY (de) = {
529+ let cM = av(invoke(this, "calcNeutinoMetricsREADONLY", nil, nil))
530+ let an = ay(cM[v])
531+ let cy = ay(cM[y])
532+ let cz = (ay(cM[A]) - de)
533+ let cB = (ay(cM[E]) + de)
534+ let cA = ay(cM[F])
535+ let cN = av(invoke(this, "calculateKREADONLY", [cy, cz, an, cA, cB], nil))
536+ let df = parseBigIntValue(aA(cN[u]))
537+ let dg = fraction(toBigInt(cA), m, toBigInt((cA - cB)))
538+ let dh = fraction(dg, dg, m)
539+ let di = fraction(df, dh, m)
540+ let dj = toInt(fraction(di, toBigInt(h), m))
541+ let dk = fraction(dj, h, an)
542+ $Tuple2(nil, [dj, dk])
544543 }
545544
546545
547546
548547 @Callable(co)
549548 func calcNeutinoMetricsREADONLY () = {
550- let dm = value(assetInfo(bi)).quantity
551- let dn = (dm - assetBalance(bc, bi))
552- let do = value(assetInfo(bj)).quantity
553- let dp = cd()
554- $Tuple2(nil, [bL, bN, bO, bP("WAVES"), bR("WAVES"), bW, bU, bV, cc, dn, dm, do, bG, bM, dp._1, dp._2, dp._3])
549+ let dl = value(assetInfo(bi)).quantity
550+ let dm = (dl - assetBalance(bc, bi))
551+ let dn = value(assetInfo(bj)).quantity
552+ let do = cd()
553+ $Tuple2(nil, [bL, bN, bO, bP("WAVES"), bR("WAVES"), bW, bU, bV, cc, dm, dl, dn, bG, bM, do._1, do._2, do._3])
555554 }
556555
557556
558557
559558 @Callable(co)
560-func getUnstakeComissionAmountREADONLY (am,dq,dr) = $Tuple2(nil, fraction(am, pow(2, 0, fraction(-((height - dq)), j, dr), 8, 8, HALFUP), j))
559+func getUnstakeComissionAmountREADONLY (am,dp,dq) = $Tuple2(nil, fraction(am, pow(2, 0, fraction(-((height - dp)), j, dq), 8, 8, HALFUP), j))
561560
562561
563562
564563 @Callable(co)
565-func mergeStakesREADONLY (ds,dt,du,dv,dr) = {
566- let dw = fraction(du, pow(2, 0, fraction((dv - dt), j, dr), 8, 8, HALFUP), j)
567- let aD = fraction((ds + du), j, (ds + dw))
568- $Tuple2(nil, (dt + ((e - (dr * log(aD, 8, 2, 0, 8, HALFUP))) / j)))
564+func mergeStakesREADONLY (dr,ds,dt,du,dq) = {
565+ let dv = fraction(dt, pow(2, 0, fraction((du - ds), j, dq), 8, 8, HALFUP), j)
566+ let aD = fraction((dr + dt), j, (dr + dv))
567+ $Tuple2(nil, (ds + ((e - (dq * log(aD, 8, 2, 0, 8, HALFUP))) / j)))
569568 }
570569
571570
572-@Verifier(dx)
573-func dy () = {
574- let dz = makeString(["ExtEEK19nmKj9mCpnWyvEEJFYATLMcVEMvohhUHkyHNm", "Ev5py5FfBQX9cZpYKnfQrTB49Byf8QmpZWeDVRim4yV7", "DUuuLjXu98nBwZc7fqwCTjtA3nnRwgTbkMSr5SU2NmDR", "DUuuLjXu98nBwZc7fqwCTjtA3nnRwgTbkMSr5SU2NmDR"], d)
575- let dA = split(valueOrElse(getString(ba, "%s__multisig"), dz), d)
576- let dB = ((((if (sigVerify(dx.bodyBytes, dx.proofs[0], fromBase58String(dA[0])))
571+@Verifier(dw)
572+func dx () = {
573+ let dy = makeString(["ExtEEK19nmKj9mCpnWyvEEJFYATLMcVEMvohhUHkyHNm", "Ev5py5FfBQX9cZpYKnfQrTB49Byf8QmpZWeDVRim4yV7", "DUuuLjXu98nBwZc7fqwCTjtA3nnRwgTbkMSr5SU2NmDR", "DUuuLjXu98nBwZc7fqwCTjtA3nnRwgTbkMSr5SU2NmDR"], d)
574+ let dz = split(valueOrElse(getString(ba, "%s__multisig"), dy), d)
575+ let dA = ((((if (sigVerify(dw.bodyBytes, dw.proofs[0], fromBase58String(dz[0])))
577576 then 1
578- else 0) + (if (sigVerify(dx.bodyBytes, dx.proofs[1], fromBase58String(dA[1])))
577+ else 0) + (if (sigVerify(dw.bodyBytes, dw.proofs[1], fromBase58String(dz[1])))
579578 then 1
580- else 0)) + (if (sigVerify(dx.bodyBytes, dx.proofs[2], fromBase58String(dA[2])))
579+ else 0)) + (if (sigVerify(dw.bodyBytes, dw.proofs[2], fromBase58String(dz[2])))
581580 then 1
582- else 0)) + (if (sigVerify(dx.bodyBytes, dx.proofs[3], fromBase58String(dA[3])))
581+ else 0)) + (if (sigVerify(dw.bodyBytes, dw.proofs[3], fromBase58String(dz[3])))
583582 then 2
584583 else 0))
585- (dB >= 3)
584+ (dA >= 3)
586585 }
587586
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = ""
55
66 let b = 8
77
88 let c = 16
99
1010 let d = "__"
1111
1212 let e = 50000000
1313
1414 let f = toBigInt(27182818284590452)
1515
1616 let g = toBigInt(2)
1717
1818 let h = 1000000
1919
2020 let i = toBigInt(1000000)
2121
2222 let j = 100000000
2323
2424 let k = toBigInt(100000000)
2525
2626 let l = toBigInt(10000000000)
2727
2828 let m = toBigInt(10000000000000000)
2929
3030 let n = fromBase58String("WAVES")
3131
3232 let o = 0
3333
3434 let p = 1
3535
3636 let q = 2
3737
3838 let r = 3
3939
4040 let s = 4
4141
4242 let t = 5
4343
4444 let u = 6
4545
4646 let v = 0
4747
4848 let w = 1
4949
5050 let x = 2
5151
5252 let y = 3
5353
5454 let z = 4
5555
5656 let A = 5
5757
5858 let B = 6
5959
6060 let C = 7
6161
6262 let D = 8
6363
6464 let E = 9
6565
6666 let F = 10
6767
6868 let G = 11
6969
7070 let H = 12
7171
7272 let I = 13
7373
7474 let J = 14
7575
7676 func K () = "%s%s__config__neutrinoAddress"
7777
7878
7979 func L () = "%s%s__config__swapAParam"
8080
8181
8282 func M () = "%s%s__config__swapBParam"
8383
8484
8585 func N () = "%s%s__config__usdnSwapAParam"
8686
8787
8888 func O () = "%s%s__config__usdnSwapBParam"
8989
9090
9191 func P () = "%s%s__priceAdj__minCoefficient"
9292
9393
9494 func Q () = "%s%s__priceAdj__arbRegulator"
9595
9696
9797 func R () = "neutrino_asset_id"
9898
9999
100100 func S () = "bond_asset_id"
101101
102102
103103 func T () = "surf_asset_id"
104104
105105
106106 func U () = "swaps_timeframe"
107107
108108
109109 func V (W) = makeString(["%s%s", "userLastQuickSwapHeight", W], d)
110110
111111
112112 func X (W) = makeString(["%s%s", "quickSwapUserSpentInPeriod", W], d)
113113
114114
115115 func Y () = "%s%s__common__basketAssets"
116116
117117
118118 func Z () = "price"
119119
120120
121121 func aa (ab) = ("%s%s%s__common__priceByAsset__" + ab)
122122
123123
124124 let ac = "rpd_balance"
125125
126126 func ad (ae,ab) = makeString([ac, ab, ae], "_")
127127
128128
129129 func af (ag,ah) = valueOrErrorMessage(getString(ag, ah), makeString(["mandatory ", toString(ag), ".", ah, " is not defined"], ""))
130130
131131
132132 func ai (ag,ah) = valueOrErrorMessage(getInteger(ag, ah), makeString(["mandatory ", toString(ag), ".", ah, " is not defined"], ""))
133133
134134
135135 func aj (ag,ah) = valueOrElse(getInteger(ag, ah), 0)
136136
137137
138138 func ak (ag,ah) = valueOrErrorMessage(getBoolean(ag, ah), makeString(["mandatory ", toString(ag), ".", ah, " is not defined"], ""))
139139
140140
141141 func al (am,an) = fraction(am, j, an)
142142
143143
144144 func ao (am,an) = fraction(am, an, j)
145145
146146
147147 func ap (aq,ar) = fraction(toBigInt(aq), m, toBigInt(ar))
148148
149149
150150 func as (at,au) = toInt(fraction(at, toBigInt(au), m))
151151
152152
153153 func av (at) = {
154154 let aw = at
155155 if ($isInstanceOf(aw, "List[Any]"))
156156 then {
157157 let ax = aw
158158 ax
159159 }
160160 else throw("fail to cast into List[Any]")
161161 }
162162
163163
164164 func ay (at) = {
165165 let aw = at
166166 if ($isInstanceOf(aw, "Int"))
167167 then {
168168 let az = aw
169169 az
170170 }
171171 else throw("fail to cast into Int")
172172 }
173173
174174
175175 func aA (at) = {
176176 let aw = at
177177 if ($isInstanceOf(aw, "String"))
178178 then {
179179 let aB = aw
180180 aB
181181 }
182182 else throw("fail to cast into String")
183183 }
184184
185185
186186 func aC (aD) = {
187187 let aw = aD
188188 if ($isInstanceOf(aw, "(Int, Int, Int, Int)"))
189189 then {
190190 let aE = aw
191191 aE
192192 }
193193 else throw("fail to cast into PriceSTRUCT")
194194 }
195195
196196
197197 let aF = 1
198198
199199 let aG = 2
200200
201201 let aH = 3
202202
203203 let aI = 4
204204
205205 let aJ = 5
206206
207207 let aK = 6
208208
209209 let aL = 7
210210
211211 let aM = 8
212212
213213 let aN = 9
214214
215215 let aO = 10
216216
217217 let aP = 11
218218
219219 let aQ = 12
220220
221221 let aR = 13
222222
223223 let aS = 14
224224
225225 func aT () = "%s%s__config__controlAddress"
226226
227227
228228 func aU () = "%s__controlConfig"
229229
230230
231231 func aV (aW) = split_4C(af(aW, aU()), d)
232232
233233
234234 func aX (aY,aZ) = valueOrErrorMessage(addressFromString(aY[aZ]), ("Control cfg doesn't contain address at index " + toString(aZ)))
235235
236236
237237 let ba = addressFromStringValue(valueOrElse(getString(this, aT()), "3N4NS7d4Jo9a6F14LiFUKKYVdUkkf2eP4Zx"))
238238
239239 let aY = aV(ba)
240240
241241 let bb = aX(aY, aF)
242242
243243 let bc = aX(aY, aG)
244244
245245 let bd = aX(aY, aJ)
246246
247247 let be = aX(aY, aH)
248248
249249 let bf = aX(aY, aS)
250250
251251 let bg = af(bb, R())
252252
253253 let bh = fromBase58String(bg)
254254
255255 let bi = fromBase58String(getStringValue(bb, S()))
256256
257257 let bj = fromBase58String(getStringValue(bc, T()))
258258
259259 func bk () = "balance_lock_"
260260
261261
262262 func bl (bm,ab) = makeString(["%s%s%s", "balanceLock", bm, ab], d)
263263
264264
265265 func bn (ab) = bl("outNeutrino", ab)
266266
267267
268268 func bo () = bl("outMulti", bg)
269269
270270
271271 func bp () = (bk() + "neutrino")
272272
273273
274274 func bq () = (bk() + "waves")
275275
276276
277277 func br () = {
278278 let bs = valueOrElse(getString(ba, "%s%s__control__outOfMarketAddressList"), "")
279279 if ((bs == ""))
280280 then 0
281281 else {
282282 func bt (bu,bv) = ((bu + valueOrElse(getInteger(be, ad(bv, bg)), 0)) + assetBalance(addressFromStringValue(bv), bh))
283283
284284 let bw = split(bs, d)
285285 let bx = size(bw)
286286 let by = 0
287287 func bz (bA,bB) = if ((bB >= bx))
288288 then bA
289289 else bt(bA, bw[bB])
290290
291291 func bC (bA,bB) = if ((bB >= bx))
292292 then bA
293293 else throw("List size exceeds 7")
294294
295295 bC(bz(bz(bz(bz(bz(bz(bz(by, 0), 1), 2), 3), 4), 5), 6), 7)
296296 }
297297 }
298298
299299
300300 func bD () = aC(invoke(bf, "price", [4], nil))._2
301301
302302
303303 func bE (bF,bG) = {
304304 let bH = valueOrElse(getInteger(this, P()), 600000)
305305 let bI = valueOrElse(getInteger(this, Q()), 150000)
306306 let bJ = max([bH, fraction((h + bI), bG, h)])
307307 let bK = min([bJ, h])
308308 fraction(bF, h, bK)
309309 }
310310
311311
312312 let bL = getIntegerValue(ba, Z())
313313
314314 let bG = bD()
315315
316316 let bM = bE(bL, bG)
317317
318318 let bN = (valueOrElse(getInteger(bb, bp()), 0) + valueOrElse(getInteger(bb, bo()), 0))
319319
320320 let bO = (valueOrElse(getInteger(bb, bq()), 0) + valueOrElse(getInteger(bb, bn("WAVES")), 0))
321321
322322 func bP (ab) = {
323323 let bQ = fromBase58String(ab)
324324 if ((bQ == n))
325325 then (wavesBalance(bb).regular - bO)
326326 else (assetBalance(bb, bQ) - valueOrElse(getInteger(bb, bn(ab)), 0))
327327 }
328328
329329
330330 func bR (ab) = {
331331 let bS = bP(ab)
332332 let bT = value(getInteger(ba, aa(ab)))
333333 fraction(bS, bT, j)
334334 }
335335
336336
337337 let bU = br()
338338
339339 let bV = (((bN + value(assetInfo(bh)).quantity) - assetBalance(bb, bh)) - assetBalance(bd, bh))
340340
341341 let bW = (bV - bU)
342342
343343 func bX () = {
344344 let bY = split(value(getString(bb, Y())), d)
345345 func bZ (ca,ab) = (ca + bR(ab))
346346
347347 let cb = {
348348 let bw = bY
349349 let bx = size(bw)
350350 let by = 0
351351 func bz (bA,bB) = if ((bB >= bx))
352352 then bA
353353 else bZ(bA, bw[bB])
354354
355355 func bC (bA,bB) = if ((bB >= bx))
356356 then bA
357357 else throw("List size exceeds 10")
358358
359359 bC(bz(bz(bz(bz(bz(bz(bz(bz(bz(bz(by, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
360360 }
361361 fraction(cb, h, bW)
362362 }
363363
364364
365365 let cc = if ((bW == 0))
366366 then 0
367367 else bX()
368368
369369 func cd () = {
370370 let ce = value(getString(bb, Y()))
371371 let bY = split(ce, d)
372372 func cf (ca,ab) = {
373373 let bS = bP(ab)
374374 let bT = value(getInteger(ba, aa(ab)))
375375 let cg = fraction(bS, bT, j)
376376 $Tuple2((ca._1 :+ $Tuple4(ab, bS, cg, bT)), (ca._2 + cg))
377377 }
378378
379379 let ch = {
380380 let bw = bY
381381 let bx = size(bw)
382382 let by = $Tuple2(nil, 0)
383383 func bz (bA,bB) = if ((bB >= bx))
384384 then bA
385385 else cf(bA, bw[bB])
386386
387387 func bC (bA,bB) = if ((bB >= bx))
388388 then bA
389389 else throw("List size exceeds 10")
390390
391391 bC(bz(bz(bz(bz(bz(bz(bz(bz(bz(bz(by, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
392392 }
393393 func ci (ca,cj) = {
394394 let ck = if ((ch._2 == 0))
395395 then h
396396 else fraction(cj._3, h, ch._2)
397397 (ca :+ makeString([cj._1, toString(ck), toString(cj._4), toString(cj._2)], ":"))
398398 }
399399
400400 let cl = if ((bW == 0))
401401 then 0
402402 else fraction(ch._2, h, bW)
403403 $Tuple3(makeString({
404404 let bw = ch._1
405405 let bx = size(bw)
406406 let by = nil
407407 func cm (bA,bB) = if ((bB >= bx))
408408 then bA
409409 else ci(bA, bw[bB])
410410
411411 func cn (bA,bB) = if ((bB >= bx))
412412 then bA
413413 else throw("List size exceeds 10")
414414
415415 cn(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(by, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
416416 }, "_"), cl, ch._2)
417417 }
418418
419419
420420 @Callable(co)
421421 func constructorV1 (cp,cq,cr) = if ((co.caller != this))
422422 then throw("not authorized")
423423 else [StringEntry(K(), cp), IntegerEntry(L(), cr)]
424424
425425
426426
427427 @Callable(co)
428428 func calcSwapLimitREADONLY (cs) = {
429429 let ct = if ((0 >= cs))
430430 then 0
431431 else {
432432 let cu = toBigInt(ai(this, L()))
433433 let cv = toBigInt(ai(this, M()))
434434 let cw = pow(toBigInt(cs), 6, cv, 16, 8, CEILING)
435435 toInt(fraction(cu, cw, l))
436436 }
437437 let cx = if ((0 >= cs))
438438 then 0
439439 else {
440440 let cu = toBigInt(ai(this, N()))
441441 let cv = toBigInt(ai(this, O()))
442- let cy = toBigInt(cc)
443442 let cw = pow(toBigInt(cs), 6, cv, 16, 8, CEILING)
444- toInt(fraction(fraction(cu, cw, l), cy, i))
443+ toInt(fraction(cu, cw, l))
445444 }
446445 $Tuple2(nil, [ct, 0, cx])
447446 }
448447
449448
450449
451450 @Callable(co)
452-func calculateKREADONLY (cz,cA,an,cB,cC) = {
453- let cD = toBigInt(2718281)
454- let cE = 6
455- let cF = valueOrElse(getInteger(bc, "nsbtCurveParam_a"), 3)
456- let cG = valueOrElse(getInteger(bc, "nsbtCurveParam_b"), ((3 * h) / 10))
457- let cH = ao(cz, an)
458- let cI = fraction(cH, j, cA)
459- if ((cI > 10678564816))
460- then throw((("BR=" + toString(cI)) + " > 10678.564816% will overflow exponent"))
451+func calculateKREADONLY (cy,cz,an,cA,cB) = {
452+ let cC = toBigInt(2718281)
453+ let cD = 6
454+ let cE = valueOrElse(getInteger(bc, "nsbtCurveParam_a"), 3)
455+ let cF = valueOrElse(getInteger(bc, "nsbtCurveParam_b"), ((3 * h) / 10))
456+ let cG = ao(cy, an)
457+ let cH = fraction(cG, j, cz)
458+ if ((cH > 10678564816))
459+ then throw((("BR=" + toString(cH)) + " > 10678.564816% will overflow exponent"))
461460 else {
462- let cJ = (cF * (cI - j))
463- let cK = pow(cD, cE, toBigInt(cJ), b, c, DOWN)
464- let cL = fraction(toBigInt(cG), cK, i)
465- $Tuple2(nil, [cF, cG, cH, cI, cJ, toString(cK), toString(cL)])
461+ let cI = (cE * (cH - j))
462+ let cJ = pow(cC, cD, toBigInt(cI), b, c, DOWN)
463+ let cK = fraction(toBigInt(cF), cJ, i)
464+ $Tuple2(nil, [cE, cF, cG, cH, cI, toString(cJ), toString(cK)])
466465 }
467466 }
468467
469468
470469
471470 @Callable(co)
472-func curveFunctionREADONLY (cM) = {
473- let cN = av(invoke(this, "calcNeutinoMetricsREADONLY", nil, nil))
474- let an = ay(cN[v])
475- let cz = ay(cN[y])
476- let cA = ay(cN[A])
477- let cC = ay(cN[E])
478- let cB = ay(cN[F])
479- let cO = av(invoke(this, "calculateKREADONLY", [cz, cA, an, cB, cC], nil))
480- let cL = parseBigIntValue(aA(cO[u]))
481- let cP = ao(cM, an)
482- let cQ = toBigInt(cB)
483- let cR = toBigInt((cB - cC))
484- let cS = fraction(toBigInt(cP), m, cL)
485- let cT = fraction(cS, cR, cQ)
486- let cU = toInt(fraction(cR, cQ, (cT + cQ)))
487- let cV = ((cB - cC) - cU)
488- $Tuple2(nil, [cV, cP, cz, cA, cB, cC, ay(cO[o]), ay(cO[p]), ay(cO[q]), an, ay(cO[r]), ay(cO[s]), cO[t], cO[u], toString(cS), toString(cT), cU])
471+func curveFunctionREADONLY (cL) = {
472+ let cM = av(invoke(this, "calcNeutinoMetricsREADONLY", nil, nil))
473+ let an = ay(cM[v])
474+ let cy = ay(cM[y])
475+ let cz = ay(cM[A])
476+ let cB = ay(cM[E])
477+ let cA = ay(cM[F])
478+ let cN = av(invoke(this, "calculateKREADONLY", [cy, cz, an, cA, cB], nil))
479+ let cK = parseBigIntValue(aA(cN[u]))
480+ let cO = ao(cL, an)
481+ let cP = toBigInt(cA)
482+ let cQ = toBigInt((cA - cB))
483+ let cR = fraction(toBigInt(cO), m, cK)
484+ let cS = fraction(cR, cQ, cP)
485+ let cT = toInt(fraction(cQ, cP, (cS + cP)))
486+ let cU = ((cA - cB) - cT)
487+ $Tuple2(nil, [cU, cO, cy, cz, cA, cB, ay(cN[o]), ay(cN[p]), ay(cN[q]), an, ay(cN[r]), ay(cN[s]), cN[t], cN[u], toString(cR), toString(cS), cT])
489488 }
490489
491490
492491
493492 @Callable(co)
494493 func surfFunctionREADONLY (am,ab) = if ((0 > am))
495494 then throw("amount should be positive")
496495 else {
497496 let an = bL
498- let cW = toBigInt(an)
499- let cX = bP("WAVES")
500- let cY = toBigInt(cX)
501- let cZ = bW
502- let da = toBigInt(cZ)
497+ let cV = toBigInt(an)
498+ let cW = bP("WAVES")
499+ let cX = toBigInt(cW)
500+ let cY = bW
501+ let cZ = toBigInt(cY)
503502 if ((cc >= h))
504503 then throw((("BR = " + toString(cc)) + ", cannot buy SURF"))
505504 else {
506- let db = (fraction(cZ, j, an) - cX)
507- let dc = (cZ - fraction(cX, an, j))
508- let dd = if ((ab == bh))
509- then if ((am > dc))
510- then dc
505+ let da = (fraction(cY, j, an) - cW)
506+ let db = (cY - fraction(cW, an, j))
507+ let dc = if ((ab == bh))
508+ then if ((am > db))
509+ then db
511510 else am
512511 else if ((ab == n))
513- then if ((am > db))
514- then db
512+ then if ((am > da))
513+ then da
515514 else am
516515 else 0
517- let de = toBigInt(dd)
516+ let dd = toBigInt(dc)
518517 if ((ab == bh))
519- then $Tuple2(nil, [toInt(fraction(fraction(de, k, cW), (da - (de / g)), cY)), 0, dd, cX, cZ, cc, cX, (cZ - dd), fraction(ao(cX, an), h, (cZ - dd)), (am - dd), an])
518+ then $Tuple2(nil, [toInt(fraction(fraction(dd, k, cV), (cZ - (dd / g)), cX)), 0, dc, cW, cY, cc, cW, (cY - dc), fraction(ao(cW, an), h, (cY - dc)), (am - dc), an])
520519 else if ((ab == n))
521- then $Tuple2(nil, [toInt(fraction(da, log(fraction((cY + de), m, cY), 16, f, 16, 16, HALFUP), m)), dd, 0, cX, cZ, cc, (cX + dd), cZ, fraction(ao((cX + dd), an), h, cZ), (am - dd), an])
520+ then $Tuple2(nil, [toInt(fraction(cZ, log(fraction((cX + dd), m, cX), 16, f, 16, 16, HALFUP), m)), dc, 0, cW, cY, cc, (cW + dc), cY, fraction(ao((cW + dc), an), h, cY), (am - dc), an])
522521 else throw("Unsupported asset")
523522 }
524523 }
525524
526525
527526
528527 @Callable(co)
529-func calcContractNsbtPriceSYSREADONLY (df) = {
530- let cN = av(invoke(this, "calcNeutinoMetricsREADONLY", nil, nil))
531- let an = ay(cN[v])
532- let cz = ay(cN[y])
533- let cA = (ay(cN[A]) - df)
534- let cC = (ay(cN[E]) + df)
535- let cB = ay(cN[F])
536- let cO = av(invoke(this, "calculateKREADONLY", [cz, cA, an, cB, cC], nil))
537- let dg = parseBigIntValue(aA(cO[u]))
538- let dh = fraction(toBigInt(cB), m, toBigInt((cB - cC)))
539- let di = fraction(dh, dh, m)
540- let dj = fraction(dg, di, m)
541- let dk = toInt(fraction(dj, toBigInt(h), m))
542- let dl = fraction(dk, h, an)
543- $Tuple2(nil, [dk, dl])
528+func calcContractNsbtPriceSYSREADONLY (de) = {
529+ let cM = av(invoke(this, "calcNeutinoMetricsREADONLY", nil, nil))
530+ let an = ay(cM[v])
531+ let cy = ay(cM[y])
532+ let cz = (ay(cM[A]) - de)
533+ let cB = (ay(cM[E]) + de)
534+ let cA = ay(cM[F])
535+ let cN = av(invoke(this, "calculateKREADONLY", [cy, cz, an, cA, cB], nil))
536+ let df = parseBigIntValue(aA(cN[u]))
537+ let dg = fraction(toBigInt(cA), m, toBigInt((cA - cB)))
538+ let dh = fraction(dg, dg, m)
539+ let di = fraction(df, dh, m)
540+ let dj = toInt(fraction(di, toBigInt(h), m))
541+ let dk = fraction(dj, h, an)
542+ $Tuple2(nil, [dj, dk])
544543 }
545544
546545
547546
548547 @Callable(co)
549548 func calcNeutinoMetricsREADONLY () = {
550- let dm = value(assetInfo(bi)).quantity
551- let dn = (dm - assetBalance(bc, bi))
552- let do = value(assetInfo(bj)).quantity
553- let dp = cd()
554- $Tuple2(nil, [bL, bN, bO, bP("WAVES"), bR("WAVES"), bW, bU, bV, cc, dn, dm, do, bG, bM, dp._1, dp._2, dp._3])
549+ let dl = value(assetInfo(bi)).quantity
550+ let dm = (dl - assetBalance(bc, bi))
551+ let dn = value(assetInfo(bj)).quantity
552+ let do = cd()
553+ $Tuple2(nil, [bL, bN, bO, bP("WAVES"), bR("WAVES"), bW, bU, bV, cc, dm, dl, dn, bG, bM, do._1, do._2, do._3])
555554 }
556555
557556
558557
559558 @Callable(co)
560-func getUnstakeComissionAmountREADONLY (am,dq,dr) = $Tuple2(nil, fraction(am, pow(2, 0, fraction(-((height - dq)), j, dr), 8, 8, HALFUP), j))
559+func getUnstakeComissionAmountREADONLY (am,dp,dq) = $Tuple2(nil, fraction(am, pow(2, 0, fraction(-((height - dp)), j, dq), 8, 8, HALFUP), j))
561560
562561
563562
564563 @Callable(co)
565-func mergeStakesREADONLY (ds,dt,du,dv,dr) = {
566- let dw = fraction(du, pow(2, 0, fraction((dv - dt), j, dr), 8, 8, HALFUP), j)
567- let aD = fraction((ds + du), j, (ds + dw))
568- $Tuple2(nil, (dt + ((e - (dr * log(aD, 8, 2, 0, 8, HALFUP))) / j)))
564+func mergeStakesREADONLY (dr,ds,dt,du,dq) = {
565+ let dv = fraction(dt, pow(2, 0, fraction((du - ds), j, dq), 8, 8, HALFUP), j)
566+ let aD = fraction((dr + dt), j, (dr + dv))
567+ $Tuple2(nil, (ds + ((e - (dq * log(aD, 8, 2, 0, 8, HALFUP))) / j)))
569568 }
570569
571570
572-@Verifier(dx)
573-func dy () = {
574- let dz = makeString(["ExtEEK19nmKj9mCpnWyvEEJFYATLMcVEMvohhUHkyHNm", "Ev5py5FfBQX9cZpYKnfQrTB49Byf8QmpZWeDVRim4yV7", "DUuuLjXu98nBwZc7fqwCTjtA3nnRwgTbkMSr5SU2NmDR", "DUuuLjXu98nBwZc7fqwCTjtA3nnRwgTbkMSr5SU2NmDR"], d)
575- let dA = split(valueOrElse(getString(ba, "%s__multisig"), dz), d)
576- let dB = ((((if (sigVerify(dx.bodyBytes, dx.proofs[0], fromBase58String(dA[0])))
571+@Verifier(dw)
572+func dx () = {
573+ let dy = makeString(["ExtEEK19nmKj9mCpnWyvEEJFYATLMcVEMvohhUHkyHNm", "Ev5py5FfBQX9cZpYKnfQrTB49Byf8QmpZWeDVRim4yV7", "DUuuLjXu98nBwZc7fqwCTjtA3nnRwgTbkMSr5SU2NmDR", "DUuuLjXu98nBwZc7fqwCTjtA3nnRwgTbkMSr5SU2NmDR"], d)
574+ let dz = split(valueOrElse(getString(ba, "%s__multisig"), dy), d)
575+ let dA = ((((if (sigVerify(dw.bodyBytes, dw.proofs[0], fromBase58String(dz[0])))
577576 then 1
578- else 0) + (if (sigVerify(dx.bodyBytes, dx.proofs[1], fromBase58String(dA[1])))
577+ else 0) + (if (sigVerify(dw.bodyBytes, dw.proofs[1], fromBase58String(dz[1])))
579578 then 1
580- else 0)) + (if (sigVerify(dx.bodyBytes, dx.proofs[2], fromBase58String(dA[2])))
579+ else 0)) + (if (sigVerify(dw.bodyBytes, dw.proofs[2], fromBase58String(dz[2])))
581580 then 1
582- else 0)) + (if (sigVerify(dx.bodyBytes, dx.proofs[3], fromBase58String(dA[3])))
581+ else 0)) + (if (sigVerify(dw.bodyBytes, dw.proofs[3], fromBase58String(dz[3])))
583582 then 2
584583 else 0))
585- (dB >= 3)
584+ (dA >= 3)
586585 }
587586

github/deemru/w8io/026f985 
93.98 ms