tx · 9FJWfBCGJGd9duiBsSDAPVxScfmgh511V7jvUe9pgP5g

3Mxd5o7PwH76ZkN8zG4xwDLubEnbkaihKzi:  -0.04000000 Waves

2022.07.11 14:45 [2135034] smart account 3Mxd5o7PwH76ZkN8zG4xwDLubEnbkaihKzi > SELF 0.00000000 Waves

{ "type": 13, "id": "9FJWfBCGJGd9duiBsSDAPVxScfmgh511V7jvUe9pgP5g", "fee": 4000000, "feeAssetId": null, "timestamp": 1657539966983, "version": 1, "sender": "3Mxd5o7PwH76ZkN8zG4xwDLubEnbkaihKzi", "senderPublicKey": "BwVRZtTzoCigEsffCvQ9uo7WvkoBNNGVjX4nat5X5zyQ", "proofs": [ "5b791isKG6HJJTNryawVAPeMNHyF9HdZQWEWWCijB2283phQixnwXP8A3XStWEX6sU675EyqJVp1mHtQhXzqdcuJ" ], "script": "base64:AAIFAAAAAAAAAEMIAhIFCgMICAgSABIDCgEIEgQKAggBEgASAwoBARIFCgMIAQgSAwoBCBIGCgQBAQEBEgQKAgEBEgQKAgEIEgASABIAAAAAXAAAAAALcmV2aXNpb25OdW0CAAAAAAAAAAAGRVVMRVI4AAAAAAAQM8TWAAAAAAVNVUxUNgAAAAAAAA9CQAAAAAAGTVVMVFg2CQABNgAAAAEAAAAAAAAPQkAAAAAABU1VTFQ4AAAAAAAF9eEAAAAAAAZNVUxUWDgJAAE2AAAAAQAAAAAABfXhAAAAAAAGTVVMVDEyAAAAAOjUpRAAAAAAAAZNVUxUMTgJAAE2AAAAAQAN4Lazp2QAAAAAAAADU0VQAgAAAAJfXwAAAAAHV0FWRVNJRAkAAlkAAAABAgAAAAVXQVZFUwAAAAAPbk1ldHJpY0lkeFByaWNlAAAAAAAAAAAAAAAAABtuTWV0cmljSWR4VXNkbkxvY2tlZEJhbGFuY2UAAAAAAAAAAAEAAAAAHG5NZXRyaWNJZHhXYXZlc0xvY2tlZEJhbGFuY2UAAAAAAAAAAAIAAAAAEW5NZXRyaWNJZHhSZXNlcnZlAAAAAAAA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icationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 71b39dAfXm5YhFqTaAtnaynFDacMqTSarQ5nipDp6Cm3 Next: DKv13essC6sj2n79ra8z16f34KgNca36iLNm1HhJpzHj Diff:
OldNewDifferences
110110
111111
112112 func keyNeutrinoOutFeePart () = "neutrinoOut_swap_feePart"
113+
114+
115+func keySwapAmountAParam () = "%s%s__config__swapAParam"
116+
117+
118+func keySwapAmountBParam () = "%s%s__config__swapBParam"
113119
114120
115121 func keyNsbtLockContract () = "%s__nsbtLockContract"
292298 let minWaves4NsbtBuy = minWavesForNsbtBuy()
293299 let minNsbtsell = minNsbtForSell()
294300 let minNsbtLockAmt = getIntOrFail(nsbtStakingContract, keyMinLockAmount())
295- let minWaves4SurfBuy = minWavesForSurfBuy()
296- let minUsdn4SurfBuy = minUsdnForSurfBuy()
297301 let maxWaves2BuySurf = (fraction(neutrinoSupply, MULT8, currentPrice) - reservesInWaves)
298302 let maxUsdn2BuySurf = (neutrinoSupply - reservesInUsdn)
299303 let surfPriceInUsdn = fraction(reservesInWaves, currentPrice, neutrinoSupply)
300304 let surfPriceInWaves = fraction(reservesInWaves, 1, neutrinoSupply)
301- $Tuple2(nil, makeString(["%d%d%d%d%d%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(minWaves4NsbtBuy), toString(minNsbtsell), toString(minNsbtLockAmt), toString(minWaves4SurfBuy), toString(minUsdn4SurfBuy), toString(maxWaves2BuySurf), toString(maxUsdn2BuySurf), toString(surfPriceInUsdn), toString(surfPriceInWaves)], SEP))
305+ $Tuple2(nil, makeString(["%d%d%d%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(minWaves4NsbtBuy), toString(minNsbtsell), toString(minNsbtLockAmt), toString(maxWaves2BuySurf), toString(maxUsdn2BuySurf), toString(surfPriceInUsdn), toString(surfPriceInWaves)], SEP))
302306 }
303307
304308
312316 let usdn2WavesFee = getIntegerValue(neutrinoContract, keyNeutrinoOutFeePart())
313317 let usdnSwapDelayDuration = getIntegerValue(neutrinoContract, keyBalanceNeutrinoLockInterval())
314318 let wavesSwapDelayDuration = getIntegerValue(neutrinoContract, keyBalanceWavesLockInterval())
315- let $t01062210786 = asSwapParamsSTRUCT(invoke(neutrinoContract, "swapParamsByUserSYSREADONLY", [userAddressStrOpt, 0], nil))
316- let swapLimitMaxUsdn = $t01062210786._1
317- let swapLimitSpentUsdn = $t01062210786._2
318- let blcks2LmtReset = $t01062210786._3
319+ let $t01052910693 = asSwapParamsSTRUCT(invoke(neutrinoContract, "swapParamsByUserSYSREADONLY", [userAddressStrOpt, 0], nil))
320+ let swapLimitMaxUsdn = $t01052910693._1
321+ let swapLimitSpentUsdn = $t01052910693._2
322+ let blcks2LmtReset = $t01052910693._3
319323 let swapLimitMaxWaves = convertNeutrinoToWaves(swapLimitMaxUsdn, currentPrice)
320324 $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(swapLimitMaxWaves), toString(swapLimitMaxUsdn), toString(swapLimitSpentUsdn)], SEP))
321325 }
325329 @Callable(i)
326330 func gnsbtInfoREADONLY (userAddressStrOpt,nsbtAmtDiff) = {
327331 let currentPrice = getIntegerValue(controlContract, keyPrice())
328- let $t01179211975 = asSwapParamsSTRUCT(invoke(neutrinoContract, "swapParamsByUserSYSREADONLY", [userAddressStrOpt, 0], nil))
329- let limitMaxUsdn = $t01179211975._1
330- let limitSpent = $t01179211975._2
331- let blcks2LmtReset = $t01179211975._3
332- let gnsbtAmt = $t01179211975._4
333- let gnsbtAmtTotal = $t01179211975._5
334- let $t01197912187 = asSwapParamsSTRUCT(invoke(neutrinoContract, "swapParamsByUserSYSREADONLY", [userAddressStrOpt, nsbtAmtDiff], nil))
335- let limitMaxUsdnNEW = $t01197912187._1
336- let limitSpentNEW = $t01197912187._2
337- let blcks2LmtResetNEW = $t01197912187._3
338- let gnsbtAmtNEW = $t01197912187._4
339- let gnsbtAmtTotalNEW = $t01197912187._5
332+ let $t01169911882 = asSwapParamsSTRUCT(invoke(neutrinoContract, "swapParamsByUserSYSREADONLY", [userAddressStrOpt, 0], nil))
333+ let limitMaxUsdn = $t01169911882._1
334+ let limitSpent = $t01169911882._2
335+ let blcks2LmtReset = $t01169911882._3
336+ let gnsbtAmt = $t01169911882._4
337+ let gnsbtAmtTotal = $t01169911882._5
338+ let $t01188612094 = asSwapParamsSTRUCT(invoke(neutrinoContract, "swapParamsByUserSYSREADONLY", [userAddressStrOpt, nsbtAmtDiff], nil))
339+ let limitMaxUsdnNEW = $t01188612094._1
340+ let limitSpentNEW = $t01188612094._2
341+ let blcks2LmtResetNEW = $t01188612094._3
342+ let gnsbtAmtNEW = $t01188612094._4
343+ let gnsbtAmtTotalNEW = $t01188612094._5
340344 let limitMaxWaves = convertNeutrinoToWaves(limitMaxUsdn, currentPrice)
341345 let limitMaxWavesNEW = convertNeutrinoToWaves(limitMaxUsdnNEW, currentPrice)
342346 let gnsbtShare = if ((gnsbtAmtTotal != 0))
369373
370374
371375 @Callable(i)
376+func neutrinoConfigREADONLY () = {
377+ let limitParamA = getIntegerValue(mathContract, keySwapAmountAParam())
378+ let limitParamB = getIntegerValue(mathContract, keySwapAmountBParam())
379+ let minWavesSwapAmt = getIntegerValue(neutrinoContract, keyMinWavesSwapAmount())
380+ let minUsdnSwapAmt = getIntegerValue(neutrinoContract, keyMinNeutrinoSwapAmount())
381+ let waves2UsdnFee = getIntegerValue(neutrinoContract, keyWavesOutFeePart())
382+ let usdn2WavesFee = getIntegerValue(neutrinoContract, keyNeutrinoOutFeePart())
383+ let minWaves4NsbtBuy = minWavesForNsbtBuy()
384+ let minNsbtsell = minNsbtForSell()
385+ let minNsbtLockAmt = getIntegerValue(nsbtStakingContract, keyMinLockAmount())
386+ let halfLife = getIntegerValue(nsbtStakingContract, keyHalfLife())
387+ let minWaves4SurfBuy = minWavesForSurfBuy()
388+ let minUsdn4SurfBuy = minUsdnForSurfBuy()
389+ $Tuple2(nil, makeString(["%d%d%d%d%d%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)], SEP))
390+ }
391+
392+
393+
394+@Callable(i)
372395 func buyNsbtREADONLY (wavesPay) = {
373396 let minWavesAmountNsbtBuy = minWavesForNsbtBuy()
374397 if ((minWavesAmountNsbtBuy > wavesPay))
393416 let assetId = fromBase58String(assetIdStr)
394417 let surfResult = asAnyList(invoke(mathContract, "surfFunctionREADONLY", [amount, assetId], nil))
395418 let surfAmount = asInt(surfResult[bFuncIdxSurf])
396- if ((0 >= surfAmount))
397- then throw("surfAmount <= 0")
398- else {
399- let gNsbtAmount = (surfAmount / 60)
400- let limitOld = asSwapParamsSTRUCT(invoke(neutrinoContract, "swapParamsByUserSYSREADONLY", [userAddressStrOpt, 0], nil))._1
401- let limitNew = asSwapParamsSTRUCT(invoke(neutrinoContract, "swapParamsByUserSYSREADONLY", [userAddressStrOpt, gNsbtAmount], nil))._1
402- let additionalLimitUsdn = (limitNew - limitOld)
403- let br0 = asInt(surfResult[bFuncIdxBRStart])
404- let br1 = asInt(surfResult[bFuncIdxBREnd])
405- let price = asInt(surfResult[bFuncIdxWavesPrice])
406- let priceSurf2Waves0 = fraction(br0, MULT8, price)
407- let priceSurf2Waves1 = fraction(br1, MULT8, price)
408- let votingPowerEta = 1000
409- let rest = asInt(surfResult[bFuncIdxRest])
410- let additionalLimitWaves = fraction(additionalLimitUsdn, MULT8, price)
411- $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d%d%d", toString(surfAmount), toString(gNsbtAmount), toString(additionalLimitUsdn), toString(br0), toString(br1), toString(priceSurf2Waves0), toString(priceSurf2Waves1), toString(votingPowerEta), toString(rest), toString(additionalLimitWaves)], SEP))
412- }
419+ let gNsbtAmount = (surfAmount / 60)
420+ let limitOld = asSwapParamsSTRUCT(invoke(neutrinoContract, "swapParamsByUserSYSREADONLY", [userAddressStrOpt, 0], nil))._1
421+ let limitNew = asSwapParamsSTRUCT(invoke(neutrinoContract, "swapParamsByUserSYSREADONLY", [userAddressStrOpt, gNsbtAmount], nil))._1
422+ let price = asInt(surfResult[bFuncIdxWavesPrice])
423+ let additionalLimitUsdn = (limitNew - limitOld)
424+ let additionalLimitWaves = fraction(additionalLimitUsdn, MULT8, price)
425+ let br0 = asInt(surfResult[bFuncIdxBRStart])
426+ let br1 = asInt(surfResult[bFuncIdxBREnd])
427+ let priceSurf2Waves0 = fraction(br0, MULT8, price)
428+ let priceSurf2Waves1 = fraction(br1, MULT8, price)
429+ let votingPowerEta = 1000
430+ let newVotingPower = 4242
431+ let rest = asInt(surfResult[bFuncIdxRest])
432+ $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(votingPowerEta), toString(newVotingPower), toString(rest)], SEP))
413433 }
414434
415435
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 WAVESID = fromBase58String("WAVES")
2323
2424 let nMetricIdxPrice = 0
2525
2626 let nMetricIdxUsdnLockedBalance = 1
2727
2828 let nMetricIdxWavesLockedBalance = 2
2929
3030 let nMetricIdxReserve = 3
3131
3232 let nMetricIdxReserveInUsdn = 4
3333
3434 let nMetricIdxUsdnSupply = 5
3535
3636 let nMetricIdxSurplus = 6
3737
3838 let nMetricIdxSurplusPercent = 7
3939
4040 let nMetricIdxBR = 8
4141
4242 let nMetricIdxNsbtSupply = 9
4343
4444 let nMetricIdxMaxNsbtSupply = 10
4545
4646 let nMetricIdxSurfSupply = 11
4747
4848 let bFuncIdxSurf = 0
4949
5050 let bFuncIdxWaves = 1
5151
5252 let bFuncIdxUsdn = 2
5353
5454 let bFuncIdxReserveStart = 3
5555
5656 let bFuncIdxSupplyStart = 4
5757
5858 let bFuncIdxBRStart = 5
5959
6060 let bFuncIdxReserveEnd = 6
6161
6262 let bFuncIdxSupplyEnd = 7
6363
6464 let bFuncIdxBREnd = 8
6565
6666 let bFuncIdxRest = 9
6767
6868 let bFuncIdxWavesPrice = 10
6969
7070 func keyNeutrinoAddress () = "%s%s__config__neutrinoAddress"
7171
7272
7373 func keyNeutrinoAssetId () = "neutrino_asset_id"
7474
7575
7676 func keyLiquidationContractAddress () = "liquidation_contract"
7777
7878
7979 func keyRPDContract () = "rpd_contract"
8080
8181
8282 func keyAuctionContract () = "auction_contract"
8383
8484
8585 func keyContolContract () = "control_contract"
8686
8787
8888 func keyNsbtAssetId () = "bond_asset_id"
8989
9090
9191 func keySurfAssetId () = "surf_asset_id"
9292
9393
9494 func keyBalanceLocked () = "balance_lock_"
9595
9696
9797 func keyWavesLockedBalance () = (keyBalanceLocked() + "waves")
9898
9999
100100 func keyNeutrinoLockedBalance () = (keyBalanceLocked() + "neutrino")
101101
102102
103103 func keyMinWavesSwapAmount () = "min_waves_swap_amount"
104104
105105
106106 func keyMinNeutrinoSwapAmount () = "min_neutrino_swap_amount"
107107
108108
109109 func keyWavesOutFeePart () = "wavesOut_swap_feePart"
110110
111111
112112 func keyNeutrinoOutFeePart () = "neutrinoOut_swap_feePart"
113+
114+
115+func keySwapAmountAParam () = "%s%s__config__swapAParam"
116+
117+
118+func keySwapAmountBParam () = "%s%s__config__swapBParam"
113119
114120
115121 func keyNsbtLockContract () = "%s__nsbtLockContract"
116122
117123
118124 func keyMathContract () = "%s__mathContract"
119125
120126
121127 func keyBalanceWavesLockInterval () = "balance_waves_lock_interval"
122128
123129
124130 func keyBalanceNeutrinoLockInterval () = "balance_neutrino_lock_interval"
125131
126132
127133 func keyPrice () = "price"
128134
129135
130136 func keyLockParamStartBlock (userAddress) = makeString(["%s%s%s", "paramByUser", userAddress, "start"], SEP)
131137
132138
133139 func keyHalfLife () = "%s__halfLife"
134140
135141
136142 func keyMinLockAmount () = "%s__minLockAmount"
137143
138144
139145 func keyMinWavesForNsbtBuy () = "min_waves_nsbt_buy"
140146
141147
142148 func keyMinNsbtSell () = "min_nsbt_sell"
143149
144150
145151 func getStringOrFail (address,key) = valueOrErrorMessage(getString(address, key), makeString(["mandatory ", toString(address), ".", key, " is not defined"], ""))
146152
147153
148154 func getIntOrFail (address,key) = valueOrErrorMessage(getInteger(address, key), makeString(["mandatory ", toString(address), ".", key, " is not defined"], ""))
149155
150156
151157 func getBoolOrFail (address,key) = valueOrErrorMessage(getBoolean(address, key), makeString(["mandatory ", toString(address), ".", key, " is not defined"], ""))
152158
153159
154160 func convertNeutrinoToWaves (amount,price) = fraction(amount, MULT8, price)
155161
156162
157163 func convertWavesToNeutrino (amount,price) = fraction(amount, price, MULT8)
158164
159165
160166 func asAnyList (val) = match val {
161167 case valAnyList: List[Any] =>
162168 valAnyList
163169 case _ =>
164170 throw("fail to cast into List[Any]")
165171 }
166172
167173
168174 func asInt (val) = match val {
169175 case valInt: Int =>
170176 valInt
171177 case _ =>
172178 throw("fail to cast into Int")
173179 }
174180
175181
176182 func asString (val) = match val {
177183 case valStr: String =>
178184 valStr
179185 case _ =>
180186 throw("fail to cast into String")
181187 }
182188
183189
184190 func asTuple2Ints (val) = match val {
185191 case v: (Int, Int) =>
186192 v
187193 case _ =>
188194 throw("fail to cast into Tuple2 ints")
189195 }
190196
191197
192198 func asSwapParamsSTRUCT (val) = match val {
193199 case struct: (Int, Int, Int, Int, Int) =>
194200 struct
195201 case _ =>
196202 throw("fail to cast into Int")
197203 }
198204
199205
200206 func toTimestamp (start) = if ((0 > start))
201207 then -1
202208 else match blockInfoByHeight(start) {
203209 case block: BlockInfo =>
204210 block.timestamp
205211 case _ =>
206212 -1
207213 }
208214
209215
210216 func toX18 (origVal,origScaleMult) = fraction(toBigInt(origVal), MULT18, toBigInt(origScaleMult))
211217
212218
213219 func fromX18 (val,resultScaleMult) = toInt(fraction(val, toBigInt(resultScaleMult), MULT18))
214220
215221
216222 let neutrinoContract = addressFromStringValue(getStringOrFail(this, keyNeutrinoAddress()))
217223
218224 let controlContract = addressFromStringValue(getStringOrFail(neutrinoContract, keyContolContract()))
219225
220226 let auctionContract = addressFromStringValue(getStringOrFail(neutrinoContract, keyAuctionContract()))
221227
222228 let liquidationContract = getStringOrFail(neutrinoContract, keyLiquidationContractAddress())
223229
224230 let rpdContract = addressFromStringValue(getStringOrFail(neutrinoContract, keyRPDContract()))
225231
226232 let mathContract = addressFromStringValue(getStringOrFail(this, keyMathContract()))
227233
228234 let nsbtStakingContract = addressFromStringValue(getStringOrFail(this, keyNsbtLockContract()))
229235
230236 let neutrinoAssetIdString = getStringOrFail(neutrinoContract, keyNeutrinoAssetId())
231237
232238 let neutrinoAssetId = fromBase58String(neutrinoAssetIdString)
233239
234240 let nsbtAssetIdStr = getStringValue(neutrinoContract, keyNsbtAssetId())
235241
236242 let nsbtAssetId = fromBase58String(nsbtAssetIdStr)
237243
238244 let surfAssetIdStr = getStringValue(auctionContract, keySurfAssetId())
239245
240246 let surfAssetId = fromBase58String(surfAssetIdStr)
241247
242248 func minWavesForNsbtBuy () = asInt(invoke(auctionContract, "minWavesAmountNsbtBuySYSREADONLY", nil, nil))
243249
244250
245251 func minNsbtForSell () = asInt(invoke(auctionContract, "minNsbtAmountForSellSYSREADONLY", nil, nil))
246252
247253
248254 func minWavesForSurfBuy () = asInt(invoke(auctionContract, "minWavesAmountSurfBuySYSREADONLY", nil, nil))
249255
250256
251257 func minUsdnForSurfBuy () = asInt(invoke(auctionContract, "minUsdnAmountSurfBuySYSREADONLY", nil, nil))
252258
253259
254260 func privateNsbtPriceREST () = {
255261 let prices = asAnyList(invoke(mathContract, "calcContractNsbtPriceSYSREADONLY", [0], nil))
256262 let nsbt2usdnPrice = asInt(prices[0])
257263 let nsbt2wavesPrice = asInt(prices[1])
258264 $Tuple2(IntegerEntry("nsbt2usdnPrice", nsbt2usdnPrice), IntegerEntry("nsbt2wavesPrice", nsbt2wavesPrice))
259265 }
260266
261267
262268 func getLockedOnRpd (addrStr,assetIdStr) = {
263269 let key = makeString(["rpd_balance", assetIdStr, addrStr], "_")
264270 valueOrElse(getInteger(rpdContract, key), 0)
265271 }
266272
267273
268274 @Callable(i)
269275 func constructor (neutrinoAddress,nsbtLockAddress,mathAddress) = if ((i.caller != this))
270276 then throw("not authorized")
271277 else [StringEntry(keyNeutrinoAddress(), neutrinoAddress), StringEntry(keyNsbtLockContract(), nsbtLockAddress), StringEntry(keyMathContract(), mathAddress)]
272278
273279
274280
275281 @Callable(i)
276282 func neutrinoStatsREADONLY () = {
277283 let neutrinoMetrics = asAnyList(invoke(mathContract, "calcNeutinoMetricsREADONLY", nil, nil))
278284 let prices = asAnyList(invoke(mathContract, "calcContractNsbtPriceSYSREADONLY", [0], nil))
279285 let currentPrice = asInt(neutrinoMetrics[nMetricIdxPrice])
280286 let neutrinoLockedBalance = asInt(neutrinoMetrics[nMetricIdxUsdnLockedBalance])
281287 let wavesLockedBalance = asInt(neutrinoMetrics[nMetricIdxWavesLockedBalance])
282288 let reservesInWaves = asInt(neutrinoMetrics[nMetricIdxReserve])
283289 let reservesInUsdn = asInt(neutrinoMetrics[nMetricIdxReserveInUsdn])
284290 let neutrinoSupply = asInt(neutrinoMetrics[nMetricIdxUsdnSupply])
285291 let surplus = asInt(neutrinoMetrics[nMetricIdxSurplus])
286292 let surplusPercent = asInt(neutrinoMetrics[nMetricIdxSurplusPercent])
287293 let BR = asInt(neutrinoMetrics[nMetricIdxBR])
288294 let nsbtSupply = asInt(neutrinoMetrics[nMetricIdxNsbtSupply])
289295 let maxNsbtSupply = asInt(neutrinoMetrics[nMetricIdxMaxNsbtSupply])
290296 let nsbt2usdnPrice = asInt(prices[0])
291297 let nsbt2wavesPrice = asInt(prices[1])
292298 let minWaves4NsbtBuy = minWavesForNsbtBuy()
293299 let minNsbtsell = minNsbtForSell()
294300 let minNsbtLockAmt = getIntOrFail(nsbtStakingContract, keyMinLockAmount())
295- let minWaves4SurfBuy = minWavesForSurfBuy()
296- let minUsdn4SurfBuy = minUsdnForSurfBuy()
297301 let maxWaves2BuySurf = (fraction(neutrinoSupply, MULT8, currentPrice) - reservesInWaves)
298302 let maxUsdn2BuySurf = (neutrinoSupply - reservesInUsdn)
299303 let surfPriceInUsdn = fraction(reservesInWaves, currentPrice, neutrinoSupply)
300304 let surfPriceInWaves = fraction(reservesInWaves, 1, neutrinoSupply)
301- $Tuple2(nil, makeString(["%d%d%d%d%d%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(minWaves4NsbtBuy), toString(minNsbtsell), toString(minNsbtLockAmt), toString(minWaves4SurfBuy), toString(minUsdn4SurfBuy), toString(maxWaves2BuySurf), toString(maxUsdn2BuySurf), toString(surfPriceInUsdn), toString(surfPriceInWaves)], SEP))
305+ $Tuple2(nil, makeString(["%d%d%d%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(minWaves4NsbtBuy), toString(minNsbtsell), toString(minNsbtLockAmt), toString(maxWaves2BuySurf), toString(maxUsdn2BuySurf), toString(surfPriceInUsdn), toString(surfPriceInWaves)], SEP))
302306 }
303307
304308
305309
306310 @Callable(i)
307311 func swapInfoREADONLY (userAddressStrOpt) = {
308312 let currentPrice = getIntegerValue(controlContract, keyPrice())
309313 let minWavesSwapAmt = getIntegerValue(neutrinoContract, keyMinWavesSwapAmount())
310314 let minUsdnSwapAmt = getIntegerValue(neutrinoContract, keyMinNeutrinoSwapAmount())
311315 let waves2UsdnFee = getIntegerValue(neutrinoContract, keyWavesOutFeePart())
312316 let usdn2WavesFee = getIntegerValue(neutrinoContract, keyNeutrinoOutFeePart())
313317 let usdnSwapDelayDuration = getIntegerValue(neutrinoContract, keyBalanceNeutrinoLockInterval())
314318 let wavesSwapDelayDuration = getIntegerValue(neutrinoContract, keyBalanceWavesLockInterval())
315- let $t01062210786 = asSwapParamsSTRUCT(invoke(neutrinoContract, "swapParamsByUserSYSREADONLY", [userAddressStrOpt, 0], nil))
316- let swapLimitMaxUsdn = $t01062210786._1
317- let swapLimitSpentUsdn = $t01062210786._2
318- let blcks2LmtReset = $t01062210786._3
319+ let $t01052910693 = asSwapParamsSTRUCT(invoke(neutrinoContract, "swapParamsByUserSYSREADONLY", [userAddressStrOpt, 0], nil))
320+ let swapLimitMaxUsdn = $t01052910693._1
321+ let swapLimitSpentUsdn = $t01052910693._2
322+ let blcks2LmtReset = $t01052910693._3
319323 let swapLimitMaxWaves = convertNeutrinoToWaves(swapLimitMaxUsdn, currentPrice)
320324 $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(swapLimitMaxWaves), toString(swapLimitMaxUsdn), toString(swapLimitSpentUsdn)], SEP))
321325 }
322326
323327
324328
325329 @Callable(i)
326330 func gnsbtInfoREADONLY (userAddressStrOpt,nsbtAmtDiff) = {
327331 let currentPrice = getIntegerValue(controlContract, keyPrice())
328- let $t01179211975 = asSwapParamsSTRUCT(invoke(neutrinoContract, "swapParamsByUserSYSREADONLY", [userAddressStrOpt, 0], nil))
329- let limitMaxUsdn = $t01179211975._1
330- let limitSpent = $t01179211975._2
331- let blcks2LmtReset = $t01179211975._3
332- let gnsbtAmt = $t01179211975._4
333- let gnsbtAmtTotal = $t01179211975._5
334- let $t01197912187 = asSwapParamsSTRUCT(invoke(neutrinoContract, "swapParamsByUserSYSREADONLY", [userAddressStrOpt, nsbtAmtDiff], nil))
335- let limitMaxUsdnNEW = $t01197912187._1
336- let limitSpentNEW = $t01197912187._2
337- let blcks2LmtResetNEW = $t01197912187._3
338- let gnsbtAmtNEW = $t01197912187._4
339- let gnsbtAmtTotalNEW = $t01197912187._5
332+ let $t01169911882 = asSwapParamsSTRUCT(invoke(neutrinoContract, "swapParamsByUserSYSREADONLY", [userAddressStrOpt, 0], nil))
333+ let limitMaxUsdn = $t01169911882._1
334+ let limitSpent = $t01169911882._2
335+ let blcks2LmtReset = $t01169911882._3
336+ let gnsbtAmt = $t01169911882._4
337+ let gnsbtAmtTotal = $t01169911882._5
338+ let $t01188612094 = asSwapParamsSTRUCT(invoke(neutrinoContract, "swapParamsByUserSYSREADONLY", [userAddressStrOpt, nsbtAmtDiff], nil))
339+ let limitMaxUsdnNEW = $t01188612094._1
340+ let limitSpentNEW = $t01188612094._2
341+ let blcks2LmtResetNEW = $t01188612094._3
342+ let gnsbtAmtNEW = $t01188612094._4
343+ let gnsbtAmtTotalNEW = $t01188612094._5
340344 let limitMaxWaves = convertNeutrinoToWaves(limitMaxUsdn, currentPrice)
341345 let limitMaxWavesNEW = convertNeutrinoToWaves(limitMaxUsdnNEW, currentPrice)
342346 let gnsbtShare = if ((gnsbtAmtTotal != 0))
343347 then fraction((gnsbtAmt * 100), MULT12, gnsbtAmtTotal)
344348 else 0
345349 let gnsbtShareNEW = if ((gnsbtAmtTotalNEW != 0))
346350 then fraction((gnsbtAmtNEW * 100), MULT12, gnsbtAmtTotalNEW)
347351 else 0
348352 let rewardInfo = asString(invoke(nsbtStakingContract, "unclaimedRewardsREADONLY", [userAddressStrOpt], nil))
349353 let nsbtAmt = gnsbtAmt
350354 let nsbtAmtNew = gnsbtAmtNEW
351355 let nsbtAmtStakedTotal = gnsbtAmtTotal
352356 let nsbtAmtStakedTotalNew = gnsbtAmtTotalNEW
353357 let nsbtData = asAnyList(invoke(nsbtStakingContract, "nsbtStakingSYSREADONLY", [userAddressStrOpt], nil))
354358 let isEmptyNsbtBalance = if ((gnsbtAmt == 0))
355359 then (gnsbtAmtNEW == 0)
356360 else false
357361 let startHeight = if (isEmptyNsbtBalance)
358362 then -1
359363 else asInt(nsbtData[2])
360364 let startTimestamp = toTimestamp(startHeight)
361365 let halfLife = getIntOrFail(nsbtStakingContract, keyHalfLife())
362366 let startHeightNew = if (isEmptyNsbtBalance)
363367 then -1
364368 else asInt(invoke(mathContract, "mergeStakesREADONLY", [gnsbtAmt, startHeight, gnsbtAmtNEW, height, halfLife], nil))
365369 let startTimestampNew = toTimestamp(startHeightNew)
366370 $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))
367371 }
368372
369373
370374
371375 @Callable(i)
376+func neutrinoConfigREADONLY () = {
377+ let limitParamA = getIntegerValue(mathContract, keySwapAmountAParam())
378+ let limitParamB = getIntegerValue(mathContract, keySwapAmountBParam())
379+ let minWavesSwapAmt = getIntegerValue(neutrinoContract, keyMinWavesSwapAmount())
380+ let minUsdnSwapAmt = getIntegerValue(neutrinoContract, keyMinNeutrinoSwapAmount())
381+ let waves2UsdnFee = getIntegerValue(neutrinoContract, keyWavesOutFeePart())
382+ let usdn2WavesFee = getIntegerValue(neutrinoContract, keyNeutrinoOutFeePart())
383+ let minWaves4NsbtBuy = minWavesForNsbtBuy()
384+ let minNsbtsell = minNsbtForSell()
385+ let minNsbtLockAmt = getIntegerValue(nsbtStakingContract, keyMinLockAmount())
386+ let halfLife = getIntegerValue(nsbtStakingContract, keyHalfLife())
387+ let minWaves4SurfBuy = minWavesForSurfBuy()
388+ let minUsdn4SurfBuy = minUsdnForSurfBuy()
389+ $Tuple2(nil, makeString(["%d%d%d%d%d%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)], SEP))
390+ }
391+
392+
393+
394+@Callable(i)
372395 func buyNsbtREADONLY (wavesPay) = {
373396 let minWavesAmountNsbtBuy = minWavesForNsbtBuy()
374397 if ((minWavesAmountNsbtBuy > wavesPay))
375398 then throw((("min " + toString(minWavesAmountNsbtBuy)) + " waves expected"))
376399 else {
377400 let curveResult = asAnyList(invoke(mathContract, "curveFunctionREADONLY", [wavesPay], nil))
378401 if ((curveResult == curveResult))
379402 then {
380403 let nsbtAmount = asInt(curveResult[0])
381404 if ((0 >= nsbtAmount))
382405 then throw("nsbtAmount <= 0")
383406 else $Tuple2(nil, makeString(["%d", toString(nsbtAmount)], SEP))
384407 }
385408 else throw("Strict value is not equal to itself.")
386409 }
387410 }
388411
389412
390413
391414 @Callable(i)
392415 func buySurfREADONLY (userAddressStrOpt,amount,assetIdStr) = {
393416 let assetId = fromBase58String(assetIdStr)
394417 let surfResult = asAnyList(invoke(mathContract, "surfFunctionREADONLY", [amount, assetId], nil))
395418 let surfAmount = asInt(surfResult[bFuncIdxSurf])
396- if ((0 >= surfAmount))
397- then throw("surfAmount <= 0")
398- else {
399- let gNsbtAmount = (surfAmount / 60)
400- let limitOld = asSwapParamsSTRUCT(invoke(neutrinoContract, "swapParamsByUserSYSREADONLY", [userAddressStrOpt, 0], nil))._1
401- let limitNew = asSwapParamsSTRUCT(invoke(neutrinoContract, "swapParamsByUserSYSREADONLY", [userAddressStrOpt, gNsbtAmount], nil))._1
402- let additionalLimitUsdn = (limitNew - limitOld)
403- let br0 = asInt(surfResult[bFuncIdxBRStart])
404- let br1 = asInt(surfResult[bFuncIdxBREnd])
405- let price = asInt(surfResult[bFuncIdxWavesPrice])
406- let priceSurf2Waves0 = fraction(br0, MULT8, price)
407- let priceSurf2Waves1 = fraction(br1, MULT8, price)
408- let votingPowerEta = 1000
409- let rest = asInt(surfResult[bFuncIdxRest])
410- let additionalLimitWaves = fraction(additionalLimitUsdn, MULT8, price)
411- $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d%d%d", toString(surfAmount), toString(gNsbtAmount), toString(additionalLimitUsdn), toString(br0), toString(br1), toString(priceSurf2Waves0), toString(priceSurf2Waves1), toString(votingPowerEta), toString(rest), toString(additionalLimitWaves)], SEP))
412- }
419+ let gNsbtAmount = (surfAmount / 60)
420+ let limitOld = asSwapParamsSTRUCT(invoke(neutrinoContract, "swapParamsByUserSYSREADONLY", [userAddressStrOpt, 0], nil))._1
421+ let limitNew = asSwapParamsSTRUCT(invoke(neutrinoContract, "swapParamsByUserSYSREADONLY", [userAddressStrOpt, gNsbtAmount], nil))._1
422+ let price = asInt(surfResult[bFuncIdxWavesPrice])
423+ let additionalLimitUsdn = (limitNew - limitOld)
424+ let additionalLimitWaves = fraction(additionalLimitUsdn, MULT8, price)
425+ let br0 = asInt(surfResult[bFuncIdxBRStart])
426+ let br1 = asInt(surfResult[bFuncIdxBREnd])
427+ let priceSurf2Waves0 = fraction(br0, MULT8, price)
428+ let priceSurf2Waves1 = fraction(br1, MULT8, price)
429+ let votingPowerEta = 1000
430+ let newVotingPower = 4242
431+ let rest = asInt(surfResult[bFuncIdxRest])
432+ $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(votingPowerEta), toString(newVotingPower), toString(rest)], SEP))
413433 }
414434
415435
416436
417437 @Callable(i)
418438 func walletInfoREADONLY (userAddressStr) = {
419439 let addr = addressFromStringValue(userAddressStr)
420440 let balance = wavesBalance(addr)
421441 let usdnLocked = getLockedOnRpd(userAddressStr, neutrinoAssetIdString)
422442 let nsbtLockedOld = getLockedOnRpd(userAddressStr, nsbtAssetIdStr)
423443 let nsbtData = asAnyList(invoke(nsbtStakingContract, "nsbtStakingSYSREADONLY", [userAddressStr], nil))
424444 let nsbtLocked = asInt(nsbtData[0])
425445 let gNsbtBalance = nsbtLocked
426446 let surfLocked = 42
427447 let votingPower = 4242
428448 let votingPowerMax = 424242
429449 let heightVotingPowerMax = 42424242
430450 $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d%d%d", toString((balance.regular - balance.available)), toString(height), toString(usdnLocked), toString(nsbtLockedOld), toString(nsbtLocked), toString(gNsbtBalance), toString(surfLocked), toString(votingPower), toString(votingPowerMax), toString(heightVotingPowerMax)], SEP))
431451 }
432452
433453
434454
435455 @Callable(i)
436456 func mergedStakeREADONLY (amount1,height1,amount2,height2) = {
437457 let halfLife = getIntOrFail(nsbtStakingContract, keyHalfLife())
438458 let h = asInt(invoke(mathContract, "mergeStakesREADONLY", [amount1, height1, amount2, height2, halfLife], nil))
439459 if ((h == h))
440460 then $Tuple2(nil, makeString(["%d%d", toString((amount1 + amount2)), toString(h)], SEP))
441461 else throw("Strict value is not equal to itself.")
442462 }
443463
444464
445465
446466 @Callable(i)
447467 func unstakeComissionAmountByHeightREADONLY (amount,startHeight) = {
448468 let halfLife = getIntOrFail(nsbtStakingContract, keyHalfLife())
449469 let a = asInt(invoke(mathContract, "getUnstakeComissionAmountREADONLY", [amount, startHeight, halfLife], nil))
450470 if ((a == a))
451471 then $Tuple2(nil, makeString(["%d", toString(a)], SEP))
452472 else throw("Strict value is not equal to itself.")
453473 }
454474
455475
456476
457477 @Callable(i)
458478 func unstakeComissionAmountByUserREADONLY (amount,userAddress) = {
459479 let halfLife = getIntOrFail(nsbtStakingContract, keyHalfLife())
460480 let startHeight = valueOrElse(getInteger(nsbtStakingContract, keyLockParamStartBlock(userAddress)), height)
461481 let a = asInt(invoke(mathContract, "getUnstakeComissionAmountREADONLY", [amount, startHeight, halfLife], nil))
462482 if ((a == a))
463483 then $Tuple2(nil, makeString(["%d", toString(a)], SEP))
464484 else throw("Strict value is not equal to itself.")
465485 }
466486
467487
468488
469489 @Callable(i)
470490 func neutrinoStateREST () = {
471491 let neutrinoMetrics = asAnyList(invoke(mathContract, "calcNeutinoMetricsREADONLY", nil, nil))
472492 let currentPrice = asInt(neutrinoMetrics[nMetricIdxPrice])
473493 let neutrinoLockedBalance = asInt(neutrinoMetrics[nMetricIdxUsdnLockedBalance])
474494 let wavesLockedBalance = asInt(neutrinoMetrics[nMetricIdxWavesLockedBalance])
475495 let reservesInWaves = asInt(neutrinoMetrics[nMetricIdxReserve])
476496 let reservesInUsdn = asInt(neutrinoMetrics[nMetricIdxReserveInUsdn])
477497 let neutrinoSupply = asInt(neutrinoMetrics[nMetricIdxUsdnSupply])
478498 let surplus = asInt(neutrinoMetrics[nMetricIdxSurplus])
479499 let surplusPercent = asInt(neutrinoMetrics[nMetricIdxSurplusPercent])
480500 let BR = asInt(neutrinoMetrics[nMetricIdxBR])
481501 let nsbtSupply = asInt(neutrinoMetrics[nMetricIdxNsbtSupply])
482502 let nsbtSupplyMax = asInt(neutrinoMetrics[nMetricIdxMaxNsbtSupply])
483503 let surfSupply = asInt(neutrinoMetrics[nMetricIdxSurfSupply])
484504 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)], "__"))
485505 }
486506
487507
488508
489509 @Callable(i)
490510 func nsbtPriceREST () = {
491511 let prices = asAnyList(invoke(mathContract, "calcContractNsbtPriceSYSREADONLY", [0], nil))
492512 let nsbt2usdnPrice = asInt(prices[0])
493513 let nsbt2wavesPrice = asInt(prices[1])
494514 let restData = makeString(["startNsbtPriceREST", toString(nsbt2usdnPrice), toString(nsbt2wavesPrice), "endNsbtPriceREST"], "__")
495515 throw(restData)
496516 }
497517
498518
499519
500520 @Callable(i)
501521 func surfPriceREST () = {
502522 let neutrinoMetrics = asAnyList(invoke(mathContract, "calcNeutinoMetricsREADONLY", nil, nil))
503523 let currentPrice = asInt(neutrinoMetrics[nMetricIdxPrice])
504524 let reservesInWaves = asInt(neutrinoMetrics[nMetricIdxReserve])
505525 let neutrinoSupply = asInt(neutrinoMetrics[nMetricIdxUsdnSupply])
506526 let surfPriceInUsdn = fraction(reservesInWaves, currentPrice, neutrinoSupply)
507527 let surfPriceInWaves = fraction(reservesInWaves, MULT8, neutrinoSupply)
508528 let restData = makeString(["startSurfPriceREST", toString(surfPriceInUsdn), toString(surfPriceInWaves), "endSurfPriceREST"], "__")
509529 throw(restData)
510530 }
511531
512532

github/deemru/w8io/026f985 
73.12 ms