tx · 9rFJnth8QDwSFyq54UhGTVz3a4YjNWrrdftsFUrCCBeG 3Mxd5o7PwH76ZkN8zG4xwDLubEnbkaihKzi: -0.04000000 Waves 2022.08.23 15:24 [2197127] smart account 3Mxd5o7PwH76ZkN8zG4xwDLubEnbkaihKzi > SELF 0.00000000 Waves
{ "type": 13, "id": "9rFJnth8QDwSFyq54UhGTVz3a4YjNWrrdftsFUrCCBeG", "fee": 4000000, "feeAssetId": null, "timestamp": 1661257529558, "version": 1, "sender": "3Mxd5o7PwH76ZkN8zG4xwDLubEnbkaihKzi", "senderPublicKey": "BwVRZtTzoCigEsffCvQ9uo7WvkoBNNGVjX4nat5X5zyQ", "proofs": [ "66SaaWmsHMEtj6YaZ9a7Mv3hiTcstdc22czrNLdbgSuGRN6Zu33n88fxVZTEHAkqUgGfM8tgBy3xZVKuJCQU8Qyu" ], "script": "base64:AAIFAAAAAAAAAEMIAhIFCgMICAgSABIDCgEIEgQKAggBEgASAwoBARIFCgMIAQgSAwoBCBIGCgQBAQEBEgQKAgEBEgQKAgEIEgASABIAAAAAcQAAAAALcmV2aXNpb25OdW0CAAAAAAAAAAAGRVVMRVI4AAAAAAAQM8TWAAAAAAVNVUxUNgAAAAAAAA9CQAAAAAAGTVVMVFg2CQABNgAAAAEAAAAAAAAPQkAAAAAABU1VTFQ4AAAAAAAF9eEAAAAAAAZNVUxUWDgJAAE2AAAAAQAAAAAABfXhAAAAAAAGTVVMVDEyAAAAAOjUpRAAAAAAAAZNVUxUMTgJAAE2AAAAAQAN4Lazp2QAAAAAAAADU0VQAgAAAAJfXwAAAAALQlJQUk9URUNURUQAAAAAAAABhqAAAAAAB1dBVkVTSUQJAAJZAAAAAQIAAAAFV0FWRVMAAAAAD25NZXRyaWNJZHhQcmljZQAAAAAAAAAAAAAAAAAbbk1ldHJpY0lkeFVzZG5Mb2NrZWRCYWxhbmNlAAAAAAAAAAABAAAAABxuTWV0cmljSWR4V2F2ZXNMb2NrZWRCYWxhbmNlAAAAAAAA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AQkAAZEAAAACBQAAAA9uZXV0cmlub01ldHJpY3MFAAAAFG5NZXRyaWNJZHhVc2RuU3VwcGx5BAAAAA9zdXJmUHJpY2VJblVzZG4JAABrAAAAAwUAAAAPcmVzZXJ2ZXNJbldhdmVzBQAAAAxjdXJyZW50UHJpY2UFAAAADm5ldXRyaW5vU3VwcGx5BAAAABBzdXJmUHJpY2VJbldhdmVzCQAAawAAAAMFAAAAD3Jlc2VydmVzSW5XYXZlcwUAAAAFTVVMVDgFAAAADm5ldXRyaW5vU3VwcGx5BAAAAAhyZXN0RGF0YQkABLkAAAACCQAETAAAAAICAAAAEnN0YXJ0U3VyZlByaWNlUkVTVAkABEwAAAACCQABpAAAAAEFAAAAD3N1cmZQcmljZUluVXNkbgkABEwAAAACCQABpAAAAAEFAAAAEHN1cmZQcmljZUluV2F2ZXMJAARMAAAAAgIAAAAQZW5kU3VyZlByaWNlUkVTVAUAAAADbmlsAgAAAAJfXwkAAAIAAAABBQAAAAhyZXN0RGF0YQAAAADQWHCI", "chainId": 84, "height": 2197127, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: AkGJNhSJpz361AjUUUDCw8r1MPF8mGQuMr7PYj1Uba2W Next: 6EEMxLF4hU6FrMNRhP8noBwensZWDcYcMRf8wWYZFCe3 Diff:
Old | New | Differences | |
---|---|---|---|
19 | 19 | ||
20 | 20 | let i = "__" | |
21 | 21 | ||
22 | - | let j = | |
22 | + | let j = 100000 | |
23 | 23 | ||
24 | - | let k = | |
24 | + | let k = fromBase58String("WAVES") | |
25 | 25 | ||
26 | - | let l = | |
26 | + | let l = 0 | |
27 | 27 | ||
28 | - | let m = | |
28 | + | let m = 1 | |
29 | 29 | ||
30 | - | let n = | |
30 | + | let n = 2 | |
31 | 31 | ||
32 | - | let o = | |
32 | + | let o = 3 | |
33 | 33 | ||
34 | - | let p = | |
34 | + | let p = 4 | |
35 | 35 | ||
36 | - | let q = | |
36 | + | let q = 5 | |
37 | 37 | ||
38 | - | let r = | |
38 | + | let r = 6 | |
39 | 39 | ||
40 | - | let s = | |
40 | + | let s = 7 | |
41 | 41 | ||
42 | - | let t = | |
42 | + | let t = 8 | |
43 | 43 | ||
44 | - | let u = | |
44 | + | let u = 9 | |
45 | 45 | ||
46 | - | let v = | |
46 | + | let v = 10 | |
47 | 47 | ||
48 | - | let w = | |
48 | + | let w = 11 | |
49 | 49 | ||
50 | - | let x = | |
50 | + | let x = 0 | |
51 | 51 | ||
52 | - | let y = | |
52 | + | let y = 1 | |
53 | 53 | ||
54 | - | let z = | |
54 | + | let z = 2 | |
55 | 55 | ||
56 | - | let A = | |
56 | + | let A = 3 | |
57 | 57 | ||
58 | - | let B = | |
58 | + | let B = 4 | |
59 | 59 | ||
60 | - | let C = | |
60 | + | let C = 5 | |
61 | 61 | ||
62 | - | let D = | |
62 | + | let D = 6 | |
63 | 63 | ||
64 | - | let E = | |
64 | + | let E = 7 | |
65 | 65 | ||
66 | - | let F = | |
66 | + | let F = 8 | |
67 | 67 | ||
68 | - | let G = | |
68 | + | let G = 9 | |
69 | 69 | ||
70 | - | func H () = "%s%s__config__neutrinoAddress" | |
70 | + | let H = 10 | |
71 | + | ||
72 | + | func I () = "%s%s__config__neutrinoAddress" | |
71 | 73 | ||
72 | 74 | ||
73 | - | func | |
75 | + | func J () = "neutrino_asset_id" | |
74 | 76 | ||
75 | 77 | ||
76 | - | func | |
78 | + | func K () = "bond_asset_id" | |
77 | 79 | ||
78 | 80 | ||
79 | - | func | |
81 | + | func L () = "surf_asset_id" | |
80 | 82 | ||
81 | 83 | ||
82 | - | func | |
84 | + | func M () = "balance_lock_" | |
83 | 85 | ||
84 | 86 | ||
85 | - | func | |
87 | + | func N () = (M() + "waves") | |
86 | 88 | ||
87 | 89 | ||
88 | - | func | |
90 | + | func O () = (M() + "neutrino") | |
89 | 91 | ||
90 | 92 | ||
91 | - | func | |
93 | + | func P () = "min_waves_swap_amount" | |
92 | 94 | ||
93 | 95 | ||
94 | - | func | |
96 | + | func Q () = "min_neutrino_swap_amount" | |
95 | 97 | ||
96 | 98 | ||
97 | - | func | |
99 | + | func R () = "wavesOut_swap_feePart" | |
98 | 100 | ||
99 | 101 | ||
100 | - | func | |
102 | + | func S () = "neutrinoOut_swap_feePart" | |
101 | 103 | ||
102 | 104 | ||
103 | - | func | |
105 | + | func T () = "%s%s__config__swapAParam" | |
104 | 106 | ||
105 | 107 | ||
106 | - | func | |
108 | + | func U () = "%s%s__config__swapBParam" | |
107 | 109 | ||
108 | 110 | ||
109 | - | func | |
111 | + | func V () = "%s%s__config__usdnSwapAParam" | |
110 | 112 | ||
111 | 113 | ||
112 | - | func | |
114 | + | func W () = "%s%s__config__usdnSwapBParam" | |
113 | 115 | ||
114 | 116 | ||
115 | - | func | |
117 | + | func X () = "%s__nsbtLockContract" | |
116 | 118 | ||
117 | 119 | ||
118 | - | func | |
120 | + | func Y () = "%s__mathContract" | |
119 | 121 | ||
120 | 122 | ||
121 | - | func | |
123 | + | func Z () = "min_BR_protection_level" | |
122 | 124 | ||
123 | 125 | ||
124 | - | func | |
126 | + | func aa () = "balance_waves_lock_interval" | |
125 | 127 | ||
126 | 128 | ||
127 | - | func ab () = " | |
129 | + | func ab () = "balance_neutrino_lock_interval" | |
128 | 130 | ||
129 | 131 | ||
130 | - | func ac () = " | |
132 | + | func ac () = "price" | |
131 | 133 | ||
132 | 134 | ||
133 | - | func ad () = " | |
135 | + | func ad (ae) = makeString(["%s%s%s", "paramByUser", ae, "start"], i) | |
134 | 136 | ||
135 | 137 | ||
136 | - | func | |
138 | + | func af () = "%s__halfLife" | |
137 | 139 | ||
138 | 140 | ||
139 | - | func | |
141 | + | func ag () = "%s__minLockAmount" | |
140 | 142 | ||
141 | 143 | ||
142 | - | func ah ( | |
144 | + | func ah () = "min_waves_nsbt_buy" | |
143 | 145 | ||
144 | 146 | ||
145 | - | func | |
147 | + | func ai () = "min_nsbt_sell" | |
146 | 148 | ||
147 | 149 | ||
148 | - | func | |
150 | + | func aj (ak) = ("rpd_balance_" + ak) | |
149 | 151 | ||
150 | 152 | ||
151 | - | func | |
153 | + | func al (am,an) = valueOrErrorMessage(getString(am, an), makeString(["mandatory ", toString(am), ".", an, " is not defined"], "")) | |
152 | 154 | ||
153 | 155 | ||
154 | - | func | |
156 | + | func ao (am,an) = valueOrErrorMessage(getInteger(am, an), makeString(["mandatory ", toString(am), ".", an, " is not defined"], "")) | |
155 | 157 | ||
156 | 158 | ||
157 | - | func aq (ar) = { | |
158 | - | let as = ar | |
159 | - | if ($isInstanceOf(as, "List[Any]")) | |
159 | + | func ap (am,an) = valueOrErrorMessage(getBoolean(am, an), makeString(["mandatory ", toString(am), ".", an, " is not defined"], "")) | |
160 | + | ||
161 | + | ||
162 | + | func aq (ar,as) = fraction(ar, e, as) | |
163 | + | ||
164 | + | ||
165 | + | func at (ar,as) = fraction(ar, as, e) | |
166 | + | ||
167 | + | ||
168 | + | func au (av) = { | |
169 | + | let aw = av | |
170 | + | if ($isInstanceOf(aw, "List[Any]")) | |
160 | 171 | then { | |
161 | - | let | |
162 | - | | |
172 | + | let ax = aw | |
173 | + | ax | |
163 | 174 | } | |
164 | 175 | else throw("fail to cast into List[Any]") | |
165 | 176 | } | |
166 | 177 | ||
167 | 178 | ||
168 | - | func | |
169 | - | let | |
170 | - | if ($isInstanceOf( | |
179 | + | func ay (av) = { | |
180 | + | let aw = av | |
181 | + | if ($isInstanceOf(aw, "Int")) | |
171 | 182 | then { | |
172 | - | let | |
173 | - | | |
183 | + | let az = aw | |
184 | + | az | |
174 | 185 | } | |
175 | 186 | else throw("fail to cast into Int") | |
176 | 187 | } | |
177 | 188 | ||
178 | 189 | ||
179 | - | func | |
180 | - | let | |
181 | - | if ($isInstanceOf( | |
190 | + | func aA (av) = { | |
191 | + | let aw = av | |
192 | + | if ($isInstanceOf(aw, "String")) | |
182 | 193 | then { | |
183 | - | let | |
184 | - | | |
194 | + | let aB = aw | |
195 | + | aB | |
185 | 196 | } | |
186 | 197 | else throw("fail to cast into String") | |
187 | 198 | } | |
188 | 199 | ||
189 | 200 | ||
190 | - | func | |
191 | - | let | |
192 | - | if ($isInstanceOf( | |
201 | + | func aC (av) = { | |
202 | + | let aw = av | |
203 | + | if ($isInstanceOf(aw, "(Int, Int)")) | |
193 | 204 | then { | |
194 | - | let | |
195 | - | | |
205 | + | let aD = aw | |
206 | + | aD | |
196 | 207 | } | |
197 | 208 | else throw("fail to cast into Tuple2 ints") | |
198 | 209 | } | |
199 | 210 | ||
200 | 211 | ||
201 | - | func | |
202 | - | let | |
203 | - | if ($isInstanceOf( | |
212 | + | func aE (av) = { | |
213 | + | let aw = av | |
214 | + | if ($isInstanceOf(aw, "(Int, Int, Int, Int, Int, Int, Int)")) | |
204 | 215 | then { | |
205 | - | let | |
206 | - | | |
216 | + | let aF = aw | |
217 | + | aF | |
207 | 218 | } | |
208 | 219 | else throw("fail to cast into SwapParamsSTRUCT") | |
209 | 220 | } | |
210 | 221 | ||
211 | 222 | ||
212 | - | func | |
223 | + | func aG (aH) = if ((0 > aH)) | |
213 | 224 | then -1 | |
214 | 225 | else { | |
215 | - | let | |
216 | - | if ($isInstanceOf( | |
226 | + | let aw = blockInfoByHeight(aH) | |
227 | + | if ($isInstanceOf(aw, "BlockInfo")) | |
217 | 228 | then { | |
218 | - | let | |
219 | - | | |
229 | + | let aI = aw | |
230 | + | aI.timestamp | |
220 | 231 | } | |
221 | 232 | else -1 | |
222 | 233 | } | |
223 | 234 | ||
224 | 235 | ||
225 | - | func | |
236 | + | func aJ (aK,aL) = fraction(toBigInt(aK), h, toBigInt(aL)) | |
226 | 237 | ||
227 | 238 | ||
228 | - | func | |
239 | + | func aM (av,aN) = toInt(fraction(av, toBigInt(aN), h)) | |
229 | 240 | ||
230 | 241 | ||
231 | - | let | |
242 | + | let aO = 1 | |
232 | 243 | ||
233 | - | let | |
244 | + | let aP = 2 | |
234 | 245 | ||
235 | - | let | |
246 | + | let aQ = 3 | |
236 | 247 | ||
237 | - | let | |
248 | + | let aR = 4 | |
238 | 249 | ||
239 | - | let | |
250 | + | let aS = 5 | |
240 | 251 | ||
241 | - | let | |
252 | + | let aT = 6 | |
242 | 253 | ||
243 | - | let | |
254 | + | let aU = 7 | |
244 | 255 | ||
245 | - | let | |
256 | + | let aV = 8 | |
246 | 257 | ||
247 | - | let | |
258 | + | let aW = 9 | |
248 | 259 | ||
249 | - | let | |
260 | + | let aX = 10 | |
250 | 261 | ||
251 | - | let | |
262 | + | let aY = 11 | |
252 | 263 | ||
253 | - | let | |
264 | + | let aZ = 12 | |
254 | 265 | ||
255 | - | func | |
266 | + | func ba () = "%s%s__config__controlAddress" | |
256 | 267 | ||
257 | 268 | ||
258 | - | func | |
269 | + | func bb () = "%s__controlConfig" | |
259 | 270 | ||
260 | 271 | ||
261 | - | func | |
272 | + | func bc (bd) = split(al(bd, bb()), i) | |
262 | 273 | ||
263 | 274 | ||
264 | - | func | |
275 | + | func be (bf,bg) = valueOrErrorMessage(addressFromString(bf[bg]), ("Control cfg doesn't contain address at index " + toString(bg))) | |
265 | 276 | ||
266 | 277 | ||
267 | - | let | |
278 | + | let bh = addressFromStringValue(valueOrElse(getString(this, ba()), "3N4NS7d4Jo9a6F14LiFUKKYVdUkkf2eP4Zx")) | |
268 | 279 | ||
269 | - | let | |
280 | + | let bf = bc(bh) | |
270 | 281 | ||
271 | - | let | |
282 | + | let bi = be(bf, aR) | |
272 | 283 | ||
273 | - | let | |
284 | + | let bj = be(bf, aO) | |
274 | 285 | ||
275 | - | let | |
286 | + | let bk = be(bf, aP) | |
276 | 287 | ||
277 | - | let | |
288 | + | let bl = be(bf, aS) | |
278 | 289 | ||
279 | - | let | |
290 | + | let bm = be(bf, aQ) | |
280 | 291 | ||
281 | - | let | |
292 | + | let bn = be(bf, aV) | |
282 | 293 | ||
283 | - | let | |
294 | + | let bo = be(bf, aX) | |
284 | 295 | ||
285 | - | let | |
296 | + | let bp = be(bf, aY) | |
286 | 297 | ||
287 | - | let | |
298 | + | let bq = be(bf, aZ) | |
288 | 299 | ||
289 | - | let bn = ah(bf, I()) | |
290 | - | ||
291 | - | let bo = fromBase58String(bn) | |
292 | - | ||
293 | - | let bp = getStringValue(bf, J()) | |
294 | - | ||
295 | - | let bq = fromBase58String(bp) | |
296 | - | ||
297 | - | let br = getStringValue(bg, K()) | |
300 | + | let br = al(bj, J()) | |
298 | 301 | ||
299 | 302 | let bs = fromBase58String(br) | |
300 | 303 | ||
301 | - | func bt () = au(invoke(bg, "minWavesAmountNsbtBuySYSREADONLY", nil, nil)) | |
304 | + | let bt = getStringValue(bj, K()) | |
305 | + | ||
306 | + | let bu = fromBase58String(bt) | |
307 | + | ||
308 | + | let bv = getStringValue(bk, L()) | |
309 | + | ||
310 | + | let bw = fromBase58String(bv) | |
311 | + | ||
312 | + | func bx () = ay(invoke(bk, "minWavesAmountNsbtBuySYSREADONLY", nil, nil)) | |
302 | 313 | ||
303 | 314 | ||
304 | - | func | |
315 | + | func by () = ay(invoke(bk, "minNsbtAmountForSellSYSREADONLY", nil, nil)) | |
305 | 316 | ||
306 | 317 | ||
307 | - | func | |
318 | + | func bz () = ay(invoke(bk, "minWavesAmountSurfBuySYSREADONLY", nil, nil)) | |
308 | 319 | ||
309 | 320 | ||
310 | - | func | |
321 | + | func bA () = ay(invoke(bk, "minUsdnAmountSurfBuySYSREADONLY", nil, nil)) | |
311 | 322 | ||
312 | 323 | ||
313 | - | func | |
314 | - | let | |
315 | - | let | |
316 | - | let | |
317 | - | $Tuple2(IntegerEntry("nsbt2usdnPrice", | |
324 | + | func bB () = { | |
325 | + | let bC = au(invoke(bi, "calcContractNsbtPriceSYSREADONLY", [0], nil)) | |
326 | + | let bD = ay(bC[0]) | |
327 | + | let bE = ay(bC[1]) | |
328 | + | $Tuple2(IntegerEntry("nsbt2usdnPrice", bD), IntegerEntry("nsbt2wavesPrice", bE)) | |
318 | 329 | } | |
319 | 330 | ||
320 | 331 | ||
321 | - | func | |
322 | - | let | |
323 | - | valueOrElse(getInteger( | |
332 | + | func bF (bG,bH) = { | |
333 | + | let an = makeString(["rpd_balance", bH, bG], "_") | |
334 | + | valueOrElse(getInteger(bm, an), 0) | |
324 | 335 | } | |
325 | 336 | ||
326 | 337 | ||
327 | - | @Callable( | |
328 | - | func constructor ( | |
338 | + | @Callable(bI) | |
339 | + | func constructor (bJ,bK,bL) = if ((bI.caller != this)) | |
329 | 340 | then throw("not authorized") | |
330 | - | else [StringEntry( | |
341 | + | else [StringEntry(I(), bJ), StringEntry(X(), bK), StringEntry(Y(), bL)] | |
331 | 342 | ||
332 | 343 | ||
333 | 344 | ||
334 | - | @Callable( | |
345 | + | @Callable(bI) | |
335 | 346 | func neutrinoStatsREADONLY () = { | |
336 | - | let | |
337 | - | let | |
338 | - | let | |
339 | - | let | |
340 | - | let | |
341 | - | let | |
342 | - | let | |
343 | - | let | |
344 | - | let | |
345 | - | let | |
346 | - | let | |
347 | - | let | |
348 | - | let | |
349 | - | let | |
350 | - | let | |
351 | - | let | |
352 | - | let | |
353 | - | let | |
354 | - | let | |
355 | - | let | |
356 | - | let | |
357 | - | let | |
358 | - | let | |
359 | - | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d", toString( | |
347 | + | let bM = au(invoke(bi, "calcNeutinoMetricsREADONLY", nil, nil)) | |
348 | + | let bC = au(invoke(bi, "calcContractNsbtPriceSYSREADONLY", [0], nil)) | |
349 | + | let bN = ay(bM[l]) | |
350 | + | let bO = ay(bM[m]) | |
351 | + | let bP = ay(bM[n]) | |
352 | + | let bQ = ay(bM[o]) | |
353 | + | let bR = ay(bM[p]) | |
354 | + | let bS = ay(bM[q]) | |
355 | + | let bT = ay(bM[r]) | |
356 | + | let bU = ay(bM[s]) | |
357 | + | let bV = ay(bM[t]) | |
358 | + | let bW = ay(bM[u]) | |
359 | + | let bX = ay(bM[v]) | |
360 | + | let bD = ay(bC[0]) | |
361 | + | let bE = ay(bC[1]) | |
362 | + | let bY = bx() | |
363 | + | let bZ = by() | |
364 | + | let ca = ao(bn, ag()) | |
365 | + | let cb = (fraction(bS, e, bN) - bQ) | |
366 | + | let cc = (bS - bR) | |
367 | + | let cd = bV | |
368 | + | let ce = fraction(bV, c, bN) | |
369 | + | let cf = valueOrElse(getInteger(bm, aj(br)), 0) | |
370 | + | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d", toString(bN), toString(bO), toString(bP), toString(bQ), toString(bR), toString(bS), toString(bT), toString(bU), toString(bV), toString(bW), toString(bX), toString(bD), toString(bE), toString(bY), toString(bZ), toString(ca), toString(cb), toString(cc), toString(cd), toString(ce), toString(cf)], i)) | |
360 | 371 | } | |
361 | 372 | ||
362 | 373 | ||
363 | 374 | ||
364 | - | @Callable( | |
365 | - | func swapInfoREADONLY ( | |
366 | - | let | |
367 | - | let | |
368 | - | let | |
369 | - | let | |
370 | - | let | |
371 | - | let | |
372 | - | let | |
373 | - | let | |
374 | - | let | |
375 | - | let | |
376 | - | let | |
377 | - | let | |
378 | - | let | |
379 | - | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d%d%d%d", toString( | |
375 | + | @Callable(bI) | |
376 | + | func swapInfoREADONLY (cg) = { | |
377 | + | let bN = getIntegerValue(bh, ac()) | |
378 | + | let ch = getIntegerValue(bj, P()) | |
379 | + | let ci = getIntegerValue(bj, Q()) | |
380 | + | let cj = getIntegerValue(bj, R()) | |
381 | + | let ck = getIntegerValue(bj, S()) | |
382 | + | let cl = getIntegerValue(bj, ab()) | |
383 | + | let cm = getIntegerValue(bj, aa()) | |
384 | + | let cn = aE(invoke(bj, "swapParamsByUserSYSREADONLY", [cg, 0], nil)) | |
385 | + | let co = cn._1 | |
386 | + | let cp = cn._2 | |
387 | + | let cq = cn._3 | |
388 | + | let cr = cn._6 | |
389 | + | let cs = cn._7 | |
390 | + | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d%d%d%d", toString(bN), toString(ch), toString(ci), toString(cj), toString(ck), toString(cl), toString(cm), toString(cq), toString(cr), toString(cs), toString(cp)], i)) | |
380 | 391 | } | |
381 | 392 | ||
382 | 393 | ||
383 | 394 | ||
384 | - | @Callable( | |
385 | - | func gnsbtInfoREADONLY ( | |
386 | - | let | |
387 | - | let | |
388 | - | let | |
389 | - | let | |
390 | - | let | |
391 | - | let | |
392 | - | let | |
393 | - | let | |
394 | - | let | |
395 | - | let | |
396 | - | let | |
397 | - | let | |
398 | - | let | |
399 | - | let | |
400 | - | then fraction(( | |
395 | + | @Callable(bI) | |
396 | + | func gnsbtInfoREADONLY (cg,ct) = { | |
397 | + | let bN = getIntegerValue(bh, ac()) | |
398 | + | let cu = aE(invoke(bj, "swapParamsByUserSYSREADONLY", [cg, 0], nil)) | |
399 | + | let cq = cu._3 | |
400 | + | let cv = cu._4 | |
401 | + | let cw = cu._5 | |
402 | + | let cx = cu._6 | |
403 | + | let cy = cu._7 | |
404 | + | let cz = aE(invoke(bj, "swapParamsByUserSYSREADONLY", [cg, ct], nil)) | |
405 | + | let cA = cz._3 | |
406 | + | let cB = cz._4 | |
407 | + | let cC = cz._5 | |
408 | + | let cD = cz._6 | |
409 | + | let cE = cz._7 | |
410 | + | let cF = if ((cw != 0)) | |
411 | + | then fraction((cv * 100), g, cw) | |
401 | 412 | else 0 | |
402 | - | let | |
403 | - | then fraction(( | |
413 | + | let cG = if ((cC != 0)) | |
414 | + | then fraction((cB * 100), g, cC) | |
404 | 415 | else 0 | |
405 | - | let | |
406 | - | let | |
407 | - | let | |
408 | - | let | |
409 | - | let | |
410 | - | let | |
411 | - | let | |
412 | - | then ( | |
416 | + | let cH = aA(invoke(bn, "unclaimedRewardsREADONLY", [cg], nil)) | |
417 | + | let cI = cv | |
418 | + | let cJ = cB | |
419 | + | let cK = cw | |
420 | + | let cL = cC | |
421 | + | let cM = au(invoke(bn, "nsbtStakingSYSREADONLY", [cg, ct], nil)) | |
422 | + | let cN = if ((cv == 0)) | |
423 | + | then (cB == 0) | |
413 | 424 | else false | |
414 | - | let | |
425 | + | let cO = if (cN) | |
415 | 426 | then height | |
416 | - | else | |
417 | - | let | |
418 | - | let | |
419 | - | let | |
427 | + | else ay(cM[2]) | |
428 | + | let cP = aG(cO) | |
429 | + | let cQ = ao(bn, af()) | |
430 | + | let cR = if (cN) | |
420 | 431 | then height | |
421 | - | else | |
422 | - | let | |
423 | - | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d%s%d%d%d%d%d%d%d%d", toString( | |
432 | + | else ay(invoke(bi, "mergeStakesREADONLY", [cv, cO, cB, height, cQ], nil)) | |
433 | + | let cS = aG(cR) | |
434 | + | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d%s%d%d%d%d%d%d%d%d", toString(cv), toString(cB), toString(cF), toString(cG), toString(cy), toString(cx), toString(cE), toString(cD), cH, toString(cI), toString(cJ), toString(cK), toString(cL), toString(cO), toString(cP), toString(cR), toString(cS)], i)) | |
424 | 435 | } | |
425 | 436 | ||
426 | 437 | ||
427 | 438 | ||
428 | - | @Callable( | |
439 | + | @Callable(bI) | |
429 | 440 | func neutrinoConfigREADONLY () = { | |
430 | - | let cP = getIntegerValue(be, S()) | |
431 | - | let cQ = getIntegerValue(be, T()) | |
432 | - | let cd = getIntegerValue(bf, O()) | |
433 | - | let ce = getIntegerValue(bf, P()) | |
434 | - | let cf = getIntegerValue(bf, Q()) | |
435 | - | let cg = getIntegerValue(bf, R()) | |
436 | - | let bU = bt() | |
437 | - | let bV = bu() | |
438 | - | let bW = getIntegerValue(bj, ac()) | |
439 | - | let cM = getIntegerValue(bj, ab()) | |
440 | - | let cR = bv() | |
441 | - | let cS = bw() | |
442 | - | let cT = aq(invoke(bk, "configSYSREADONLY", nil, nil)) | |
443 | - | let cU = au(cT[0]) | |
444 | - | let cV = au(cT[1]) | |
445 | - | let cW = au(cT[2]) | |
446 | - | let cX = au(cT[3]) | |
447 | - | let cY = valueOrElse(getBoolean(bd, "is_blocked"), false) | |
448 | - | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%b", toString(cP), toString(cQ), toString(cd), toString(ce), toString(cf), toString(cg), toString(bU), toString(bV), toString(bW), toString(cM), toString(cR), toString(cS), toString(cU), toString(cV), toString(cW), toString(cX), toString(cY)], i)) | |
441 | + | let cT = getIntegerValue(bi, T()) | |
442 | + | let cU = getIntegerValue(bi, U()) | |
443 | + | let cV = getIntegerValue(bi, V()) | |
444 | + | let cW = getIntegerValue(bi, W()) | |
445 | + | let ch = getIntegerValue(bj, P()) | |
446 | + | let ci = getIntegerValue(bj, Q()) | |
447 | + | let cj = getIntegerValue(bj, R()) | |
448 | + | let ck = getIntegerValue(bj, S()) | |
449 | + | let cX = valueOrElse(getInteger(bj, Z()), j) | |
450 | + | let cY = getIntegerValue(bj, ab()) | |
451 | + | let cZ = getIntegerValue(bj, aa()) | |
452 | + | let bY = bx() | |
453 | + | let bZ = by() | |
454 | + | let ca = getIntegerValue(bn, ag()) | |
455 | + | let cQ = getIntegerValue(bn, af()) | |
456 | + | let da = bz() | |
457 | + | let db = bA() | |
458 | + | let dc = au(invoke(bo, "configSYSREADONLY", nil, nil)) | |
459 | + | let dd = ay(dc[0]) | |
460 | + | let de = ay(dc[1]) | |
461 | + | let df = ay(dc[2]) | |
462 | + | let dg = ay(dc[3]) | |
463 | + | let dh = valueOrElse(getBoolean(bh, "is_blocked"), false) | |
464 | + | $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(cT), toString(cU), toString(ch), toString(ci), toString(cj), toString(ck), toString(bY), toString(bZ), toString(ca), toString(cQ), toString(da), toString(db), toString(dd), toString(de), toString(df), toString(dg), toString(dh), toString(cV), toString(cW), toString(cX), toString(cZ), toString(cY)], i)) | |
449 | 465 | } | |
450 | 466 | ||
451 | 467 | ||
452 | 468 | ||
453 | - | @Callable( | |
454 | - | func buyNsbtREADONLY ( | |
455 | - | let | |
456 | - | if (( | |
457 | - | then throw((("min " + toString( | |
469 | + | @Callable(bI) | |
470 | + | func buyNsbtREADONLY (di) = { | |
471 | + | let dj = bx() | |
472 | + | if ((dj > di)) | |
473 | + | then throw((("min " + toString(dj)) + " waves expected")) | |
458 | 474 | else { | |
459 | - | let | |
460 | - | if (( | |
475 | + | let dk = au(invoke(bi, "curveFunctionREADONLY", [di], nil)) | |
476 | + | if ((dk == dk)) | |
461 | 477 | then { | |
462 | - | let | |
463 | - | if ((0 >= | |
478 | + | let dl = ay(dk[0]) | |
479 | + | if ((0 >= dl)) | |
464 | 480 | then throw("nsbtAmount <= 0") | |
465 | - | else $Tuple2(nil, makeString(["%d", toString( | |
481 | + | else $Tuple2(nil, makeString(["%d", toString(dl)], i)) | |
466 | 482 | } | |
467 | 483 | else throw("Strict value is not equal to itself.") | |
468 | 484 | } | |
470 | 486 | ||
471 | 487 | ||
472 | 488 | ||
473 | - | @Callable( | |
474 | - | func buySurfREADONLY ( | |
475 | - | let | |
476 | - | let | |
477 | - | let | |
478 | - | let | |
479 | - | let | |
480 | - | let | |
481 | - | let | |
482 | - | let | |
483 | - | let | |
484 | - | let | |
485 | - | let | |
486 | - | let | |
487 | - | let | |
488 | - | let | |
489 | - | let | |
490 | - | let | |
491 | - | let | |
492 | - | let | |
493 | - | let | |
494 | - | let | |
495 | - | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d%d%d%d", toString( | |
489 | + | @Callable(bI) | |
490 | + | func buySurfREADONLY (cg,ar,bH) = { | |
491 | + | let ak = fromBase58String(bH) | |
492 | + | let dm = au(invoke(bi, "surfFunctionREADONLY", [ar, ak], nil)) | |
493 | + | let dn = ay(dm[x]) | |
494 | + | let do = ay(invoke(bo, "gnsbtFromSurfSYSREADONLY", [dn], nil)) | |
495 | + | let dp = aE(invoke(bj, "swapParamsByUserSYSREADONLY", [cg, 0], nil))._7 | |
496 | + | let dq = aE(invoke(bj, "swapParamsByUserSYSREADONLY", [cg, do], nil))._7 | |
497 | + | let as = ay(dm[H]) | |
498 | + | let dr = (dq - dp) | |
499 | + | let ds = fraction(dr, e, as) | |
500 | + | let dt = ay(dm[C]) | |
501 | + | let du = ay(dm[F]) | |
502 | + | let dv = fraction(dt, c, as) | |
503 | + | let dw = fraction(du, c, as) | |
504 | + | let dx = au(invoke(bq, "gnsbtInfoINTERNAL", [cg, 0, dn], nil)) | |
505 | + | let dy = ay(dx[21]) | |
506 | + | let dz = ay(dx[22]) | |
507 | + | let dA = ay(dx[23]) | |
508 | + | let dB = dA | |
509 | + | let dC = (dz - dy) | |
510 | + | let dD = ay(dm[G]) | |
511 | + | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d%d%d%d", toString(dn), toString(do), toString(dr), toString(ds), toString(dt), toString(du), toString(dv), toString(dw), toString(dB), toString(dC), toString(dD)], i)) | |
496 | 512 | } | |
497 | 513 | ||
498 | 514 | ||
499 | 515 | ||
500 | - | @Callable( | |
501 | - | func walletInfoREADONLY ( | |
502 | - | let | |
503 | - | let | |
504 | - | let | |
505 | - | let | |
506 | - | let | |
507 | - | let | |
508 | - | let | |
509 | - | let | |
510 | - | let | |
511 | - | let | |
512 | - | let | |
513 | - | let | |
514 | - | let | |
515 | - | let | |
516 | - | let | |
517 | - | let | |
518 | - | let | |
519 | - | let | |
520 | - | let | |
521 | - | let | |
522 | - | let | |
523 | - | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d", toString( | |
516 | + | @Callable(bI) | |
517 | + | func walletInfoREADONLY (dE) = { | |
518 | + | let dF = addressFromStringValue(dE) | |
519 | + | let dG = wavesBalance(dF) | |
520 | + | let dH = bF(dE, br) | |
521 | + | let dI = bF(dE, bt) | |
522 | + | let dJ = au(invoke(bp, "gnsbtInfoSYSREADONLY", [dE, 0, 0], nil)) | |
523 | + | let cM = au(dJ[2]) | |
524 | + | let dK = ay(cM[0]) | |
525 | + | let dL = ay(cM[1]) | |
526 | + | let dM = ay(cM[2]) | |
527 | + | let dN = ay(cM[3]) | |
528 | + | let dO = au(dJ[3]) | |
529 | + | let dP = ay(dO[0]) | |
530 | + | let dQ = ay(dO[1]) | |
531 | + | let dR = ay(dO[2]) | |
532 | + | let dS = ay(dO[3]) | |
533 | + | let dT = 0 | |
534 | + | let dU = 0 | |
535 | + | let dx = au(invoke(bq, "gnsbtInfoINTERNAL", [dE, 0, 0], nil)) | |
536 | + | let dV = ay(dx[19]) | |
537 | + | let dy = ay(dx[21]) | |
538 | + | let dW = ay(dx[23]) | |
539 | + | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d", toString(dG.regular), toString(dG.available), toString(dG.generating), toString(dG.effective), toString(height), toString(dH), toString(dI), toString(dK), toString(dM), toString(dR), toString(dP), toString(dV), toString(dy), toString(dW), toString(dT), toString(dU), toString(dN), toString(dS)], i)) | |
524 | 540 | } | |
525 | 541 | ||
526 | 542 | ||
527 | 543 | ||
528 | - | @Callable( | |
529 | - | func mergedStakeREADONLY ( | |
530 | - | let | |
531 | - | let | |
532 | - | $Tuple2(nil, makeString(["%d%d", toString(( | |
544 | + | @Callable(bI) | |
545 | + | func mergedStakeREADONLY (dX,dY,dZ,ea) = { | |
546 | + | let cQ = ao(bn, af()) | |
547 | + | let eb = ay(invoke(bi, "mergeStakesREADONLY", [dX, dY, dZ, ea, cQ], nil)) | |
548 | + | $Tuple2(nil, makeString(["%d%d", toString((dX + dZ)), toString(eb)], i)) | |
533 | 549 | } | |
534 | 550 | ||
535 | 551 | ||
536 | 552 | ||
537 | - | @Callable( | |
538 | - | func unstakeComissionAmountByHeightREADONLY ( | |
539 | - | let | |
540 | - | let | |
541 | - | if (( | |
542 | - | then $Tuple2(nil, makeString(["%d", toString( | |
553 | + | @Callable(bI) | |
554 | + | func unstakeComissionAmountByHeightREADONLY (ar,cO) = { | |
555 | + | let cQ = ao(bn, af()) | |
556 | + | let ec = ay(invoke(bi, "getUnstakeComissionAmountREADONLY", [ar, cO, cQ], nil)) | |
557 | + | if ((ec == ec)) | |
558 | + | then $Tuple2(nil, makeString(["%d", toString(ec)], i)) | |
543 | 559 | else throw("Strict value is not equal to itself.") | |
544 | 560 | } | |
545 | 561 | ||
546 | 562 | ||
547 | 563 | ||
548 | - | @Callable( | |
549 | - | func unstakeComissionAmountByUserREADONLY ( | |
550 | - | let | |
551 | - | let | |
552 | - | let | |
553 | - | if (( | |
554 | - | then $Tuple2(nil, makeString(["%d", toString( | |
564 | + | @Callable(bI) | |
565 | + | func unstakeComissionAmountByUserREADONLY (ar,ae) = { | |
566 | + | let cQ = ao(bn, af()) | |
567 | + | let cO = valueOrElse(getInteger(bn, ad(ae)), height) | |
568 | + | let ec = ay(invoke(bi, "getUnstakeComissionAmountREADONLY", [ar, cO, cQ], nil)) | |
569 | + | if ((ec == ec)) | |
570 | + | then $Tuple2(nil, makeString(["%d", toString(ec)], i)) | |
555 | 571 | else throw("Strict value is not equal to itself.") | |
556 | 572 | } | |
557 | 573 | ||
558 | 574 | ||
559 | 575 | ||
560 | - | @Callable( | |
576 | + | @Callable(bI) | |
561 | 577 | func neutrinoStateREST () = { | |
562 | - | let | |
563 | - | let | |
564 | - | let | |
565 | - | let | |
566 | - | let | |
567 | - | let | |
568 | - | let | |
569 | - | let | |
570 | - | let | |
571 | - | let | |
572 | - | let | |
573 | - | let | |
574 | - | let | |
575 | - | throw(makeString(["resultNeutrinoStateREST" | |
578 | + | let bM = au(invoke(bi, "calcNeutinoMetricsREADONLY", nil, nil)) | |
579 | + | let bN = ay(bM[l]) | |
580 | + | let bO = ay(bM[m]) | |
581 | + | let bP = ay(bM[n]) | |
582 | + | let bQ = ay(bM[o]) | |
583 | + | let bR = ay(bM[p]) | |
584 | + | let bS = ay(bM[q]) | |
585 | + | let bT = ay(bM[r]) | |
586 | + | let bU = ay(bM[s]) | |
587 | + | let bV = ay(bM[t]) | |
588 | + | let bW = ay(bM[u]) | |
589 | + | let ed = ay(bM[v]) | |
590 | + | let ee = ay(bM[w]) | |
591 | + | throw(makeString(["resultNeutrinoStateREST", toString(bN), toString(bO), toString(bP), toString(bQ), toString(bR), toString(bS), toString(bT), toString(bU), toString(bV), toString(bW), toString(ed), toString(ee)], "__")) | |
576 | 592 | } | |
577 | 593 | ||
578 | 594 | ||
579 | 595 | ||
580 | - | @Callable( | |
596 | + | @Callable(bI) | |
581 | 597 | func nsbtPriceREST () = { | |
582 | - | let | |
583 | - | let | |
584 | - | let | |
585 | - | let | |
586 | - | throw( | |
598 | + | let bC = au(invoke(bi, "calcContractNsbtPriceSYSREADONLY", [0], nil)) | |
599 | + | let bD = ay(bC[0]) | |
600 | + | let bE = ay(bC[1]) | |
601 | + | let ef = makeString(["startNsbtPriceREST", toString(bD), toString(bE), "endNsbtPriceREST"], "__") | |
602 | + | throw(ef) | |
587 | 603 | } | |
588 | 604 | ||
589 | 605 | ||
590 | 606 | ||
591 | - | @Callable( | |
607 | + | @Callable(bI) | |
592 | 608 | func surfPriceREST () = { | |
593 | - | let | |
594 | - | let | |
595 | - | let | |
596 | - | let | |
597 | - | let | |
598 | - | let | |
599 | - | let | |
600 | - | throw( | |
609 | + | let bM = au(invoke(bi, "calcNeutinoMetricsREADONLY", nil, nil)) | |
610 | + | let bN = ay(bM[l]) | |
611 | + | let bQ = ay(bM[o]) | |
612 | + | let bS = ay(bM[q]) | |
613 | + | let cd = fraction(bQ, bN, bS) | |
614 | + | let ce = fraction(bQ, e, bS) | |
615 | + | let ef = makeString(["startSurfPriceREST", toString(cd), toString(ce), "endSurfPriceREST"], "__") | |
616 | + | throw(ef) | |
601 | 617 | } | |
602 | 618 | ||
603 | 619 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "" | |
5 | 5 | ||
6 | 6 | let b = 271828182 | |
7 | 7 | ||
8 | 8 | let c = 1000000 | |
9 | 9 | ||
10 | 10 | let d = toBigInt(1000000) | |
11 | 11 | ||
12 | 12 | let e = 100000000 | |
13 | 13 | ||
14 | 14 | let f = toBigInt(100000000) | |
15 | 15 | ||
16 | 16 | let g = 1000000000000 | |
17 | 17 | ||
18 | 18 | let h = toBigInt(1000000000000000000) | |
19 | 19 | ||
20 | 20 | let i = "__" | |
21 | 21 | ||
22 | - | let j = | |
22 | + | let j = 100000 | |
23 | 23 | ||
24 | - | let k = | |
24 | + | let k = fromBase58String("WAVES") | |
25 | 25 | ||
26 | - | let l = | |
26 | + | let l = 0 | |
27 | 27 | ||
28 | - | let m = | |
28 | + | let m = 1 | |
29 | 29 | ||
30 | - | let n = | |
30 | + | let n = 2 | |
31 | 31 | ||
32 | - | let o = | |
32 | + | let o = 3 | |
33 | 33 | ||
34 | - | let p = | |
34 | + | let p = 4 | |
35 | 35 | ||
36 | - | let q = | |
36 | + | let q = 5 | |
37 | 37 | ||
38 | - | let r = | |
38 | + | let r = 6 | |
39 | 39 | ||
40 | - | let s = | |
40 | + | let s = 7 | |
41 | 41 | ||
42 | - | let t = | |
42 | + | let t = 8 | |
43 | 43 | ||
44 | - | let u = | |
44 | + | let u = 9 | |
45 | 45 | ||
46 | - | let v = | |
46 | + | let v = 10 | |
47 | 47 | ||
48 | - | let w = | |
48 | + | let w = 11 | |
49 | 49 | ||
50 | - | let x = | |
50 | + | let x = 0 | |
51 | 51 | ||
52 | - | let y = | |
52 | + | let y = 1 | |
53 | 53 | ||
54 | - | let z = | |
54 | + | let z = 2 | |
55 | 55 | ||
56 | - | let A = | |
56 | + | let A = 3 | |
57 | 57 | ||
58 | - | let B = | |
58 | + | let B = 4 | |
59 | 59 | ||
60 | - | let C = | |
60 | + | let C = 5 | |
61 | 61 | ||
62 | - | let D = | |
62 | + | let D = 6 | |
63 | 63 | ||
64 | - | let E = | |
64 | + | let E = 7 | |
65 | 65 | ||
66 | - | let F = | |
66 | + | let F = 8 | |
67 | 67 | ||
68 | - | let G = | |
68 | + | let G = 9 | |
69 | 69 | ||
70 | - | func H () = "%s%s__config__neutrinoAddress" | |
70 | + | let H = 10 | |
71 | + | ||
72 | + | func I () = "%s%s__config__neutrinoAddress" | |
71 | 73 | ||
72 | 74 | ||
73 | - | func | |
75 | + | func J () = "neutrino_asset_id" | |
74 | 76 | ||
75 | 77 | ||
76 | - | func | |
78 | + | func K () = "bond_asset_id" | |
77 | 79 | ||
78 | 80 | ||
79 | - | func | |
81 | + | func L () = "surf_asset_id" | |
80 | 82 | ||
81 | 83 | ||
82 | - | func | |
84 | + | func M () = "balance_lock_" | |
83 | 85 | ||
84 | 86 | ||
85 | - | func | |
87 | + | func N () = (M() + "waves") | |
86 | 88 | ||
87 | 89 | ||
88 | - | func | |
90 | + | func O () = (M() + "neutrino") | |
89 | 91 | ||
90 | 92 | ||
91 | - | func | |
93 | + | func P () = "min_waves_swap_amount" | |
92 | 94 | ||
93 | 95 | ||
94 | - | func | |
96 | + | func Q () = "min_neutrino_swap_amount" | |
95 | 97 | ||
96 | 98 | ||
97 | - | func | |
99 | + | func R () = "wavesOut_swap_feePart" | |
98 | 100 | ||
99 | 101 | ||
100 | - | func | |
102 | + | func S () = "neutrinoOut_swap_feePart" | |
101 | 103 | ||
102 | 104 | ||
103 | - | func | |
105 | + | func T () = "%s%s__config__swapAParam" | |
104 | 106 | ||
105 | 107 | ||
106 | - | func | |
108 | + | func U () = "%s%s__config__swapBParam" | |
107 | 109 | ||
108 | 110 | ||
109 | - | func | |
111 | + | func V () = "%s%s__config__usdnSwapAParam" | |
110 | 112 | ||
111 | 113 | ||
112 | - | func | |
114 | + | func W () = "%s%s__config__usdnSwapBParam" | |
113 | 115 | ||
114 | 116 | ||
115 | - | func | |
117 | + | func X () = "%s__nsbtLockContract" | |
116 | 118 | ||
117 | 119 | ||
118 | - | func | |
120 | + | func Y () = "%s__mathContract" | |
119 | 121 | ||
120 | 122 | ||
121 | - | func | |
123 | + | func Z () = "min_BR_protection_level" | |
122 | 124 | ||
123 | 125 | ||
124 | - | func | |
126 | + | func aa () = "balance_waves_lock_interval" | |
125 | 127 | ||
126 | 128 | ||
127 | - | func ab () = " | |
129 | + | func ab () = "balance_neutrino_lock_interval" | |
128 | 130 | ||
129 | 131 | ||
130 | - | func ac () = " | |
132 | + | func ac () = "price" | |
131 | 133 | ||
132 | 134 | ||
133 | - | func ad () = " | |
135 | + | func ad (ae) = makeString(["%s%s%s", "paramByUser", ae, "start"], i) | |
134 | 136 | ||
135 | 137 | ||
136 | - | func | |
138 | + | func af () = "%s__halfLife" | |
137 | 139 | ||
138 | 140 | ||
139 | - | func | |
141 | + | func ag () = "%s__minLockAmount" | |
140 | 142 | ||
141 | 143 | ||
142 | - | func ah ( | |
144 | + | func ah () = "min_waves_nsbt_buy" | |
143 | 145 | ||
144 | 146 | ||
145 | - | func | |
147 | + | func ai () = "min_nsbt_sell" | |
146 | 148 | ||
147 | 149 | ||
148 | - | func | |
150 | + | func aj (ak) = ("rpd_balance_" + ak) | |
149 | 151 | ||
150 | 152 | ||
151 | - | func | |
153 | + | func al (am,an) = valueOrErrorMessage(getString(am, an), makeString(["mandatory ", toString(am), ".", an, " is not defined"], "")) | |
152 | 154 | ||
153 | 155 | ||
154 | - | func | |
156 | + | func ao (am,an) = valueOrErrorMessage(getInteger(am, an), makeString(["mandatory ", toString(am), ".", an, " is not defined"], "")) | |
155 | 157 | ||
156 | 158 | ||
157 | - | func aq (ar) = { | |
158 | - | let as = ar | |
159 | - | if ($isInstanceOf(as, "List[Any]")) | |
159 | + | func ap (am,an) = valueOrErrorMessage(getBoolean(am, an), makeString(["mandatory ", toString(am), ".", an, " is not defined"], "")) | |
160 | + | ||
161 | + | ||
162 | + | func aq (ar,as) = fraction(ar, e, as) | |
163 | + | ||
164 | + | ||
165 | + | func at (ar,as) = fraction(ar, as, e) | |
166 | + | ||
167 | + | ||
168 | + | func au (av) = { | |
169 | + | let aw = av | |
170 | + | if ($isInstanceOf(aw, "List[Any]")) | |
160 | 171 | then { | |
161 | - | let | |
162 | - | | |
172 | + | let ax = aw | |
173 | + | ax | |
163 | 174 | } | |
164 | 175 | else throw("fail to cast into List[Any]") | |
165 | 176 | } | |
166 | 177 | ||
167 | 178 | ||
168 | - | func | |
169 | - | let | |
170 | - | if ($isInstanceOf( | |
179 | + | func ay (av) = { | |
180 | + | let aw = av | |
181 | + | if ($isInstanceOf(aw, "Int")) | |
171 | 182 | then { | |
172 | - | let | |
173 | - | | |
183 | + | let az = aw | |
184 | + | az | |
174 | 185 | } | |
175 | 186 | else throw("fail to cast into Int") | |
176 | 187 | } | |
177 | 188 | ||
178 | 189 | ||
179 | - | func | |
180 | - | let | |
181 | - | if ($isInstanceOf( | |
190 | + | func aA (av) = { | |
191 | + | let aw = av | |
192 | + | if ($isInstanceOf(aw, "String")) | |
182 | 193 | then { | |
183 | - | let | |
184 | - | | |
194 | + | let aB = aw | |
195 | + | aB | |
185 | 196 | } | |
186 | 197 | else throw("fail to cast into String") | |
187 | 198 | } | |
188 | 199 | ||
189 | 200 | ||
190 | - | func | |
191 | - | let | |
192 | - | if ($isInstanceOf( | |
201 | + | func aC (av) = { | |
202 | + | let aw = av | |
203 | + | if ($isInstanceOf(aw, "(Int, Int)")) | |
193 | 204 | then { | |
194 | - | let | |
195 | - | | |
205 | + | let aD = aw | |
206 | + | aD | |
196 | 207 | } | |
197 | 208 | else throw("fail to cast into Tuple2 ints") | |
198 | 209 | } | |
199 | 210 | ||
200 | 211 | ||
201 | - | func | |
202 | - | let | |
203 | - | if ($isInstanceOf( | |
212 | + | func aE (av) = { | |
213 | + | let aw = av | |
214 | + | if ($isInstanceOf(aw, "(Int, Int, Int, Int, Int, Int, Int)")) | |
204 | 215 | then { | |
205 | - | let | |
206 | - | | |
216 | + | let aF = aw | |
217 | + | aF | |
207 | 218 | } | |
208 | 219 | else throw("fail to cast into SwapParamsSTRUCT") | |
209 | 220 | } | |
210 | 221 | ||
211 | 222 | ||
212 | - | func | |
223 | + | func aG (aH) = if ((0 > aH)) | |
213 | 224 | then -1 | |
214 | 225 | else { | |
215 | - | let | |
216 | - | if ($isInstanceOf( | |
226 | + | let aw = blockInfoByHeight(aH) | |
227 | + | if ($isInstanceOf(aw, "BlockInfo")) | |
217 | 228 | then { | |
218 | - | let | |
219 | - | | |
229 | + | let aI = aw | |
230 | + | aI.timestamp | |
220 | 231 | } | |
221 | 232 | else -1 | |
222 | 233 | } | |
223 | 234 | ||
224 | 235 | ||
225 | - | func | |
236 | + | func aJ (aK,aL) = fraction(toBigInt(aK), h, toBigInt(aL)) | |
226 | 237 | ||
227 | 238 | ||
228 | - | func | |
239 | + | func aM (av,aN) = toInt(fraction(av, toBigInt(aN), h)) | |
229 | 240 | ||
230 | 241 | ||
231 | - | let | |
242 | + | let aO = 1 | |
232 | 243 | ||
233 | - | let | |
244 | + | let aP = 2 | |
234 | 245 | ||
235 | - | let | |
246 | + | let aQ = 3 | |
236 | 247 | ||
237 | - | let | |
248 | + | let aR = 4 | |
238 | 249 | ||
239 | - | let | |
250 | + | let aS = 5 | |
240 | 251 | ||
241 | - | let | |
252 | + | let aT = 6 | |
242 | 253 | ||
243 | - | let | |
254 | + | let aU = 7 | |
244 | 255 | ||
245 | - | let | |
256 | + | let aV = 8 | |
246 | 257 | ||
247 | - | let | |
258 | + | let aW = 9 | |
248 | 259 | ||
249 | - | let | |
260 | + | let aX = 10 | |
250 | 261 | ||
251 | - | let | |
262 | + | let aY = 11 | |
252 | 263 | ||
253 | - | let | |
264 | + | let aZ = 12 | |
254 | 265 | ||
255 | - | func | |
266 | + | func ba () = "%s%s__config__controlAddress" | |
256 | 267 | ||
257 | 268 | ||
258 | - | func | |
269 | + | func bb () = "%s__controlConfig" | |
259 | 270 | ||
260 | 271 | ||
261 | - | func | |
272 | + | func bc (bd) = split(al(bd, bb()), i) | |
262 | 273 | ||
263 | 274 | ||
264 | - | func | |
275 | + | func be (bf,bg) = valueOrErrorMessage(addressFromString(bf[bg]), ("Control cfg doesn't contain address at index " + toString(bg))) | |
265 | 276 | ||
266 | 277 | ||
267 | - | let | |
278 | + | let bh = addressFromStringValue(valueOrElse(getString(this, ba()), "3N4NS7d4Jo9a6F14LiFUKKYVdUkkf2eP4Zx")) | |
268 | 279 | ||
269 | - | let | |
280 | + | let bf = bc(bh) | |
270 | 281 | ||
271 | - | let | |
282 | + | let bi = be(bf, aR) | |
272 | 283 | ||
273 | - | let | |
284 | + | let bj = be(bf, aO) | |
274 | 285 | ||
275 | - | let | |
286 | + | let bk = be(bf, aP) | |
276 | 287 | ||
277 | - | let | |
288 | + | let bl = be(bf, aS) | |
278 | 289 | ||
279 | - | let | |
290 | + | let bm = be(bf, aQ) | |
280 | 291 | ||
281 | - | let | |
292 | + | let bn = be(bf, aV) | |
282 | 293 | ||
283 | - | let | |
294 | + | let bo = be(bf, aX) | |
284 | 295 | ||
285 | - | let | |
296 | + | let bp = be(bf, aY) | |
286 | 297 | ||
287 | - | let | |
298 | + | let bq = be(bf, aZ) | |
288 | 299 | ||
289 | - | let bn = ah(bf, I()) | |
290 | - | ||
291 | - | let bo = fromBase58String(bn) | |
292 | - | ||
293 | - | let bp = getStringValue(bf, J()) | |
294 | - | ||
295 | - | let bq = fromBase58String(bp) | |
296 | - | ||
297 | - | let br = getStringValue(bg, K()) | |
300 | + | let br = al(bj, J()) | |
298 | 301 | ||
299 | 302 | let bs = fromBase58String(br) | |
300 | 303 | ||
301 | - | func bt () = au(invoke(bg, "minWavesAmountNsbtBuySYSREADONLY", nil, nil)) | |
304 | + | let bt = getStringValue(bj, K()) | |
305 | + | ||
306 | + | let bu = fromBase58String(bt) | |
307 | + | ||
308 | + | let bv = getStringValue(bk, L()) | |
309 | + | ||
310 | + | let bw = fromBase58String(bv) | |
311 | + | ||
312 | + | func bx () = ay(invoke(bk, "minWavesAmountNsbtBuySYSREADONLY", nil, nil)) | |
302 | 313 | ||
303 | 314 | ||
304 | - | func | |
315 | + | func by () = ay(invoke(bk, "minNsbtAmountForSellSYSREADONLY", nil, nil)) | |
305 | 316 | ||
306 | 317 | ||
307 | - | func | |
318 | + | func bz () = ay(invoke(bk, "minWavesAmountSurfBuySYSREADONLY", nil, nil)) | |
308 | 319 | ||
309 | 320 | ||
310 | - | func | |
321 | + | func bA () = ay(invoke(bk, "minUsdnAmountSurfBuySYSREADONLY", nil, nil)) | |
311 | 322 | ||
312 | 323 | ||
313 | - | func | |
314 | - | let | |
315 | - | let | |
316 | - | let | |
317 | - | $Tuple2(IntegerEntry("nsbt2usdnPrice", | |
324 | + | func bB () = { | |
325 | + | let bC = au(invoke(bi, "calcContractNsbtPriceSYSREADONLY", [0], nil)) | |
326 | + | let bD = ay(bC[0]) | |
327 | + | let bE = ay(bC[1]) | |
328 | + | $Tuple2(IntegerEntry("nsbt2usdnPrice", bD), IntegerEntry("nsbt2wavesPrice", bE)) | |
318 | 329 | } | |
319 | 330 | ||
320 | 331 | ||
321 | - | func | |
322 | - | let | |
323 | - | valueOrElse(getInteger( | |
332 | + | func bF (bG,bH) = { | |
333 | + | let an = makeString(["rpd_balance", bH, bG], "_") | |
334 | + | valueOrElse(getInteger(bm, an), 0) | |
324 | 335 | } | |
325 | 336 | ||
326 | 337 | ||
327 | - | @Callable( | |
328 | - | func constructor ( | |
338 | + | @Callable(bI) | |
339 | + | func constructor (bJ,bK,bL) = if ((bI.caller != this)) | |
329 | 340 | then throw("not authorized") | |
330 | - | else [StringEntry( | |
341 | + | else [StringEntry(I(), bJ), StringEntry(X(), bK), StringEntry(Y(), bL)] | |
331 | 342 | ||
332 | 343 | ||
333 | 344 | ||
334 | - | @Callable( | |
345 | + | @Callable(bI) | |
335 | 346 | func neutrinoStatsREADONLY () = { | |
336 | - | let | |
337 | - | let | |
338 | - | let | |
339 | - | let | |
340 | - | let | |
341 | - | let | |
342 | - | let | |
343 | - | let | |
344 | - | let | |
345 | - | let | |
346 | - | let | |
347 | - | let | |
348 | - | let | |
349 | - | let | |
350 | - | let | |
351 | - | let | |
352 | - | let | |
353 | - | let | |
354 | - | let | |
355 | - | let | |
356 | - | let | |
357 | - | let | |
358 | - | let | |
359 | - | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d", toString( | |
347 | + | let bM = au(invoke(bi, "calcNeutinoMetricsREADONLY", nil, nil)) | |
348 | + | let bC = au(invoke(bi, "calcContractNsbtPriceSYSREADONLY", [0], nil)) | |
349 | + | let bN = ay(bM[l]) | |
350 | + | let bO = ay(bM[m]) | |
351 | + | let bP = ay(bM[n]) | |
352 | + | let bQ = ay(bM[o]) | |
353 | + | let bR = ay(bM[p]) | |
354 | + | let bS = ay(bM[q]) | |
355 | + | let bT = ay(bM[r]) | |
356 | + | let bU = ay(bM[s]) | |
357 | + | let bV = ay(bM[t]) | |
358 | + | let bW = ay(bM[u]) | |
359 | + | let bX = ay(bM[v]) | |
360 | + | let bD = ay(bC[0]) | |
361 | + | let bE = ay(bC[1]) | |
362 | + | let bY = bx() | |
363 | + | let bZ = by() | |
364 | + | let ca = ao(bn, ag()) | |
365 | + | let cb = (fraction(bS, e, bN) - bQ) | |
366 | + | let cc = (bS - bR) | |
367 | + | let cd = bV | |
368 | + | let ce = fraction(bV, c, bN) | |
369 | + | let cf = valueOrElse(getInteger(bm, aj(br)), 0) | |
370 | + | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d", toString(bN), toString(bO), toString(bP), toString(bQ), toString(bR), toString(bS), toString(bT), toString(bU), toString(bV), toString(bW), toString(bX), toString(bD), toString(bE), toString(bY), toString(bZ), toString(ca), toString(cb), toString(cc), toString(cd), toString(ce), toString(cf)], i)) | |
360 | 371 | } | |
361 | 372 | ||
362 | 373 | ||
363 | 374 | ||
364 | - | @Callable( | |
365 | - | func swapInfoREADONLY ( | |
366 | - | let | |
367 | - | let | |
368 | - | let | |
369 | - | let | |
370 | - | let | |
371 | - | let | |
372 | - | let | |
373 | - | let | |
374 | - | let | |
375 | - | let | |
376 | - | let | |
377 | - | let | |
378 | - | let | |
379 | - | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d%d%d%d", toString( | |
375 | + | @Callable(bI) | |
376 | + | func swapInfoREADONLY (cg) = { | |
377 | + | let bN = getIntegerValue(bh, ac()) | |
378 | + | let ch = getIntegerValue(bj, P()) | |
379 | + | let ci = getIntegerValue(bj, Q()) | |
380 | + | let cj = getIntegerValue(bj, R()) | |
381 | + | let ck = getIntegerValue(bj, S()) | |
382 | + | let cl = getIntegerValue(bj, ab()) | |
383 | + | let cm = getIntegerValue(bj, aa()) | |
384 | + | let cn = aE(invoke(bj, "swapParamsByUserSYSREADONLY", [cg, 0], nil)) | |
385 | + | let co = cn._1 | |
386 | + | let cp = cn._2 | |
387 | + | let cq = cn._3 | |
388 | + | let cr = cn._6 | |
389 | + | let cs = cn._7 | |
390 | + | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d%d%d%d", toString(bN), toString(ch), toString(ci), toString(cj), toString(ck), toString(cl), toString(cm), toString(cq), toString(cr), toString(cs), toString(cp)], i)) | |
380 | 391 | } | |
381 | 392 | ||
382 | 393 | ||
383 | 394 | ||
384 | - | @Callable( | |
385 | - | func gnsbtInfoREADONLY ( | |
386 | - | let | |
387 | - | let | |
388 | - | let | |
389 | - | let | |
390 | - | let | |
391 | - | let | |
392 | - | let | |
393 | - | let | |
394 | - | let | |
395 | - | let | |
396 | - | let | |
397 | - | let | |
398 | - | let | |
399 | - | let | |
400 | - | then fraction(( | |
395 | + | @Callable(bI) | |
396 | + | func gnsbtInfoREADONLY (cg,ct) = { | |
397 | + | let bN = getIntegerValue(bh, ac()) | |
398 | + | let cu = aE(invoke(bj, "swapParamsByUserSYSREADONLY", [cg, 0], nil)) | |
399 | + | let cq = cu._3 | |
400 | + | let cv = cu._4 | |
401 | + | let cw = cu._5 | |
402 | + | let cx = cu._6 | |
403 | + | let cy = cu._7 | |
404 | + | let cz = aE(invoke(bj, "swapParamsByUserSYSREADONLY", [cg, ct], nil)) | |
405 | + | let cA = cz._3 | |
406 | + | let cB = cz._4 | |
407 | + | let cC = cz._5 | |
408 | + | let cD = cz._6 | |
409 | + | let cE = cz._7 | |
410 | + | let cF = if ((cw != 0)) | |
411 | + | then fraction((cv * 100), g, cw) | |
401 | 412 | else 0 | |
402 | - | let | |
403 | - | then fraction(( | |
413 | + | let cG = if ((cC != 0)) | |
414 | + | then fraction((cB * 100), g, cC) | |
404 | 415 | else 0 | |
405 | - | let | |
406 | - | let | |
407 | - | let | |
408 | - | let | |
409 | - | let | |
410 | - | let | |
411 | - | let | |
412 | - | then ( | |
416 | + | let cH = aA(invoke(bn, "unclaimedRewardsREADONLY", [cg], nil)) | |
417 | + | let cI = cv | |
418 | + | let cJ = cB | |
419 | + | let cK = cw | |
420 | + | let cL = cC | |
421 | + | let cM = au(invoke(bn, "nsbtStakingSYSREADONLY", [cg, ct], nil)) | |
422 | + | let cN = if ((cv == 0)) | |
423 | + | then (cB == 0) | |
413 | 424 | else false | |
414 | - | let | |
425 | + | let cO = if (cN) | |
415 | 426 | then height | |
416 | - | else | |
417 | - | let | |
418 | - | let | |
419 | - | let | |
427 | + | else ay(cM[2]) | |
428 | + | let cP = aG(cO) | |
429 | + | let cQ = ao(bn, af()) | |
430 | + | let cR = if (cN) | |
420 | 431 | then height | |
421 | - | else | |
422 | - | let | |
423 | - | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d%s%d%d%d%d%d%d%d%d", toString( | |
432 | + | else ay(invoke(bi, "mergeStakesREADONLY", [cv, cO, cB, height, cQ], nil)) | |
433 | + | let cS = aG(cR) | |
434 | + | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d%s%d%d%d%d%d%d%d%d", toString(cv), toString(cB), toString(cF), toString(cG), toString(cy), toString(cx), toString(cE), toString(cD), cH, toString(cI), toString(cJ), toString(cK), toString(cL), toString(cO), toString(cP), toString(cR), toString(cS)], i)) | |
424 | 435 | } | |
425 | 436 | ||
426 | 437 | ||
427 | 438 | ||
428 | - | @Callable( | |
439 | + | @Callable(bI) | |
429 | 440 | func neutrinoConfigREADONLY () = { | |
430 | - | let cP = getIntegerValue(be, S()) | |
431 | - | let cQ = getIntegerValue(be, T()) | |
432 | - | let cd = getIntegerValue(bf, O()) | |
433 | - | let ce = getIntegerValue(bf, P()) | |
434 | - | let cf = getIntegerValue(bf, Q()) | |
435 | - | let cg = getIntegerValue(bf, R()) | |
436 | - | let bU = bt() | |
437 | - | let bV = bu() | |
438 | - | let bW = getIntegerValue(bj, ac()) | |
439 | - | let cM = getIntegerValue(bj, ab()) | |
440 | - | let cR = bv() | |
441 | - | let cS = bw() | |
442 | - | let cT = aq(invoke(bk, "configSYSREADONLY", nil, nil)) | |
443 | - | let cU = au(cT[0]) | |
444 | - | let cV = au(cT[1]) | |
445 | - | let cW = au(cT[2]) | |
446 | - | let cX = au(cT[3]) | |
447 | - | let cY = valueOrElse(getBoolean(bd, "is_blocked"), false) | |
448 | - | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%b", toString(cP), toString(cQ), toString(cd), toString(ce), toString(cf), toString(cg), toString(bU), toString(bV), toString(bW), toString(cM), toString(cR), toString(cS), toString(cU), toString(cV), toString(cW), toString(cX), toString(cY)], i)) | |
441 | + | let cT = getIntegerValue(bi, T()) | |
442 | + | let cU = getIntegerValue(bi, U()) | |
443 | + | let cV = getIntegerValue(bi, V()) | |
444 | + | let cW = getIntegerValue(bi, W()) | |
445 | + | let ch = getIntegerValue(bj, P()) | |
446 | + | let ci = getIntegerValue(bj, Q()) | |
447 | + | let cj = getIntegerValue(bj, R()) | |
448 | + | let ck = getIntegerValue(bj, S()) | |
449 | + | let cX = valueOrElse(getInteger(bj, Z()), j) | |
450 | + | let cY = getIntegerValue(bj, ab()) | |
451 | + | let cZ = getIntegerValue(bj, aa()) | |
452 | + | let bY = bx() | |
453 | + | let bZ = by() | |
454 | + | let ca = getIntegerValue(bn, ag()) | |
455 | + | let cQ = getIntegerValue(bn, af()) | |
456 | + | let da = bz() | |
457 | + | let db = bA() | |
458 | + | let dc = au(invoke(bo, "configSYSREADONLY", nil, nil)) | |
459 | + | let dd = ay(dc[0]) | |
460 | + | let de = ay(dc[1]) | |
461 | + | let df = ay(dc[2]) | |
462 | + | let dg = ay(dc[3]) | |
463 | + | let dh = valueOrElse(getBoolean(bh, "is_blocked"), false) | |
464 | + | $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(cT), toString(cU), toString(ch), toString(ci), toString(cj), toString(ck), toString(bY), toString(bZ), toString(ca), toString(cQ), toString(da), toString(db), toString(dd), toString(de), toString(df), toString(dg), toString(dh), toString(cV), toString(cW), toString(cX), toString(cZ), toString(cY)], i)) | |
449 | 465 | } | |
450 | 466 | ||
451 | 467 | ||
452 | 468 | ||
453 | - | @Callable( | |
454 | - | func buyNsbtREADONLY ( | |
455 | - | let | |
456 | - | if (( | |
457 | - | then throw((("min " + toString( | |
469 | + | @Callable(bI) | |
470 | + | func buyNsbtREADONLY (di) = { | |
471 | + | let dj = bx() | |
472 | + | if ((dj > di)) | |
473 | + | then throw((("min " + toString(dj)) + " waves expected")) | |
458 | 474 | else { | |
459 | - | let | |
460 | - | if (( | |
475 | + | let dk = au(invoke(bi, "curveFunctionREADONLY", [di], nil)) | |
476 | + | if ((dk == dk)) | |
461 | 477 | then { | |
462 | - | let | |
463 | - | if ((0 >= | |
478 | + | let dl = ay(dk[0]) | |
479 | + | if ((0 >= dl)) | |
464 | 480 | then throw("nsbtAmount <= 0") | |
465 | - | else $Tuple2(nil, makeString(["%d", toString( | |
481 | + | else $Tuple2(nil, makeString(["%d", toString(dl)], i)) | |
466 | 482 | } | |
467 | 483 | else throw("Strict value is not equal to itself.") | |
468 | 484 | } | |
469 | 485 | } | |
470 | 486 | ||
471 | 487 | ||
472 | 488 | ||
473 | - | @Callable( | |
474 | - | func buySurfREADONLY ( | |
475 | - | let | |
476 | - | let | |
477 | - | let | |
478 | - | let | |
479 | - | let | |
480 | - | let | |
481 | - | let | |
482 | - | let | |
483 | - | let | |
484 | - | let | |
485 | - | let | |
486 | - | let | |
487 | - | let | |
488 | - | let | |
489 | - | let | |
490 | - | let | |
491 | - | let | |
492 | - | let | |
493 | - | let | |
494 | - | let | |
495 | - | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d%d%d%d", toString( | |
489 | + | @Callable(bI) | |
490 | + | func buySurfREADONLY (cg,ar,bH) = { | |
491 | + | let ak = fromBase58String(bH) | |
492 | + | let dm = au(invoke(bi, "surfFunctionREADONLY", [ar, ak], nil)) | |
493 | + | let dn = ay(dm[x]) | |
494 | + | let do = ay(invoke(bo, "gnsbtFromSurfSYSREADONLY", [dn], nil)) | |
495 | + | let dp = aE(invoke(bj, "swapParamsByUserSYSREADONLY", [cg, 0], nil))._7 | |
496 | + | let dq = aE(invoke(bj, "swapParamsByUserSYSREADONLY", [cg, do], nil))._7 | |
497 | + | let as = ay(dm[H]) | |
498 | + | let dr = (dq - dp) | |
499 | + | let ds = fraction(dr, e, as) | |
500 | + | let dt = ay(dm[C]) | |
501 | + | let du = ay(dm[F]) | |
502 | + | let dv = fraction(dt, c, as) | |
503 | + | let dw = fraction(du, c, as) | |
504 | + | let dx = au(invoke(bq, "gnsbtInfoINTERNAL", [cg, 0, dn], nil)) | |
505 | + | let dy = ay(dx[21]) | |
506 | + | let dz = ay(dx[22]) | |
507 | + | let dA = ay(dx[23]) | |
508 | + | let dB = dA | |
509 | + | let dC = (dz - dy) | |
510 | + | let dD = ay(dm[G]) | |
511 | + | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d%d%d%d", toString(dn), toString(do), toString(dr), toString(ds), toString(dt), toString(du), toString(dv), toString(dw), toString(dB), toString(dC), toString(dD)], i)) | |
496 | 512 | } | |
497 | 513 | ||
498 | 514 | ||
499 | 515 | ||
500 | - | @Callable( | |
501 | - | func walletInfoREADONLY ( | |
502 | - | let | |
503 | - | let | |
504 | - | let | |
505 | - | let | |
506 | - | let | |
507 | - | let | |
508 | - | let | |
509 | - | let | |
510 | - | let | |
511 | - | let | |
512 | - | let | |
513 | - | let | |
514 | - | let | |
515 | - | let | |
516 | - | let | |
517 | - | let | |
518 | - | let | |
519 | - | let | |
520 | - | let | |
521 | - | let | |
522 | - | let | |
523 | - | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d", toString( | |
516 | + | @Callable(bI) | |
517 | + | func walletInfoREADONLY (dE) = { | |
518 | + | let dF = addressFromStringValue(dE) | |
519 | + | let dG = wavesBalance(dF) | |
520 | + | let dH = bF(dE, br) | |
521 | + | let dI = bF(dE, bt) | |
522 | + | let dJ = au(invoke(bp, "gnsbtInfoSYSREADONLY", [dE, 0, 0], nil)) | |
523 | + | let cM = au(dJ[2]) | |
524 | + | let dK = ay(cM[0]) | |
525 | + | let dL = ay(cM[1]) | |
526 | + | let dM = ay(cM[2]) | |
527 | + | let dN = ay(cM[3]) | |
528 | + | let dO = au(dJ[3]) | |
529 | + | let dP = ay(dO[0]) | |
530 | + | let dQ = ay(dO[1]) | |
531 | + | let dR = ay(dO[2]) | |
532 | + | let dS = ay(dO[3]) | |
533 | + | let dT = 0 | |
534 | + | let dU = 0 | |
535 | + | let dx = au(invoke(bq, "gnsbtInfoINTERNAL", [dE, 0, 0], nil)) | |
536 | + | let dV = ay(dx[19]) | |
537 | + | let dy = ay(dx[21]) | |
538 | + | let dW = ay(dx[23]) | |
539 | + | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d", toString(dG.regular), toString(dG.available), toString(dG.generating), toString(dG.effective), toString(height), toString(dH), toString(dI), toString(dK), toString(dM), toString(dR), toString(dP), toString(dV), toString(dy), toString(dW), toString(dT), toString(dU), toString(dN), toString(dS)], i)) | |
524 | 540 | } | |
525 | 541 | ||
526 | 542 | ||
527 | 543 | ||
528 | - | @Callable( | |
529 | - | func mergedStakeREADONLY ( | |
530 | - | let | |
531 | - | let | |
532 | - | $Tuple2(nil, makeString(["%d%d", toString(( | |
544 | + | @Callable(bI) | |
545 | + | func mergedStakeREADONLY (dX,dY,dZ,ea) = { | |
546 | + | let cQ = ao(bn, af()) | |
547 | + | let eb = ay(invoke(bi, "mergeStakesREADONLY", [dX, dY, dZ, ea, cQ], nil)) | |
548 | + | $Tuple2(nil, makeString(["%d%d", toString((dX + dZ)), toString(eb)], i)) | |
533 | 549 | } | |
534 | 550 | ||
535 | 551 | ||
536 | 552 | ||
537 | - | @Callable( | |
538 | - | func unstakeComissionAmountByHeightREADONLY ( | |
539 | - | let | |
540 | - | let | |
541 | - | if (( | |
542 | - | then $Tuple2(nil, makeString(["%d", toString( | |
553 | + | @Callable(bI) | |
554 | + | func unstakeComissionAmountByHeightREADONLY (ar,cO) = { | |
555 | + | let cQ = ao(bn, af()) | |
556 | + | let ec = ay(invoke(bi, "getUnstakeComissionAmountREADONLY", [ar, cO, cQ], nil)) | |
557 | + | if ((ec == ec)) | |
558 | + | then $Tuple2(nil, makeString(["%d", toString(ec)], i)) | |
543 | 559 | else throw("Strict value is not equal to itself.") | |
544 | 560 | } | |
545 | 561 | ||
546 | 562 | ||
547 | 563 | ||
548 | - | @Callable( | |
549 | - | func unstakeComissionAmountByUserREADONLY ( | |
550 | - | let | |
551 | - | let | |
552 | - | let | |
553 | - | if (( | |
554 | - | then $Tuple2(nil, makeString(["%d", toString( | |
564 | + | @Callable(bI) | |
565 | + | func unstakeComissionAmountByUserREADONLY (ar,ae) = { | |
566 | + | let cQ = ao(bn, af()) | |
567 | + | let cO = valueOrElse(getInteger(bn, ad(ae)), height) | |
568 | + | let ec = ay(invoke(bi, "getUnstakeComissionAmountREADONLY", [ar, cO, cQ], nil)) | |
569 | + | if ((ec == ec)) | |
570 | + | then $Tuple2(nil, makeString(["%d", toString(ec)], i)) | |
555 | 571 | else throw("Strict value is not equal to itself.") | |
556 | 572 | } | |
557 | 573 | ||
558 | 574 | ||
559 | 575 | ||
560 | - | @Callable( | |
576 | + | @Callable(bI) | |
561 | 577 | func neutrinoStateREST () = { | |
562 | - | let | |
563 | - | let | |
564 | - | let | |
565 | - | let | |
566 | - | let | |
567 | - | let | |
568 | - | let | |
569 | - | let | |
570 | - | let | |
571 | - | let | |
572 | - | let | |
573 | - | let | |
574 | - | let | |
575 | - | throw(makeString(["resultNeutrinoStateREST" | |
578 | + | let bM = au(invoke(bi, "calcNeutinoMetricsREADONLY", nil, nil)) | |
579 | + | let bN = ay(bM[l]) | |
580 | + | let bO = ay(bM[m]) | |
581 | + | let bP = ay(bM[n]) | |
582 | + | let bQ = ay(bM[o]) | |
583 | + | let bR = ay(bM[p]) | |
584 | + | let bS = ay(bM[q]) | |
585 | + | let bT = ay(bM[r]) | |
586 | + | let bU = ay(bM[s]) | |
587 | + | let bV = ay(bM[t]) | |
588 | + | let bW = ay(bM[u]) | |
589 | + | let ed = ay(bM[v]) | |
590 | + | let ee = ay(bM[w]) | |
591 | + | throw(makeString(["resultNeutrinoStateREST", toString(bN), toString(bO), toString(bP), toString(bQ), toString(bR), toString(bS), toString(bT), toString(bU), toString(bV), toString(bW), toString(ed), toString(ee)], "__")) | |
576 | 592 | } | |
577 | 593 | ||
578 | 594 | ||
579 | 595 | ||
580 | - | @Callable( | |
596 | + | @Callable(bI) | |
581 | 597 | func nsbtPriceREST () = { | |
582 | - | let | |
583 | - | let | |
584 | - | let | |
585 | - | let | |
586 | - | throw( | |
598 | + | let bC = au(invoke(bi, "calcContractNsbtPriceSYSREADONLY", [0], nil)) | |
599 | + | let bD = ay(bC[0]) | |
600 | + | let bE = ay(bC[1]) | |
601 | + | let ef = makeString(["startNsbtPriceREST", toString(bD), toString(bE), "endNsbtPriceREST"], "__") | |
602 | + | throw(ef) | |
587 | 603 | } | |
588 | 604 | ||
589 | 605 | ||
590 | 606 | ||
591 | - | @Callable( | |
607 | + | @Callable(bI) | |
592 | 608 | func surfPriceREST () = { | |
593 | - | let | |
594 | - | let | |
595 | - | let | |
596 | - | let | |
597 | - | let | |
598 | - | let | |
599 | - | let | |
600 | - | throw( | |
609 | + | let bM = au(invoke(bi, "calcNeutinoMetricsREADONLY", nil, nil)) | |
610 | + | let bN = ay(bM[l]) | |
611 | + | let bQ = ay(bM[o]) | |
612 | + | let bS = ay(bM[q]) | |
613 | + | let cd = fraction(bQ, bN, bS) | |
614 | + | let ce = fraction(bQ, e, bS) | |
615 | + | let ef = makeString(["startSurfPriceREST", toString(cd), toString(ce), "endSurfPriceREST"], "__") | |
616 | + | throw(ef) | |
601 | 617 | } | |
602 | 618 | ||
603 | 619 |
github/deemru/w8io/026f985 228.59 ms ◑