tx · 3DwvA8ooMdB6vUPBsve6qD4wyEdgCJU3Ye5tKgrDXtUR 3N5NAftzfcw3gAt8nc35bNr9UdPTVgC81fd: -0.04000000 Waves 2022.08.02 17:10 [2166972] smart account 3N5NAftzfcw3gAt8nc35bNr9UdPTVgC81fd > SELF 0.00000000 Waves
{ "type": 13, "id": "3DwvA8ooMdB6vUPBsve6qD4wyEdgCJU3Ye5tKgrDXtUR", "fee": 4000000, "feeAssetId": null, "timestamp": 1659449435574, "version": 1, "sender": "3N5NAftzfcw3gAt8nc35bNr9UdPTVgC81fd", "senderPublicKey": "CdnTmMHxT68Qa4MtHEnAiUhsdKTi2YkHPGn92ThinVNt", "proofs": [ "4xGEPaa85xe6d5ecfGwTQa5uCyXc4wo7XSYCa6RnxKh1K9tTHsVjcSayBUzxQh2zgL4vJQJgbVXNw7W3ei7fWw5S", "5QMuvJDWvRxTgFjaHbfjiCVjmHJSFKCXriqcsEx6zN2URpPaSE9v33bYSQppnPYXNEUkPgpLPeaKhtsfQZNgpQ2n", "5PUYjsHekMtnhXCWAYw7Q27cuZC4aBXXuu1kmBz1MUZowYg1UEf5RMashNVFZHPeJ1CN9KX3kQBm6iKtWeDj9CDb" ], "script": "base64:AAIFAAAAAAAAADAIAhIFCgMIAQESBAoCAQESABIAEgMKAQgSABIAEgASABIFCgMBAQQSAwoBARIAEgAAAABtAQAAAA5nZXROdW1iZXJCeUtleQAAAAEAAAADa2V5CQEAAAALdmFsdWVPckVsc2UAAAACCQAEGgAAAAIFAAAABHRoaXMFAAAAA2tleQAAAAAAAAAAAAEAAAAOZ2V0U3RyaW5nQnlLZXkAAAABAAAAA2tleQkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABB0AAAACBQAAAAR0aGlzBQAAAANrZXkCAAAAAAEAAAAWZ2V0Qm9vbEJ5QWRkcmVzc0FuZEtleQAAAAIAAAAHYWRkcmVzcwAAAANrZXkJAQAAAAt2YWx1ZU9yRWxzZQAAAAIJAAQbAAAAAgUAAAAHYW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AAAAgkAAlkAAAABCQABkQAAAAIFAAAAEHB1YktleUFkbWluc0xpc3QAAAAAAAAAAAIAAAAAAAAAAAEAAAAAAAAAAAADCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAwkAAlkAAAABCQABkQAAAAIFAAAAEHB1YktleUFkbWluc0xpc3QAAAAAAAAAAAMAAAAAAAAAAAIAAAAAAAAAAAAJAABnAAAAAgUAAAAFY291bnQAAAAAAAAAAAPcZpZT", "chainId": 84, "height": 2166972, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 7Yt8cfWyR3x8VvYoev71V8gvNz1BPwjmjN21rCmuSbBT Next: 4hGF58kqxdwBsuwC3cP9gXh68bPAgRLzyENxw5wJK4SD Diff:
Old | New | Differences | |
---|---|---|---|
471 | 471 | func issueSurf (ci) = { | |
472 | 472 | let co = fromBase58String(getStringValue(ay)) | |
473 | 473 | if ((bH.caller != this)) | |
474 | - | then throw("issueSurf - | |
474 | + | then throw("issueSurf - permission denied") | |
475 | 475 | else $Tuple2([Reissue(co, ci, true)], co) | |
476 | 476 | } | |
477 | 477 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | func a (b) = valueOrElse(getInteger(this, b), 0) | |
5 | 5 | ||
6 | 6 | ||
7 | 7 | func c (b) = valueOrElse(getString(this, b), "") | |
8 | 8 | ||
9 | 9 | ||
10 | 10 | func d (e,b) = valueOrElse(getBoolean(e, b), false) | |
11 | 11 | ||
12 | 12 | ||
13 | 13 | func f (e,b) = valueOrElse(getString(e, b), "") | |
14 | 14 | ||
15 | 15 | ||
16 | 16 | func g (e,b) = valueOrElse(getInteger(e, b), 0) | |
17 | 17 | ||
18 | 18 | ||
19 | 19 | func h (i) = { | |
20 | 20 | let j = i | |
21 | 21 | if ($isInstanceOf(j, "List[Any]")) | |
22 | 22 | then { | |
23 | 23 | let k = j | |
24 | 24 | k | |
25 | 25 | } | |
26 | 26 | else throw("fail to cast into List[Any]") | |
27 | 27 | } | |
28 | 28 | ||
29 | 29 | ||
30 | 30 | func l (i) = { | |
31 | 31 | let j = i | |
32 | 32 | if ($isInstanceOf(j, "String")) | |
33 | 33 | then { | |
34 | 34 | let m = j | |
35 | 35 | m | |
36 | 36 | } | |
37 | 37 | else throw("fail to cast into String") | |
38 | 38 | } | |
39 | 39 | ||
40 | 40 | ||
41 | 41 | func n (i) = { | |
42 | 42 | let j = i | |
43 | 43 | if ($isInstanceOf(j, "Int")) | |
44 | 44 | then { | |
45 | 45 | let o = j | |
46 | 46 | o | |
47 | 47 | } | |
48 | 48 | else throw("fail to cast into Int") | |
49 | 49 | } | |
50 | 50 | ||
51 | 51 | ||
52 | 52 | func p (i) = { | |
53 | 53 | let j = i | |
54 | 54 | if ($isInstanceOf(j, "ByteVector")) | |
55 | 55 | then { | |
56 | 56 | let q = j | |
57 | 57 | q | |
58 | 58 | } | |
59 | 59 | else throw("fail to cast into Int") | |
60 | 60 | } | |
61 | 61 | ||
62 | 62 | ||
63 | 63 | let r = "__" | |
64 | 64 | ||
65 | 65 | let s = 1000000 | |
66 | 66 | ||
67 | 67 | let t = 100000000 | |
68 | 68 | ||
69 | 69 | let u = toBigInt(10000000000) | |
70 | 70 | ||
71 | 71 | let v = toBigInt(1000000000000) | |
72 | 72 | ||
73 | 73 | let w = toBigInt(10000000000000000) | |
74 | 74 | ||
75 | 75 | let x = "canceled" | |
76 | 76 | ||
77 | 77 | let y = "new" | |
78 | 78 | ||
79 | 79 | let z = "filled" | |
80 | 80 | ||
81 | 81 | let A = fromBase58String("WAVES") | |
82 | 82 | ||
83 | 83 | let B = 0 | |
84 | 84 | ||
85 | 85 | let C = 1 | |
86 | 86 | ||
87 | 87 | let D = 2 | |
88 | 88 | ||
89 | 89 | let E = 3 | |
90 | 90 | ||
91 | 91 | let F = 4 | |
92 | 92 | ||
93 | 93 | let G = 5 | |
94 | 94 | ||
95 | 95 | let H = 6 | |
96 | 96 | ||
97 | 97 | let I = 7 | |
98 | 98 | ||
99 | 99 | let J = 8 | |
100 | 100 | ||
101 | 101 | let K = 9 | |
102 | 102 | ||
103 | 103 | let L = 10 | |
104 | 104 | ||
105 | 105 | let M = 11 | |
106 | 106 | ||
107 | 107 | let N = 0 | |
108 | 108 | ||
109 | 109 | let O = 1 | |
110 | 110 | ||
111 | 111 | let P = 2 | |
112 | 112 | ||
113 | 113 | let Q = 3 | |
114 | 114 | ||
115 | 115 | let R = 4 | |
116 | 116 | ||
117 | 117 | let S = 5 | |
118 | 118 | ||
119 | 119 | let T = 6 | |
120 | 120 | ||
121 | 121 | let U = 7 | |
122 | 122 | ||
123 | 123 | let V = 8 | |
124 | 124 | ||
125 | 125 | let W = 9 | |
126 | 126 | ||
127 | 127 | let X = 10 | |
128 | 128 | ||
129 | 129 | let Y = 1 | |
130 | 130 | ||
131 | 131 | let Z = 2 | |
132 | 132 | ||
133 | 133 | let aa = 3 | |
134 | 134 | ||
135 | 135 | let ab = 4 | |
136 | 136 | ||
137 | 137 | let ac = 5 | |
138 | 138 | ||
139 | 139 | let ad = 6 | |
140 | 140 | ||
141 | 141 | let ae = 7 | |
142 | 142 | ||
143 | 143 | let af = 8 | |
144 | 144 | ||
145 | 145 | let ag = 9 | |
146 | 146 | ||
147 | 147 | let ah = 10 | |
148 | 148 | ||
149 | 149 | let ai = 11 | |
150 | 150 | ||
151 | 151 | func aj (e,b) = valueOrErrorMessage(getString(e, b), (((("mandatory " + toString(e)) + ".") + b) + " is not defined")) | |
152 | 152 | ||
153 | 153 | ||
154 | 154 | func ak () = "%s%s__config__controlAddress" | |
155 | 155 | ||
156 | 156 | ||
157 | 157 | func al () = "%s__controlConfig" | |
158 | 158 | ||
159 | 159 | ||
160 | 160 | func am (an) = split(aj(an, al()), r) | |
161 | 161 | ||
162 | 162 | ||
163 | 163 | func ao (ap,aq) = valueOrErrorMessage(addressFromString(ap[aq]), ("Control cfg doesn't contain address at index " + toString(aq))) | |
164 | 164 | ||
165 | 165 | ||
166 | 166 | let ar = addressFromStringValue(valueOrElse(getString(this, ak()), "3N4NS7d4Jo9a6F14LiFUKKYVdUkkf2eP4Zx")) | |
167 | 167 | ||
168 | 168 | let ap = am(ar) | |
169 | 169 | ||
170 | 170 | let as = ao(ap, ab) | |
171 | 171 | ||
172 | 172 | let at = ao(ap, Y) | |
173 | 173 | ||
174 | 174 | let au = ao(ap, ah) | |
175 | 175 | ||
176 | 176 | let av = "price" | |
177 | 177 | ||
178 | 178 | let aw = "bond_asset_id" | |
179 | 179 | ||
180 | 180 | let ax = "neutrino_asset_id" | |
181 | 181 | ||
182 | 182 | let ay = "surf_asset_id" | |
183 | 183 | ||
184 | 184 | let az = "balance_lock_" | |
185 | 185 | ||
186 | 186 | let aA = (az + "waves") | |
187 | 187 | ||
188 | 188 | let aB = (az + "neutrino") | |
189 | 189 | ||
190 | 190 | let aC = "order_first" | |
191 | 191 | ||
192 | 192 | let aD = "math_contract" | |
193 | 193 | ||
194 | 194 | let aE = "min_waves_nsbt_buy" | |
195 | 195 | ||
196 | 196 | let aF = "min_nsbt_sell" | |
197 | 197 | ||
198 | 198 | let aG = "min_waves_surf_buy" | |
199 | 199 | ||
200 | 200 | let aH = "min_usdn_surf_buy" | |
201 | 201 | ||
202 | 202 | func aI (aJ) = ("debug_order_roi_" + aJ) | |
203 | 203 | ||
204 | 204 | ||
205 | 205 | func aK (aJ) = ("order_price_" + aJ) | |
206 | 206 | ||
207 | 207 | ||
208 | 208 | func aL (aJ) = ("order_total_" + aJ) | |
209 | 209 | ||
210 | 210 | ||
211 | 211 | func aM (aJ) = ("order_owner_" + aJ) | |
212 | 212 | ||
213 | 213 | ||
214 | 214 | func aN (aJ) = ("order_height_" + aJ) | |
215 | 215 | ||
216 | 216 | ||
217 | 217 | func aO (aJ) = ("order_status_" + aJ) | |
218 | 218 | ||
219 | 219 | ||
220 | 220 | func aP (aJ) = ("order_filled_total_" + aJ) | |
221 | 221 | ||
222 | 222 | ||
223 | 223 | func aQ (aJ) = ("order_prev_" + aJ) | |
224 | 224 | ||
225 | 225 | ||
226 | 226 | func aR (aJ) = ("order_next_" + aJ) | |
227 | 227 | ||
228 | 228 | ||
229 | 229 | func aS (aT,aU) = fraction(aT, t, aU) | |
230 | 230 | ||
231 | 231 | ||
232 | 232 | func aV (aT,aU) = fraction(aT, aU, t) | |
233 | 233 | ||
234 | 234 | ||
235 | 235 | func aW (aX,aY) = fraction(toBigInt(aX), w, toBigInt(aY)) | |
236 | 236 | ||
237 | 237 | ||
238 | 238 | func aZ (i,ba) = toInt(fraction(i, toBigInt(ba), w)) | |
239 | 239 | ||
240 | 240 | ||
241 | 241 | let bb = base58'HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ' | |
242 | 242 | ||
243 | 243 | let bc = base58'F3iaxzruFeKujfVfYSZEkejpjh67wmRfPCRHiNmWKp3Z' | |
244 | 244 | ||
245 | 245 | let bd = d(ar, "is_blocked") | |
246 | 246 | ||
247 | 247 | let be = valueOrElse(getInteger(this, aE), 1000000000) | |
248 | 248 | ||
249 | 249 | let bf = valueOrElse(getInteger(this, aF), 1000000) | |
250 | 250 | ||
251 | 251 | let bg = valueOrElse(getInteger(this, aG), 100000000) | |
252 | 252 | ||
253 | 253 | let bh = valueOrElse(getInteger(this, aH), 10000000) | |
254 | 254 | ||
255 | 255 | let bi = c(aC) | |
256 | 256 | ||
257 | 257 | func bj (bk) = a(aK(bk)) | |
258 | 258 | ||
259 | 259 | ||
260 | 260 | func bl (bk) = a(aL(bk)) | |
261 | 261 | ||
262 | 262 | ||
263 | 263 | func bm (bk) = c(aM(bk)) | |
264 | 264 | ||
265 | 265 | ||
266 | 266 | func bn (bk) = c(aO(bk)) | |
267 | 267 | ||
268 | 268 | ||
269 | 269 | func bo (bk) = a(aP(bk)) | |
270 | 270 | ||
271 | 271 | ||
272 | 272 | func bp (bk) = c(aQ(bk)) | |
273 | 273 | ||
274 | 274 | ||
275 | 275 | func bq (bk) = c(aR(bk)) | |
276 | 276 | ||
277 | 277 | ||
278 | 278 | func br (aU) = ((s * s) / aU) | |
279 | 279 | ||
280 | 280 | ||
281 | 281 | func bs (bt,bu) = fraction(toBigInt(bt), toBigInt((s * s)), toBigInt(bu)) | |
282 | 282 | ||
283 | 283 | ||
284 | 284 | func bv (aJ,bw,bx,by,bz,bA,aU,bB) = [StringEntry(aK(aJ), toString(aU)), IntegerEntry(aL(aJ), bw), IntegerEntry(aP(aJ), bx), StringEntry(aM(aJ), by), IntegerEntry(aN(aJ), height), StringEntry(aO(aJ), bz), IntegerEntry(("debug_order_currentPrice_" + aJ), bB), IntegerEntry(aI(aJ), bA)] | |
285 | 285 | ||
286 | 286 | ||
287 | 287 | func bC (bD,bE) = (((((((((((((((((((((((((((((((((((bD + "[nsbtAmountRaw=") + toString(n(bE[0]))) + " usdnPayment=") + toString(n(bE[1]))) + " wRaw=") + toString(n(bE[2]))) + " uRaw=") + toString(n(bE[3]))) + " mRaw=") + toString(n(bE[4]))) + " sRaw=") + toString(n(bE[5]))) + " nsbtCurveParam_a=") + toString(n(bE[6]))) + " nsbtCurveParam_b=") + toString(n(bE[7]))) + " wReservesInUsdn=") + toString(n(bE[8]))) + " price=") + toString(n(bE[9]))) + " multBR=") + toString(n(bE[10]))) + " multPower=") + toString(n(bE[11]))) + " multExpInPower=") + l(bE[12])) + " multK=") + l(bE[13])) + " step1=") + l(bE[14])) + " step2=") + l(bE[15])) + " step3=") + toString(n(bE[16]))) + "]") | |
288 | 288 | ||
289 | 289 | ||
290 | 290 | func bF (bG) = StringEntry("debug_surfResult", makeString(["%d%d%d%d%d%d%d%d%d%d%d", toString(n(bG[N])), toString(n(bG[O])), toString(n(bG[P])), toString(n(bG[Q])), toString(n(bG[R])), toString(n(bG[S])), toString(n(bG[T])), toString(n(bG[U])), toString(n(bG[V])), toString(n(bG[W])), toString(n(bG[X]))], r)) | |
291 | 291 | ||
292 | 292 | ||
293 | 293 | @Callable(bH) | |
294 | 294 | func constructor (bI,bJ,bf) = if ((bH.caller != this)) | |
295 | 295 | then throw("Permission denied") | |
296 | 296 | else [StringEntry(aD, bI), IntegerEntry(aF, bf), IntegerEntry(aE, bJ)] | |
297 | 297 | ||
298 | 298 | ||
299 | 299 | ||
300 | 300 | @Callable(bH) | |
301 | 301 | func constructorV2 (bK,bL) = if ((bH.caller != this)) | |
302 | 302 | then throw("Permission denied") | |
303 | 303 | else { | |
304 | 304 | let bM = Issue("SURF", "Smart Utility Recapitalization Feature token", 0, 6, true, unit, 0) | |
305 | 305 | let bN = calculateAssetId(bM) | |
306 | 306 | [bM, StringEntry(ay, toBase58String(bN)), IntegerEntry(aG, bK), IntegerEntry(aH, bL)] | |
307 | 307 | } | |
308 | 308 | ||
309 | 309 | ||
310 | 310 | ||
311 | 311 | @Callable(bH) | |
312 | 312 | func buyNsbt () = { | |
313 | 313 | let bO = value(bH.payments[0]) | |
314 | 314 | let bP = bO.amount | |
315 | 315 | let bQ = bP | |
316 | 316 | if (bd) | |
317 | 317 | then throw("contract is blocked by EMERGENCY SHUTDOWN actions until reactivation by emergency oracles") | |
318 | 318 | else if (isDefined(bO.assetId)) | |
319 | 319 | then throw("can use waves only") | |
320 | 320 | else if ((be > bP)) | |
321 | 321 | then throw((("min " + toString((be / t))) + " waves expected")) | |
322 | 322 | else { | |
323 | 323 | let bR = bH.caller | |
324 | 324 | let bS = h(invoke(as, "calcNeutinoMetricsREADONLY", nil, nil)) | |
325 | 325 | let bB = n(bS[0]) | |
326 | 326 | let bE = h(invoke(as, "curveFunctionREADONLY", [bQ], nil)) | |
327 | 327 | let bT = n(bE[0]) | |
328 | 328 | if ((0 >= bT)) | |
329 | 329 | then throw("nsbtAmount <= 0") | |
330 | 330 | else { | |
331 | 331 | let bU = bs(bQ, bT) | |
332 | 332 | let bA = 0 | |
333 | 333 | let bV = invoke(at, "acceptWaves", nil, bH.payments) | |
334 | 334 | if ((bV == bV)) | |
335 | 335 | then $Tuple2((bv(toBase58String(bH.transactionId), bP, bP, toString(bR), z, bA, bU, bB) ++ [ScriptTransfer(bR, bT, bc), StringEntry("debug_curveResult", bC("curveResult", bE))]), bT) | |
336 | 336 | else throw("Strict value is not equal to itself.") | |
337 | 337 | } | |
338 | 338 | } | |
339 | 339 | } | |
340 | 340 | ||
341 | 341 | ||
342 | 342 | ||
343 | 343 | @Callable(bH) | |
344 | 344 | func sellNsbt () = if (bd) | |
345 | 345 | then throw("contract is blocked by EMERGENCY SHUTDOWN actions until reactivation by emergency oracles") | |
346 | 346 | else { | |
347 | 347 | let bO = value(bH.payments[0]) | |
348 | 348 | let bP = bO.amount | |
349 | 349 | if ((bO.assetId != bc)) | |
350 | 350 | then throw("can use NSBT only") | |
351 | 351 | else if ((bf > bP)) | |
352 | 352 | then throw((("min " + toString((bf / s))) + " nsbt expected")) | |
353 | 353 | else { | |
354 | 354 | let bW = n(h(invoke(as, "calcContractNsbtPriceSYSREADONLY", [-(bP)], nil))[0]) | |
355 | 355 | if ((s > bW)) | |
356 | 356 | then throw((("resulting nsbt price would be < 1 (" + toString(bW)) + " usdn)")) | |
357 | 357 | else { | |
358 | 358 | let bX = invoke(at, "transferUsdnToUser", [bP, toString(bH.caller)], nil) | |
359 | 359 | if ((bX == bX)) | |
360 | 360 | then $Tuple2(nil, bW) | |
361 | 361 | else throw("Strict value is not equal to itself.") | |
362 | 362 | } | |
363 | 363 | } | |
364 | 364 | } | |
365 | 365 | ||
366 | 366 | ||
367 | 367 | ||
368 | 368 | @Callable(bH) | |
369 | 369 | func cancelOrder (aJ) = { | |
370 | 370 | let by = bm(aJ) | |
371 | 371 | let aT = (bl(aJ) - bo(aJ)) | |
372 | 372 | let bY = toString(bH.caller) | |
373 | 373 | let bZ = bq(aJ) | |
374 | 374 | let ca = bp(aJ) | |
375 | 375 | if ((bn(aJ) != y)) | |
376 | 376 | then throw("invalid order status") | |
377 | 377 | else [StringEntry(aC, if ((bi == aJ)) | |
378 | 378 | then bZ | |
379 | 379 | else bi), StringEntry(aR(ca), bZ), StringEntry(aQ(bZ), ca), StringEntry(aO(aJ), x), ScriptTransfer(bH.caller, aT, unit)] | |
380 | 380 | } | |
381 | 381 | ||
382 | 382 | ||
383 | 383 | ||
384 | 384 | @Callable(bH) | |
385 | 385 | func minWavesAmountNsbtBuySYSREADONLY () = $Tuple2(nil, be) | |
386 | 386 | ||
387 | 387 | ||
388 | 388 | ||
389 | 389 | @Callable(bH) | |
390 | 390 | func minNsbtAmountForSellSYSREADONLY () = $Tuple2(nil, bf) | |
391 | 391 | ||
392 | 392 | ||
393 | 393 | ||
394 | 394 | @Callable(bH) | |
395 | 395 | func minWavesAmountSurfBuySYSREADONLY () = $Tuple2(nil, bg) | |
396 | 396 | ||
397 | 397 | ||
398 | 398 | ||
399 | 399 | @Callable(bH) | |
400 | 400 | func minUsdnAmountSurfBuySYSREADONLY () = $Tuple2(nil, bh) | |
401 | 401 | ||
402 | 402 | ||
403 | 403 | ||
404 | 404 | @Callable(bH) | |
405 | 405 | func buySurf (cb,cc,cd) = if ((size(bH.payments) != 1)) | |
406 | 406 | then throw("exactly 1 payment must be attached") | |
407 | 407 | else if ((0 >= cb)) | |
408 | 408 | then throw("averagePriceWanted should be positive") | |
409 | 409 | else if ((0 >= cc)) | |
410 | 410 | then throw("maxTolerancePerc should be positive") | |
411 | 411 | else { | |
412 | 412 | let bO = bH.payments[0] | |
413 | 413 | let ce = bO.amount | |
414 | 414 | let cf = valueOrElse(bO.assetId, A) | |
415 | 415 | if (if ((cf != bb)) | |
416 | 416 | then (cf != A) | |
417 | 417 | else false) | |
418 | 418 | then throw("Unsupported payment asset") | |
419 | 419 | else if (if ((cf == bb)) | |
420 | 420 | then (bh > ce) | |
421 | 421 | else false) | |
422 | 422 | then throw((("min " + toString((bh / s))) + " USDN expected")) | |
423 | 423 | else if (if ((cf == A)) | |
424 | 424 | then (bg > ce) | |
425 | 425 | else false) | |
426 | 426 | then throw((("min " + toString((bg / t))) + " WAVES expected")) | |
427 | 427 | else { | |
428 | 428 | let bG = h(invoke(as, "surfFunctionREADONLY", [ce, cf], nil)) | |
429 | 429 | let cg = n(bG[O]) | |
430 | 430 | let ch = n(bG[P]) | |
431 | 431 | let ci = n(bG[N]) | |
432 | 432 | let cj = toBigInt(ci) | |
433 | 433 | let ck = if ((cf == A)) | |
434 | 434 | then (toBigInt(cg) * u) | |
435 | 435 | else (toBigInt(ch) * v) | |
436 | 436 | if ((ck > ((toBigInt((cc + s)) * toBigInt(cb)) * cj))) | |
437 | 437 | then throw((((((("Tolerance " + toString(cc)) + " exceeded: spent ") + (if ((cf == A)) | |
438 | 438 | then (toString(cg) + " WAVES") | |
439 | 439 | else (toString(ch) + " USDN"))) + " for ") + toString(ci)) + " SURF")) | |
440 | 440 | else { | |
441 | 441 | let cl = n(bG[W]) | |
442 | 442 | let cm = if ((cf == A)) | |
443 | 443 | then { | |
444 | 444 | let cn = invoke(at, "acceptWaves", nil, [AttachedPayment(unit, (ce - cl))]) | |
445 | 445 | if ((cn == cn)) | |
446 | 446 | then if ((cl > 0)) | |
447 | 447 | then [ScriptTransfer(bH.caller, cl, unit)] | |
448 | 448 | else nil | |
449 | 449 | else throw("Strict value is not equal to itself.") | |
450 | 450 | } | |
451 | 451 | else if ((cl > 0)) | |
452 | 452 | then [ScriptTransfer(at, (ce - cl), bb), ScriptTransfer(bH.caller, cl, bb)] | |
453 | 453 | else [ScriptTransfer(at, (ce - cl), bb)] | |
454 | 454 | let co = p(invoke(this, "issueSurf", [ci], nil)) | |
455 | 455 | let cp = if (cd) | |
456 | 456 | then { | |
457 | 457 | let cq = invoke(au, "stakeByOriginCaller", nil, [AttachedPayment(co, ci)]) | |
458 | 458 | if ((cq == cq)) | |
459 | 459 | then nil | |
460 | 460 | else throw("Strict value is not equal to itself.") | |
461 | 461 | } | |
462 | 462 | else [ScriptTransfer(bH.caller, ci, co)] | |
463 | 463 | ((cm ++ [bF(bG)]) ++ cp) | |
464 | 464 | } | |
465 | 465 | } | |
466 | 466 | } | |
467 | 467 | ||
468 | 468 | ||
469 | 469 | ||
470 | 470 | @Callable(bH) | |
471 | 471 | func issueSurf (ci) = { | |
472 | 472 | let co = fromBase58String(getStringValue(ay)) | |
473 | 473 | if ((bH.caller != this)) | |
474 | - | then throw("issueSurf - | |
474 | + | then throw("issueSurf - permission denied") | |
475 | 475 | else $Tuple2([Reissue(co, ci, true)], co) | |
476 | 476 | } | |
477 | 477 | ||
478 | 478 | ||
479 | 479 | ||
480 | 480 | @Callable(bH) | |
481 | 481 | func updateReservesAndNeutrinoSupply () = { | |
482 | 482 | func cr (b) = { | |
483 | 483 | let j = getInteger(this, b) | |
484 | 484 | if ($isInstanceOf(j, "Int")) | |
485 | 485 | then { | |
486 | 486 | let cs = j | |
487 | 487 | cs | |
488 | 488 | } | |
489 | 489 | else 0 | |
490 | 490 | } | |
491 | 491 | ||
492 | 492 | let ct = h(invoke(as, "calcNeutinoMetricsREADONLY", nil, nil)) | |
493 | 493 | let aq = cr("updateReservesAndNeutrinoSupplyIdx") | |
494 | 494 | let cu = (aq + 1) | |
495 | 495 | [IntegerEntry("updateReservesAndNeutrinoSupplyIdx", cu), IntegerEntry("reserve", n(ct[3])), IntegerEntry("neutrinoSupply", n(ct[5])), IntegerEntry("reservesInUsdn", aV(n(ct[3]), n(ct[0]))), IntegerEntry("deficit", -(n(ct[6])))] | |
496 | 496 | } | |
497 | 497 | ||
498 | 498 | ||
499 | 499 | ||
500 | 500 | @Callable(bH) | |
501 | 501 | func wavesBalancesVsPayment () = { | |
502 | 502 | let cv = wavesBalance(this) | |
503 | 503 | [IntegerEntry("wavesBalance_available", cv.available), IntegerEntry("wavesBalance_regular", cv.regular), IntegerEntry("wavesBalance_generating", cv.generating), IntegerEntry("wavesBalance_effective", cv.effective), IntegerEntry("waves_payment", value(bH.payments[0]).amount)] | |
504 | 504 | } | |
505 | 505 | ||
506 | 506 | ||
507 | 507 | @Verifier(cw) | |
508 | 508 | func cx () = { | |
509 | 509 | let cy = makeString(["ExtEEK19nmKj9mCpnWyvEEJFYATLMcVEMvohhUHkyHNm", "Ev5py5FfBQX9cZpYKnfQrTB49Byf8QmpZWeDVRim4yV7", "DUuuLjXu98nBwZc7fqwCTjtA3nnRwgTbkMSr5SU2NmDR", "DUuuLjXu98nBwZc7fqwCTjtA3nnRwgTbkMSr5SU2NmDR"], r) | |
510 | 510 | let cz = split(valueOrElse(getString(ar, "%s__multisig"), cy), r) | |
511 | 511 | let cA = ((((if (sigVerify(cw.bodyBytes, cw.proofs[0], fromBase58String(cz[0]))) | |
512 | 512 | then 1 | |
513 | 513 | else 0) + (if (sigVerify(cw.bodyBytes, cw.proofs[1], fromBase58String(cz[1]))) | |
514 | 514 | then 1 | |
515 | 515 | else 0)) + (if (sigVerify(cw.bodyBytes, cw.proofs[2], fromBase58String(cz[2]))) | |
516 | 516 | then 1 | |
517 | 517 | else 0)) + (if (sigVerify(cw.bodyBytes, cw.proofs[3], fromBase58String(cz[3]))) | |
518 | 518 | then 2 | |
519 | 519 | else 0)) | |
520 | 520 | (cA >= 3) | |
521 | 521 | } | |
522 | 522 |
github/deemru/w8io/169f3d6 149.70 ms ◑