tx · CWBXyC85v4JoHYEdtMJDxMiBK7VmnPE7bQNvFat6g6ef

3Mxd5o7PwH76ZkN8zG4xwDLubEnbkaihKzi:  -0.03400000 Waves

2023.02.13 10:42 [2447548] smart account 3Mxd5o7PwH76ZkN8zG4xwDLubEnbkaihKzi > SELF 0.00000000 Waves

{ "type": 13, "id": "CWBXyC85v4JoHYEdtMJDxMiBK7VmnPE7bQNvFat6g6ef", "fee": 3400000, "feeAssetId": null, "timestamp": 1676274258873, "version": 2, "chainId": 84, "sender": "3Mxd5o7PwH76ZkN8zG4xwDLubEnbkaihKzi", "senderPublicKey": "BwVRZtTzoCigEsffCvQ9uo7WvkoBNNGVjX4nat5X5zyQ", "proofs": [ "1kyo9SDaeEVu3Pcio8WZmnKEQov34ujxz4EFnB4gE1tgXVhDF8Wwer1NXz6VKuhmo1VU8H4G4TykjiuNoKsFrEg" ], "script": "base64:AAIFAAAAAAAAAEgIAhIFCgMICAgSABIDCgEIEgQKAggBEgASAwoBARIFCgMIAQgSAwoBCBIGCgQBAQEBEgQKAgEBEgQKAgEIEgMKAQESABIAEgAAAAB5AAAAAAtyZXZpc2lvbk51bQIAAAAAAAAAAAZFVUxFUjgAAAAAABAzxNYAAAAABU1VTFQ2AAAAAAAAD0JAAAAAAAZNVUxUWDYJAAE2AAAAAQAAAAAAAA9CQAAAAAAFTVVMVDgAAAAAAAX14QAAAAAABk1VTFRYOAkAATYAAAABAAAAAAAF9eEAAAAAAAZNVUxUMTIAAAAA6NSlEAAAAAAABk1VTFQxOAkAATYAAAABAA3gtrOnZAAAAAAAAANTRVACAAAAAl9fAAAAAAtCUlBST1RFQ1RFRAAAAAAAAAGGoAAAAAAOREVGQVVMVFBBWU1FTlQAAAAAADuaygAAAAAAFERFRkFVTFRDUkVBVElPTkdOU0JUAAAAAAA7msoAAAAAAAdXQVZFU0lECQACWQAAAAECAAAABVdBVkVTAAAAAA9uTWV0cmljSWR4UHJpY2UAAAAAAAAAAAAAAAAAG25NZXRyaWNJZHh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Zlc0luV2F2ZXMFAAAABU1VTFQ4BQAAAA5uZXV0cmlub1N1cHBseQQAAAAIcmVzdERhdGEJAAS5AAAAAgkABEwAAAACAgAAABJzdGFydFN1cmZQcmljZVJFU1QJAARMAAAAAgkAAaQAAAABBQAAAA9zdXJmUHJpY2VJblVzZG4JAARMAAAAAgkAAaQAAAABBQAAABBzdXJmUHJpY2VJbldhdmVzCQAETAAAAAICAAAAEGVuZFN1cmZQcmljZVJFU1QFAAAAA25pbAIAAAACX18JAAACAAAAAQUAAAAIcmVzdERhdGEAAAAAhPEU+g==", "height": 2447548, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 92yBKs7DwhRJ3SbZHcJ1sgCDxQXxunFCXhpBc9vZoctK Next: FJb2ZVWEtfiPc9Sm7CuYmb2KU6K8BNnC1iicd6YnE6sg Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let revisionNum = ""
55
66 let EULER8 = 271828182
77
88 let MULT6 = 1000000
99
1010 let MULTX6 = toBigInt(1000000)
1111
1212 let MULT8 = 100000000
1313
1414 let MULTX8 = toBigInt(100000000)
1515
1616 let MULT12 = 1000000000000
1717
1818 let MULT18 = toBigInt(1000000000000000000)
1919
2020 let SEP = "__"
2121
2222 let BRPROTECTED = 100000
2323
2424 let DEFAULTPAYMENT = 1000000000
2525
2626 let DEFAULTCREATIONGNSBT = 1000000000
2727
2828 let WAVESID = fromBase58String("WAVES")
2929
3030 let nMetricIdxPrice = 0
3131
3232 let nMetricIdxUsdnLockedBalance = 1
3333
3434 let nMetricIdxWavesLockedBalance = 2
3535
3636 let nMetricIdxReserve = 3
3737
3838 let nMetricIdxReserveInUsdn = 4
3939
4040 let nMetricIdxUsdnSupply = 5
4141
4242 let nMetricIdxSurplus = 6
4343
4444 let nMetricIdxSurplusPercent = 7
4545
4646 let nMetricIdxBR = 8
4747
4848 let nMetricIdxNsbtSupply = 9
4949
5050 let nMetricIdxMaxNsbtSupply = 10
5151
5252 let nMetricIdxSurfSupply = 11
5353
5454 let nMetricUsdnUsdtPeg = 12
5555
5656 let nMetricCurrentPriceAdj = 13
5757
5858 let bFuncIdxSurf = 0
5959
6060 let bFuncIdxWaves = 1
6161
6262 let bFuncIdxUsdn = 2
6363
6464 let bFuncIdxReserveStart = 3
6565
6666 let bFuncIdxSupplyStart = 4
6767
6868 let bFuncIdxBRStart = 5
6969
7070 let bFuncIdxReserveEnd = 6
7171
7272 let bFuncIdxSupplyEnd = 7
7373
7474 let bFuncIdxBREnd = 8
7575
7676 let bFuncIdxRest = 9
7777
7878 let bFuncIdxWavesPrice = 10
7979
8080 func keyNeutrinoAddress () = "%s%s__config__neutrinoAddress"
8181
8282
8383 func keyNeutrinoAssetId () = "neutrino_asset_id"
8484
8585
8686 func keyNsbtAssetId () = "bond_asset_id"
8787
8888
8989 func keySurfAssetId () = "surf_asset_id"
9090
9191
9292 func keyBalanceLocked () = "balance_lock_"
9393
9494
9595 func keyWavesLockedBalance () = (keyBalanceLocked() + "waves")
9696
9797
9898 func keyNeutrinoLockedBalance () = (keyBalanceLocked() + "neutrino")
9999
100100
101101 func keyMinWavesSwapAmount () = "min_outNeutrino_swap_amount_WAVES"
102102
103103
104104 func keyMinNeutrinoSwapAmount () = "min_outMulti_swap_amount"
105105
106106
107107 func keyWavesOutFeePart () = "wavesOut_swap_feePart"
108108
109109
110110 func keyNeutrinoOutFeePart () = "neutrinoOut_swap_feePart"
111111
112112
113113 func keySwapAmountAParam () = "%s%s__config__swapAParam"
114114
115115
116116 func keySwapAmountBParam () = "%s%s__config__swapBParam"
117117
118118
119119 func keyUsdnSwapAmountAParam () = "%s%s__config__usdnSwapAParam"
120120
121121
122122 func keyUsdnSwapAmountBParam () = "%s%s__config__usdnSwapBParam"
123123
124124
125125 func keyNsbtLockContract () = "%s__nsbtLockContract"
126126
127127
128128 func keyMathContract () = "%s__mathContract"
129129
130130
131131 func brProtectedKEY () = "min_BR_protection_level"
132132
133133
134134 func keyBalanceWavesLockInterval () = "balance_waves_lock_interval"
135135
136136
137137 func keyBalanceNeutrinoLockInterval () = "balance_neutrino_lock_interval"
138138
139139
140140 func keyPaymentRequired () = "%s__paymentRequired"
141141
142142
143143 func keyGnsbtRequired () = "%s__gNsbtRequired"
144144
145145
146146 func keyPrice () = "price"
147147
148148
149149 func keyLockParamStartBlock (userAddress) = makeString(["%s%s%s", "paramByUser", userAddress, "start"], SEP)
150150
151151
152152 func keyHalfLife () = "%s__halfLife"
153153
154154
155155 func keyMinLockAmount () = "%s__minLockAmount"
156156
157157
158158 func keyMinWavesForNsbtBuy () = "min_waves_nsbt_buy"
159159
160160
161161 func keyMinNsbtSell () = "min_nsbt_sell"
162162
163163
164164 func keyRpdContractBalanceKey (assetId) = ("rpd_balance_" + assetId)
165165
166166
167167 func getStringOrFail (address,key) = valueOrErrorMessage(getString(address, key), makeString(["mandatory ", toString(address), ".", key, " is not defined"], ""))
168168
169169
170170 func getIntOrFail (address,key) = valueOrErrorMessage(getInteger(address, key), makeString(["mandatory ", toString(address), ".", key, " is not defined"], ""))
171171
172172
173173 func getBoolOrFail (address,key) = valueOrErrorMessage(getBoolean(address, key), makeString(["mandatory ", toString(address), ".", key, " is not defined"], ""))
174174
175175
176176 func convertNeutrinoToWaves (amount,price) = fraction(amount, MULT8, price)
177177
178178
179179 func convertWavesToNeutrino (amount,price) = fraction(amount, price, MULT8)
180180
181181
182182 func asAnyList (val) = match val {
183183 case valAnyList: List[Any] =>
184184 valAnyList
185185 case _ =>
186186 throw("fail to cast into List[Any]")
187187 }
188188
189189
190190 func asInt (val) = match val {
191191 case valInt: Int =>
192192 valInt
193193 case _ =>
194194 throw("fail to cast into Int")
195195 }
196196
197197
198198 func asString (val) = match val {
199199 case valStr: String =>
200200 valStr
201201 case _ =>
202202 throw("fail to cast into String")
203203 }
204204
205205
206206 func asTuple2Ints (val) = match val {
207207 case v: (Int, Int) =>
208208 v
209209 case _ =>
210210 throw("fail to cast into Tuple2 ints")
211211 }
212212
213213
214214 func asSwapParamsSTRUCT (val) = match val {
215215 case struct: (Int, Int, Int, Int, Int, Int, Int) =>
216216 struct
217217 case _ =>
218218 throw("fail to cast into SwapParamsSTRUCT")
219219 }
220220
221221
222222 func toTimestamp (start) = if ((0 > start))
223223 then -1
224224 else match blockInfoByHeight(start) {
225225 case block: BlockInfo =>
226226 block.timestamp
227227 case _ =>
228228 -1
229229 }
230230
231231
232232 func toX18 (origVal,origScaleMult) = fraction(toBigInt(origVal), MULT18, toBigInt(origScaleMult))
233233
234234
235235 func fromX18 (val,resultScaleMult) = toInt(fraction(val, toBigInt(resultScaleMult), MULT18))
236236
237237
238238 let IdxControlCfgNeutrinoDapp = 1
239239
240240 let IdxControlCfgAuctionDapp = 2
241241
242242 let IdxControlCfgRpdDapp = 3
243243
244244 let IdxControlCfgMathDapp = 4
245245
246246 let IdxControlCfgLiquidationDapp = 5
247247
248248 let IdxControlCfgRestDapp = 6
249249
250250 let IdxControlCfgNodeRegistryDapp = 7
251251
252252 let IdxControlCfgNsbtStakingDapp = 8
253253
254254 let IdxControlCfgMediatorDapp = 9
255255
256256 let IdxControlCfgSurfStakingDapp = 10
257257
258258 let IdxControlCfgGnsbtControllerDapp = 11
259259
260260 let IdxControlCfgRestV2Dapp = 12
261261
262262 let IdxControlCfgGovernanceDapp = 13
263263
264264 func keyControlAddress () = "%s%s__config__controlAddress"
265265
266266
267267 func keyControlCfg () = "%s__controlConfig"
268268
269269
270270 func readControlCfgOrFail (control) = split(getStringOrFail(control, keyControlCfg()), SEP)
271271
272272
273273 func getContractAddressOrFail (controlCfg,idx) = valueOrErrorMessage(addressFromString(controlCfg[idx]), ("Control cfg doesn't contain address at index " + toString(idx)))
274274
275275
276276 let controlContract = addressFromStringValue(valueOrElse(getString(this, keyControlAddress()), "3N4NS7d4Jo9a6F14LiFUKKYVdUkkf2eP4Zx"))
277277
278278 let controlCfg = readControlCfgOrFail(controlContract)
279279
280280 let mathContract = getContractAddressOrFail(controlCfg, IdxControlCfgMathDapp)
281281
282282 let neutrinoContract = getContractAddressOrFail(controlCfg, IdxControlCfgNeutrinoDapp)
283283
284284 let auctionContract = getContractAddressOrFail(controlCfg, IdxControlCfgAuctionDapp)
285285
286286 let liquidationContract = getContractAddressOrFail(controlCfg, IdxControlCfgLiquidationDapp)
287287
288288 let rpdContract = getContractAddressOrFail(controlCfg, IdxControlCfgRpdDapp)
289289
290290 let nsbtStakingContract = getContractAddressOrFail(controlCfg, IdxControlCfgNsbtStakingDapp)
291291
292292 let surfStakingContract = getContractAddressOrFail(controlCfg, IdxControlCfgSurfStakingDapp)
293293
294294 let gnsbtControllerContract = getContractAddressOrFail(controlCfg, IdxControlCfgGnsbtControllerDapp)
295295
296296 let restV2Contract = getContractAddressOrFail(controlCfg, IdxControlCfgRestV2Dapp)
297297
298298 let governanceContract = getContractAddressOrFail(controlCfg, IdxControlCfgGovernanceDapp)
299299
300300 let neutrinoAssetIdString = getStringOrFail(neutrinoContract, keyNeutrinoAssetId())
301301
302302 let neutrinoAssetId = fromBase58String(neutrinoAssetIdString)
303303
304304 let nsbtAssetIdStr = getStringValue(neutrinoContract, keyNsbtAssetId())
305305
306306 let nsbtAssetId = fromBase58String(nsbtAssetIdStr)
307307
308308 let surfAssetIdStr = getStringValue(auctionContract, keySurfAssetId())
309309
310310 let surfAssetId = fromBase58String(surfAssetIdStr)
311311
312312 func minWavesForNsbtBuy () = asInt(invoke(auctionContract, "minWavesAmountNsbtBuySYSREADONLY", nil, nil))
313313
314314
315315 func minNsbtForSell () = asInt(invoke(auctionContract, "minNsbtAmountForSellSYSREADONLY", nil, nil))
316316
317317
318318 func minWavesForSurfBuy () = asInt(invoke(auctionContract, "minWavesAmountSurfBuySYSREADONLY", nil, nil))
319319
320320
321321 func minUsdnForSurfBuy () = asInt(invoke(auctionContract, "minUsdnAmountSurfBuySYSREADONLY", nil, nil))
322322
323323
324324 func privateNsbtPriceREST () = {
325325 let prices = asAnyList(invoke(mathContract, "calcContractNsbtPriceSYSREADONLY", [0], nil))
326326 let nsbt2usdnPrice = asInt(prices[0])
327327 let nsbt2wavesPrice = asInt(prices[1])
328328 $Tuple2(IntegerEntry("nsbt2usdnPrice", nsbt2usdnPrice), IntegerEntry("nsbt2wavesPrice", nsbt2wavesPrice))
329329 }
330330
331331
332332 func getLockedOnRpd (addrStr,assetIdStr) = {
333333 let key = makeString(["rpd_balance", assetIdStr, addrStr], "_")
334334 valueOrElse(getInteger(rpdContract, key), 0)
335335 }
336336
337337
338338 @Callable(i)
339339 func constructorV1 (neutrinoAddress,nsbtLockAddress,mathAddress) = if ((i.caller != this))
340340 then throw("not authorized")
341341 else [StringEntry(keyNeutrinoAddress(), neutrinoAddress), StringEntry(keyNsbtLockContract(), nsbtLockAddress), StringEntry(keyMathContract(), mathAddress)]
342342
343343
344344
345345 @Callable(i)
346346 func neutrinoStatsREADONLY () = {
347347 let neutrinoMetrics = asAnyList(invoke(mathContract, "calcNeutinoMetricsREADONLY", nil, nil))
348348 let prices = asAnyList(invoke(mathContract, "calcContractNsbtPriceSYSREADONLY", [0], nil))
349349 let currentPrice = asInt(neutrinoMetrics[nMetricIdxPrice])
350350 let neutrinoLockedBalance = asInt(neutrinoMetrics[nMetricIdxUsdnLockedBalance])
351351 let wavesLockedBalance = asInt(neutrinoMetrics[nMetricIdxWavesLockedBalance])
352352 let reservesInWaves = asInt(neutrinoMetrics[nMetricIdxReserve])
353353 let reservesInUsdn = asInt(neutrinoMetrics[nMetricIdxReserveInUsdn])
354354 let neutrinoSupply = asInt(neutrinoMetrics[nMetricIdxUsdnSupply])
355355 let surplus = asInt(neutrinoMetrics[nMetricIdxSurplus])
356356 let surplusPercent = asInt(neutrinoMetrics[nMetricIdxSurplusPercent])
357357 let BR = asInt(neutrinoMetrics[nMetricIdxBR])
358358 let nsbtSupply = asInt(neutrinoMetrics[nMetricIdxNsbtSupply])
359359 let maxNsbtSupply = asInt(neutrinoMetrics[nMetricIdxMaxNsbtSupply])
360360 let usdnUsdtPeg = asInt(neutrinoMetrics[nMetricUsdnUsdtPeg])
361361 let burnPrice = asInt(neutrinoMetrics[nMetricCurrentPriceAdj])
362362 let issuePrice = currentPrice
363363 let nsbt2usdnPrice = asInt(prices[0])
364364 let nsbt2wavesPrice = asInt(prices[1])
365365 let maxWaves2BuySurf = (fraction(neutrinoSupply, MULT8, currentPrice) - reservesInWaves)
366366 let maxUsdn2BuySurf = (neutrinoSupply - reservesInUsdn)
367367 let surfPriceInUsdn = BR
368368 let surfPriceInWaves = fraction(BR, MULT6, currentPrice)
369369 let totalUsdnStaked = valueOrElse(getInteger(rpdContract, keyRpdContractBalanceKey(neutrinoAssetIdString)), 0)
370370 $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d", toString(currentPrice), toString(neutrinoLockedBalance), toString(wavesLockedBalance), toString(reservesInWaves), toString(reservesInUsdn), toString(neutrinoSupply), toString(surplus), toString(surplusPercent), toString(BR), toString(nsbtSupply), toString(maxNsbtSupply), toString(nsbt2usdnPrice), toString(nsbt2wavesPrice), toString(usdnUsdtPeg), toString(issuePrice), toString(burnPrice), toString(totalUsdnStaked)], SEP))
371371 }
372372
373373
374374
375375 @Callable(i)
376376 func swapInfoREADONLY (userAddressStrOpt) = {
377377 let currentPrice = getIntegerValue(controlContract, keyPrice())
378378 let minWavesSwapAmt = getIntegerValue(neutrinoContract, keyMinWavesSwapAmount())
379379 let minUsdnSwapAmt = getIntegerValue(neutrinoContract, keyMinNeutrinoSwapAmount())
380380 let waves2UsdnFee = getIntegerValue(neutrinoContract, keyWavesOutFeePart())
381381 let usdn2WavesFee = getIntegerValue(neutrinoContract, keyNeutrinoOutFeePart())
382382 let usdnSwapDelayDuration = getIntegerValue(neutrinoContract, keyBalanceNeutrinoLockInterval())
383383 let wavesSwapDelayDuration = getIntegerValue(neutrinoContract, keyBalanceWavesLockInterval())
384384 let swapParamsSTRUCT = asSwapParamsSTRUCT(invoke(neutrinoContract, "swapParamsByUserSYSREADONLY", [userAddressStrOpt, 0], nil))
385385 let swapLimitMaxUsdn = swapParamsSTRUCT._1
386386 let swapLimitSpentUsdn = swapParamsSTRUCT._2
387387 let blcks2LmtReset = swapParamsSTRUCT._3
388388 let wavesSwapLimitMax = swapParamsSTRUCT._6
389389 let usdnSwapLimitMax = swapParamsSTRUCT._7
390390 $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d%d%d%d", toString(currentPrice), toString(minWavesSwapAmt), toString(minUsdnSwapAmt), toString(waves2UsdnFee), toString(usdn2WavesFee), toString(usdnSwapDelayDuration), toString(wavesSwapDelayDuration), toString(blcks2LmtReset), toString(wavesSwapLimitMax), toString(usdnSwapLimitMax), toString(swapLimitSpentUsdn)], SEP))
391391 }
392392
393393
394394
395395 @Callable(i)
396396 func gnsbtInfoREADONLY (userAddressStrOpt,nsbtAmtDiff) = {
397397 let currentPrice = getIntegerValue(controlContract, keyPrice())
398398 let swapParams = asSwapParamsSTRUCT(invoke(neutrinoContract, "swapParamsByUserSYSREADONLY", [userAddressStrOpt, 0], nil))
399399 let blcks2LmtReset = swapParams._3
400400 let gnsbtAmt = swapParams._4
401401 let gnsbtAmtTotal = swapParams._5
402402 let limitMaxWaves = swapParams._6
403403 let limitMaxUsdn = swapParams._7
404404 let swapParamsNEW = asSwapParamsSTRUCT(invoke(neutrinoContract, "swapParamsByUserSYSREADONLY", [userAddressStrOpt, nsbtAmtDiff], nil))
405405 let blcks2LmtResetNEW = swapParamsNEW._3
406406 let gnsbtAmtNEW = swapParamsNEW._4
407407 let gnsbtAmtTotalNEW = swapParamsNEW._5
408408 let limitMaxWavesNEW = swapParamsNEW._6
409409 let limitMaxUsdnNEW = swapParamsNEW._7
410410 let gnsbtShare = if ((gnsbtAmtTotal != 0))
411411 then fraction((gnsbtAmt * 100), MULT12, gnsbtAmtTotal)
412412 else 0
413413 let gnsbtShareNEW = if ((gnsbtAmtTotalNEW != 0))
414414 then fraction((gnsbtAmtNEW * 100), MULT12, gnsbtAmtTotalNEW)
415415 else 0
416416 let rewardInfo = asString(invoke(nsbtStakingContract, "unclaimedRewardsREADONLY", [userAddressStrOpt], nil))
417417 let nsbtAmt = gnsbtAmt
418418 let nsbtAmtNew = gnsbtAmtNEW
419419 let nsbtAmtStakedTotal = assetBalance(nsbtStakingContract, nsbtAssetId)
420420 let nsbtAmtStakedTotalNew = nsbtAmtStakedTotal
421421 let nsbtData = asAnyList(invoke(nsbtStakingContract, "nsbtStakingSYSREADONLY", [userAddressStrOpt, nsbtAmtDiff], nil))
422422 let isEmptyNsbtBalance = if ((gnsbtAmt == 0))
423423 then (gnsbtAmtNEW == 0)
424424 else false
425425 let startHeight = if (isEmptyNsbtBalance)
426426 then height
427427 else asInt(nsbtData[2])
428428 let startTimestamp = toTimestamp(startHeight)
429429 let halfLife = getIntOrFail(nsbtStakingContract, keyHalfLife())
430430 let startHeightNew = if (isEmptyNsbtBalance)
431431 then height
432432 else asInt(invoke(mathContract, "mergeStakesREADONLY", [gnsbtAmt, startHeight, gnsbtAmtNEW, height, halfLife], nil))
433433 let startTimestampNew = toTimestamp(startHeightNew)
434434 $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d%s%d%d%d%d%d%d%d%d", toString(gnsbtAmt), toString(gnsbtAmtNEW), toString(gnsbtShare), toString(gnsbtShareNEW), toString(limitMaxUsdn), toString(limitMaxWaves), toString(limitMaxUsdnNEW), toString(limitMaxWavesNEW), rewardInfo, toString(nsbtAmt), toString(nsbtAmtNew), toString(nsbtAmtStakedTotal), toString(nsbtAmtStakedTotalNew), toString(startHeight), toString(startTimestamp), toString(startHeightNew), toString(startTimestampNew)], SEP))
435435 }
436436
437437
438438
439439 @Callable(i)
440440 func neutrinoConfigREADONLY () = {
441441 let limitParamA = getIntegerValue(mathContract, keySwapAmountAParam())
442442 let limitParamB = getIntegerValue(mathContract, keySwapAmountBParam())
443443 let usdnLimitParamA = getIntegerValue(mathContract, keyUsdnSwapAmountAParam())
444444 let usdnLimitParamB = getIntegerValue(mathContract, keyUsdnSwapAmountBParam())
445445 let minWavesSwapAmt = getIntegerValue(neutrinoContract, keyMinWavesSwapAmount())
446446 let minUsdnSwapAmt = getIntegerValue(neutrinoContract, keyMinNeutrinoSwapAmount())
447447 let waves2UsdnFee = getIntegerValue(neutrinoContract, keyWavesOutFeePart())
448448 let usdn2WavesFee = getIntegerValue(neutrinoContract, keyNeutrinoOutFeePart())
449449 let brProtected = valueOrElse(getInteger(neutrinoContract, brProtectedKEY()), BRPROTECTED)
450450 let usdnSwapDelay = getIntegerValue(neutrinoContract, keyBalanceNeutrinoLockInterval())
451451 let wavesSwapDelay = getIntegerValue(neutrinoContract, keyBalanceWavesLockInterval())
452452 let minWaves4NsbtBuy = minWavesForNsbtBuy()
453453 let minNsbtsell = minNsbtForSell()
454454 let minNsbtLockAmt = getIntegerValue(nsbtStakingContract, keyMinLockAmount())
455455 let halfLife = getIntegerValue(nsbtStakingContract, keyHalfLife())
456456 let minWaves4SurfBuy = minWavesForSurfBuy()
457457 let minUsdn4SurfBuy = minUsdnForSurfBuy()
458458 let surfStakingCfg = asAnyList(invoke(surfStakingContract, "configSYSREADONLY", nil, nil))
459459 let minSurfStakeAmt = asInt(surfStakingCfg[0])
460460 let gnsbtFromSurfCoeff = asInt(surfStakingCfg[1])
461461 let surfVotingPowerRestrictivePeriod = asInt(surfStakingCfg[2])
462462 let brToStartSurfTransformation = asInt(surfStakingCfg[3])
463463 let shutdown = valueOrElse(getBoolean(controlContract, "is_blocked"), false)
464464 let votingCreationCost = valueOrElse(getInteger(governanceContract, keyPaymentRequired()), DEFAULTPAYMENT)
465465 let votingCreationGnsbtNeeded = valueOrElse(getInteger(governanceContract, keyGnsbtRequired()), DEFAULTCREATIONGNSBT)
466466 $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%b%d%d%d%d%d%d%d", toString(limitParamA), toString(limitParamB), toString(minWavesSwapAmt), toString(minUsdnSwapAmt), toString(waves2UsdnFee), toString(usdn2WavesFee), toString(minWaves4NsbtBuy), toString(minNsbtsell), toString(minNsbtLockAmt), toString(halfLife), toString(minWaves4SurfBuy), toString(minUsdn4SurfBuy), toString(minSurfStakeAmt), toString(gnsbtFromSurfCoeff), toString(surfVotingPowerRestrictivePeriod), toString(brToStartSurfTransformation), toString(shutdown), toString(usdnLimitParamA), toString(usdnLimitParamB), toString(brProtected), toString(wavesSwapDelay), toString(usdnSwapDelay), toString(votingCreationCost), toString(votingCreationGnsbtNeeded)], SEP))
467467 }
468468
469469
470470
471471 @Callable(i)
472472 func buyNsbtREADONLY (wavesPay) = {
473473 let minWavesAmountNsbtBuy = minWavesForNsbtBuy()
474474 if ((minWavesAmountNsbtBuy > wavesPay))
475475 then throw((("min " + toString(minWavesAmountNsbtBuy)) + " waves expected"))
476476 else {
477477 let curveResult = asAnyList(invoke(mathContract, "curveFunctionREADONLY", [wavesPay], nil))
478478 if ((curveResult == curveResult))
479479 then {
480480 let nsbtAmount = asInt(curveResult[0])
481481 if ((0 >= nsbtAmount))
482482 then throw("nsbtAmount <= 0")
483483 else $Tuple2(nil, makeString(["%d", toString(nsbtAmount)], SEP))
484484 }
485485 else throw("Strict value is not equal to itself.")
486486 }
487487 }
488488
489489
490490
491491 @Callable(i)
492492 func buySurfREADONLY (userAddressStrOpt,amount,assetIdStr) = {
493493 let assetId = fromBase58String(assetIdStr)
494494 let surfResult = asAnyList(invoke(mathContract, "surfFunctionREADONLY", [amount, assetId], nil))
495495 let surfAmount = asInt(surfResult[bFuncIdxSurf])
496496 let gNsbtAmount = asInt(invoke(surfStakingContract, "gnsbtFromSurfSYSREADONLY", [surfAmount], nil))
497497 let swapParams = asSwapParamsSTRUCT(invoke(neutrinoContract, "swapParamsByUserSYSREADONLY", [userAddressStrOpt, 0], nil))
498498 let wavesLimit = swapParams._6
499499 let usdnLimit = swapParams._7
500500 let swapParamsNew = asSwapParamsSTRUCT(invoke(neutrinoContract, "swapParamsByUserSYSREADONLY", [userAddressStrOpt, gNsbtAmount], nil))
501501 let wavesLimitNew = swapParamsNew._6
502502 let usdnLimitNew = swapParamsNew._7
503503 let price = asInt(surfResult[bFuncIdxWavesPrice])
504504 let additionalLimitUsdn = (usdnLimitNew - usdnLimit)
505505 let additionalLimitWaves = (wavesLimitNew - wavesLimit)
506506 let br0 = asInt(surfResult[bFuncIdxBRStart])
507507 let br1 = asInt(surfResult[bFuncIdxBREnd])
508508 let priceSurf2Waves0 = fraction(br0, MULT6, price)
509509 let priceSurf2Waves1 = fraction(br1, MULT6, price)
510510 let gsnbtRestV2DATA = asAnyList(invoke(restV2Contract, "gnsbtInfoINTERNAL", [userAddressStrOpt, 0, surfAmount], nil))
511511 let votingPowerMax = asInt(gsnbtRestV2DATA[21])
512512 let votingPowerMaxNEW = asInt(gsnbtRestV2DATA[22])
513513 let votingPowerEtaNEW = asInt(gsnbtRestV2DATA[23])
514514 let mergedVotingPowerEta = votingPowerEtaNEW
515515 let maxVotingPowerDiff = (votingPowerMaxNEW - votingPowerMax)
516516 let rest = asInt(surfResult[bFuncIdxRest])
517517 $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d%d%d%d", toString(surfAmount), toString(gNsbtAmount), toString(additionalLimitUsdn), toString(additionalLimitWaves), toString(br0), toString(br1), toString(priceSurf2Waves0), toString(priceSurf2Waves1), toString(mergedVotingPowerEta), toString(maxVotingPowerDiff), toString(rest)], SEP))
518518 }
519519
520520
521521
522522 @Callable(i)
523523 func walletInfoREADONLY (userAddressStrOpt) = {
524524 let addr = addressFromString(userAddressStrOpt)
525525 let balance = if (isDefined(addr))
526526 then wavesBalance(value(addr))
527527 else BalanceDetails(0, 0, 0, 0)
528528 let usdnLocked = getLockedOnRpd(userAddressStrOpt, neutrinoAssetIdString)
529529 let nsbtLockedOld = getLockedOnRpd(userAddressStrOpt, nsbtAssetIdStr)
530530 let gnsbtData = asAnyList(invoke(gnsbtControllerContract, "gnsbtInfoSYSREADONLY", [userAddressStrOpt, 0, 0], nil))
531531 let nsbtData = asAnyList(gnsbtData[2])
532532 let nsbtUser = asInt(nsbtData[0])
533533 let nsbtTotal = asInt(nsbtData[1])
534534 let gNsbtFromNsbtUser = asInt(nsbtData[2])
535535 let gNsbtFromNsbtTotal = asInt(nsbtData[3])
536536 let surfData = asAnyList(gnsbtData[3])
537537 let surfUser = asInt(surfData[0])
538538 let surfTotal = asInt(surfData[1])
539539 let gNsbtFromSurfUser = asInt(surfData[2])
540540 let gNsbtFromSurfTotal = asInt(surfData[3])
541541 let availableUsdnToClaimFromSurf = 0
542542 let alreadyClaimedUsdnFromSurf = 0
543543 let gsnbtRestV2DATA = asAnyList(invoke(restV2Contract, "gnsbtInfoINTERNAL", [userAddressStrOpt, 0, 0], nil))
544544 let votingPower = asInt(gsnbtRestV2DATA[19])
545545 let votingPowerMax = asInt(gsnbtRestV2DATA[21])
546546 let votingPowerEta = asInt(gsnbtRestV2DATA[23])
547547 $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d", toString(balance.regular), toString(balance.available), toString(balance.generating), toString(balance.effective), toString(height), toString(usdnLocked), toString(nsbtLockedOld), toString(nsbtUser), toString(gNsbtFromNsbtUser), toString(gNsbtFromSurfUser), toString(surfUser), toString(votingPower), toString(votingPowerMax), toString(votingPowerEta), toString(availableUsdnToClaimFromSurf), toString(alreadyClaimedUsdnFromSurf), toString(gNsbtFromNsbtTotal), toString(gNsbtFromSurfTotal)], SEP))
548548 }
549549
550550
551551
552552 @Callable(i)
553553 func mergedStakeREADONLY (amount1,height1,amount2,height2) = {
554554 let halfLife = getIntOrFail(nsbtStakingContract, keyHalfLife())
555555 let h = asInt(invoke(mathContract, "mergeStakesREADONLY", [amount1, height1, amount2, height2, halfLife], nil))
556556 $Tuple2(nil, makeString(["%d%d", toString((amount1 + amount2)), toString(h)], SEP))
557557 }
558558
559559
560560
561561 @Callable(i)
562562 func unstakeComissionAmountByHeightREADONLY (amount,startHeight) = {
563563 let halfLife = getIntOrFail(nsbtStakingContract, keyHalfLife())
564564 let a = asInt(invoke(mathContract, "getUnstakeComissionAmountREADONLY", [amount, startHeight, halfLife], nil))
565565 if ((a == a))
566566 then $Tuple2(nil, makeString(["%d", toString(a)], SEP))
567567 else throw("Strict value is not equal to itself.")
568568 }
569569
570570
571571
572572 @Callable(i)
573573 func unstakeComissionAmountByUserREADONLY (amount,userAddress) = {
574574 let halfLife = getIntOrFail(nsbtStakingContract, keyHalfLife())
575575 let startHeight = valueOrElse(getInteger(nsbtStakingContract, keyLockParamStartBlock(userAddress)), height)
576576 let a = asInt(invoke(mathContract, "getUnstakeComissionAmountREADONLY", [amount, startHeight, halfLife], nil))
577577 if ((a == a))
578578 then $Tuple2(nil, makeString(["%d", toString(a)], SEP))
579579 else throw("Strict value is not equal to itself.")
580580 }
581581
582582
583583
584584 @Callable(i)
585585 func usdnStakingAprREADONLY (days) = {
586586 let wavesIncome = (6000 * MULT8)
587587 let neutrinoMetrics = asAnyList(invoke(mathContract, "calcNeutinoMetricsREADONLY", nil, nil))
588588 let currentPrice = asInt(neutrinoMetrics[nMetricIdxPrice])
589589 let totalUsdnStaked = valueOrElse(getInteger(rpdContract, keyRpdContractBalanceKey(neutrinoAssetIdString)), 0)
590590 let usdnIncome = fraction(wavesIncome, currentPrice, MULT8)
591591 let apr = fraction((usdnIncome * MULT6), 365, totalUsdnStaked)
592592 $Tuple2(nil, [apr])
593593 }
594594
595595
596596
597597 @Callable(i)
598598 func neutrinoStateREST () = {
599599 let neutrinoMetrics = asAnyList(invoke(mathContract, "calcNeutinoMetricsREADONLY", nil, nil))
600600 let currentPrice = asInt(neutrinoMetrics[nMetricIdxPrice])
601601 let neutrinoLockedBalance = asInt(neutrinoMetrics[nMetricIdxUsdnLockedBalance])
602602 let wavesLockedBalance = asInt(neutrinoMetrics[nMetricIdxWavesLockedBalance])
603603 let reservesInWaves = asInt(neutrinoMetrics[nMetricIdxReserve])
604604 let reservesInUsdn = asInt(neutrinoMetrics[nMetricIdxReserveInUsdn])
605605 let neutrinoSupply = asInt(neutrinoMetrics[nMetricIdxUsdnSupply])
606606 let surplus = asInt(neutrinoMetrics[nMetricIdxSurplus])
607607 let surplusPercent = asInt(neutrinoMetrics[nMetricIdxSurplusPercent])
608608 let BR = asInt(neutrinoMetrics[nMetricIdxBR])
609609 let nsbtSupply = asInt(neutrinoMetrics[nMetricIdxNsbtSupply])
610610 let nsbtSupplyMax = asInt(neutrinoMetrics[nMetricIdxMaxNsbtSupply])
611611 let surfSupply = asInt(neutrinoMetrics[nMetricIdxSurfSupply])
612612 throw(makeString(["resultNeutrinoStateREST", toString(currentPrice), toString(neutrinoLockedBalance), toString(wavesLockedBalance), toString(reservesInWaves), toString(reservesInUsdn), toString(neutrinoSupply), toString(surplus), toString(surplusPercent), toString(BR), toString(nsbtSupply), toString(nsbtSupplyMax), toString(surfSupply)], "__"))
613613 }
614614
615615
616616
617617 @Callable(i)
618618 func nsbtPriceREST () = {
619619 let prices = asAnyList(invoke(mathContract, "calcContractNsbtPriceSYSREADONLY", [0], nil))
620620 let nsbt2usdnPrice = asInt(prices[0])
621621 let nsbt2wavesPrice = asInt(prices[1])
622622 let restData = makeString(["startNsbtPriceREST", toString(nsbt2usdnPrice), toString(nsbt2wavesPrice), "endNsbtPriceREST"], "__")
623623 throw(restData)
624624 }
625625
626626
627627
628628 @Callable(i)
629629 func surfPriceREST () = {
630630 let neutrinoMetrics = asAnyList(invoke(mathContract, "calcNeutinoMetricsREADONLY", nil, nil))
631631 let currentPrice = asInt(neutrinoMetrics[nMetricIdxPrice])
632632 let reservesInWaves = asInt(neutrinoMetrics[nMetricIdxReserve])
633633 let neutrinoSupply = asInt(neutrinoMetrics[nMetricIdxUsdnSupply])
634634 let surfPriceInUsdn = fraction(reservesInWaves, currentPrice, neutrinoSupply)
635635 let surfPriceInWaves = fraction(reservesInWaves, MULT8, neutrinoSupply)
636636 let restData = makeString(["startSurfPriceREST", toString(surfPriceInUsdn), toString(surfPriceInWaves), "endSurfPriceREST"], "__")
637637 throw(restData)
638638 }
639639
640640

github/deemru/w8io/026f985 
56.34 ms