tx · Dkk7CTymsFSUhYzPxZirVwDntWaSjdqxrZpuPPHp1w4c

3Mxd5o7PwH76ZkN8zG4xwDLubEnbkaihKzi:  -0.01400000 Waves

2022.04.25 19:25 [2024258] smart account 3Mxd5o7PwH76ZkN8zG4xwDLubEnbkaihKzi > SELF 0.00000000 Waves

{ "type": 13, "id": "Dkk7CTymsFSUhYzPxZirVwDntWaSjdqxrZpuPPHp1w4c", "fee": 1400000, "feeAssetId": null, "timestamp": 1650903964572, "version": 1, "sender": "3Mxd5o7PwH76ZkN8zG4xwDLubEnbkaihKzi", "senderPublicKey": "BwVRZtTzoCigEsffCvQ9uo7WvkoBNNGVjX4nat5X5zyQ", "proofs": [ "3xbcYQxHGgY8BW1qK8NquetxjNKKjzvSiRPt66y4KUaQC8ESN29qvgMJjnhpA7CwkrLoJeDvhgwsLWKqKjCSFH69" ], "script": "base64:AAIFAAAAAAAAADMIAhIFCgMICAgSABIDCgEIEgQKAggBEgMKAQESBgoEAQEBARIECgIBARIECgIBCBIAEgAAAAA9AAAAAAtyZXZpc2lvbk51bQIAAAAoNTQ4ZjkyNjQyNmE2OWYwN2E4ODZhNWQ4YWIyNjc1MzAyN2UxNjdhMAAAAAAIUFJJQ0VMRVQAAAAAAAAPQkAAAAAACU1VTFRTQ0FMRQAAAAAAAAAACAAAAAALRVVMRVJOVU1CRVIAAAAAABAzxNYAAAAABnNjYWxlNgAAAAAAAA9CQAAAAAAMc2NhbGU2QmlnSW50CQABNgAAAAEAAAAAAAAPQkAAAAAABnNjYWxlOAAAAAAABfXhAAAAAAAMc2NhbGU4QmlnSW50CQABNgAAAAEAAAAAAAX14QAAAAAAB3NjYWxlMTIAAAAA6NSlEAAAAAAAB3NjYWxlMTgJAAE2AAAAAQAN4Lazp2QAAAAAAAADU0VQAgAAAAJfXwEAAAASa2V5TmV1dHJpbm9BZGRyZXNzAAAAAAIAAAAdJXMlc19fY29uZmlnX19uZXV0cmlub0FkZHJlc3MBAAAAEmtleU5ldXRyaW5vQX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1JFQURPTkxZCQAETAAAAAIAAAAAAAAAAAAFAAAAA25pbAUAAAADbmlsBAAAAA5uc2J0MnVzZG5QcmljZQkBAAAABWFzSW50AAAAAQkAAZEAAAACBQAAAAZwcmljZXMAAAAAAAAAAAAEAAAAD25zYnQyd2F2ZXNQcmljZQkBAAAABWFzSW50AAAAAQkAAZEAAAACBQAAAAZwcmljZXMAAAAAAAAAAAEEAAAACHJlc3REYXRhCQAEuQAAAAIJAARMAAAAAgIAAAASc3RhcnROc2J0UHJpY2VSRVNUCQAETAAAAAIJAAGkAAAAAQUAAAAObnNidDJ1c2RuUHJpY2UJAARMAAAAAgkAAaQAAAABBQAAAA9uc2J0MndhdmVzUHJpY2UJAARMAAAAAgIAAAAQZW5kTnNidFByaWNlUkVTVAUAAAADbmlsAgAAAAJfXwkAAAIAAAABBQAAAAhyZXN0RGF0YQAAAADOIygn", "chainId": 84, "height": 2024258, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: E66tzGmhKHuC8HUwDk4F31Scikhxs4cqURidJ4vCK1fg Next: DLVfKrSSsvNN6qUGmdJXYwtFzk3b1sg6TfC5qz5sVBmS Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let revisionNum = ""
4+let revisionNum = "548f926426a69f07a886a5d8ab26753027e167a0"
55
66 let PRICELET = 1000000
77
233233 let usdn2WavesFee = getIntegerValue(neutrinoContract, keyNeutrinoOutFeePart())
234234 let usdnSwapDelayDuration = getIntegerValue(neutrinoContract, keyBalanceNeutrinoLockInterval())
235235 let wavesSwapDelayDuration = getIntegerValue(neutrinoContract, keyBalanceWavesLockInterval())
236- let $t083328496 = asSwapParamsSTRUCT(invoke(neutrinoContract, "swapParamsByUserSYSREADONLY", [userAddressStrOpt, 0], nil))
237- let swapLimitMaxUsdn = $t083328496._1
238- let swapLimitSpentUsdn = $t083328496._2
239- let blcks2LmtReset = $t083328496._3
236+ let $t083728536 = asSwapParamsSTRUCT(invoke(neutrinoContract, "swapParamsByUserSYSREADONLY", [userAddressStrOpt, 0], nil))
237+ let swapLimitMaxUsdn = $t083728536._1
238+ let swapLimitSpentUsdn = $t083728536._2
239+ let blcks2LmtReset = $t083728536._3
240240 let swapLimitMaxWaves = convertNeutrinoToWaves(swapLimitMaxUsdn, currentPrice)
241241 $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))
242242 }
246246 @Callable(i)
247247 func gnsbtInfoREADONLY (userAddressStrOpt,nsbtAmtDiff) = {
248248 let currentPrice = getIntegerValue(controlContract, keyPrice())
249- let $t095029685 = asSwapParamsSTRUCT(invoke(neutrinoContract, "swapParamsByUserSYSREADONLY", [userAddressStrOpt, 0], nil))
250- let limitMaxUsdn = $t095029685._1
251- let limitSpent = $t095029685._2
252- let blcks2LmtReset = $t095029685._3
253- let gnsbtAmt = $t095029685._4
254- let gnsbtAmtTotal = $t095029685._5
255- let $t096899897 = asSwapParamsSTRUCT(invoke(neutrinoContract, "swapParamsByUserSYSREADONLY", [userAddressStrOpt, nsbtAmtDiff], nil))
256- let limitMaxUsdnNEW = $t096899897._1
257- let limitSpentNEW = $t096899897._2
258- let blcks2LmtResetNEW = $t096899897._3
259- let gnsbtAmtNEW = $t096899897._4
260- let gnsbtAmtTotalNEW = $t096899897._5
249+ let $t095429725 = asSwapParamsSTRUCT(invoke(neutrinoContract, "swapParamsByUserSYSREADONLY", [userAddressStrOpt, 0], nil))
250+ let limitMaxUsdn = $t095429725._1
251+ let limitSpent = $t095429725._2
252+ let blcks2LmtReset = $t095429725._3
253+ let gnsbtAmt = $t095429725._4
254+ let gnsbtAmtTotal = $t095429725._5
255+ let $t097299937 = asSwapParamsSTRUCT(invoke(neutrinoContract, "swapParamsByUserSYSREADONLY", [userAddressStrOpt, nsbtAmtDiff], nil))
256+ let limitMaxUsdnNEW = $t097299937._1
257+ let limitSpentNEW = $t097299937._2
258+ let blcks2LmtResetNEW = $t097299937._3
259+ let gnsbtAmtNEW = $t097299937._4
260+ let gnsbtAmtTotalNEW = $t097299937._5
261261 let limitMaxWaves = convertNeutrinoToWaves(limitMaxUsdn, currentPrice)
262262 let limitMaxWavesNEW = convertNeutrinoToWaves(limitMaxUsdnNEW, currentPrice)
263263 let gnsbtShare = if ((gnsbtAmtTotal != 0))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let revisionNum = ""
4+let revisionNum = "548f926426a69f07a886a5d8ab26753027e167a0"
55
66 let PRICELET = 1000000
77
88 let MULTSCALE = 8
99
1010 let EULERNUMBER = 271828182
1111
1212 let scale6 = 1000000
1313
1414 let scale6BigInt = toBigInt(1000000)
1515
1616 let scale8 = 100000000
1717
1818 let scale8BigInt = toBigInt(100000000)
1919
2020 let scale12 = 1000000000000
2121
2222 let scale18 = toBigInt(1000000000000000000)
2323
2424 let SEP = "__"
2525
2626 func keyNeutrinoAddress () = "%s%s__config__neutrinoAddress"
2727
2828
2929 func keyNeutrinoAssetId () = "neutrino_asset_id"
3030
3131
3232 func keyLiquidationContractAddress () = "liquidation_contract"
3333
3434
3535 func keyRPDContract () = "rpd_contract"
3636
3737
3838 func keyAuctionContract () = "auction_contract"
3939
4040
4141 func keyContolContract () = "control_contract"
4242
4343
4444 func keyBondAssetId () = "bond_asset_id"
4545
4646
4747 func keyBalanceLocked () = "balance_lock_"
4848
4949
5050 func keyWavesLockedBalance () = (keyBalanceLocked() + "waves")
5151
5252
5353 func keyNeutrinoLockedBalance () = (keyBalanceLocked() + "neutrino")
5454
5555
5656 func keyMinWavesSwapAmount () = "min_waves_swap_amount"
5757
5858
5959 func keyMinNeutrinoSwapAmount () = "min_neutrino_swap_amount"
6060
6161
6262 func keyWavesOutFeePart () = "wavesOut_swap_feePart"
6363
6464
6565 func keyNeutrinoOutFeePart () = "neutrinoOut_swap_feePart"
6666
6767
6868 func keyNsbtLockContract () = "%s__nsbtLockContract"
6969
7070
7171 func keyMathContract () = "%s__mathContract"
7272
7373
7474 func keyBalanceWavesLockInterval () = "balance_waves_lock_interval"
7575
7676
7777 func keyBalanceNeutrinoLockInterval () = "balance_neutrino_lock_interval"
7878
7979
8080 func keyPrice () = "price"
8181
8282
8383 func keyLockParamStartBlock (userAddress) = makeString(["%s%s%s", "paramByUser", userAddress, "start"], SEP)
8484
8585
8686 func keyHalfLife () = "%s__halfLife"
8787
8888
8989 func keyMinLockAmount () = "%s__minLockAmount"
9090
9191
9292 func keyMinWavesForNsbtBuy () = "min_waves_nsbt_buy"
9393
9494
9595 func keyMinNsbtSell () = "min_nsbt_sell"
9696
9797
9898 func getStringOrFail (address,key) = valueOrErrorMessage(getString(address, key), makeString(["mandatory ", toString(address), ".", key, " is not defined"], ""))
9999
100100
101101 func getIntOrFail (address,key) = valueOrErrorMessage(getInteger(address, key), makeString(["mandatory ", toString(address), ".", key, " is not defined"], ""))
102102
103103
104104 func getBoolOrFail (address,key) = valueOrErrorMessage(getBoolean(address, key), makeString(["mandatory ", toString(address), ".", key, " is not defined"], ""))
105105
106106
107107 func convertNeutrinoToWaves (amount,price) = fraction(fraction(amount, PRICELET, price), scale8, scale6)
108108
109109
110110 func convertWavesToNeutrino (amount,price) = fraction(fraction(amount, price, PRICELET), scale6, scale8)
111111
112112
113113 func asAnyList (val) = match val {
114114 case valAnyList: List[Any] =>
115115 valAnyList
116116 case _ =>
117117 throw("fail to cast into List[Any]")
118118 }
119119
120120
121121 func asInt (val) = match val {
122122 case valInt: Int =>
123123 valInt
124124 case _ =>
125125 throw("fail to cast into Int")
126126 }
127127
128128
129129 func asString (val) = match val {
130130 case valStr: String =>
131131 valStr
132132 case _ =>
133133 throw("fail to cast into String")
134134 }
135135
136136
137137 func asTuple2Ints (val) = match val {
138138 case v: (Int, Int) =>
139139 v
140140 case _ =>
141141 throw("fail to cast into Tuple2 ints")
142142 }
143143
144144
145145 func asSwapParamsSTRUCT (val) = match val {
146146 case struct: (Int, Int, Int, Int, Int) =>
147147 struct
148148 case _ =>
149149 throw("fail to cast into Int")
150150 }
151151
152152
153153 func toX18 (origVal,origScaleMult) = fraction(toBigInt(origVal), scale18, toBigInt(origScaleMult))
154154
155155
156156 func fromX18 (val,resultScaleMult) = toInt(fraction(val, toBigInt(resultScaleMult), scale18))
157157
158158
159159 let neutrinoContract = addressFromStringValue(getStringOrFail(this, keyNeutrinoAddress()))
160160
161161 let controlContract = addressFromStringValue(getStringOrFail(neutrinoContract, keyContolContract()))
162162
163163 let auctionContract = addressFromStringValue(getStringOrFail(neutrinoContract, keyAuctionContract()))
164164
165165 let liquidationContract = getStringOrFail(neutrinoContract, keyLiquidationContractAddress())
166166
167167 let rpdContract = getStringOrFail(neutrinoContract, keyRPDContract())
168168
169169 let mathContract = addressFromStringValue(getStringOrFail(this, keyMathContract()))
170170
171171 let nsbtStakingContract = addressFromStringValue(getStringOrFail(this, keyNsbtLockContract()))
172172
173173 let neutrinoAssetIdString = getStringOrFail(neutrinoContract, keyNeutrinoAssetId())
174174
175175 let neutrinoAssetId = fromBase58String(neutrinoAssetIdString)
176176
177177 let nsbtAssetIdStr = getStringValue(neutrinoContract, keyBondAssetId())
178178
179179 let nsbtAssetId = fromBase58String(nsbtAssetIdStr)
180180
181181 func minWavesForNsbtBuy () = asInt(invoke(auctionContract, "minWavesAmountNsbtBuySYSREADONLY", nil, nil))
182182
183183
184184 func minNsbtForSell () = asInt(invoke(auctionContract, "minNsbtAmountForSellSYSREADONLY", nil, nil))
185185
186186
187187 func privateNsbtPriceREST () = {
188188 let prices = asAnyList(invoke(mathContract, "calcContractNsbtPriceSYSREADONLY", [0], nil))
189189 let nsbt2usdnPrice = asInt(prices[0])
190190 let nsbt2wavesPrice = asInt(prices[1])
191191 $Tuple2(IntegerEntry("nsbt2usdnPrice", nsbt2usdnPrice), IntegerEntry("nsbt2wavesPrice", nsbt2wavesPrice))
192192 }
193193
194194
195195 @Callable(i)
196196 func constructor (neutrinoAddress,nsbtLockAddress,mathAddress) = if ((i.caller != this))
197197 then throw("not authorized")
198198 else [StringEntry(keyNeutrinoAddress(), neutrinoAddress), StringEntry(keyNsbtLockContract(), nsbtLockAddress), StringEntry(keyMathContract(), mathAddress)]
199199
200200
201201
202202 @Callable(i)
203203 func neutrinoStatsREADONLY () = {
204204 let neutrinoMetrics = asAnyList(invoke(mathContract, "calcNeutinoMetricsREADONLY", nil, nil))
205205 let prices = asAnyList(invoke(mathContract, "calcContractNsbtPriceSYSREADONLY", [0], nil))
206206 let currentPrice = asInt(neutrinoMetrics[0])
207207 let neutrinoLockedBalance = asInt(neutrinoMetrics[1])
208208 let wavesLockedBalance = asInt(neutrinoMetrics[2])
209209 let reservesInWaves = asInt(neutrinoMetrics[3])
210210 let reservesInUsdn = asInt(neutrinoMetrics[4])
211211 let neutrinoSupply = asInt(neutrinoMetrics[5])
212212 let surplus = asInt(neutrinoMetrics[6])
213213 let surplusPercent = asInt(neutrinoMetrics[7])
214214 let BR = asInt(neutrinoMetrics[8])
215215 let nsbtSupply = asInt(neutrinoMetrics[9])
216216 let maxNsbtSupply = asInt(neutrinoMetrics[10])
217217 let nsbt2usdnPrice = asInt(prices[0])
218218 let nsbt2wavesPrice = asInt(prices[1])
219219 let minWaves4NsbtBuy = minWavesForNsbtBuy()
220220 let minNsbtsell = minNsbtForSell()
221221 let minNsbtLockAmt = getIntOrFail(nsbtStakingContract, keyMinLockAmount())
222222 $Tuple2(nil, makeString(["%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)], SEP))
223223 }
224224
225225
226226
227227 @Callable(i)
228228 func swapInfoREADONLY (userAddressStrOpt) = {
229229 let currentPrice = getIntegerValue(controlContract, keyPrice())
230230 let minWavesSwapAmt = getIntegerValue(neutrinoContract, keyMinWavesSwapAmount())
231231 let minUsdnSwapAmt = getIntegerValue(neutrinoContract, keyMinNeutrinoSwapAmount())
232232 let waves2UsdnFee = getIntegerValue(neutrinoContract, keyWavesOutFeePart())
233233 let usdn2WavesFee = getIntegerValue(neutrinoContract, keyNeutrinoOutFeePart())
234234 let usdnSwapDelayDuration = getIntegerValue(neutrinoContract, keyBalanceNeutrinoLockInterval())
235235 let wavesSwapDelayDuration = getIntegerValue(neutrinoContract, keyBalanceWavesLockInterval())
236- let $t083328496 = asSwapParamsSTRUCT(invoke(neutrinoContract, "swapParamsByUserSYSREADONLY", [userAddressStrOpt, 0], nil))
237- let swapLimitMaxUsdn = $t083328496._1
238- let swapLimitSpentUsdn = $t083328496._2
239- let blcks2LmtReset = $t083328496._3
236+ let $t083728536 = asSwapParamsSTRUCT(invoke(neutrinoContract, "swapParamsByUserSYSREADONLY", [userAddressStrOpt, 0], nil))
237+ let swapLimitMaxUsdn = $t083728536._1
238+ let swapLimitSpentUsdn = $t083728536._2
239+ let blcks2LmtReset = $t083728536._3
240240 let swapLimitMaxWaves = convertNeutrinoToWaves(swapLimitMaxUsdn, currentPrice)
241241 $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))
242242 }
243243
244244
245245
246246 @Callable(i)
247247 func gnsbtInfoREADONLY (userAddressStrOpt,nsbtAmtDiff) = {
248248 let currentPrice = getIntegerValue(controlContract, keyPrice())
249- let $t095029685 = asSwapParamsSTRUCT(invoke(neutrinoContract, "swapParamsByUserSYSREADONLY", [userAddressStrOpt, 0], nil))
250- let limitMaxUsdn = $t095029685._1
251- let limitSpent = $t095029685._2
252- let blcks2LmtReset = $t095029685._3
253- let gnsbtAmt = $t095029685._4
254- let gnsbtAmtTotal = $t095029685._5
255- let $t096899897 = asSwapParamsSTRUCT(invoke(neutrinoContract, "swapParamsByUserSYSREADONLY", [userAddressStrOpt, nsbtAmtDiff], nil))
256- let limitMaxUsdnNEW = $t096899897._1
257- let limitSpentNEW = $t096899897._2
258- let blcks2LmtResetNEW = $t096899897._3
259- let gnsbtAmtNEW = $t096899897._4
260- let gnsbtAmtTotalNEW = $t096899897._5
249+ let $t095429725 = asSwapParamsSTRUCT(invoke(neutrinoContract, "swapParamsByUserSYSREADONLY", [userAddressStrOpt, 0], nil))
250+ let limitMaxUsdn = $t095429725._1
251+ let limitSpent = $t095429725._2
252+ let blcks2LmtReset = $t095429725._3
253+ let gnsbtAmt = $t095429725._4
254+ let gnsbtAmtTotal = $t095429725._5
255+ let $t097299937 = asSwapParamsSTRUCT(invoke(neutrinoContract, "swapParamsByUserSYSREADONLY", [userAddressStrOpt, nsbtAmtDiff], nil))
256+ let limitMaxUsdnNEW = $t097299937._1
257+ let limitSpentNEW = $t097299937._2
258+ let blcks2LmtResetNEW = $t097299937._3
259+ let gnsbtAmtNEW = $t097299937._4
260+ let gnsbtAmtTotalNEW = $t097299937._5
261261 let limitMaxWaves = convertNeutrinoToWaves(limitMaxUsdn, currentPrice)
262262 let limitMaxWavesNEW = convertNeutrinoToWaves(limitMaxUsdnNEW, currentPrice)
263263 let gnsbtShare = if ((gnsbtAmtTotal != 0))
264264 then fraction((gnsbtAmt * 100), scale12, gnsbtAmtTotal)
265265 else 0
266266 let gnsbtShareNEW = if ((gnsbtAmtTotalNEW != 0))
267267 then fraction((gnsbtAmtNEW * 100), scale12, gnsbtAmtTotalNEW)
268268 else 0
269269 let rewardInfo = asString(invoke(nsbtStakingContract, "unclaimedRewardsREADONLY", [userAddressStrOpt], nil))
270270 let nsbtAmt = gnsbtAmt
271271 let nsbtAmtNew = gnsbtAmtNEW
272272 let nsbtAmtStakedTotal = gnsbtAmtTotal
273273 let nsbtAmtStakedTotalNew = gnsbtAmtTotalNEW
274274 $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d%s%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)], SEP))
275275 }
276276
277277
278278
279279 @Callable(i)
280280 func buyNsbtREADONLY (wavesPay) = {
281281 let minWavesAmountNsbtBuy = minWavesForNsbtBuy()
282282 if ((minWavesAmountNsbtBuy > wavesPay))
283283 then throw((("min " + toString(minWavesAmountNsbtBuy)) + " waves expected"))
284284 else {
285285 let curveResult = asAnyList(invoke(mathContract, "curveFunctionREADONLY", [wavesPay], nil))
286286 if ((curveResult == curveResult))
287287 then {
288288 let nsbtAmount = asInt(curveResult[0])
289289 if ((0 >= nsbtAmount))
290290 then throw("nsbtAmount <= 0")
291291 else $Tuple2(nil, makeString(["%d", toString(nsbtAmount)], SEP))
292292 }
293293 else throw("Strict value is not equal to itself.")
294294 }
295295 }
296296
297297
298298
299299 @Callable(i)
300300 func mergedStakeREADONLY (amount1,height1,amount2,height2) = {
301301 let halfLife = getIntOrFail(nsbtStakingContract, keyHalfLife())
302302 let h = asInt(invoke(mathContract, "mergeStakesREADONLY", [amount1, height1, amount2, height2, halfLife], nil))
303303 if ((h == h))
304304 then $Tuple2(nil, makeString(["%d%d", toString((amount1 + amount2)), toString(h)], SEP))
305305 else throw("Strict value is not equal to itself.")
306306 }
307307
308308
309309
310310 @Callable(i)
311311 func unstakeComissionAmountByHeightREADONLY (amount,startHeight) = {
312312 let halfLife = getIntOrFail(nsbtStakingContract, keyHalfLife())
313313 let a = asInt(invoke(mathContract, "getUnstakeComissionAmountREADONLY", [amount, startHeight, halfLife], nil))
314314 if ((a == a))
315315 then $Tuple2(nil, makeString(["%d", toString(a)], SEP))
316316 else throw("Strict value is not equal to itself.")
317317 }
318318
319319
320320
321321 @Callable(i)
322322 func unstakeComissionAmountByUserREADONLY (amount,userAddress) = {
323323 let halfLife = getIntOrFail(nsbtStakingContract, keyHalfLife())
324324 let startHeight = valueOrElse(getInteger(nsbtStakingContract, keyLockParamStartBlock(userAddress)), height)
325325 let a = asInt(invoke(mathContract, "getUnstakeComissionAmountREADONLY", [amount, startHeight, halfLife], nil))
326326 if ((a == a))
327327 then $Tuple2(nil, makeString(["%d", toString(a)], SEP))
328328 else throw("Strict value is not equal to itself.")
329329 }
330330
331331
332332
333333 @Callable(i)
334334 func neutrinoStateREST () = {
335335 let neutrinoMetrics = asAnyList(invoke(mathContract, "calcNeutinoMetricsREADONLY", nil, nil))
336336 let currentPrice = asInt(neutrinoMetrics[0])
337337 let neutrinoLockedBalance = asInt(neutrinoMetrics[1])
338338 let wavesLockedBalance = asInt(neutrinoMetrics[2])
339339 let reservesInWaves = asInt(neutrinoMetrics[3])
340340 let reservesInUsdn = asInt(neutrinoMetrics[4])
341341 let neutrinoSupply = asInt(neutrinoMetrics[5])
342342 let surplus = asInt(neutrinoMetrics[6])
343343 let surplusPercent = asInt(neutrinoMetrics[7])
344344 let BR = asInt(neutrinoMetrics[8])
345345 let nsbtSupply = asInt(neutrinoMetrics[9])
346346 throw(makeString(["resultNeutrinoStateREST", toString(currentPrice), toString(neutrinoLockedBalance), toString(wavesLockedBalance), toString(reservesInWaves), toString(reservesInUsdn), toString(neutrinoSupply), toString(surplus), toString(surplusPercent), toString(BR), toString(nsbtSupply)], "__"))
347347 }
348348
349349
350350
351351 @Callable(i)
352352 func nsbtPriceREST () = {
353353 let prices = asAnyList(invoke(mathContract, "calcContractNsbtPriceSYSREADONLY", [0], nil))
354354 let nsbt2usdnPrice = asInt(prices[0])
355355 let nsbt2wavesPrice = asInt(prices[1])
356356 let restData = makeString(["startNsbtPriceREST", toString(nsbt2usdnPrice), toString(nsbt2wavesPrice), "endNsbtPriceREST"], "__")
357357 throw(restData)
358358 }
359359
360360

github/deemru/w8io/026f985 
80.61 ms