tx · 8WKAZVQ3XH9onw8XiPJWLBnKZ87mQGNFYyyaNNuMB37Y

3N5NAftzfcw3gAt8nc35bNr9UdPTVgC81fd:  -0.02500000 Waves

2023.02.10 10:52 [2443254] smart account 3N5NAftzfcw3gAt8nc35bNr9UdPTVgC81fd > SELF 0.00000000 Waves

{ "type": 13, "id": "8WKAZVQ3XH9onw8XiPJWLBnKZ87mQGNFYyyaNNuMB37Y", "fee": 2500000, "feeAssetId": null, "timestamp": 1676015643448, "version": 2, "chainId": 84, "sender": "3N5NAftzfcw3gAt8nc35bNr9UdPTVgC81fd", "senderPublicKey": "CdnTmMHxT68Qa4MtHEnAiUhsdKTi2YkHPGn92ThinVNt", "proofs": [ "4aQPyKdz2G9AYqwiARKQEcfLe2zyEGDpsFdLAf4CPPXs3NcjcSQfQr9kSmHuRtWjjwDkrCfWFKSRWMM9aVigYS62", "5kRN4r2E4VR9WAiJQXhjesPTZ5pD6KLk765LH7u7XfwJs512DZfsXF8seGFYo9k9Kek4p2Q8WGkrCqVFCSpbk9E4", "bAQQT9Qw48YxGDzXpFe5owDaWQNN74v5GJVpuuxm3sKxxpCLVLAA9sNLXo2WuL4Hma3UgFnCgaVwo6EMij7E1ez" ], "script": "base64:AAIFAAAAAAAAADIIAhIFCgMIAQESBQoDAQEIEgASABIDCgEIEgASABIAEgASBQoDAQEEEgQKAgEIEgASAAAAAG0BAAAADmdldE51bWJlckJ5S2V5AAAAAQAAAANrZXkJAQAAAAt2YWx1ZU9yRWxzZQAAAAIJAAQaAAAAAgUAAAAEdGhpcwUAAAADa2V5AAAAAAAAAAAAAQAAAA5nZXRTdHJpbmdCeUtleQAAAAEAAAADa2V5CQEAAAALdmFsdWVPckVsc2UAAAACCQAEHQAAAAIFAAAABHRoaXMFAAAAA2tleQIAAAAAAQAAABZnZXRCb29sQnlBZGRyZXNzQW5kS2V5AAAAAgAAAAdhZGRyZXNzAAAAA2tleQkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABBsAAAACBQAAA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AAD3StIsA==", "height": 2443254, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5aknGctgaeeVJwwfxBwJpH1qaPzmT13c3PX2dZb5KfK7 Next: HpntZL7KVEoQHJ2X7gD9MBH4gKfVfVioy2UoD4WKwPeb Diff:
OldNewDifferences
291291
292292
293293 @Callable(bH)
294-func constructor (bI,bJ,bf) = if ((bH.caller != this))
294+func constructorV1 (bI,bJ,bf) = if ((bH.caller != this))
295295 then throw("Permission denied")
296296 else [StringEntry(aD, bI), IntegerEntry(aF, bf), IntegerEntry(aE, bJ)]
297297
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func a (b) = valueOrElse(getInteger(this, b), 0)
55
66
77 func c (b) = valueOrElse(getString(this, b), "")
88
99
1010 func d (e,b) = valueOrElse(getBoolean(e, b), false)
1111
1212
1313 func f (e,b) = valueOrElse(getString(e, b), "")
1414
1515
1616 func g (e,b) = valueOrElse(getInteger(e, b), 0)
1717
1818
1919 func h (i) = {
2020 let j = i
2121 if ($isInstanceOf(j, "List[Any]"))
2222 then {
2323 let k = j
2424 k
2525 }
2626 else throw("fail to cast into List[Any]")
2727 }
2828
2929
3030 func l (i) = {
3131 let j = i
3232 if ($isInstanceOf(j, "String"))
3333 then {
3434 let m = j
3535 m
3636 }
3737 else throw("fail to cast into String")
3838 }
3939
4040
4141 func n (i) = {
4242 let j = i
4343 if ($isInstanceOf(j, "Int"))
4444 then {
4545 let o = j
4646 o
4747 }
4848 else throw("fail to cast into Int")
4949 }
5050
5151
5252 func p (i) = {
5353 let j = i
5454 if ($isInstanceOf(j, "ByteVector"))
5555 then {
5656 let q = j
5757 q
5858 }
5959 else throw("fail to cast into ByteVector")
6060 }
6161
6262
6363 let r = "__"
6464
6565 let s = 1000000
6666
6767 let t = 100000000
6868
6969 let u = toBigInt(10000000000)
7070
7171 let v = toBigInt(1000000000000)
7272
7373 let w = toBigInt(10000000000000000)
7474
7575 let x = "canceled"
7676
7777 let y = "new"
7878
7979 let z = "filled"
8080
8181 let A = fromBase58String("WAVES")
8282
8383 let B = 0
8484
8585 let C = 1
8686
8787 let D = 2
8888
8989 let E = 3
9090
9191 let F = 4
9292
9393 let G = 5
9494
9595 let H = 6
9696
9797 let I = 7
9898
9999 let J = 8
100100
101101 let K = 9
102102
103103 let L = 10
104104
105105 let M = 11
106106
107107 let N = 0
108108
109109 let O = 1
110110
111111 let P = 2
112112
113113 let Q = 3
114114
115115 let R = 4
116116
117117 let S = 5
118118
119119 let T = 6
120120
121121 let U = 7
122122
123123 let V = 8
124124
125125 let W = 9
126126
127127 let X = 10
128128
129129 let Y = 1
130130
131131 let Z = 2
132132
133133 let aa = 3
134134
135135 let ab = 4
136136
137137 let ac = 5
138138
139139 let ad = 6
140140
141141 let ae = 7
142142
143143 let af = 8
144144
145145 let ag = 9
146146
147147 let ah = 10
148148
149149 let ai = 11
150150
151151 func aj (e,b) = valueOrErrorMessage(getString(e, b), (((("mandatory " + toString(e)) + ".") + b) + " is not defined"))
152152
153153
154154 func ak () = "%s%s__config__controlAddress"
155155
156156
157157 func al () = "%s__controlConfig"
158158
159159
160160 func am (an) = split(aj(an, al()), r)
161161
162162
163163 func ao (ap,aq) = valueOrErrorMessage(addressFromString(ap[aq]), ("Control cfg doesn't contain address at index " + toString(aq)))
164164
165165
166166 let ar = addressFromStringValue(valueOrElse(getString(this, ak()), "3N4NS7d4Jo9a6F14LiFUKKYVdUkkf2eP4Zx"))
167167
168168 let ap = am(ar)
169169
170170 let as = ao(ap, ab)
171171
172172 let at = ao(ap, Y)
173173
174174 let au = ao(ap, ah)
175175
176176 let av = "price"
177177
178178 let aw = "bond_asset_id"
179179
180180 let ax = "neutrino_asset_id"
181181
182182 let ay = "surf_asset_id"
183183
184184 let az = "balance_lock_"
185185
186186 let aA = (az + "waves")
187187
188188 let aB = (az + "neutrino")
189189
190190 let aC = "order_first"
191191
192192 let aD = "math_contract"
193193
194194 let aE = "min_waves_nsbt_buy"
195195
196196 let aF = "min_nsbt_sell"
197197
198198 let aG = "min_waves_surf_buy"
199199
200200 let aH = "min_usdn_surf_buy"
201201
202202 func aI (aJ) = ("debug_order_roi_" + aJ)
203203
204204
205205 func aK (aJ) = ("order_price_" + aJ)
206206
207207
208208 func aL (aJ) = ("order_total_" + aJ)
209209
210210
211211 func aM (aJ) = ("order_owner_" + aJ)
212212
213213
214214 func aN (aJ) = ("order_height_" + aJ)
215215
216216
217217 func aO (aJ) = ("order_status_" + aJ)
218218
219219
220220 func aP (aJ) = ("order_filled_total_" + aJ)
221221
222222
223223 func aQ (aJ) = ("order_prev_" + aJ)
224224
225225
226226 func aR (aJ) = ("order_next_" + aJ)
227227
228228
229229 func aS (aT,aU) = fraction(aT, t, aU)
230230
231231
232232 func aV (aT,aU) = fraction(aT, aU, t)
233233
234234
235235 func aW (aX,aY) = fraction(toBigInt(aX), w, toBigInt(aY))
236236
237237
238238 func aZ (i,ba) = toInt(fraction(i, toBigInt(ba), w))
239239
240240
241241 let bb = base58'HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ'
242242
243243 let bc = base58'F3iaxzruFeKujfVfYSZEkejpjh67wmRfPCRHiNmWKp3Z'
244244
245245 let bd = d(ar, "is_blocked")
246246
247247 let be = valueOrElse(getInteger(this, aE), 1000000000)
248248
249249 let bf = valueOrElse(getInteger(this, aF), 1000000)
250250
251251 let bg = valueOrElse(getInteger(this, aG), 100000000)
252252
253253 let bh = valueOrElse(getInteger(this, aH), 10000000)
254254
255255 let bi = c(aC)
256256
257257 func bj (bk) = a(aK(bk))
258258
259259
260260 func bl (bk) = a(aL(bk))
261261
262262
263263 func bm (bk) = c(aM(bk))
264264
265265
266266 func bn (bk) = c(aO(bk))
267267
268268
269269 func bo (bk) = a(aP(bk))
270270
271271
272272 func bp (bk) = c(aQ(bk))
273273
274274
275275 func bq (bk) = c(aR(bk))
276276
277277
278278 func br (aU) = ((s * s) / aU)
279279
280280
281281 func bs (bt,bu) = fraction(toBigInt(bt), toBigInt((s * s)), toBigInt(bu))
282282
283283
284284 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)]
285285
286286
287287 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]))) + "]")
288288
289289
290290 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))
291291
292292
293293 @Callable(bH)
294-func constructor (bI,bJ,bf) = if ((bH.caller != this))
294+func constructorV1 (bI,bJ,bf) = if ((bH.caller != this))
295295 then throw("Permission denied")
296296 else [StringEntry(aD, bI), IntegerEntry(aF, bf), IntegerEntry(aE, bJ)]
297297
298298
299299
300300 @Callable(bH)
301301 func constructorV2 (bK,bL,bM) = if ((bH.caller != this))
302302 then throw("Permission denied")
303303 else {
304304 let bN = Issue("SURF", bM, 0, 6, true, unit, 0)
305305 let bO = calculateAssetId(bN)
306306 [bN, StringEntry(ay, toBase58String(bO)), IntegerEntry(aG, bK), IntegerEntry(aH, bL)]
307307 }
308308
309309
310310
311311 @Callable(bH)
312312 func buyNsbt () = {
313313 let bP = value(bH.payments[0])
314314 let bQ = bP.amount
315315 let bR = bQ
316316 if (bd)
317317 then throw("contract is blocked by EMERGENCY SHUTDOWN actions until reactivation by emergency oracles")
318318 else if (isDefined(bP.assetId))
319319 then throw("can use waves only")
320320 else if ((be > bQ))
321321 then throw((("min " + toString((be / t))) + " waves expected"))
322322 else {
323323 let bS = bH.caller
324324 let bT = h(invoke(as, "calcNeutinoMetricsREADONLY", nil, nil))
325325 let bB = n(bT[0])
326326 let bE = h(invoke(as, "curveFunctionREADONLY", [bR], nil))
327327 let bU = n(bE[0])
328328 if ((0 >= bU))
329329 then throw("nsbtAmount <= 0")
330330 else {
331331 let bV = bs(bR, bU)
332332 let bA = 0
333333 let bW = invoke(at, "acceptWaves", nil, bH.payments)
334334 if ((bW == bW))
335335 then $Tuple2((bv(toBase58String(bH.transactionId), bQ, bQ, toString(bS), z, bA, bV, bB) ++ [ScriptTransfer(bS, bU, bc), StringEntry("debug_curveResult", bC("curveResult", bE))]), bU)
336336 else throw("Strict value is not equal to itself.")
337337 }
338338 }
339339 }
340340
341341
342342
343343 @Callable(bH)
344344 func sellNsbt () = if (bd)
345345 then throw("contract is blocked by EMERGENCY SHUTDOWN actions until reactivation by emergency oracles")
346346 else {
347347 let bP = value(bH.payments[0])
348348 let bQ = bP.amount
349349 if ((bP.assetId != bc))
350350 then throw("can use NSBT only")
351351 else if ((bf > bQ))
352352 then throw((("min " + toString((bf / s))) + " nsbt expected"))
353353 else {
354354 let bX = n(h(invoke(as, "calcContractNsbtPriceSYSREADONLY", [-(bQ)], nil))[0])
355355 if ((s > bX))
356356 then throw((("resulting nsbt price would be < 1 (" + toString(bX)) + " usdn)"))
357357 else {
358358 let bY = invoke(at, "transferUsdnToUser", [bQ, toString(bH.caller)], nil)
359359 if ((bY == bY))
360360 then $Tuple2(nil, bX)
361361 else throw("Strict value is not equal to itself.")
362362 }
363363 }
364364 }
365365
366366
367367
368368 @Callable(bH)
369369 func cancelOrder (aJ) = {
370370 let by = bm(aJ)
371371 let aT = (bl(aJ) - bo(aJ))
372372 let bZ = toString(bH.caller)
373373 let ca = bq(aJ)
374374 let cb = bp(aJ)
375375 if ((bn(aJ) != y))
376376 then throw("invalid order status")
377377 else [StringEntry(aC, if ((bi == aJ))
378378 then ca
379379 else bi), StringEntry(aR(cb), ca), StringEntry(aQ(ca), cb), StringEntry(aO(aJ), x), ScriptTransfer(bH.caller, aT, unit)]
380380 }
381381
382382
383383
384384 @Callable(bH)
385385 func minWavesAmountNsbtBuySYSREADONLY () = $Tuple2(nil, be)
386386
387387
388388
389389 @Callable(bH)
390390 func minNsbtAmountForSellSYSREADONLY () = $Tuple2(nil, bf)
391391
392392
393393
394394 @Callable(bH)
395395 func minWavesAmountSurfBuySYSREADONLY () = $Tuple2(nil, bg)
396396
397397
398398
399399 @Callable(bH)
400400 func minUsdnAmountSurfBuySYSREADONLY () = $Tuple2(nil, bh)
401401
402402
403403
404404 @Callable(bH)
405405 func buySurf (cc,cd,ce) = {
406406 let cf = valueOrElse(getString(this, "testAccounts"), "")
407407 if (if ((cf != ""))
408408 then !(contains(cf, toString(bH.caller)))
409409 else false)
410410 then throw("Be patient! Need to test in mainnet before launch.")
411411 else if ((size(bH.payments) != 1))
412412 then throw("exactly 1 payment must be attached")
413413 else if ((0 >= cc))
414414 then throw("averagePriceWanted should be positive")
415415 else if ((0 >= cd))
416416 then throw("maxTolerancePerc should be positive")
417417 else if (bd)
418418 then throw("contract is blocked by EMERGENCY SHUTDOWN actions until reactivation by emergency oracles")
419419 else {
420420 let bP = bH.payments[0]
421421 let cg = bP.amount
422422 let ch = valueOrElse(bP.assetId, A)
423423 if (if ((ch != bb))
424424 then (ch != A)
425425 else false)
426426 then throw("Unsupported payment asset")
427427 else if (if ((ch == bb))
428428 then (bh > cg)
429429 else false)
430430 then throw((("min " + toString((bh / s))) + " USDN expected"))
431431 else if (if ((ch == A))
432432 then (bg > cg)
433433 else false)
434434 then throw((("min " + toString((bg / t))) + " WAVES expected"))
435435 else {
436436 let bG = h(invoke(as, "surfFunctionREADONLY", [cg, ch], nil))
437437 let ci = n(bG[O])
438438 let cj = n(bG[P])
439439 let ck = n(bG[N])
440440 let cl = toBigInt(ck)
441441 let cm = if ((ch == A))
442442 then (toBigInt(ci) * u)
443443 else (toBigInt(cj) * v)
444444 if ((cm > ((toBigInt((cd + s)) * toBigInt(cc)) * cl)))
445445 then throw((((((("Tolerance " + toString(cd)) + " exceeded: spent ") + (if ((ch == A))
446446 then (toString(ci) + " WAVES")
447447 else (toString(cj) + " USDN"))) + " for ") + toString(ck)) + " SURF"))
448448 else {
449449 let cn = n(bG[W])
450450 let co = if ((ch == A))
451451 then {
452452 let cp = invoke(at, "acceptWaves", nil, [AttachedPayment(unit, (cg - cn))])
453453 if ((cp == cp))
454454 then if ((cn > 0))
455455 then [ScriptTransfer(bH.caller, cn, unit)]
456456 else nil
457457 else throw("Strict value is not equal to itself.")
458458 }
459459 else if ((cn > 0))
460460 then [ScriptTransfer(at, (cg - cn), bb), ScriptTransfer(bH.caller, cn, bb)]
461461 else [ScriptTransfer(at, (cg - cn), bb)]
462462 let cq = p(invoke(this, "issueSurf", [ck, ""], nil))
463463 let cr = if (ce)
464464 then {
465465 let cs = invoke(au, "stakeByOriginCaller", nil, [AttachedPayment(cq, ck)])
466466 if ((cs == cs))
467467 then nil
468468 else throw("Strict value is not equal to itself.")
469469 }
470470 else [ScriptTransfer(bH.caller, ck, cq)]
471471 ((co ++ [bF(bG)]) ++ cr)
472472 }
473473 }
474474 }
475475 }
476476
477477
478478
479479 @Callable(bH)
480480 func issueSurf (ck,ct) = {
481481 let cq = fromBase58String(getStringValue(ay))
482482 if ((bH.caller == this))
483483 then $Tuple2([Reissue(cq, ck, true)], cq)
484484 else if ((bH.caller == at))
485485 then $Tuple2([Reissue(cq, ck, true), ScriptTransfer(addressFromStringValue(ct), ck, cq)], cq)
486486 else throw("issueSurf - permission denied")
487487 }
488488
489489
490490
491491 @Callable(bH)
492492 func updateReservesAndNeutrinoSupply () = {
493493 func cu (b) = {
494494 let j = getInteger(this, b)
495495 if ($isInstanceOf(j, "Int"))
496496 then {
497497 let cv = j
498498 cv
499499 }
500500 else 0
501501 }
502502
503503 let cw = h(invoke(as, "calcNeutinoMetricsREADONLY", nil, nil))
504504 let aq = cu("updateReservesAndNeutrinoSupplyIdx")
505505 let cx = (aq + 1)
506506 [IntegerEntry("updateReservesAndNeutrinoSupplyIdx", cx), IntegerEntry("reserve", n(cw[3])), IntegerEntry("neutrinoSupply", n(cw[5])), IntegerEntry("reservesInUsdn", aV(n(cw[3]), n(cw[0]))), IntegerEntry("deficit", -(n(cw[6])))]
507507 }
508508
509509
510510
511511 @Callable(bH)
512512 func wavesBalancesVsPayment () = {
513513 let cy = wavesBalance(this)
514514 [IntegerEntry("wavesBalance_available", cy.available), IntegerEntry("wavesBalance_regular", cy.regular), IntegerEntry("wavesBalance_generating", cy.generating), IntegerEntry("wavesBalance_effective", cy.effective), IntegerEntry("waves_payment", value(bH.payments[0]).amount)]
515515 }
516516
517517
518518 @Verifier(cz)
519519 func cA () = {
520520 let cB = makeString(["ExtEEK19nmKj9mCpnWyvEEJFYATLMcVEMvohhUHkyHNm", "Ev5py5FfBQX9cZpYKnfQrTB49Byf8QmpZWeDVRim4yV7", "DUuuLjXu98nBwZc7fqwCTjtA3nnRwgTbkMSr5SU2NmDR", "DUuuLjXu98nBwZc7fqwCTjtA3nnRwgTbkMSr5SU2NmDR"], r)
521521 let cC = split(valueOrElse(getString(ar, "%s__multisig"), cB), r)
522522 let cD = ((((if (sigVerify(cz.bodyBytes, cz.proofs[0], fromBase58String(cC[0])))
523523 then 1
524524 else 0) + (if (sigVerify(cz.bodyBytes, cz.proofs[1], fromBase58String(cC[1])))
525525 then 1
526526 else 0)) + (if (sigVerify(cz.bodyBytes, cz.proofs[2], fromBase58String(cC[2])))
527527 then 1
528528 else 0)) + (if (sigVerify(cz.bodyBytes, cz.proofs[3], fromBase58String(cC[3])))
529529 then 2
530530 else 0))
531531 (cD >= 3)
532532 }
533533

github/deemru/w8io/026f985 
57.74 ms