tx · 2udd2JKJMzCNVZTAy7k7rCCAxUDPtHZt1qn5Kf3Sp7ru

3N7LYefWk1WhvCsY5A9nTq244SbVPmhCypi:  -0.02700000 Waves

2023.02.13 10:48 [2447554] smart account 3N7LYefWk1WhvCsY5A9nTq244SbVPmhCypi > SELF 0.00000000 Waves

{ "type": 13, "id": "2udd2JKJMzCNVZTAy7k7rCCAxUDPtHZt1qn5Kf3Sp7ru", "fee": 2700000, "feeAssetId": null, "timestamp": 1676274561139, "version": 2, "chainId": 84, "sender": "3N7LYefWk1WhvCsY5A9nTq244SbVPmhCypi", "senderPublicKey": "4qGVXRFATZNzo2RZZ5UYHXojGyJgSRBwtgJcCU8rJe5A", "proofs": [ "2cDCDZkL1jqrY5v2nbHYyXapHY6bvHwsE4E2VSnbFQDnBJcz1DmwaQU92QmV4Sru41C8hGAtfDvBSPt25YYT3qAq", "FNekVxF7huWVbiuspFTWqSABFBNJt4R1UJYuam5PtKjduW9LvgVSRK3rTEzYHC79Y7iQHgc5ox2obzWxfKsvgDt", "AdUo9ewoByZsYDhH6td4XFg1Rvrdfuyi2ehcNpuy1mq1ofB3DVD2T1FnT5CJH7eGLuUrFF3yLNbQ5AA2ZXFT1wW" ], "script": "base64:AAIFAAAAAAAAADkIAhIFCgMICAESAwoBARIHCgUBAQEBARIDCgEBEgQKAgECEgMKAQESABIFCgMBAQESBwoFAQEBAQEAAAB1AAAAAAtyZXZpc2lvbk51bQIAAAAAAAAAAAlNVUxUU0NBTEUAAAAAAAAAAAgAAAAAB1NDQUxFMTYAAAAAAAAAABAAAAAAA1NFUAIAAAACX18AAAAABUhBTEY4AAAAAAAC+vCAAAAAAAhFVUxFUlgxNgkAATYAAAABAABgkqET2NV0AAAAAARUV09YCQABNgAAAAEAAAAAAAAAAAIAAAAABU1VTFQ2AAAAAAAAD0JAAAAAAAZNVUxUWDYJAAE2AAAAAQAAAAAAAA9CQAAAAAAFTVVMVDgAAAAAAAX14QAAAAAABk1VTFRYOAkAATYAAAABAAAA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BQAAABBwdWJLZXlBZG1pbnNMaXN0AAAAAAAAAAACAAAAAAAAAAABAAAAAAAAAAAAAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAMJAAJZAAAAAQkAAZEAAAACBQAAABBwdWJLZXlBZG1pbnNMaXN0AAAAAAAAAAADAAAAAAAAAAACAAAAAAAAAAAACQAAZwAAAAIFAAAABWNvdW50AAAAAAAAAAADy52SHA==", "height": 2447554, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2EzqEsav8AicpC9xCBhHFkQwfMoNWi9zqtqNVbXWZj9M Next: AzMQzuUe38y9s26p1oN6LdhQ6bz4UAjASYVrcGK4AzaA Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let revisionNum = ""
55
66 let MULTSCALE = 8
77
88 let SCALE16 = 16
99
1010 let SEP = "__"
1111
1212 let HALF8 = 50000000
1313
1414 let EULERX16 = toBigInt(27182818284590452)
1515
1616 let TWOX = toBigInt(2)
1717
1818 let MULT6 = 1000000
1919
2020 let MULTX6 = toBigInt(1000000)
2121
2222 let MULT8 = 100000000
2323
2424 let MULTX8 = toBigInt(100000000)
2525
2626 let MULTX10 = toBigInt(10000000000)
2727
2828 let MULTX16 = toBigInt(10000000000000000)
2929
3030 let WAVESID = fromBase58String("WAVES")
3131
3232 let kResultIdxA = 0
3333
3434 let kResultIdxPaulB = 1
3535
3636 let kResultIdxWReservesInUsdn = 2
3737
3838 let kResultIdxMultBR = 3
3939
4040 let kResultIdxMultPower = 4
4141
4242 let kResultIdxMultExpInPowerStr = 5
4343
4444 let kResultIdxMultKStr = 6
4545
4646 let nMetricIdxPrice = 0
4747
4848 let nMetricIdxUsdnLockedBalance = 1
4949
5050 let nMetricIdxWavesLockedBalance = 2
5151
5252 let nMetricIdxReserve = 3
5353
5454 let nMetricIdxReserveInUsdn = 4
5555
5656 let nMetricIdxUsdnSupply = 5
5757
5858 let nMetricIdxSurplus = 6
5959
6060 let nMetricIdxSurplusPercent = 7
6161
6262 let nMetricIdxBR = 8
6363
6464 let nMetricIdxNsbtSupply = 9
6565
6666 let nMetricIdxMaxNsbtSupply = 10
6767
6868 let nMetricIdxSurfSupply = 11
6969
7070 let nMetricUsdnUsdtPeg = 12
7171
7272 let nMetricCurrentPriceAdj = 13
7373
7474 let nMetricBasketInfo = 14
7575
7676 func keyNeutrinoAddress () = "%s%s__config__neutrinoAddress"
7777
7878
7979 func keySwapAmountAParam () = "%s%s__config__swapAParam"
8080
8181
8282 func keySwapAmountBParam () = "%s%s__config__swapBParam"
8383
8484
8585 func keyUsdnSwapAmountAParam () = "%s%s__config__usdnSwapAParam"
8686
8787
8888 func keyUsdnSwapAmountBParam () = "%s%s__config__usdnSwapBParam"
8989
9090
9191 func keyPriceAdjMinCoeff () = "%s%s__priceAdj__minCoefficient"
9292
9393
9494 func keyPriceAdjArbRegulator () = "%s%s__priceAdj__arbRegulator"
9595
9696
9797 func keyNeutrinoAssetId () = "neutrino_asset_id"
9898
9999
100100 func keyNsbtAssetId () = "bond_asset_id"
101101
102102
103103 func keySurfAssetId () = "surf_asset_id"
104104
105105
106106 func swapsTimeframeKEY () = "swaps_timeframe"
107107
108108
109109 func keyUserLastQuickSwapHeight (userAddress) = makeString(["%s%s", "userLastQuickSwapHeight", userAddress], SEP)
110110
111111
112112 func keyQuickSwapUserSpentInPeriod (userAddress) = makeString(["%s%s", "quickSwapUserSpentInPeriod", userAddress], SEP)
113113
114114
115115 func basketAssetsKey () = "%s%s__common__basketAssets"
116116
117117
118118 func keyPrice () = "price"
119119
120120
121121 func keyPriceByAsset (assetId) = ("%s%s%s__common__priceByAsset__" + assetId)
122122
123123
124124 let RpdBalanceKey = "rpd_balance"
125125
126126 func rpdUserBalanceKey (owner,assetId) = makeString([RpdBalanceKey, assetId, owner], "_")
127127
128128
129129 func getStringOrFail (address,key) = valueOrErrorMessage(getString(address, key), makeString(["mandatory ", toString(address), ".", key, " is not defined"], ""))
130130
131131
132132 func getIntOrFail (address,key) = valueOrErrorMessage(getInteger(address, key), makeString(["mandatory ", toString(address), ".", key, " is not defined"], ""))
133133
134134
135135 func getNumberByKey (address,key) = valueOrElse(getInteger(address, key), 0)
136136
137137
138138 func getBoolOrFail (address,key) = valueOrErrorMessage(getBoolean(address, key), makeString(["mandatory ", toString(address), ".", key, " is not defined"], ""))
139139
140140
141141 func convertNeutrinoToWaves (amount,price) = fraction(amount, MULT8, price)
142142
143143
144144 func convertWavesToNeutrino (amount,price) = fraction(amount, price, MULT8)
145145
146146
147147 func toX16 (origVal,origScaleMult) = fraction(toBigInt(origVal), MULTX16, toBigInt(origScaleMult))
148148
149149
150150 func fromX16 (val,resultScaleMult) = toInt(fraction(val, toBigInt(resultScaleMult), MULTX16))
151151
152152
153153 func asAnyList (val) = match val {
154154 case valAnyLyst: List[Any] =>
155155 valAnyLyst
156156 case _ =>
157157 throw("fail to cast into List[Any]")
158158 }
159159
160160
161161 func asInt (val) = match val {
162162 case valInt: Int =>
163163 valInt
164164 case _ =>
165165 throw("fail to cast into Int")
166166 }
167167
168168
169169 func asString (val) = match val {
170170 case valStr: String =>
171171 valStr
172172 case _ =>
173173 throw("fail to cast into String")
174174 }
175175
176176
177177 func asPriceSTRUCT (v) = match v {
178178 case struct: (Int, Int, Int, Int) =>
179179 struct
180180 case _ =>
181181 throw("fail to cast into PriceSTRUCT")
182182 }
183183
184184
185185 let IdxControlCfgNeutrinoDapp = 1
186186
187187 let IdxControlCfgAuctionDapp = 2
188188
189189 let IdxControlCfgRpdDapp = 3
190190
191191 let IdxControlCfgMathDapp = 4
192192
193193 let IdxControlCfgLiquidationDapp = 5
194194
195195 let IdxControlCfgRestDapp = 6
196196
197197 let IdxControlCfgNodeRegistryDapp = 7
198198
199199 let IdxControlCfgNsbtStakingDapp = 8
200200
201201 let IdxControlCfgMediatorDapp = 9
202202
203203 let IdxControlCfgSurfStakingDapp = 10
204204
205205 let IdxControlCfgGnsbtControllerDapp = 11
206206
207207 let IdxControlCfgRestV2Dapp = 12
208208
209209 let IdxControlCfgGovernanceDapp = 13
210210
211211 let IdxControlCfgPegProviderDapp = 14
212212
213213 func keyControlAddress () = "%s%s__config__controlAddress"
214214
215215
216216 func keyControlCfg () = "%s__controlConfig"
217217
218218
219219 func readControlCfgOrFail (control) = split(getStringOrFail(control, keyControlCfg()), SEP)
220220
221221
222222 func getContractAddressOrFail (controlCfg,idx) = valueOrErrorMessage(addressFromString(controlCfg[idx]), ("Control cfg doesn't contain address at index " + toString(idx)))
223223
224224
225225 let controlContract = addressFromStringValue(valueOrElse(getString(this, keyControlAddress()), "3N4NS7d4Jo9a6F14LiFUKKYVdUkkf2eP4Zx"))
226226
227227 let controlCfg = readControlCfgOrFail(controlContract)
228228
229229 let neutrinoContract = getContractAddressOrFail(controlCfg, IdxControlCfgNeutrinoDapp)
230230
231231 let auctionContract = getContractAddressOrFail(controlCfg, IdxControlCfgAuctionDapp)
232232
233233 let liquidationContract = getContractAddressOrFail(controlCfg, IdxControlCfgLiquidationDapp)
234234
235235 let usdnStakingContract = getContractAddressOrFail(controlCfg, IdxControlCfgRpdDapp)
236236
237237 let pegProviderContract = getContractAddressOrFail(controlCfg, IdxControlCfgPegProviderDapp)
238238
239239 let neutrinoAssetIdStr = getStringOrFail(neutrinoContract, keyNeutrinoAssetId())
240240
241241 let neutrinoAssetId = fromBase58String(neutrinoAssetIdStr)
242242
243243 let nsbtAssetId = fromBase58String(getStringValue(neutrinoContract, keyNsbtAssetId()))
244244
245245 let surfAssetId = fromBase58String(getStringValue(auctionContract, keySurfAssetId()))
246246
247247 func keyBalanceLocked () = "balance_lock_"
248248
249249
250250 func totalLockedKEY (swapType,assetId) = makeString(["%s%s%s", "balanceLock", swapType, assetId], SEP)
251251
252252
253253 func keyTokenLockedBalance (assetId) = totalLockedKEY("outNeutrino", assetId)
254254
255255
256256 func keyNeutrinoLockedBalance () = totalLockedKEY("outMulti", neutrinoAssetIdStr)
257257
258258
259259 func keyOldNeutrinoLockedBalance () = (keyBalanceLocked() + "neutrino")
260260
261261
262262 func keyOldWavesLockedBalance () = (keyBalanceLocked() + "waves")
263263
264264
265265 func calcUsdnOutOfMarketSupply () = {
266266 let outOfMarketAddressList = valueOrElse(getString(controlContract, "%s%s__control__outOfMarketAddressList"), "")
267267 if ((outOfMarketAddressList == ""))
268268 then 0
269269 else {
270270 func balancesSUM (outOfMarketSupply,nextAddress) = ((outOfMarketSupply + valueOrElse(getInteger(usdnStakingContract, rpdUserBalanceKey(nextAddress, neutrinoAssetIdStr)), 0)) + assetBalance(addressFromStringValue(nextAddress), neutrinoAssetId))
271271
272272 let $l = split(outOfMarketAddressList, SEP)
273273 let $s = size($l)
274274 let $acc0 = 0
275275 func $f0_1 ($a,$i) = if (($i >= $s))
276276 then $a
277277 else balancesSUM($a, $l[$i])
278278
279279 func $f0_2 ($a,$i) = if (($i >= $s))
280280 then $a
281281 else throw("List size exceeds 7")
282282
283283 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7)
284284 }
285285 }
286286
287287
288288 func readCurrentAvgPeg () = asPriceSTRUCT(invoke(pegProviderContract, "price", [4], nil))._2
289289
290290
291291 func adjustPrice (priceX6,usdnUsdtPegX6) = {
292292 let minCoeffX6 = valueOrElse(getInteger(this, keyPriceAdjMinCoeff()), 600000)
293293 let arbRegulatorX6 = valueOrElse(getInteger(this, keyPriceAdjArbRegulator()), 150000)
294294 let maxPriceCoeffX6 = max([minCoeffX6, fraction((MULT6 + arbRegulatorX6), usdnUsdtPegX6, MULT6)])
295295 let priceCoeffX6 = min([maxPriceCoeffX6, MULT6])
296296 fraction(priceX6, MULT6, priceCoeffX6)
297297 }
298298
299299
300300 let currentPrice = getIntegerValue(controlContract, keyPrice())
301301
302302 let usdnUsdtPegX6 = readCurrentAvgPeg()
303303
304304 let currentPriceAdj = adjustPrice(currentPrice, usdnUsdtPegX6)
305305
306306 let neutrinoLockedBalance = (valueOrElse(getInteger(neutrinoContract, keyOldNeutrinoLockedBalance()), 0) + valueOrElse(getInteger(neutrinoContract, keyNeutrinoLockedBalance()), 0))
307307
308308 let wavesLockedBalance = (valueOrElse(getInteger(neutrinoContract, keyOldWavesLockedBalance()), 0) + valueOrElse(getInteger(neutrinoContract, keyTokenLockedBalance("WAVES")), 0))
309309
310310 func reserve (assetId) = {
311311 let tempAssetId = fromBase58String(assetId)
312312 if ((tempAssetId == WAVESID))
313313 then (wavesBalance(neutrinoContract).regular - wavesLockedBalance)
314314 else (assetBalance(neutrinoContract, tempAssetId) - valueOrElse(getInteger(neutrinoContract, keyTokenLockedBalance(assetId)), 0))
315315 }
316316
317317
318318 func reservesInUsdn (assetId) = {
319319 let tempAssetId = fromBase58String(assetId)
320320 let vol = reserve(assetId)
321321 if ((tempAssetId == WAVESID))
322322 then convertWavesToNeutrino(vol, currentPriceAdj)
323323 else {
324324 let pr = valueOrElse(getInteger(controlContract, keyPriceByAsset(assetId)), MULT6)
325325 fraction(vol, pr, MULT8)
326326 }
327327 }
328328
329329
330330 let neutrinoOutOfMarketSupply = calcUsdnOutOfMarketSupply()
331331
332332 let neutrinoTotalSupply = (((neutrinoLockedBalance + value(assetInfo(neutrinoAssetId)).quantity) - assetBalance(neutrinoContract, neutrinoAssetId)) - assetBalance(liquidationContract, neutrinoAssetId))
333333
334334 let neutrinoSupply = (neutrinoTotalSupply - neutrinoOutOfMarketSupply)
335335
336336 func getBR () = {
337337 let basket = split(valueOrElse(getString(neutrinoContract, basketAssetsKey()), "WAVES"), SEP)
338338 func addBr (acc,assetId) = (acc + fraction(reservesInUsdn(assetId), MULT6, neutrinoSupply))
339339
340340 let $l = basket
341341 let $s = size($l)
342342 let $acc0 = 0
343343 func $f0_1 ($a,$i) = if (($i >= $s))
344344 then $a
345345 else addBr($a, $l[$i])
346346
347347 func $f0_2 ($a,$i) = if (($i >= $s))
348348 then $a
349349 else throw("List size exceeds 10")
350350
351351 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
352352 }
353353
354354
355355 let BR = if ((neutrinoSupply == 0))
356356 then 0
357357 else getBR()
358358
359359 func getBasketInfo () = {
360360 let basketAssets = valueOrElse(getString(neutrinoContract, basketAssetsKey()), "WAVES")
361361 let basket = split(basketAssets, SEP)
362362 func weightCalc (acc,assetId) = {
363363 let vol = reserve(assetId)
364364 let pr = valueOrElse(getInteger(controlContract, keyPriceByAsset(assetId)), MULT6)
365365 let resU = fraction(vol, pr, MULT8)
366366 $Tuple2((acc._1 :+ $Tuple4(assetId, vol, resU, pr)), (acc._2 + resU))
367367 }
368368
369369 let t = {
370370 let $l = basket
371371 let $s = size($l)
372372 let $acc0 = $Tuple2(nil, 0)
373373 func $f0_1 ($a,$i) = if (($i >= $s))
374374 then $a
375375 else weightCalc($a, $l[$i])
376376
377377 func $f0_2 ($a,$i) = if (($i >= $s))
378378 then $a
379379 else throw("List size exceeds 10")
380380
381381 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
382382 }
383383 func combine (acc,item) = {
384384 let share = if ((t._2 == 0))
385385 then MULT6
386386 else fraction(item._3, MULT6, t._2)
387387 (acc :+ makeString([item._1, toString(share), toString(item._4), toString(item._2)], ":"))
388388 }
389389
390390 let weightedPrice = if ((neutrinoSupply == 0))
391391 then 0
392392 else fraction(t._2, MULT6, neutrinoSupply)
393393 $Tuple3(makeString({
394394 let $l = t._1
395395 let $s = size($l)
396396 let $acc0 = nil
397397 func $f1_1 ($a,$i) = if (($i >= $s))
398398 then $a
399399 else combine($a, $l[$i])
400400
401401 func $f1_2 ($a,$i) = if (($i >= $s))
402402 then $a
403403 else throw("List size exceeds 10")
404404
405405 $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
406406 }, "_"), weightedPrice, t._2)
407407 }
408408
409409
410410 @Callable(i)
411411 func constructorV1 (neutrinoAddress,nsbtLockAddress,swapAmountAParam) = if ((i.caller != this))
412412 then throw("not authorized")
413413 else [StringEntry(keyNeutrinoAddress(), neutrinoAddress), IntegerEntry(keySwapAmountAParam(), swapAmountAParam)]
414414
415415
416416
417417 @Callable(i)
418418 func calcSwapLimitREADONLY (gNsbtAmount) = {
419419 let limitWavesInUsdn = if ((0 >= gNsbtAmount))
420420 then 0
421421 else {
422422 let aParamX8 = toBigInt(getIntOrFail(this, keySwapAmountAParam()))
423423 let bParamX16 = toBigInt(getIntOrFail(this, keySwapAmountBParam()))
424424 let powPartX8 = pow(toBigInt(gNsbtAmount), 6, bParamX16, 16, 8, CEILING)
425425 toInt(fraction(aParamX8, powPartX8, MULTX10))
426426 }
427427 let limitWaves = convertNeutrinoToWaves(limitWavesInUsdn, currentPrice)
428428 let limitUsdn = if ((0 >= gNsbtAmount))
429429 then 0
430430 else {
431431 let aParamX8 = toBigInt(getIntOrFail(this, keyUsdnSwapAmountAParam()))
432432 let bParamX16 = toBigInt(getIntOrFail(this, keyUsdnSwapAmountBParam()))
433433 let brX6 = toBigInt(BR)
434434 let powPartX8 = pow(toBigInt(gNsbtAmount), 6, bParamX16, 16, 8, CEILING)
435435 toInt(fraction(fraction(aParamX8, powPartX8, MULTX10), brX6, MULTX6))
436436 }
437437 $Tuple2(nil, [limitWavesInUsdn, limitWaves, limitUsdn])
438438 }
439439
440440
441441
442442 @Callable(i)
443443 func calculateKREADONLY (wRaw,uRaw,price,mRaw,sRaw) = {
444444 let EXP = toBigInt(2718281)
445445 let EXPSCALE = 6
446446 let a = valueOrElse(getInteger(auctionContract, "nsbtCurveParam_a"), 3)
447447 let paulB = valueOrElse(getInteger(auctionContract, "nsbtCurveParam_b"), ((3 * MULT6) / 10))
448448 let wReservesInUsdn = convertWavesToNeutrino(wRaw, price)
449449 let multBR = fraction(wReservesInUsdn, MULT8, uRaw)
450450 if ((multBR > 10678564816))
451451 then throw((("BR=" + toString(multBR)) + " > 10678.564816% will overflow exponent"))
452452 else {
453453 let multPower = (a * (multBR - MULT8))
454454 let multExpInPower = pow(EXP, EXPSCALE, toBigInt(multPower), MULTSCALE, SCALE16, DOWN)
455455 let multK = fraction(toBigInt(paulB), multExpInPower, MULTX6)
456456 $Tuple2(nil, [a, paulB, wReservesInUsdn, multBR, multPower, toString(multExpInPower), toString(multK)])
457457 }
458458 }
459459
460460
461461
462462 @Callable(i)
463463 func curveFunctionREADONLY (wavesPayRaw) = {
464464 let neutrinoMetrics = asAnyList(invoke(this, "calcNeutinoMetricsREADONLY", nil, nil))
465465 let price = asInt(neutrinoMetrics[nMetricIdxPrice])
466466 let wRaw = asInt(neutrinoMetrics[nMetricIdxReserve])
467467 let uRaw = asInt(neutrinoMetrics[nMetricIdxUsdnSupply])
468468 let sRaw = asInt(neutrinoMetrics[nMetricIdxNsbtSupply])
469469 let mRaw = asInt(neutrinoMetrics[nMetricIdxMaxNsbtSupply])
470470 let kCalcArray = asAnyList(invoke(this, "calculateKREADONLY", [wRaw, uRaw, price, mRaw, sRaw], nil))
471471 let multK = parseBigIntValue(asString(kCalcArray[kResultIdxMultKStr]))
472472 let usdnPay = convertWavesToNeutrino(wavesPayRaw, price)
473473 let bigMaxNsbtSupply = toBigInt(mRaw)
474474 let bigNsbtSupply = toBigInt((mRaw - sRaw))
475475 let step1 = fraction(toBigInt(usdnPay), MULTX16, multK)
476476 let step2 = fraction(step1, bigNsbtSupply, bigMaxNsbtSupply)
477477 let step3 = toInt(fraction(bigNsbtSupply, bigMaxNsbtSupply, (step2 + bigMaxNsbtSupply)))
478478 let nsbtAmountRaw = ((mRaw - sRaw) - step3)
479479 $Tuple2(nil, [nsbtAmountRaw, usdnPay, wRaw, uRaw, mRaw, sRaw, asInt(kCalcArray[kResultIdxA]), asInt(kCalcArray[kResultIdxPaulB]), asInt(kCalcArray[kResultIdxWReservesInUsdn]), price, asInt(kCalcArray[kResultIdxMultBR]), asInt(kCalcArray[kResultIdxMultPower]), kCalcArray[kResultIdxMultExpInPowerStr], kCalcArray[kResultIdxMultKStr], toString(step1), toString(step2), step3])
480480 }
481481
482482
483483
484484 @Callable(i)
485485 func surfFunctionREADONLY (amount,assetId) = if ((0 > amount))
486486 then throw("amount should be positive")
487487 else {
488488 let price = currentPrice
489489 let priceBig = toBigInt(price)
490490 let reserveW = reserve("WAVES")
491491 let reserveBig = toBigInt(reserveW)
492492 let supply = neutrinoSupply
493493 let supplyBig = toBigInt(supply)
494494 if ((BR >= MULT6))
495495 then throw((("BR = " + toString(BR)) + ", cannot buy SURF"))
496496 else {
497497 let maxWavesPay = (fraction(supply, MULT8, price) - reserveW)
498498 let maxUsdnPay = (supply - fraction(reserveW, price, MULT8))
499499 let useAmount = if ((assetId == neutrinoAssetId))
500500 then if ((amount > maxUsdnPay))
501501 then maxUsdnPay
502502 else amount
503503 else if ((assetId == WAVESID))
504504 then if ((amount > maxWavesPay))
505505 then maxWavesPay
506506 else amount
507507 else 0
508508 let amountBig = toBigInt(useAmount)
509509 if ((assetId == neutrinoAssetId))
510510 then $Tuple2(nil, [toInt(fraction(fraction(amountBig, MULTX8, priceBig), (supplyBig - (amountBig / TWOX)), reserveBig)), 0, useAmount, reserveW, supply, BR, reserveW, (supply - useAmount), fraction(convertWavesToNeutrino(reserveW, price), MULT6, (supply - useAmount)), (amount - useAmount), price])
511511 else if ((assetId == WAVESID))
512512 then $Tuple2(nil, [toInt(fraction(supplyBig, log(fraction((reserveBig + amountBig), MULTX16, reserveBig), 16, EULERX16, 16, 16, HALFUP), MULTX16)), useAmount, 0, reserveW, supply, BR, (reserveW + useAmount), supply, fraction(convertWavesToNeutrino((reserveW + useAmount), price), MULT6, supply), (amount - useAmount), price])
513513 else throw("Unsupported asset")
514514 }
515515 }
516516
517517
518518
519519 @Callable(i)
520520 func calcContractNsbtPriceSYSREADONLY (nsbtSupplyDELTA) = {
521521 let neutrinoMetrics = asAnyList(invoke(this, "calcNeutinoMetricsREADONLY", nil, nil))
522522 let price = asInt(neutrinoMetrics[nMetricIdxPrice])
523523 let wRaw = asInt(neutrinoMetrics[nMetricIdxReserve])
524524 let uRaw = (asInt(neutrinoMetrics[nMetricIdxUsdnSupply]) - nsbtSupplyDELTA)
525525 let sRaw = (asInt(neutrinoMetrics[nMetricIdxNsbtSupply]) + nsbtSupplyDELTA)
526526 let mRaw = asInt(neutrinoMetrics[nMetricIdxMaxNsbtSupply])
527527 let kCalcArray = asAnyList(invoke(this, "calculateKREADONLY", [wRaw, uRaw, price, mRaw, sRaw], nil))
528528 let multKX16 = parseBigIntValue(asString(kCalcArray[kResultIdxMultKStr]))
529529 let multStep1X16 = fraction(toBigInt(mRaw), MULTX16, toBigInt((mRaw - sRaw)))
530530 let multStep2X16 = fraction(multStep1X16, multStep1X16, MULTX16)
531531 let multNsbt2usdnPriceX16 = fraction(multKX16, multStep2X16, MULTX16)
532532 let nsbt2usdnPrice = toInt(fraction(multNsbt2usdnPriceX16, toBigInt(MULT6), MULTX16))
533533 let nsbt2wavesPrice = fraction(nsbt2usdnPrice, MULT6, price)
534534 $Tuple2(nil, [nsbt2usdnPrice, nsbt2wavesPrice])
535535 }
536536
537537
538538
539539 @Callable(i)
540540 func calcNeutinoMetricsREADONLY () = {
541541 let nsbtSupplyMAX = value(assetInfo(nsbtAssetId)).quantity
542542 let nsbtSupply = (nsbtSupplyMAX - assetBalance(auctionContract, nsbtAssetId))
543543 let surfSupply = value(assetInfo(surfAssetId)).quantity
544544 let basketInfo = getBasketInfo()
545545 $Tuple2(nil, [currentPrice, neutrinoLockedBalance, wavesLockedBalance, reserve("WAVES"), reservesInUsdn("WAVES"), neutrinoSupply, neutrinoOutOfMarketSupply, neutrinoTotalSupply, BR, nsbtSupply, nsbtSupplyMAX, surfSupply, usdnUsdtPegX6, currentPriceAdj, basketInfo._1, basketInfo._2, basketInfo._3])
546546 }
547547
548548
549549
550550 @Callable(i)
551551 func getUnstakeComissionAmountREADONLY (amount,startHeight,halfLife) = $Tuple2(nil, fraction(amount, pow(2, 0, fraction(-((height - startHeight)), MULT8, halfLife), 8, 8, HALFUP), MULT8))
552552
553553
554554
555555 @Callable(i)
556556 func mergeStakesREADONLY (amount1,height1,amount2,height2,halfLife) = {
557557 let w = fraction(amount2, pow(2, 0, fraction((height2 - height1), MULT8, halfLife), 8, 8, HALFUP), MULT8)
558558 let v = fraction((amount1 + amount2), MULT8, (amount1 + w))
559559 $Tuple2(nil, (height1 + ((HALF8 - (halfLife * log(v, 8, 2, 0, 8, HALFUP))) / MULT8)))
560560 }
561561
562562
563563 @Verifier(tx)
564564 func verify () = {
565565 let pubKeyAdminsListStr = makeString(["ExtEEK19nmKj9mCpnWyvEEJFYATLMcVEMvohhUHkyHNm", "Ev5py5FfBQX9cZpYKnfQrTB49Byf8QmpZWeDVRim4yV7", "DUuuLjXu98nBwZc7fqwCTjtA3nnRwgTbkMSr5SU2NmDR", "DUuuLjXu98nBwZc7fqwCTjtA3nnRwgTbkMSr5SU2NmDR"], SEP)
566566 let pubKeyAdminsList = split(valueOrElse(getString(controlContract, "%s__multisig"), pubKeyAdminsListStr), SEP)
567567 let count = ((((if (sigVerify(tx.bodyBytes, tx.proofs[0], fromBase58String(pubKeyAdminsList[0])))
568568 then 1
569569 else 0) + (if (sigVerify(tx.bodyBytes, tx.proofs[1], fromBase58String(pubKeyAdminsList[1])))
570570 then 1
571571 else 0)) + (if (sigVerify(tx.bodyBytes, tx.proofs[2], fromBase58String(pubKeyAdminsList[2])))
572572 then 1
573573 else 0)) + (if (sigVerify(tx.bodyBytes, tx.proofs[3], fromBase58String(pubKeyAdminsList[3])))
574574 then 2
575575 else 0))
576576 (count >= 3)
577577 }
578578

github/deemru/w8io/026f985 
67.72 ms