tx · t8mrDCf8mf5e7bYNcpG9Qoii1ZAo7sfXHTkLkUWgBH4 3Mxd5o7PwH76ZkN8zG4xwDLubEnbkaihKzi: -0.04000000 Waves 2022.07.14 12:03 [2139188] smart account 3Mxd5o7PwH76ZkN8zG4xwDLubEnbkaihKzi > SELF 0.00000000 Waves
{ "type": 13, "id": "t8mrDCf8mf5e7bYNcpG9Qoii1ZAo7sfXHTkLkUWgBH4", "fee": 4000000, "feeAssetId": null, "timestamp": 1657789450682, "version": 1, "sender": "3Mxd5o7PwH76ZkN8zG4xwDLubEnbkaihKzi", "senderPublicKey": "BwVRZtTzoCigEsffCvQ9uo7WvkoBNNGVjX4nat5X5zyQ", "proofs": [ "5Hn7hmoNyQczV3CQA9xbieS2DjtPXTx8rQmPgqWBU1iqEViNNKP12agDwZWgEXCrwadLk3aXX8vHxtCyjMPYt667" ], "script": "base64:AAIFAAAAAAAAAEMIAhIFCgMICAgSABIDCgEIEgQKAggBEgASAwoBARIFCgMIAQgSAwoBCBIGCgQBAQEBEgQKAgEBEgQKAgEIEgASABIAAAAAXAAAAAALcmV2aXNpb25OdW0CAAAAAAAAAAAGRVVMRVI4AAAAAAAQM8TWAAAAAAVNVUxUNgAAAAAAAA9CQAAAAAAGTVVMVFg2CQABNgAAAAEAAAAAAAAPQkAAAAAABU1VTFQ4AAAAAAAF9eEAAAAAAAZNVUxUWDgJAAE2AAAAAQAAAAAABfXhAAAAAAAGTVVMVDEyAAAAAOjUpRAAAAAAAAZNVUxUMTgJAAE2AAAAAQAN4Lazp2QAAAAAAAADU0VQAgAAAAJfXwAAAAAHV0FWRVNJRAkAAlkAAAABAgAAAAVXQVZFUwAAAAAPbk1ldHJpY0lkeFByaWNlAAAAAAAAAAAAAAAAABtuTWV0cmljSWR4VXNkbkxvY2tlZEJhbGFuY2UAAAAAAAAAAAEAAAAAHG5NZXRyaWNJZHhXYXZlc0xvY2tlZEJhbGFuY2UAAAAAAAAAAAIAAAAAEW5NZXRyaWNJZHhSZXNlc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IcmVzdERhdGEAAAAAVi5Gxw==", "chainId": 84, "height": 2139188, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: ET3AHcYJgzXGE87sQvGto65m3hXftRhGsuczAJfo2mCy Next: 8Sj695PFwfA27dCNgYAjeiEMKJ2BdniDhWQjhUT9ofhp Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let revisionNum = "" | |
5 | 5 | ||
6 | 6 | let EULER8 = 271828182 | |
7 | 7 | ||
8 | 8 | let MULT6 = 1000000 | |
9 | 9 | ||
10 | 10 | let MULTX6 = toBigInt(1000000) | |
11 | 11 | ||
12 | 12 | let MULT8 = 100000000 | |
13 | 13 | ||
14 | 14 | let MULTX8 = toBigInt(100000000) | |
15 | 15 | ||
16 | 16 | let MULT12 = 1000000000000 | |
17 | 17 | ||
18 | 18 | let MULT18 = toBigInt(1000000000000000000) | |
19 | 19 | ||
20 | 20 | let SEP = "__" | |
21 | 21 | ||
22 | 22 | let WAVESID = fromBase58String("WAVES") | |
23 | 23 | ||
24 | 24 | let nMetricIdxPrice = 0 | |
25 | 25 | ||
26 | 26 | let nMetricIdxUsdnLockedBalance = 1 | |
27 | 27 | ||
28 | 28 | let nMetricIdxWavesLockedBalance = 2 | |
29 | 29 | ||
30 | 30 | let nMetricIdxReserve = 3 | |
31 | 31 | ||
32 | 32 | let nMetricIdxReserveInUsdn = 4 | |
33 | 33 | ||
34 | 34 | let nMetricIdxUsdnSupply = 5 | |
35 | 35 | ||
36 | 36 | let nMetricIdxSurplus = 6 | |
37 | 37 | ||
38 | 38 | let nMetricIdxSurplusPercent = 7 | |
39 | 39 | ||
40 | 40 | let nMetricIdxBR = 8 | |
41 | 41 | ||
42 | 42 | let nMetricIdxNsbtSupply = 9 | |
43 | 43 | ||
44 | 44 | let nMetricIdxMaxNsbtSupply = 10 | |
45 | 45 | ||
46 | 46 | let nMetricIdxSurfSupply = 11 | |
47 | 47 | ||
48 | 48 | let bFuncIdxSurf = 0 | |
49 | 49 | ||
50 | 50 | let bFuncIdxWaves = 1 | |
51 | 51 | ||
52 | 52 | let bFuncIdxUsdn = 2 | |
53 | 53 | ||
54 | 54 | let bFuncIdxReserveStart = 3 | |
55 | 55 | ||
56 | 56 | let bFuncIdxSupplyStart = 4 | |
57 | 57 | ||
58 | 58 | let bFuncIdxBRStart = 5 | |
59 | 59 | ||
60 | 60 | let bFuncIdxReserveEnd = 6 | |
61 | 61 | ||
62 | 62 | let bFuncIdxSupplyEnd = 7 | |
63 | 63 | ||
64 | 64 | let bFuncIdxBREnd = 8 | |
65 | 65 | ||
66 | 66 | let bFuncIdxRest = 9 | |
67 | 67 | ||
68 | 68 | let bFuncIdxWavesPrice = 10 | |
69 | 69 | ||
70 | 70 | func keyNeutrinoAddress () = "%s%s__config__neutrinoAddress" | |
71 | 71 | ||
72 | 72 | ||
73 | 73 | func keyNeutrinoAssetId () = "neutrino_asset_id" | |
74 | 74 | ||
75 | 75 | ||
76 | 76 | func keyLiquidationContractAddress () = "liquidation_contract" | |
77 | 77 | ||
78 | 78 | ||
79 | 79 | func keyRPDContract () = "rpd_contract" | |
80 | 80 | ||
81 | 81 | ||
82 | 82 | func keyAuctionContract () = "auction_contract" | |
83 | 83 | ||
84 | 84 | ||
85 | 85 | func keyContolContract () = "control_contract" | |
86 | 86 | ||
87 | 87 | ||
88 | 88 | func keyNsbtAssetId () = "bond_asset_id" | |
89 | 89 | ||
90 | 90 | ||
91 | 91 | func keySurfAssetId () = "surf_asset_id" | |
92 | 92 | ||
93 | 93 | ||
94 | 94 | func keyBalanceLocked () = "balance_lock_" | |
95 | 95 | ||
96 | 96 | ||
97 | 97 | func keyWavesLockedBalance () = (keyBalanceLocked() + "waves") | |
98 | 98 | ||
99 | 99 | ||
100 | 100 | func keyNeutrinoLockedBalance () = (keyBalanceLocked() + "neutrino") | |
101 | 101 | ||
102 | 102 | ||
103 | 103 | func keyMinWavesSwapAmount () = "min_waves_swap_amount" | |
104 | 104 | ||
105 | 105 | ||
106 | 106 | func keyMinNeutrinoSwapAmount () = "min_neutrino_swap_amount" | |
107 | 107 | ||
108 | 108 | ||
109 | 109 | func keyWavesOutFeePart () = "wavesOut_swap_feePart" | |
110 | 110 | ||
111 | 111 | ||
112 | 112 | func keyNeutrinoOutFeePart () = "neutrinoOut_swap_feePart" | |
113 | 113 | ||
114 | 114 | ||
115 | 115 | func keySwapAmountAParam () = "%s%s__config__swapAParam" | |
116 | 116 | ||
117 | 117 | ||
118 | 118 | func keySwapAmountBParam () = "%s%s__config__swapBParam" | |
119 | 119 | ||
120 | 120 | ||
121 | 121 | func keyNsbtLockContract () = "%s__nsbtLockContract" | |
122 | 122 | ||
123 | 123 | ||
124 | 124 | func keyMathContract () = "%s__mathContract" | |
125 | 125 | ||
126 | 126 | ||
127 | 127 | func keyBalanceWavesLockInterval () = "balance_waves_lock_interval" | |
128 | 128 | ||
129 | 129 | ||
130 | 130 | func keyBalanceNeutrinoLockInterval () = "balance_neutrino_lock_interval" | |
131 | 131 | ||
132 | 132 | ||
133 | 133 | func keyPrice () = "price" | |
134 | 134 | ||
135 | 135 | ||
136 | 136 | func keyLockParamStartBlock (userAddress) = makeString(["%s%s%s", "paramByUser", userAddress, "start"], SEP) | |
137 | 137 | ||
138 | 138 | ||
139 | 139 | func keyHalfLife () = "%s__halfLife" | |
140 | 140 | ||
141 | 141 | ||
142 | 142 | func keyMinLockAmount () = "%s__minLockAmount" | |
143 | 143 | ||
144 | 144 | ||
145 | 145 | func keyMinWavesForNsbtBuy () = "min_waves_nsbt_buy" | |
146 | 146 | ||
147 | 147 | ||
148 | 148 | func keyMinNsbtSell () = "min_nsbt_sell" | |
149 | 149 | ||
150 | 150 | ||
151 | 151 | func getStringOrFail (address,key) = valueOrErrorMessage(getString(address, key), makeString(["mandatory ", toString(address), ".", key, " is not defined"], "")) | |
152 | 152 | ||
153 | 153 | ||
154 | 154 | func getIntOrFail (address,key) = valueOrErrorMessage(getInteger(address, key), makeString(["mandatory ", toString(address), ".", key, " is not defined"], "")) | |
155 | 155 | ||
156 | 156 | ||
157 | 157 | func getBoolOrFail (address,key) = valueOrErrorMessage(getBoolean(address, key), makeString(["mandatory ", toString(address), ".", key, " is not defined"], "")) | |
158 | 158 | ||
159 | 159 | ||
160 | 160 | func convertNeutrinoToWaves (amount,price) = fraction(amount, MULT8, price) | |
161 | 161 | ||
162 | 162 | ||
163 | 163 | func convertWavesToNeutrino (amount,price) = fraction(amount, price, MULT8) | |
164 | 164 | ||
165 | 165 | ||
166 | 166 | func asAnyList (val) = match val { | |
167 | 167 | case valAnyList: List[Any] => | |
168 | 168 | valAnyList | |
169 | 169 | case _ => | |
170 | 170 | throw("fail to cast into List[Any]") | |
171 | 171 | } | |
172 | 172 | ||
173 | 173 | ||
174 | 174 | func asInt (val) = match val { | |
175 | 175 | case valInt: Int => | |
176 | 176 | valInt | |
177 | 177 | case _ => | |
178 | 178 | throw("fail to cast into Int") | |
179 | 179 | } | |
180 | 180 | ||
181 | 181 | ||
182 | 182 | func asString (val) = match val { | |
183 | 183 | case valStr: String => | |
184 | 184 | valStr | |
185 | 185 | case _ => | |
186 | 186 | throw("fail to cast into String") | |
187 | 187 | } | |
188 | 188 | ||
189 | 189 | ||
190 | 190 | func asTuple2Ints (val) = match val { | |
191 | 191 | case v: (Int, Int) => | |
192 | 192 | v | |
193 | 193 | case _ => | |
194 | 194 | throw("fail to cast into Tuple2 ints") | |
195 | 195 | } | |
196 | 196 | ||
197 | 197 | ||
198 | 198 | func asSwapParamsSTRUCT (val) = match val { | |
199 | 199 | case struct: (Int, Int, Int, Int, Int) => | |
200 | 200 | struct | |
201 | 201 | case _ => | |
202 | 202 | throw("fail to cast into Int") | |
203 | 203 | } | |
204 | 204 | ||
205 | 205 | ||
206 | 206 | func toTimestamp (start) = if ((0 > start)) | |
207 | 207 | then -1 | |
208 | 208 | else match blockInfoByHeight(start) { | |
209 | 209 | case block: BlockInfo => | |
210 | 210 | block.timestamp | |
211 | 211 | case _ => | |
212 | 212 | -1 | |
213 | 213 | } | |
214 | 214 | ||
215 | 215 | ||
216 | 216 | func toX18 (origVal,origScaleMult) = fraction(toBigInt(origVal), MULT18, toBigInt(origScaleMult)) | |
217 | 217 | ||
218 | 218 | ||
219 | 219 | func fromX18 (val,resultScaleMult) = toInt(fraction(val, toBigInt(resultScaleMult), MULT18)) | |
220 | 220 | ||
221 | 221 | ||
222 | 222 | let neutrinoContract = addressFromStringValue(getStringOrFail(this, keyNeutrinoAddress())) | |
223 | 223 | ||
224 | 224 | let controlContract = addressFromStringValue(getStringOrFail(neutrinoContract, keyContolContract())) | |
225 | 225 | ||
226 | 226 | let auctionContract = addressFromStringValue(getStringOrFail(neutrinoContract, keyAuctionContract())) | |
227 | 227 | ||
228 | 228 | let liquidationContract = getStringOrFail(neutrinoContract, keyLiquidationContractAddress()) | |
229 | 229 | ||
230 | 230 | let rpdContract = addressFromStringValue(getStringOrFail(neutrinoContract, keyRPDContract())) | |
231 | 231 | ||
232 | 232 | let mathContract = addressFromStringValue(getStringOrFail(this, keyMathContract())) | |
233 | 233 | ||
234 | 234 | let nsbtStakingContract = addressFromStringValue(getStringOrFail(this, keyNsbtLockContract())) | |
235 | 235 | ||
236 | 236 | let neutrinoAssetIdString = getStringOrFail(neutrinoContract, keyNeutrinoAssetId()) | |
237 | 237 | ||
238 | 238 | let neutrinoAssetId = fromBase58String(neutrinoAssetIdString) | |
239 | 239 | ||
240 | 240 | let nsbtAssetIdStr = getStringValue(neutrinoContract, keyNsbtAssetId()) | |
241 | 241 | ||
242 | 242 | let nsbtAssetId = fromBase58String(nsbtAssetIdStr) | |
243 | 243 | ||
244 | 244 | let surfAssetIdStr = getStringValue(auctionContract, keySurfAssetId()) | |
245 | 245 | ||
246 | 246 | let surfAssetId = fromBase58String(surfAssetIdStr) | |
247 | 247 | ||
248 | 248 | func minWavesForNsbtBuy () = asInt(invoke(auctionContract, "minWavesAmountNsbtBuySYSREADONLY", nil, nil)) | |
249 | 249 | ||
250 | 250 | ||
251 | 251 | func minNsbtForSell () = asInt(invoke(auctionContract, "minNsbtAmountForSellSYSREADONLY", nil, nil)) | |
252 | 252 | ||
253 | 253 | ||
254 | 254 | func minWavesForSurfBuy () = asInt(invoke(auctionContract, "minWavesAmountSurfBuySYSREADONLY", nil, nil)) | |
255 | 255 | ||
256 | 256 | ||
257 | 257 | func minUsdnForSurfBuy () = asInt(invoke(auctionContract, "minUsdnAmountSurfBuySYSREADONLY", nil, nil)) | |
258 | 258 | ||
259 | 259 | ||
260 | 260 | func privateNsbtPriceREST () = { | |
261 | 261 | let prices = asAnyList(invoke(mathContract, "calcContractNsbtPriceSYSREADONLY", [0], nil)) | |
262 | 262 | let nsbt2usdnPrice = asInt(prices[0]) | |
263 | 263 | let nsbt2wavesPrice = asInt(prices[1]) | |
264 | 264 | $Tuple2(IntegerEntry("nsbt2usdnPrice", nsbt2usdnPrice), IntegerEntry("nsbt2wavesPrice", nsbt2wavesPrice)) | |
265 | 265 | } | |
266 | 266 | ||
267 | 267 | ||
268 | 268 | func getLockedOnRpd (addrStr,assetIdStr) = { | |
269 | 269 | let key = makeString(["rpd_balance", assetIdStr, addrStr], "_") | |
270 | 270 | valueOrElse(getInteger(rpdContract, key), 0) | |
271 | 271 | } | |
272 | 272 | ||
273 | 273 | ||
274 | 274 | @Callable(i) | |
275 | 275 | func constructor (neutrinoAddress,nsbtLockAddress,mathAddress) = if ((i.caller != this)) | |
276 | 276 | then throw("not authorized") | |
277 | 277 | else [StringEntry(keyNeutrinoAddress(), neutrinoAddress), StringEntry(keyNsbtLockContract(), nsbtLockAddress), StringEntry(keyMathContract(), mathAddress)] | |
278 | 278 | ||
279 | 279 | ||
280 | 280 | ||
281 | 281 | @Callable(i) | |
282 | 282 | func neutrinoStatsREADONLY () = { | |
283 | 283 | let neutrinoMetrics = asAnyList(invoke(mathContract, "calcNeutinoMetricsREADONLY", nil, nil)) | |
284 | 284 | let prices = asAnyList(invoke(mathContract, "calcContractNsbtPriceSYSREADONLY", [0], nil)) | |
285 | 285 | let currentPrice = asInt(neutrinoMetrics[nMetricIdxPrice]) | |
286 | 286 | let neutrinoLockedBalance = asInt(neutrinoMetrics[nMetricIdxUsdnLockedBalance]) | |
287 | 287 | let wavesLockedBalance = asInt(neutrinoMetrics[nMetricIdxWavesLockedBalance]) | |
288 | 288 | let reservesInWaves = asInt(neutrinoMetrics[nMetricIdxReserve]) | |
289 | 289 | let reservesInUsdn = asInt(neutrinoMetrics[nMetricIdxReserveInUsdn]) | |
290 | 290 | let neutrinoSupply = asInt(neutrinoMetrics[nMetricIdxUsdnSupply]) | |
291 | 291 | let surplus = asInt(neutrinoMetrics[nMetricIdxSurplus]) | |
292 | 292 | let surplusPercent = asInt(neutrinoMetrics[nMetricIdxSurplusPercent]) | |
293 | 293 | let BR = asInt(neutrinoMetrics[nMetricIdxBR]) | |
294 | 294 | let nsbtSupply = asInt(neutrinoMetrics[nMetricIdxNsbtSupply]) | |
295 | 295 | let maxNsbtSupply = asInt(neutrinoMetrics[nMetricIdxMaxNsbtSupply]) | |
296 | 296 | let nsbt2usdnPrice = asInt(prices[0]) | |
297 | 297 | let nsbt2wavesPrice = asInt(prices[1]) | |
298 | 298 | let minWaves4NsbtBuy = minWavesForNsbtBuy() | |
299 | 299 | let minNsbtsell = minNsbtForSell() | |
300 | 300 | let minNsbtLockAmt = getIntOrFail(nsbtStakingContract, keyMinLockAmount()) | |
301 | 301 | let maxWaves2BuySurf = (fraction(neutrinoSupply, MULT8, currentPrice) - reservesInWaves) | |
302 | 302 | let maxUsdn2BuySurf = (neutrinoSupply - reservesInUsdn) | |
303 | 303 | let surfPriceInUsdn = BR | |
304 | 304 | let surfPriceInWaves = fraction(BR, MULT6, currentPrice) | |
305 | 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)) | |
306 | 306 | } | |
307 | 307 | ||
308 | 308 | ||
309 | 309 | ||
310 | 310 | @Callable(i) | |
311 | 311 | func swapInfoREADONLY (userAddressStrOpt) = { | |
312 | 312 | let currentPrice = getIntegerValue(controlContract, keyPrice()) | |
313 | 313 | let minWavesSwapAmt = getIntegerValue(neutrinoContract, keyMinWavesSwapAmount()) | |
314 | 314 | let minUsdnSwapAmt = getIntegerValue(neutrinoContract, keyMinNeutrinoSwapAmount()) | |
315 | 315 | let waves2UsdnFee = getIntegerValue(neutrinoContract, keyWavesOutFeePart()) | |
316 | 316 | let usdn2WavesFee = getIntegerValue(neutrinoContract, keyNeutrinoOutFeePart()) | |
317 | 317 | let usdnSwapDelayDuration = getIntegerValue(neutrinoContract, keyBalanceNeutrinoLockInterval()) | |
318 | 318 | let wavesSwapDelayDuration = getIntegerValue(neutrinoContract, keyBalanceWavesLockInterval()) | |
319 | 319 | let $t01046510629 = asSwapParamsSTRUCT(invoke(neutrinoContract, "swapParamsByUserSYSREADONLY", [userAddressStrOpt, 0], nil)) | |
320 | 320 | let swapLimitMaxUsdn = $t01046510629._1 | |
321 | 321 | let swapLimitSpentUsdn = $t01046510629._2 | |
322 | 322 | let blcks2LmtReset = $t01046510629._3 | |
323 | 323 | let swapLimitMaxWaves = convertNeutrinoToWaves(swapLimitMaxUsdn, currentPrice) | |
324 | 324 | $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)) | |
325 | 325 | } | |
326 | 326 | ||
327 | 327 | ||
328 | 328 | ||
329 | 329 | @Callable(i) | |
330 | 330 | func gnsbtInfoREADONLY (userAddressStrOpt,nsbtAmtDiff) = { | |
331 | 331 | let currentPrice = getIntegerValue(controlContract, keyPrice()) | |
332 | 332 | let $t01163511818 = asSwapParamsSTRUCT(invoke(neutrinoContract, "swapParamsByUserSYSREADONLY", [userAddressStrOpt, 0], nil)) | |
333 | 333 | let limitMaxUsdn = $t01163511818._1 | |
334 | 334 | let limitSpent = $t01163511818._2 | |
335 | 335 | let blcks2LmtReset = $t01163511818._3 | |
336 | 336 | let gnsbtAmt = $t01163511818._4 | |
337 | 337 | let gnsbtAmtTotal = $t01163511818._5 | |
338 | 338 | let $t01182212030 = asSwapParamsSTRUCT(invoke(neutrinoContract, "swapParamsByUserSYSREADONLY", [userAddressStrOpt, nsbtAmtDiff], nil)) | |
339 | 339 | let limitMaxUsdnNEW = $t01182212030._1 | |
340 | 340 | let limitSpentNEW = $t01182212030._2 | |
341 | 341 | let blcks2LmtResetNEW = $t01182212030._3 | |
342 | 342 | let gnsbtAmtNEW = $t01182212030._4 | |
343 | 343 | let gnsbtAmtTotalNEW = $t01182212030._5 | |
344 | 344 | let limitMaxWaves = convertNeutrinoToWaves(limitMaxUsdn, currentPrice) | |
345 | 345 | let limitMaxWavesNEW = convertNeutrinoToWaves(limitMaxUsdnNEW, currentPrice) | |
346 | 346 | let gnsbtShare = if ((gnsbtAmtTotal != 0)) | |
347 | 347 | then fraction((gnsbtAmt * 100), MULT12, gnsbtAmtTotal) | |
348 | 348 | else 0 | |
349 | 349 | let gnsbtShareNEW = if ((gnsbtAmtTotalNEW != 0)) | |
350 | 350 | then fraction((gnsbtAmtNEW * 100), MULT12, gnsbtAmtTotalNEW) | |
351 | 351 | else 0 | |
352 | 352 | let rewardInfo = asString(invoke(nsbtStakingContract, "unclaimedRewardsREADONLY", [userAddressStrOpt], nil)) | |
353 | 353 | let nsbtAmt = gnsbtAmt | |
354 | 354 | let nsbtAmtNew = gnsbtAmtNEW | |
355 | 355 | let nsbtAmtStakedTotal = gnsbtAmtTotal | |
356 | 356 | let nsbtAmtStakedTotalNew = gnsbtAmtTotalNEW | |
357 | 357 | let nsbtData = asAnyList(invoke(nsbtStakingContract, "nsbtStakingSYSREADONLY", [userAddressStrOpt], nil)) | |
358 | 358 | let isEmptyNsbtBalance = if ((gnsbtAmt == 0)) | |
359 | 359 | then (gnsbtAmtNEW == 0) | |
360 | 360 | else false | |
361 | 361 | let startHeight = if (isEmptyNsbtBalance) | |
362 | 362 | then -1 | |
363 | 363 | else asInt(nsbtData[2]) | |
364 | 364 | let startTimestamp = toTimestamp(startHeight) | |
365 | 365 | let halfLife = getIntOrFail(nsbtStakingContract, keyHalfLife()) | |
366 | 366 | let startHeightNew = if (isEmptyNsbtBalance) | |
367 | 367 | then -1 | |
368 | 368 | else asInt(invoke(mathContract, "mergeStakesREADONLY", [gnsbtAmt, startHeight, gnsbtAmtNEW, height, halfLife], nil)) | |
369 | 369 | let startTimestampNew = toTimestamp(startHeightNew) | |
370 | 370 | $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)) | |
371 | 371 | } | |
372 | 372 | ||
373 | 373 | ||
374 | 374 | ||
375 | 375 | @Callable(i) | |
376 | 376 | func neutrinoConfigREADONLY () = { | |
377 | 377 | let limitParamA = getIntegerValue(mathContract, keySwapAmountAParam()) | |
378 | 378 | let limitParamB = getIntegerValue(mathContract, keySwapAmountBParam()) | |
379 | 379 | let minWavesSwapAmt = getIntegerValue(neutrinoContract, keyMinWavesSwapAmount()) | |
380 | 380 | let minUsdnSwapAmt = getIntegerValue(neutrinoContract, keyMinNeutrinoSwapAmount()) | |
381 | 381 | let waves2UsdnFee = getIntegerValue(neutrinoContract, keyWavesOutFeePart()) | |
382 | 382 | let usdn2WavesFee = getIntegerValue(neutrinoContract, keyNeutrinoOutFeePart()) | |
383 | 383 | let minWaves4NsbtBuy = minWavesForNsbtBuy() | |
384 | 384 | let minNsbtsell = minNsbtForSell() | |
385 | 385 | let minNsbtLockAmt = getIntegerValue(nsbtStakingContract, keyMinLockAmount()) | |
386 | 386 | let halfLife = getIntegerValue(nsbtStakingContract, keyHalfLife()) | |
387 | 387 | let minWaves4SurfBuy = minWavesForSurfBuy() | |
388 | 388 | let minUsdn4SurfBuy = minUsdnForSurfBuy() | |
389 | 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 | 390 | } | |
391 | 391 | ||
392 | 392 | ||
393 | 393 | ||
394 | 394 | @Callable(i) | |
395 | 395 | func buyNsbtREADONLY (wavesPay) = { | |
396 | 396 | let minWavesAmountNsbtBuy = minWavesForNsbtBuy() | |
397 | 397 | if ((minWavesAmountNsbtBuy > wavesPay)) | |
398 | 398 | then throw((("min " + toString(minWavesAmountNsbtBuy)) + " waves expected")) | |
399 | 399 | else { | |
400 | 400 | let curveResult = asAnyList(invoke(mathContract, "curveFunctionREADONLY", [wavesPay], nil)) | |
401 | 401 | if ((curveResult == curveResult)) | |
402 | 402 | then { | |
403 | 403 | let nsbtAmount = asInt(curveResult[0]) | |
404 | 404 | if ((0 >= nsbtAmount)) | |
405 | 405 | then throw("nsbtAmount <= 0") | |
406 | 406 | else $Tuple2(nil, makeString(["%d", toString(nsbtAmount)], SEP)) | |
407 | 407 | } | |
408 | 408 | else throw("Strict value is not equal to itself.") | |
409 | 409 | } | |
410 | 410 | } | |
411 | 411 | ||
412 | 412 | ||
413 | 413 | ||
414 | 414 | @Callable(i) | |
415 | 415 | func buySurfREADONLY (userAddressStrOpt,amount,assetIdStr) = { | |
416 | 416 | let assetId = fromBase58String(assetIdStr) | |
417 | 417 | let surfResult = asAnyList(invoke(mathContract, "surfFunctionREADONLY", [amount, assetId], nil)) | |
418 | 418 | let surfAmount = asInt(surfResult[bFuncIdxSurf]) | |
419 | 419 | let gNsbtAmount = (surfAmount / 60) | |
420 | 420 | let limitOld = asSwapParamsSTRUCT(invoke(neutrinoContract, "swapParamsByUserSYSREADONLY", [userAddressStrOpt, 0], nil))._1 | |
421 | 421 | let limitNew = asSwapParamsSTRUCT(invoke(neutrinoContract, "swapParamsByUserSYSREADONLY", [userAddressStrOpt, gNsbtAmount], nil))._1 | |
422 | 422 | let price = asInt(surfResult[bFuncIdxWavesPrice]) | |
423 | 423 | let additionalLimitUsdn = (limitNew - limitOld) | |
424 | 424 | let additionalLimitWaves = fraction(additionalLimitUsdn, MULT8, price) | |
425 | 425 | let br0 = asInt(surfResult[bFuncIdxBRStart]) | |
426 | 426 | let br1 = asInt(surfResult[bFuncIdxBREnd]) | |
427 | 427 | let priceSurf2Waves0 = fraction(br0, MULT6, price) | |
428 | 428 | let priceSurf2Waves1 = fraction(br1, MULT6, price) | |
429 | 429 | let votingPowerEta = 1000 | |
430 | 430 | let newVotingPower = 4242 | |
431 | 431 | let rest = asInt(surfResult[bFuncIdxRest]) | |
432 | 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)) | |
433 | 433 | } | |
434 | 434 | ||
435 | 435 | ||
436 | 436 | ||
437 | 437 | @Callable(i) | |
438 | 438 | func walletInfoREADONLY (userAddressStr) = { | |
439 | 439 | let addr = addressFromStringValue(userAddressStr) | |
440 | 440 | let balance = wavesBalance(addr) | |
441 | 441 | let usdnLocked = getLockedOnRpd(userAddressStr, neutrinoAssetIdString) | |
442 | 442 | let nsbtLockedOld = getLockedOnRpd(userAddressStr, nsbtAssetIdStr) | |
443 | 443 | let nsbtData = asAnyList(invoke(nsbtStakingContract, "nsbtStakingSYSREADONLY", [userAddressStr], nil)) | |
444 | 444 | let nsbtLocked = asInt(nsbtData[0]) | |
445 | 445 | let gNsbtBalance = nsbtLocked | |
446 | 446 | let surfLocked = 42 | |
447 | 447 | let votingPower = 4242 | |
448 | 448 | let votingPowerMax = 424242 | |
449 | 449 | let heightVotingPowerMax = 42424242 | |
450 | 450 | $Tuple2(nil, makeString(["%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(nsbtLocked), toString(gNsbtBalance), toString(surfLocked), toString(votingPower), toString(votingPowerMax), toString(heightVotingPowerMax)], SEP)) | |
451 | 451 | } | |
452 | 452 | ||
453 | 453 | ||
454 | 454 | ||
455 | 455 | @Callable(i) | |
456 | 456 | func mergedStakeREADONLY (amount1,height1,amount2,height2) = { | |
457 | 457 | let halfLife = getIntOrFail(nsbtStakingContract, keyHalfLife()) | |
458 | 458 | let h = asInt(invoke(mathContract, "mergeStakesREADONLY", [amount1, height1, amount2, height2, halfLife], nil)) | |
459 | 459 | if ((h == h)) | |
460 | 460 | then $Tuple2(nil, makeString(["%d%d", toString((amount1 + amount2)), toString(h)], SEP)) | |
461 | 461 | else throw("Strict value is not equal to itself.") | |
462 | 462 | } | |
463 | 463 | ||
464 | 464 | ||
465 | 465 | ||
466 | 466 | @Callable(i) | |
467 | 467 | func unstakeComissionAmountByHeightREADONLY (amount,startHeight) = { | |
468 | 468 | let halfLife = getIntOrFail(nsbtStakingContract, keyHalfLife()) | |
469 | 469 | let a = asInt(invoke(mathContract, "getUnstakeComissionAmountREADONLY", [amount, startHeight, halfLife], nil)) | |
470 | 470 | if ((a == a)) | |
471 | 471 | then $Tuple2(nil, makeString(["%d", toString(a)], SEP)) | |
472 | 472 | else throw("Strict value is not equal to itself.") | |
473 | 473 | } | |
474 | 474 | ||
475 | 475 | ||
476 | 476 | ||
477 | 477 | @Callable(i) | |
478 | 478 | func unstakeComissionAmountByUserREADONLY (amount,userAddress) = { | |
479 | 479 | let halfLife = getIntOrFail(nsbtStakingContract, keyHalfLife()) | |
480 | 480 | let startHeight = valueOrElse(getInteger(nsbtStakingContract, keyLockParamStartBlock(userAddress)), height) | |
481 | 481 | let a = asInt(invoke(mathContract, "getUnstakeComissionAmountREADONLY", [amount, startHeight, halfLife], nil)) | |
482 | 482 | if ((a == a)) | |
483 | 483 | then $Tuple2(nil, makeString(["%d", toString(a)], SEP)) | |
484 | 484 | else throw("Strict value is not equal to itself.") | |
485 | 485 | } | |
486 | 486 | ||
487 | 487 | ||
488 | 488 | ||
489 | 489 | @Callable(i) | |
490 | 490 | func neutrinoStateREST () = { | |
491 | 491 | let neutrinoMetrics = asAnyList(invoke(mathContract, "calcNeutinoMetricsREADONLY", nil, nil)) | |
492 | 492 | let currentPrice = asInt(neutrinoMetrics[nMetricIdxPrice]) | |
493 | 493 | let neutrinoLockedBalance = asInt(neutrinoMetrics[nMetricIdxUsdnLockedBalance]) | |
494 | 494 | let wavesLockedBalance = asInt(neutrinoMetrics[nMetricIdxWavesLockedBalance]) | |
495 | 495 | let reservesInWaves = asInt(neutrinoMetrics[nMetricIdxReserve]) | |
496 | 496 | let reservesInUsdn = asInt(neutrinoMetrics[nMetricIdxReserveInUsdn]) | |
497 | 497 | let neutrinoSupply = asInt(neutrinoMetrics[nMetricIdxUsdnSupply]) | |
498 | 498 | let surplus = asInt(neutrinoMetrics[nMetricIdxSurplus]) | |
499 | 499 | let surplusPercent = asInt(neutrinoMetrics[nMetricIdxSurplusPercent]) | |
500 | 500 | let BR = asInt(neutrinoMetrics[nMetricIdxBR]) | |
501 | 501 | let nsbtSupply = asInt(neutrinoMetrics[nMetricIdxNsbtSupply]) | |
502 | 502 | let nsbtSupplyMax = asInt(neutrinoMetrics[nMetricIdxMaxNsbtSupply]) | |
503 | 503 | let surfSupply = asInt(neutrinoMetrics[nMetricIdxSurfSupply]) | |
504 | 504 | 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)], "__")) | |
505 | 505 | } | |
506 | 506 | ||
507 | 507 | ||
508 | 508 | ||
509 | 509 | @Callable(i) | |
510 | 510 | func nsbtPriceREST () = { | |
511 | 511 | let prices = asAnyList(invoke(mathContract, "calcContractNsbtPriceSYSREADONLY", [0], nil)) | |
512 | 512 | let nsbt2usdnPrice = asInt(prices[0]) | |
513 | 513 | let nsbt2wavesPrice = asInt(prices[1]) | |
514 | 514 | let restData = makeString(["startNsbtPriceREST", toString(nsbt2usdnPrice), toString(nsbt2wavesPrice), "endNsbtPriceREST"], "__") | |
515 | 515 | throw(restData) | |
516 | 516 | } | |
517 | 517 | ||
518 | 518 | ||
519 | 519 | ||
520 | 520 | @Callable(i) | |
521 | 521 | func surfPriceREST () = { | |
522 | 522 | let neutrinoMetrics = asAnyList(invoke(mathContract, "calcNeutinoMetricsREADONLY", nil, nil)) | |
523 | 523 | let currentPrice = asInt(neutrinoMetrics[nMetricIdxPrice]) | |
524 | 524 | let reservesInWaves = asInt(neutrinoMetrics[nMetricIdxReserve]) | |
525 | 525 | let neutrinoSupply = asInt(neutrinoMetrics[nMetricIdxUsdnSupply]) | |
526 | 526 | let surfPriceInUsdn = fraction(reservesInWaves, currentPrice, neutrinoSupply) | |
527 | 527 | let surfPriceInWaves = fraction(reservesInWaves, MULT8, neutrinoSupply) | |
528 | 528 | let restData = makeString(["startSurfPriceREST", toString(surfPriceInUsdn), toString(surfPriceInWaves), "endSurfPriceREST"], "__") | |
529 | 529 | throw(restData) | |
530 | 530 | } | |
531 | 531 | ||
532 | 532 |
github/deemru/w8io/169f3d6 100.10 ms ◑