tx · 3WwykDWxedFToY1qs6cx9cJhsbnVpZHgZa7rWjJrF9Bq

3Mxd5o7PwH76ZkN8zG4xwDLubEnbkaihKzi:  -0.04000000 Waves

2022.09.23 12:08 [2241587] smart account 3Mxd5o7PwH76ZkN8zG4xwDLubEnbkaihKzi > SELF 0.00000000 Waves

{ "type": 13, "id": "3WwykDWxedFToY1qs6cx9cJhsbnVpZHgZa7rWjJrF9Bq", "fee": 4000000, "feeAssetId": null, "timestamp": 1663924189432, "version": 1, "sender": "3Mxd5o7PwH76ZkN8zG4xwDLubEnbkaihKzi", "senderPublicKey": "BwVRZtTzoCigEsffCvQ9uo7WvkoBNNGVjX4nat5X5zyQ", "proofs": [ "5RTM61XWJiMQ8VdyjmBT72VQ7z9fXrcaA8mdhbgqJfV5b73tXCSdCci9tJaEyzYhDcQPiT7j8rkrg9dDPnS8HWCh" ], "script": "base64:AAIFAAAAAAAAAEMIAhIFCgMICAgSABIDCgEIEgQKAggBEgASAwoBARIFCgMIAQgSAwoBCBIGCgQBAQEBEgQKAgEBEgQKAgEIEgASABIAAAAAcQAAAAALcmV2aXNpb25OdW0CAAAAAAAAAAAGRVVMRVI4AAAAAAAQM8TWAAAAAAVNVUxUNgAAAAAAAA9CQAAAAAAGTVVMVFg2CQABNgAAAAEAAAAAAAAPQkAAAAAABU1VTFQ4AAAAAAAF9eEAAAAAAAZNVUxUWDgJAAE2AAAAAQAAAAAABfXhAAAAAAAGTVVMVDEyAAAAAOjUpRAAAAAAAAZNVUxUMTgJAAE2AAAAAQAN4Lazp2QAAAAAAAADU0VQAgAAAAJfXwAAAAALQlJQUk9URUNURUQAAAAAAAABhqAAAAAAB1dBVkVTSUQJAAJZAAAAAQIAAAAFV0FWRVMAAAAAD25NZXRyaWNJZHhQcmljZQAAAAAAAAAAAAAAAAAbbk1ldHJpY0lkeFVzZG5Mb2NrZWRCYWxhbmNlAAAAAAAAAAABAAAAABxuTWV0cmljSWR4V2F2ZXNMb2NrZWRCYWxhbmNlAAAAA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V0cmlub01ldHJpY3MFAAAAFG5NZXRyaWNJZHhVc2RuU3VwcGx5BAAAAA9zdXJmUHJpY2VJblVzZG4JAABrAAAAAwUAAAAPcmVzZXJ2ZXNJbldhdmVzBQAAAAxjdXJyZW50UHJpY2UFAAAADm5ldXRyaW5vU3VwcGx5BAAAABBzdXJmUHJpY2VJbldhdmVzCQAAawAAAAMFAAAAD3Jlc2VydmVzSW5XYXZlcwUAAAAFTVVMVDgFAAAADm5ldXRyaW5vU3VwcGx5BAAAAAhyZXN0RGF0YQkABLkAAAACCQAETAAAAAICAAAAEnN0YXJ0U3VyZlByaWNlUkVTVAkABEwAAAACCQABpAAAAAEFAAAAD3N1cmZQcmljZUluVXNkbgkABEwAAAACCQABpAAAAAEFAAAAEHN1cmZQcmljZUluV2F2ZXMJAARMAAAAAgIAAAAQZW5kU3VyZlByaWNlUkVTVAUAAAADbmlsAgAAAAJfXwkAAAIAAAABBQAAAAhyZXN0RGF0YQAAAACxWGfl", "chainId": 84, "height": 2241587, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 7DHDiNADCSJX9nAT79Q61ZYpCxtQpXkKXwc7Q7WMWYVW Next: DcGREuRf7iPdyFGm53cnAPfAEtpS8aDkfwUHA8CnnzMj Diff:
OldNewDifferences
442442 let gnsbtFromSurfCoeff = asInt(surfStakingCfg[1])
443443 let surfVotingPowerRestrictivePeriod = asInt(surfStakingCfg[2])
444444 let brToStartSurfTransformation = asInt(surfStakingCfg[3])
445- let shutdown = true
445+ let shutdown = valueOrElse(getBoolean(controlContract, "is_blocked"), false)
446446 $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", 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)], SEP))
447447 }
448448
500500
501501
502502 @Callable(i)
503-func walletInfoREADONLY (userAddressStrOpt) = {
504- let addr = addressFromString(userAddressStrOpt)
505- let balance = if (isDefined(addr))
506- then wavesBalance(value(addr))
507- else BalanceDetails(0, 0, 0, 0)
508- let usdnLocked = getLockedOnRpd(userAddressStrOpt, neutrinoAssetIdString)
509- let nsbtLockedOld = getLockedOnRpd(userAddressStrOpt, nsbtAssetIdStr)
510- let gnsbtData = asAnyList(invoke(gnsbtControllerContract, "gnsbtInfoSYSREADONLY", [userAddressStrOpt, 0, 0], nil))
503+func walletInfoREADONLY (userAddressStr) = {
504+ let addr = addressFromStringValue(userAddressStr)
505+ let balance = wavesBalance(addr)
506+ let usdnLocked = getLockedOnRpd(userAddressStr, neutrinoAssetIdString)
507+ let nsbtLockedOld = getLockedOnRpd(userAddressStr, nsbtAssetIdStr)
508+ let gnsbtData = asAnyList(invoke(gnsbtControllerContract, "gnsbtInfoSYSREADONLY", [userAddressStr, 0, 0], nil))
511509 let nsbtData = asAnyList(gnsbtData[2])
512510 let nsbtUser = asInt(nsbtData[0])
513511 let nsbtTotal = asInt(nsbtData[1])
520518 let gNsbtFromSurfTotal = asInt(surfData[3])
521519 let availableUsdnToClaimFromSurf = 0
522520 let alreadyClaimedUsdnFromSurf = 0
523- let gsnbtRestV2DATA = asAnyList(invoke(restV2Contract, "gnsbtInfoINTERNAL", [userAddressStrOpt, 0, 0], nil))
521+ let gsnbtRestV2DATA = asAnyList(invoke(restV2Contract, "gnsbtInfoINTERNAL", [userAddressStr, 0, 0], nil))
524522 let votingPower = asInt(gsnbtRestV2DATA[19])
525523 let votingPowerMax = asInt(gsnbtRestV2DATA[21])
526524 let votingPowerEta = asInt(gsnbtRestV2DATA[23])
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 WAVESID = fromBase58String("WAVES")
2525
2626 let nMetricIdxPrice = 0
2727
2828 let nMetricIdxUsdnLockedBalance = 1
2929
3030 let nMetricIdxWavesLockedBalance = 2
3131
3232 let nMetricIdxReserve = 3
3333
3434 let nMetricIdxReserveInUsdn = 4
3535
3636 let nMetricIdxUsdnSupply = 5
3737
3838 let nMetricIdxSurplus = 6
3939
4040 let nMetricIdxSurplusPercent = 7
4141
4242 let nMetricIdxBR = 8
4343
4444 let nMetricIdxNsbtSupply = 9
4545
4646 let nMetricIdxMaxNsbtSupply = 10
4747
4848 let nMetricIdxSurfSupply = 11
4949
5050 let bFuncIdxSurf = 0
5151
5252 let bFuncIdxWaves = 1
5353
5454 let bFuncIdxUsdn = 2
5555
5656 let bFuncIdxReserveStart = 3
5757
5858 let bFuncIdxSupplyStart = 4
5959
6060 let bFuncIdxBRStart = 5
6161
6262 let bFuncIdxReserveEnd = 6
6363
6464 let bFuncIdxSupplyEnd = 7
6565
6666 let bFuncIdxBREnd = 8
6767
6868 let bFuncIdxRest = 9
6969
7070 let bFuncIdxWavesPrice = 10
7171
7272 func keyNeutrinoAddress () = "%s%s__config__neutrinoAddress"
7373
7474
7575 func keyNeutrinoAssetId () = "neutrino_asset_id"
7676
7777
7878 func keyNsbtAssetId () = "bond_asset_id"
7979
8080
8181 func keySurfAssetId () = "surf_asset_id"
8282
8383
8484 func keyBalanceLocked () = "balance_lock_"
8585
8686
8787 func keyWavesLockedBalance () = (keyBalanceLocked() + "waves")
8888
8989
9090 func keyNeutrinoLockedBalance () = (keyBalanceLocked() + "neutrino")
9191
9292
9393 func keyMinWavesSwapAmount () = "min_waves_swap_amount"
9494
9595
9696 func keyMinNeutrinoSwapAmount () = "min_neutrino_swap_amount"
9797
9898
9999 func keyWavesOutFeePart () = "wavesOut_swap_feePart"
100100
101101
102102 func keyNeutrinoOutFeePart () = "neutrinoOut_swap_feePart"
103103
104104
105105 func keySwapAmountAParam () = "%s%s__config__swapAParam"
106106
107107
108108 func keySwapAmountBParam () = "%s%s__config__swapBParam"
109109
110110
111111 func keyUsdnSwapAmountAParam () = "%s%s__config__usdnSwapAParam"
112112
113113
114114 func keyUsdnSwapAmountBParam () = "%s%s__config__usdnSwapBParam"
115115
116116
117117 func keyNsbtLockContract () = "%s__nsbtLockContract"
118118
119119
120120 func keyMathContract () = "%s__mathContract"
121121
122122
123123 func brProtectedKEY () = "min_BR_protection_level"
124124
125125
126126 func keyBalanceWavesLockInterval () = "balance_waves_lock_interval"
127127
128128
129129 func keyBalanceNeutrinoLockInterval () = "balance_neutrino_lock_interval"
130130
131131
132132 func keyPrice () = "price"
133133
134134
135135 func keyLockParamStartBlock (userAddress) = makeString(["%s%s%s", "paramByUser", userAddress, "start"], SEP)
136136
137137
138138 func keyHalfLife () = "%s__halfLife"
139139
140140
141141 func keyMinLockAmount () = "%s__minLockAmount"
142142
143143
144144 func keyMinWavesForNsbtBuy () = "min_waves_nsbt_buy"
145145
146146
147147 func keyMinNsbtSell () = "min_nsbt_sell"
148148
149149
150150 func keyRpdContractBalanceKey (assetId) = ("rpd_balance_" + assetId)
151151
152152
153153 func getStringOrFail (address,key) = valueOrErrorMessage(getString(address, key), makeString(["mandatory ", toString(address), ".", key, " is not defined"], ""))
154154
155155
156156 func getIntOrFail (address,key) = valueOrErrorMessage(getInteger(address, key), makeString(["mandatory ", toString(address), ".", key, " is not defined"], ""))
157157
158158
159159 func getBoolOrFail (address,key) = valueOrErrorMessage(getBoolean(address, key), makeString(["mandatory ", toString(address), ".", key, " is not defined"], ""))
160160
161161
162162 func convertNeutrinoToWaves (amount,price) = fraction(amount, MULT8, price)
163163
164164
165165 func convertWavesToNeutrino (amount,price) = fraction(amount, price, MULT8)
166166
167167
168168 func asAnyList (val) = match val {
169169 case valAnyList: List[Any] =>
170170 valAnyList
171171 case _ =>
172172 throw("fail to cast into List[Any]")
173173 }
174174
175175
176176 func asInt (val) = match val {
177177 case valInt: Int =>
178178 valInt
179179 case _ =>
180180 throw("fail to cast into Int")
181181 }
182182
183183
184184 func asString (val) = match val {
185185 case valStr: String =>
186186 valStr
187187 case _ =>
188188 throw("fail to cast into String")
189189 }
190190
191191
192192 func asTuple2Ints (val) = match val {
193193 case v: (Int, Int) =>
194194 v
195195 case _ =>
196196 throw("fail to cast into Tuple2 ints")
197197 }
198198
199199
200200 func asSwapParamsSTRUCT (val) = match val {
201201 case struct: (Int, Int, Int, Int, Int, Int, Int) =>
202202 struct
203203 case _ =>
204204 throw("fail to cast into SwapParamsSTRUCT")
205205 }
206206
207207
208208 func toTimestamp (start) = if ((0 > start))
209209 then -1
210210 else match blockInfoByHeight(start) {
211211 case block: BlockInfo =>
212212 block.timestamp
213213 case _ =>
214214 -1
215215 }
216216
217217
218218 func toX18 (origVal,origScaleMult) = fraction(toBigInt(origVal), MULT18, toBigInt(origScaleMult))
219219
220220
221221 func fromX18 (val,resultScaleMult) = toInt(fraction(val, toBigInt(resultScaleMult), MULT18))
222222
223223
224224 let IdxControlCfgNeutrinoDapp = 1
225225
226226 let IdxControlCfgAuctionDapp = 2
227227
228228 let IdxControlCfgRpdDapp = 3
229229
230230 let IdxControlCfgMathDapp = 4
231231
232232 let IdxControlCfgLiquidationDapp = 5
233233
234234 let IdxControlCfgRestDapp = 6
235235
236236 let IdxControlCfgNodeRegistryDapp = 7
237237
238238 let IdxControlCfgNsbtStakingDapp = 8
239239
240240 let IdxControlCfgMediatorDapp = 9
241241
242242 let IdxControlCfgSurfStakingDapp = 10
243243
244244 let IdxControlCfgGnsbtControllerDapp = 11
245245
246246 let IdxControlCfgRestV2Dapp = 12
247247
248248 func keyControlAddress () = "%s%s__config__controlAddress"
249249
250250
251251 func keyControlCfg () = "%s__controlConfig"
252252
253253
254254 func readControlCfgOrFail (control) = split(getStringOrFail(control, keyControlCfg()), SEP)
255255
256256
257257 func getContractAddressOrFail (controlCfg,idx) = valueOrErrorMessage(addressFromString(controlCfg[idx]), ("Control cfg doesn't contain address at index " + toString(idx)))
258258
259259
260260 let controlContract = addressFromStringValue(valueOrElse(getString(this, keyControlAddress()), "3N4NS7d4Jo9a6F14LiFUKKYVdUkkf2eP4Zx"))
261261
262262 let controlCfg = readControlCfgOrFail(controlContract)
263263
264264 let mathContract = getContractAddressOrFail(controlCfg, IdxControlCfgMathDapp)
265265
266266 let neutrinoContract = getContractAddressOrFail(controlCfg, IdxControlCfgNeutrinoDapp)
267267
268268 let auctionContract = getContractAddressOrFail(controlCfg, IdxControlCfgAuctionDapp)
269269
270270 let liquidationContract = getContractAddressOrFail(controlCfg, IdxControlCfgLiquidationDapp)
271271
272272 let rpdContract = getContractAddressOrFail(controlCfg, IdxControlCfgRpdDapp)
273273
274274 let nsbtStakingContract = getContractAddressOrFail(controlCfg, IdxControlCfgNsbtStakingDapp)
275275
276276 let surfStakingContract = getContractAddressOrFail(controlCfg, IdxControlCfgSurfStakingDapp)
277277
278278 let gnsbtControllerContract = getContractAddressOrFail(controlCfg, IdxControlCfgGnsbtControllerDapp)
279279
280280 let restV2Contract = getContractAddressOrFail(controlCfg, IdxControlCfgRestV2Dapp)
281281
282282 let neutrinoAssetIdString = getStringOrFail(neutrinoContract, keyNeutrinoAssetId())
283283
284284 let neutrinoAssetId = fromBase58String(neutrinoAssetIdString)
285285
286286 let nsbtAssetIdStr = getStringValue(neutrinoContract, keyNsbtAssetId())
287287
288288 let nsbtAssetId = fromBase58String(nsbtAssetIdStr)
289289
290290 let surfAssetIdStr = getStringValue(auctionContract, keySurfAssetId())
291291
292292 let surfAssetId = fromBase58String(surfAssetIdStr)
293293
294294 func minWavesForNsbtBuy () = asInt(invoke(auctionContract, "minWavesAmountNsbtBuySYSREADONLY", nil, nil))
295295
296296
297297 func minNsbtForSell () = asInt(invoke(auctionContract, "minNsbtAmountForSellSYSREADONLY", nil, nil))
298298
299299
300300 func minWavesForSurfBuy () = asInt(invoke(auctionContract, "minWavesAmountSurfBuySYSREADONLY", nil, nil))
301301
302302
303303 func minUsdnForSurfBuy () = asInt(invoke(auctionContract, "minUsdnAmountSurfBuySYSREADONLY", nil, nil))
304304
305305
306306 func privateNsbtPriceREST () = {
307307 let prices = asAnyList(invoke(mathContract, "calcContractNsbtPriceSYSREADONLY", [0], nil))
308308 let nsbt2usdnPrice = asInt(prices[0])
309309 let nsbt2wavesPrice = asInt(prices[1])
310310 $Tuple2(IntegerEntry("nsbt2usdnPrice", nsbt2usdnPrice), IntegerEntry("nsbt2wavesPrice", nsbt2wavesPrice))
311311 }
312312
313313
314314 func getLockedOnRpd (addrStr,assetIdStr) = {
315315 let key = makeString(["rpd_balance", assetIdStr, addrStr], "_")
316316 valueOrElse(getInteger(rpdContract, key), 0)
317317 }
318318
319319
320320 @Callable(i)
321321 func constructor (neutrinoAddress,nsbtLockAddress,mathAddress) = if ((i.caller != this))
322322 then throw("not authorized")
323323 else [StringEntry(keyNeutrinoAddress(), neutrinoAddress), StringEntry(keyNsbtLockContract(), nsbtLockAddress), StringEntry(keyMathContract(), mathAddress)]
324324
325325
326326
327327 @Callable(i)
328328 func neutrinoStatsREADONLY () = {
329329 let neutrinoMetrics = asAnyList(invoke(mathContract, "calcNeutinoMetricsREADONLY", nil, nil))
330330 let prices = asAnyList(invoke(mathContract, "calcContractNsbtPriceSYSREADONLY", [0], nil))
331331 let currentPrice = asInt(neutrinoMetrics[nMetricIdxPrice])
332332 let neutrinoLockedBalance = asInt(neutrinoMetrics[nMetricIdxUsdnLockedBalance])
333333 let wavesLockedBalance = asInt(neutrinoMetrics[nMetricIdxWavesLockedBalance])
334334 let reservesInWaves = asInt(neutrinoMetrics[nMetricIdxReserve])
335335 let reservesInUsdn = asInt(neutrinoMetrics[nMetricIdxReserveInUsdn])
336336 let neutrinoSupply = asInt(neutrinoMetrics[nMetricIdxUsdnSupply])
337337 let surplus = asInt(neutrinoMetrics[nMetricIdxSurplus])
338338 let surplusPercent = asInt(neutrinoMetrics[nMetricIdxSurplusPercent])
339339 let BR = asInt(neutrinoMetrics[nMetricIdxBR])
340340 let nsbtSupply = asInt(neutrinoMetrics[nMetricIdxNsbtSupply])
341341 let maxNsbtSupply = asInt(neutrinoMetrics[nMetricIdxMaxNsbtSupply])
342342 let nsbt2usdnPrice = asInt(prices[0])
343343 let nsbt2wavesPrice = asInt(prices[1])
344344 let minWaves4NsbtBuy = minWavesForNsbtBuy()
345345 let minNsbtsell = minNsbtForSell()
346346 let minNsbtLockAmt = getIntOrFail(nsbtStakingContract, keyMinLockAmount())
347347 let maxWaves2BuySurf = (fraction(neutrinoSupply, MULT8, currentPrice) - reservesInWaves)
348348 let maxUsdn2BuySurf = (neutrinoSupply - reservesInUsdn)
349349 let surfPriceInUsdn = BR
350350 let surfPriceInWaves = fraction(BR, MULT6, currentPrice)
351351 let totalUsdnStaked = valueOrElse(getInteger(rpdContract, keyRpdContractBalanceKey(neutrinoAssetIdString)), 0)
352352 $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(minWaves4NsbtBuy), toString(minNsbtsell), toString(minNsbtLockAmt), toString(totalUsdnStaked)], SEP))
353353 }
354354
355355
356356
357357 @Callable(i)
358358 func swapInfoREADONLY (userAddressStrOpt) = {
359359 let currentPrice = getIntegerValue(controlContract, keyPrice())
360360 let minWavesSwapAmt = getIntegerValue(neutrinoContract, keyMinWavesSwapAmount())
361361 let minUsdnSwapAmt = getIntegerValue(neutrinoContract, keyMinNeutrinoSwapAmount())
362362 let waves2UsdnFee = getIntegerValue(neutrinoContract, keyWavesOutFeePart())
363363 let usdn2WavesFee = getIntegerValue(neutrinoContract, keyNeutrinoOutFeePart())
364364 let usdnSwapDelayDuration = getIntegerValue(neutrinoContract, keyBalanceNeutrinoLockInterval())
365365 let wavesSwapDelayDuration = getIntegerValue(neutrinoContract, keyBalanceWavesLockInterval())
366366 let swapParamsSTRUCT = asSwapParamsSTRUCT(invoke(neutrinoContract, "swapParamsByUserSYSREADONLY", [userAddressStrOpt, 0], nil))
367367 let swapLimitMaxUsdn = swapParamsSTRUCT._1
368368 let swapLimitSpentUsdn = swapParamsSTRUCT._2
369369 let blcks2LmtReset = swapParamsSTRUCT._3
370370 let wavesSwapLimitMax = swapParamsSTRUCT._6
371371 let usdnSwapLimitMax = swapParamsSTRUCT._7
372372 $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))
373373 }
374374
375375
376376
377377 @Callable(i)
378378 func gnsbtInfoREADONLY (userAddressStrOpt,nsbtAmtDiff) = {
379379 let currentPrice = getIntegerValue(controlContract, keyPrice())
380380 let swapParams = asSwapParamsSTRUCT(invoke(neutrinoContract, "swapParamsByUserSYSREADONLY", [userAddressStrOpt, 0], nil))
381381 let blcks2LmtReset = swapParams._3
382382 let gnsbtAmt = swapParams._4
383383 let gnsbtAmtTotal = swapParams._5
384384 let limitMaxWaves = swapParams._6
385385 let limitMaxUsdn = swapParams._7
386386 let swapParamsNEW = asSwapParamsSTRUCT(invoke(neutrinoContract, "swapParamsByUserSYSREADONLY", [userAddressStrOpt, nsbtAmtDiff], nil))
387387 let blcks2LmtResetNEW = swapParamsNEW._3
388388 let gnsbtAmtNEW = swapParamsNEW._4
389389 let gnsbtAmtTotalNEW = swapParamsNEW._5
390390 let limitMaxWavesNEW = swapParamsNEW._6
391391 let limitMaxUsdnNEW = swapParamsNEW._7
392392 let gnsbtShare = if ((gnsbtAmtTotal != 0))
393393 then fraction((gnsbtAmt * 100), MULT12, gnsbtAmtTotal)
394394 else 0
395395 let gnsbtShareNEW = if ((gnsbtAmtTotalNEW != 0))
396396 then fraction((gnsbtAmtNEW * 100), MULT12, gnsbtAmtTotalNEW)
397397 else 0
398398 let rewardInfo = asString(invoke(nsbtStakingContract, "unclaimedRewardsREADONLY", [userAddressStrOpt], nil))
399399 let nsbtAmt = gnsbtAmt
400400 let nsbtAmtNew = gnsbtAmtNEW
401401 let nsbtAmtStakedTotal = gnsbtAmtTotal
402402 let nsbtAmtStakedTotalNew = gnsbtAmtTotalNEW
403403 let nsbtData = asAnyList(invoke(nsbtStakingContract, "nsbtStakingSYSREADONLY", [userAddressStrOpt, nsbtAmtDiff], nil))
404404 let isEmptyNsbtBalance = if ((gnsbtAmt == 0))
405405 then (gnsbtAmtNEW == 0)
406406 else false
407407 let startHeight = if (isEmptyNsbtBalance)
408408 then height
409409 else asInt(nsbtData[2])
410410 let startTimestamp = toTimestamp(startHeight)
411411 let halfLife = getIntOrFail(nsbtStakingContract, keyHalfLife())
412412 let startHeightNew = if (isEmptyNsbtBalance)
413413 then height
414414 else asInt(invoke(mathContract, "mergeStakesREADONLY", [gnsbtAmt, startHeight, gnsbtAmtNEW, height, halfLife], nil))
415415 let startTimestampNew = toTimestamp(startHeightNew)
416416 $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))
417417 }
418418
419419
420420
421421 @Callable(i)
422422 func neutrinoConfigREADONLY () = {
423423 let limitParamA = getIntegerValue(mathContract, keySwapAmountAParam())
424424 let limitParamB = getIntegerValue(mathContract, keySwapAmountBParam())
425425 let usdnLimitParamA = getIntegerValue(mathContract, keyUsdnSwapAmountAParam())
426426 let usdnLimitParamB = getIntegerValue(mathContract, keyUsdnSwapAmountBParam())
427427 let minWavesSwapAmt = getIntegerValue(neutrinoContract, keyMinWavesSwapAmount())
428428 let minUsdnSwapAmt = getIntegerValue(neutrinoContract, keyMinNeutrinoSwapAmount())
429429 let waves2UsdnFee = getIntegerValue(neutrinoContract, keyWavesOutFeePart())
430430 let usdn2WavesFee = getIntegerValue(neutrinoContract, keyNeutrinoOutFeePart())
431431 let brProtected = valueOrElse(getInteger(neutrinoContract, brProtectedKEY()), BRPROTECTED)
432432 let usdnSwapDelay = getIntegerValue(neutrinoContract, keyBalanceNeutrinoLockInterval())
433433 let wavesSwapDelay = getIntegerValue(neutrinoContract, keyBalanceWavesLockInterval())
434434 let minWaves4NsbtBuy = minWavesForNsbtBuy()
435435 let minNsbtsell = minNsbtForSell()
436436 let minNsbtLockAmt = getIntegerValue(nsbtStakingContract, keyMinLockAmount())
437437 let halfLife = getIntegerValue(nsbtStakingContract, keyHalfLife())
438438 let minWaves4SurfBuy = minWavesForSurfBuy()
439439 let minUsdn4SurfBuy = minUsdnForSurfBuy()
440440 let surfStakingCfg = asAnyList(invoke(surfStakingContract, "configSYSREADONLY", nil, nil))
441441 let minSurfStakeAmt = asInt(surfStakingCfg[0])
442442 let gnsbtFromSurfCoeff = asInt(surfStakingCfg[1])
443443 let surfVotingPowerRestrictivePeriod = asInt(surfStakingCfg[2])
444444 let brToStartSurfTransformation = asInt(surfStakingCfg[3])
445- let shutdown = true
445+ let shutdown = valueOrElse(getBoolean(controlContract, "is_blocked"), false)
446446 $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", 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)], SEP))
447447 }
448448
449449
450450
451451 @Callable(i)
452452 func buyNsbtREADONLY (wavesPay) = {
453453 let minWavesAmountNsbtBuy = minWavesForNsbtBuy()
454454 if ((minWavesAmountNsbtBuy > wavesPay))
455455 then throw((("min " + toString(minWavesAmountNsbtBuy)) + " waves expected"))
456456 else {
457457 let curveResult = asAnyList(invoke(mathContract, "curveFunctionREADONLY", [wavesPay], nil))
458458 if ((curveResult == curveResult))
459459 then {
460460 let nsbtAmount = asInt(curveResult[0])
461461 if ((0 >= nsbtAmount))
462462 then throw("nsbtAmount <= 0")
463463 else $Tuple2(nil, makeString(["%d", toString(nsbtAmount)], SEP))
464464 }
465465 else throw("Strict value is not equal to itself.")
466466 }
467467 }
468468
469469
470470
471471 @Callable(i)
472472 func buySurfREADONLY (userAddressStrOpt,amount,assetIdStr) = {
473473 let assetId = fromBase58String(assetIdStr)
474474 let surfResult = asAnyList(invoke(mathContract, "surfFunctionREADONLY", [amount, assetId], nil))
475475 let surfAmount = asInt(surfResult[bFuncIdxSurf])
476476 let gNsbtAmount = asInt(invoke(surfStakingContract, "gnsbtFromSurfSYSREADONLY", [surfAmount], nil))
477477 let swapParams = asSwapParamsSTRUCT(invoke(neutrinoContract, "swapParamsByUserSYSREADONLY", [userAddressStrOpt, 0], nil))
478478 let wavesLimit = swapParams._6
479479 let usdnLimit = swapParams._7
480480 let swapParamsNew = asSwapParamsSTRUCT(invoke(neutrinoContract, "swapParamsByUserSYSREADONLY", [userAddressStrOpt, gNsbtAmount], nil))
481481 let wavesLimitNew = swapParamsNew._6
482482 let usdnLimitNew = swapParamsNew._7
483483 let price = asInt(surfResult[bFuncIdxWavesPrice])
484484 let additionalLimitUsdn = (usdnLimitNew - usdnLimit)
485485 let additionalLimitWaves = (wavesLimitNew - wavesLimit)
486486 let br0 = asInt(surfResult[bFuncIdxBRStart])
487487 let br1 = asInt(surfResult[bFuncIdxBREnd])
488488 let priceSurf2Waves0 = fraction(br0, MULT6, price)
489489 let priceSurf2Waves1 = fraction(br1, MULT6, price)
490490 let gsnbtRestV2DATA = asAnyList(invoke(restV2Contract, "gnsbtInfoINTERNAL", [userAddressStrOpt, 0, surfAmount], nil))
491491 let votingPowerMax = asInt(gsnbtRestV2DATA[21])
492492 let votingPowerMaxNEW = asInt(gsnbtRestV2DATA[22])
493493 let votingPowerEtaNEW = asInt(gsnbtRestV2DATA[23])
494494 let mergedVotingPowerEta = votingPowerEtaNEW
495495 let maxVotingPowerDiff = (votingPowerMaxNEW - votingPowerMax)
496496 let rest = asInt(surfResult[bFuncIdxRest])
497497 $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))
498498 }
499499
500500
501501
502502 @Callable(i)
503-func walletInfoREADONLY (userAddressStrOpt) = {
504- let addr = addressFromString(userAddressStrOpt)
505- let balance = if (isDefined(addr))
506- then wavesBalance(value(addr))
507- else BalanceDetails(0, 0, 0, 0)
508- let usdnLocked = getLockedOnRpd(userAddressStrOpt, neutrinoAssetIdString)
509- let nsbtLockedOld = getLockedOnRpd(userAddressStrOpt, nsbtAssetIdStr)
510- let gnsbtData = asAnyList(invoke(gnsbtControllerContract, "gnsbtInfoSYSREADONLY", [userAddressStrOpt, 0, 0], nil))
503+func walletInfoREADONLY (userAddressStr) = {
504+ let addr = addressFromStringValue(userAddressStr)
505+ let balance = wavesBalance(addr)
506+ let usdnLocked = getLockedOnRpd(userAddressStr, neutrinoAssetIdString)
507+ let nsbtLockedOld = getLockedOnRpd(userAddressStr, nsbtAssetIdStr)
508+ let gnsbtData = asAnyList(invoke(gnsbtControllerContract, "gnsbtInfoSYSREADONLY", [userAddressStr, 0, 0], nil))
511509 let nsbtData = asAnyList(gnsbtData[2])
512510 let nsbtUser = asInt(nsbtData[0])
513511 let nsbtTotal = asInt(nsbtData[1])
514512 let gNsbtFromNsbtUser = asInt(nsbtData[2])
515513 let gNsbtFromNsbtTotal = asInt(nsbtData[3])
516514 let surfData = asAnyList(gnsbtData[3])
517515 let surfUser = asInt(surfData[0])
518516 let surfTotal = asInt(surfData[1])
519517 let gNsbtFromSurfUser = asInt(surfData[2])
520518 let gNsbtFromSurfTotal = asInt(surfData[3])
521519 let availableUsdnToClaimFromSurf = 0
522520 let alreadyClaimedUsdnFromSurf = 0
523- let gsnbtRestV2DATA = asAnyList(invoke(restV2Contract, "gnsbtInfoINTERNAL", [userAddressStrOpt, 0, 0], nil))
521+ let gsnbtRestV2DATA = asAnyList(invoke(restV2Contract, "gnsbtInfoINTERNAL", [userAddressStr, 0, 0], nil))
524522 let votingPower = asInt(gsnbtRestV2DATA[19])
525523 let votingPowerMax = asInt(gsnbtRestV2DATA[21])
526524 let votingPowerEta = asInt(gsnbtRestV2DATA[23])
527525 $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))
528526 }
529527
530528
531529
532530 @Callable(i)
533531 func mergedStakeREADONLY (amount1,height1,amount2,height2) = {
534532 let halfLife = getIntOrFail(nsbtStakingContract, keyHalfLife())
535533 let h = asInt(invoke(mathContract, "mergeStakesREADONLY", [amount1, height1, amount2, height2, halfLife], nil))
536534 $Tuple2(nil, makeString(["%d%d", toString((amount1 + amount2)), toString(h)], SEP))
537535 }
538536
539537
540538
541539 @Callable(i)
542540 func unstakeComissionAmountByHeightREADONLY (amount,startHeight) = {
543541 let halfLife = getIntOrFail(nsbtStakingContract, keyHalfLife())
544542 let a = asInt(invoke(mathContract, "getUnstakeComissionAmountREADONLY", [amount, startHeight, halfLife], nil))
545543 if ((a == a))
546544 then $Tuple2(nil, makeString(["%d", toString(a)], SEP))
547545 else throw("Strict value is not equal to itself.")
548546 }
549547
550548
551549
552550 @Callable(i)
553551 func unstakeComissionAmountByUserREADONLY (amount,userAddress) = {
554552 let halfLife = getIntOrFail(nsbtStakingContract, keyHalfLife())
555553 let startHeight = valueOrElse(getInteger(nsbtStakingContract, keyLockParamStartBlock(userAddress)), height)
556554 let a = asInt(invoke(mathContract, "getUnstakeComissionAmountREADONLY", [amount, startHeight, halfLife], nil))
557555 if ((a == a))
558556 then $Tuple2(nil, makeString(["%d", toString(a)], SEP))
559557 else throw("Strict value is not equal to itself.")
560558 }
561559
562560
563561
564562 @Callable(i)
565563 func neutrinoStateREST () = {
566564 let neutrinoMetrics = asAnyList(invoke(mathContract, "calcNeutinoMetricsREADONLY", nil, nil))
567565 let currentPrice = asInt(neutrinoMetrics[nMetricIdxPrice])
568566 let neutrinoLockedBalance = asInt(neutrinoMetrics[nMetricIdxUsdnLockedBalance])
569567 let wavesLockedBalance = asInt(neutrinoMetrics[nMetricIdxWavesLockedBalance])
570568 let reservesInWaves = asInt(neutrinoMetrics[nMetricIdxReserve])
571569 let reservesInUsdn = asInt(neutrinoMetrics[nMetricIdxReserveInUsdn])
572570 let neutrinoSupply = asInt(neutrinoMetrics[nMetricIdxUsdnSupply])
573571 let surplus = asInt(neutrinoMetrics[nMetricIdxSurplus])
574572 let surplusPercent = asInt(neutrinoMetrics[nMetricIdxSurplusPercent])
575573 let BR = asInt(neutrinoMetrics[nMetricIdxBR])
576574 let nsbtSupply = asInt(neutrinoMetrics[nMetricIdxNsbtSupply])
577575 let nsbtSupplyMax = asInt(neutrinoMetrics[nMetricIdxMaxNsbtSupply])
578576 let surfSupply = asInt(neutrinoMetrics[nMetricIdxSurfSupply])
579577 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)], "__"))
580578 }
581579
582580
583581
584582 @Callable(i)
585583 func nsbtPriceREST () = {
586584 let prices = asAnyList(invoke(mathContract, "calcContractNsbtPriceSYSREADONLY", [0], nil))
587585 let nsbt2usdnPrice = asInt(prices[0])
588586 let nsbt2wavesPrice = asInt(prices[1])
589587 let restData = makeString(["startNsbtPriceREST", toString(nsbt2usdnPrice), toString(nsbt2wavesPrice), "endNsbtPriceREST"], "__")
590588 throw(restData)
591589 }
592590
593591
594592
595593 @Callable(i)
596594 func surfPriceREST () = {
597595 let neutrinoMetrics = asAnyList(invoke(mathContract, "calcNeutinoMetricsREADONLY", nil, nil))
598596 let currentPrice = asInt(neutrinoMetrics[nMetricIdxPrice])
599597 let reservesInWaves = asInt(neutrinoMetrics[nMetricIdxReserve])
600598 let neutrinoSupply = asInt(neutrinoMetrics[nMetricIdxUsdnSupply])
601599 let surfPriceInUsdn = fraction(reservesInWaves, currentPrice, neutrinoSupply)
602600 let surfPriceInWaves = fraction(reservesInWaves, MULT8, neutrinoSupply)
603601 let restData = makeString(["startSurfPriceREST", toString(surfPriceInUsdn), toString(surfPriceInWaves), "endSurfPriceREST"], "__")
604602 throw(restData)
605603 }
606604
607605

github/deemru/w8io/026f985 
80.38 ms