tx · 8z4AxhESks3zRHo6hau6US5SxCntPoV6Bud955eapiR9 3MtUehzGjHyPsgda2qCUgkJ5E1moVfXbBYz: -0.05000000 Waves 2023.04.25 16:38 [2550143] smart account 3MtUehzGjHyPsgda2qCUgkJ5E1moVfXbBYz > SELF 0.00000000 Waves
{ "type": 13, "id": "8z4AxhESks3zRHo6hau6US5SxCntPoV6Bud955eapiR9", "fee": 5000000, "feeAssetId": null, "timestamp": 1682429976115, "version": 2, "chainId": 84, "sender": "3MtUehzGjHyPsgda2qCUgkJ5E1moVfXbBYz", "senderPublicKey": "CcUjT4Z78ag95DPVic5MSYCL1Qs4zc635rvA7uVXacSD", "proofs": [ "2x1Eo8W24u5h7wVW2BAMZ4swq8LRP2D2LcmFAtZwiYJj1roMMcSrJesttRpCjxfE7DBJTCz4xv9CvZKU2fYPKVem" ], "script": "base64:BgI0CAISBwoFCAEBCAgSBAoCAQESAwoBCBIDCgEIEgMKAQgSBAoCCAESBQoDCAgBEgASAwoBCHYAA1NFUAICX18ABUVNUFRZAgAACVBSRUNJU0lPTgCAoJSljR0ACERFQ0lNQUxTAIDC1y8AFERFRkFVTFRfTUFYX1NMSVBQQUdFCQBoAgkAaQIFCVBSRUNJU0lPTgAUABMAA0RBWQkAaAIJAGgCADwAPAAYAARZRUFSCQBoAgUDREFZAO0CAA9PUkFDTEVfREVDSU1BTFMAwIQ9AAhJTkZJTklUWQD//////////38AEE1JTl9BTU9VTlRfREVMVEEA6AcAFU1BWF9SQVRFX0hFSUdIVF9ERUxUQQAFABFMSVFVSURBVElPTl9CT05VUwkAaAIJAGkCBQlQUkVDSVNJT04AZAAFABhMSVFVSURBVElPTl9QUk9UT0NPTF9GRUUJAGgCCQBpAgUJUFJFQ0lTSU9OAGQAAgAUTUFYX0xJUVVJREFUSU9OX1BBUlQJAGgCCQBpAgUJUFJFQ0lTSU9OAGQAMgANU1RBQklMSVRZX0ZFRQkAaQIFCVBSRUNJU0lPTgBkAAdFTkFCTEVEAgdFTkFCTE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"applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 6 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | let a = "__" | |
5 | + | ||
6 | + | let b = "" | |
7 | + | ||
8 | + | let c = 1000000000000 | |
9 | + | ||
10 | + | let d = 100000000 | |
11 | + | ||
12 | + | let e = ((c / 20) * 19) | |
13 | + | ||
14 | + | let f = ((60 * 60) * 24) | |
15 | + | ||
16 | + | let g = (f * 365) | |
17 | + | ||
18 | + | let h = 1000000 | |
19 | + | ||
20 | + | let i = 9223372036854775807 | |
21 | + | ||
22 | + | let j = 1000 | |
23 | + | ||
24 | + | let k = 5 | |
25 | + | ||
26 | + | let l = ((c / 100) * 5) | |
27 | + | ||
28 | + | let m = ((c / 100) * 2) | |
29 | + | ||
30 | + | let n = ((c / 100) * 50) | |
31 | + | ||
32 | + | let o = (c / 100) | |
33 | + | ||
34 | + | let p = "ENABLED" | |
35 | + | ||
36 | + | let q = "DISABLED" | |
37 | + | ||
38 | + | let r = 1 | |
39 | + | ||
40 | + | let s = 2 | |
41 | + | ||
42 | + | let t = 3 | |
43 | + | ||
44 | + | let u = 1 | |
45 | + | ||
46 | + | let v = 2 | |
47 | + | ||
48 | + | let w = 3 | |
49 | + | ||
50 | + | let x = 4 | |
51 | + | ||
52 | + | let y = 5 | |
53 | + | ||
54 | + | let z = "Invocation error" | |
55 | + | ||
56 | + | func A (B,C) = fraction(B, d, C, HALFEVEN) | |
57 | + | ||
58 | + | ||
59 | + | func D (B,C) = fraction(B, C, d, HALFEVEN) | |
60 | + | ||
61 | + | ||
62 | + | func E (B,C) = fraction(B, c, C, HALFEVEN) | |
63 | + | ||
64 | + | ||
65 | + | func F (B,C) = fraction(B, C, c, HALFEVEN) | |
66 | + | ||
67 | + | ||
68 | + | func G (H) = makeString(H, a) | |
69 | + | ||
70 | + | ||
71 | + | func I () = G(["%s", "initialized"]) | |
72 | + | ||
73 | + | ||
74 | + | func J () = G(["%s", "coordinatorAddress"]) | |
75 | + | ||
76 | + | ||
77 | + | func K () = G(["%s", "verifierAddress"]) | |
78 | + | ||
79 | + | ||
80 | + | func L () = G(["%s", "serviceAddress"]) | |
81 | + | ||
82 | + | ||
83 | + | func M () = G(["%s", "frontendAddress"]) | |
84 | + | ||
85 | + | ||
86 | + | func N () = G(["%s", "minterAddress"]) | |
87 | + | ||
88 | + | ||
89 | + | func O () = G(["%s", "treasuryAddress"]) | |
90 | + | ||
91 | + | ||
92 | + | func P () = G(["%s", "backendAddress"]) | |
93 | + | ||
94 | + | ||
95 | + | func Q () = G(["%s", "eastStakingAddress"]) | |
96 | + | ||
97 | + | ||
98 | + | func R () = G(["%s", "oracleAddress"]) | |
99 | + | ||
100 | + | ||
101 | + | func S () = G(["%s", "exchangeAddress"]) | |
102 | + | ||
103 | + | ||
104 | + | func T () = G(["%s", "eastAsset"]) | |
105 | + | ||
106 | + | ||
107 | + | func U () = G(["%s", "stEastAsset"]) | |
108 | + | ||
109 | + | ||
110 | + | func V () = "A_asset_balance" | |
111 | + | ||
112 | + | ||
113 | + | func W () = "B_asset_balance" | |
114 | + | ||
115 | + | ||
116 | + | func X (Y,Z) = G(["%s%s%s", "vault", Y, Z]) | |
117 | + | ||
118 | + | ||
119 | + | func aa (Y) = G(["%s%s", "vault", Y]) | |
120 | + | ||
121 | + | ||
122 | + | func ab () = G(["%s", "precision"]) | |
123 | + | ||
124 | + | ||
125 | + | func ac () = G(["%s", "backingRatio"]) | |
126 | + | ||
127 | + | ||
128 | + | func ad () = G(["%s", "liquidationRatio"]) | |
129 | + | ||
130 | + | ||
131 | + | func ae () = G(["%s", "liquidationBonus"]) | |
132 | + | ||
133 | + | ||
134 | + | func af () = G(["%s", "liquidationProtocolFee"]) | |
135 | + | ||
136 | + | ||
137 | + | func ag () = G(["%s", "stabilityFee"]) | |
138 | + | ||
139 | + | ||
140 | + | func ah () = G(["%s", "minAmountDelta"]) | |
141 | + | ||
142 | + | ||
143 | + | func ai () = G(["%s", "ticker"]) | |
144 | + | ||
145 | + | ||
146 | + | func aj () = G(["%s", "maxRateHeightDelta"]) | |
147 | + | ||
148 | + | ||
149 | + | func ak () = G(["%s", "contractAssetId"]) | |
150 | + | ||
151 | + | ||
152 | + | func al (am) = G(["%s%s", "price", am]) | |
153 | + | ||
154 | + | ||
155 | + | func an (am) = G(["%s%s", "lastHeight", am]) | |
156 | + | ||
157 | + | ||
158 | + | func ao (ap,aq) = G(["%s%s%s", "signed", ap, aq]) | |
159 | + | ||
160 | + | ||
161 | + | func ar () = G(["%s", "protocolActive"]) | |
162 | + | ||
163 | + | ||
164 | + | func as () = valueOrElse(getBoolean(this, I()), false) | |
165 | + | ||
166 | + | ||
167 | + | func at () = if (!(as())) | |
168 | + | then throw("Not initialized") | |
169 | + | else unit | |
170 | + | ||
171 | + | ||
172 | + | func au () = if (as()) | |
173 | + | then throw("Already initialized") | |
174 | + | else unit | |
175 | + | ||
176 | + | ||
177 | + | func av (aw) = if ((aw.caller != this)) | |
178 | + | then throw("Only self invocation allowed.") | |
179 | + | else unit | |
180 | + | ||
181 | + | ||
182 | + | func ax () = addressFromStringValue(valueOrErrorMessage(getString(J()), "Coordinator is not set")) | |
183 | + | ||
184 | + | ||
185 | + | func ay () = { | |
186 | + | let az = getString(J()) | |
187 | + | if ($isInstanceOf(az, "String")) | |
188 | + | then { | |
189 | + | let aA = az | |
190 | + | getString(addressFromStringValue(aA), K()) | |
191 | + | } | |
192 | + | else if ($isInstanceOf(az, "Unit")) | |
193 | + | then unit | |
194 | + | else throw("Match error") | |
195 | + | } | |
196 | + | ||
197 | + | ||
198 | + | func aB (aC,aD) = addressFromStringValue(valueOrErrorMessage(getString(ax(), aC), aD)) | |
199 | + | ||
200 | + | ||
201 | + | func aE () = aB(N(), "Minter is not set") | |
202 | + | ||
203 | + | ||
204 | + | func aF () = aB(M(), "Frontend is not set") | |
205 | + | ||
206 | + | ||
207 | + | func aG () = aB(O(), "Treasury is not set") | |
208 | + | ||
209 | + | ||
210 | + | func aH () = aB(P(), "Backend is not set") | |
211 | + | ||
212 | + | ||
213 | + | func aI () = aB(R(), "Oracle is not set") | |
214 | + | ||
215 | + | ||
216 | + | func aJ () = aB(Q(), "East staking is not set") | |
217 | + | ||
218 | + | ||
219 | + | func aK (aw) = (aw.caller != aG()) | |
220 | + | ||
221 | + | ||
222 | + | func aL () = valueOrElse(getInteger(ax(), ah()), j) | |
223 | + | ||
224 | + | ||
225 | + | func aM () = valueOrElse(getInteger(ax(), aj()), k) | |
226 | + | ||
227 | + | ||
228 | + | func aN () = valueOrElse(getInteger(ax(), ae()), l) | |
229 | + | ||
230 | + | ||
231 | + | func aO () = valueOrElse(getInteger(ax(), af()), m) | |
232 | + | ||
233 | + | ||
234 | + | func aP () = valueOrElse(getInteger(ax(), ag()), o) | |
235 | + | ||
236 | + | ||
237 | + | func aQ () = getStringValue(ak()) | |
238 | + | ||
239 | + | ||
240 | + | func aR () = valueOrErrorMessage(getString(ax(), T()), "East asset is not set") | |
241 | + | ||
242 | + | ||
243 | + | func aS () = fromBase58String(aR()) | |
244 | + | ||
245 | + | ||
246 | + | func aT () = valueOrElse(getBoolean(ax(), ar()), false) | |
247 | + | ||
248 | + | ||
249 | + | func aU () = if (if (!(aT())) | |
250 | + | then true | |
251 | + | else !(as())) | |
252 | + | then throw("Protocol is disabled. Please contact support.") | |
253 | + | else unit | |
254 | + | ||
255 | + | ||
256 | + | func aV (aw) = if ((aw.caller != aF())) | |
257 | + | then throw("Not allowed") | |
258 | + | else unit | |
259 | + | ||
260 | + | ||
261 | + | func aW (aw) = if ((aw.caller != aH())) | |
262 | + | then throw("Not allowed") | |
263 | + | else unit | |
264 | + | ||
265 | + | ||
266 | + | func aX (aw,Y) = if ((toBase58String(aw.caller.bytes) == Y)) | |
267 | + | then throw("Self invocation not allowed.") | |
268 | + | else unit | |
269 | + | ||
270 | + | ||
271 | + | func aY (aw) = if ((size(aw.payments) != 1)) | |
272 | + | then throw("Only one payment allowed.") | |
273 | + | else unit | |
274 | + | ||
275 | + | ||
276 | + | func aZ (aw) = if ((size(aw.payments) != 0)) | |
277 | + | then throw("No payment allowed.") | |
278 | + | else unit | |
279 | + | ||
280 | + | ||
281 | + | func ba (aw) = (size(aw.payments) == 1) | |
282 | + | ||
283 | + | ||
284 | + | func bb (bc) = if ((0 >= bc)) | |
285 | + | then throw("Attribute should be positive or zero.") | |
286 | + | else unit | |
287 | + | ||
288 | + | ||
289 | + | func bd (bc) = if ((0 > bc)) | |
290 | + | then throw("Attribute should be positive.") | |
291 | + | else unit | |
292 | + | ||
293 | + | ||
294 | + | func be (Y,Z) = getString(X(Y, Z)) | |
295 | + | ||
296 | + | ||
297 | + | func bf (Y,Z) = valueOrErrorMessage(be(Y, Z), "Vault not exists") | |
298 | + | ||
299 | + | ||
300 | + | func bg (bh) = { | |
301 | + | let az = bh.assetId | |
302 | + | if ($isInstanceOf(az, "ByteVector")) | |
303 | + | then { | |
304 | + | let bi = az | |
305 | + | toBase58String(bi) | |
306 | + | } | |
307 | + | else if ($isInstanceOf(az, "Unit")) | |
308 | + | then "WAVES" | |
309 | + | else throw("Match error") | |
310 | + | } | |
311 | + | ||
312 | + | ||
313 | + | func bj (bi) = if ((bi == "WAVES")) | |
314 | + | then unit | |
315 | + | else fromBase58String(bi) | |
316 | + | ||
317 | + | ||
318 | + | func bk (bh,bl) = { | |
319 | + | let bi = { | |
320 | + | let az = bl | |
321 | + | if ($isInstanceOf(az, "ByteVector")) | |
322 | + | then { | |
323 | + | let bm = az | |
324 | + | bm | |
325 | + | } | |
326 | + | else if ($isInstanceOf(az, "String")) | |
327 | + | then { | |
328 | + | let aA = az | |
329 | + | bj(aA) | |
330 | + | } | |
331 | + | else if ($isInstanceOf(az, "Unit")) | |
332 | + | then unit | |
333 | + | else throw("Match error") | |
334 | + | } | |
335 | + | let az = bi | |
336 | + | if ($isInstanceOf(az, "ByteVector")) | |
337 | + | then { | |
338 | + | let bm = az | |
339 | + | let bn = { | |
340 | + | let bo = assetInfo(bm) | |
341 | + | if ($isInstanceOf(bo, "Asset")) | |
342 | + | then { | |
343 | + | let Z = bo | |
344 | + | Z.name | |
345 | + | } | |
346 | + | else if ($isInstanceOf(bo, "Unit")) | |
347 | + | then throw(("Can't find asset " + toBase58String(bm))) | |
348 | + | else throw("Match error") | |
349 | + | } | |
350 | + | let aD = throw(("Attached payment asset is not " + bn)) | |
351 | + | let bo = bh.assetId | |
352 | + | if ($isInstanceOf(bo, "ByteVector")) | |
353 | + | then { | |
354 | + | let bp = bo | |
355 | + | if ((bp != bi)) | |
356 | + | then aD | |
357 | + | else unit | |
358 | + | } | |
359 | + | else if ($isInstanceOf(bo, "Unit")) | |
360 | + | then aD | |
361 | + | else throw("Match error") | |
362 | + | } | |
363 | + | else if ($isInstanceOf(az, "Unit")) | |
364 | + | then if ((bh.assetId != unit)) | |
365 | + | then throw("Attached payment asset is not WAVES") | |
366 | + | else unit | |
367 | + | else throw("Match error") | |
368 | + | } | |
369 | + | ||
370 | + | ||
371 | + | func bq () = valueOrErrorMessage(getInteger(ac()), "Backing ratio is not set") | |
372 | + | ||
373 | + | ||
374 | + | func br () = valueOrErrorMessage(getInteger(ad()), "Liquidation ratio is not set") | |
375 | + | ||
376 | + | ||
377 | + | func bs (ap) = { | |
378 | + | let az = addressFromString(ap) | |
379 | + | if ($isInstanceOf(az, "Address")) | |
380 | + | then { | |
381 | + | let Y = az | |
382 | + | true | |
383 | + | } | |
384 | + | else if ($isInstanceOf(az, "Unit")) | |
385 | + | then throw("Invalid address") | |
386 | + | else throw("Match error") | |
387 | + | } | |
388 | + | ||
389 | + | ||
390 | + | func bt (bu) = (size(fromBase58String(bu)) == 32) | |
391 | + | ||
392 | + | ||
393 | + | func bv () = (lastBlock.timestamp / 1000) | |
394 | + | ||
395 | + | ||
396 | + | func bw (aw) = { | |
397 | + | let bx = aY(aw) | |
398 | + | if ((bx == bx)) | |
399 | + | then { | |
400 | + | let by = aw.payments[0].assetId | |
401 | + | let az = by | |
402 | + | if ($isInstanceOf(az, "Unit")) | |
403 | + | then { | |
404 | + | let bz = az | |
405 | + | unit | |
406 | + | } | |
407 | + | else throw("Only WAVES accepted") | |
408 | + | } | |
409 | + | else throw("Strict value is not equal to itself.") | |
410 | + | } | |
411 | + | ||
412 | + | ||
413 | + | func bA (bi) = { | |
414 | + | let az = bi | |
415 | + | if ($isInstanceOf(az, "ByteVector")) | |
416 | + | then { | |
417 | + | let bB = az | |
418 | + | let bC = toBase58String(bB) | |
419 | + | let bD = valueOrErrorMessage(assetInfo(bB), (("Asset " + bC) + " doesn't exist")) | |
420 | + | $Tuple3(bC, bD.name, bD.decimals) | |
421 | + | } | |
422 | + | else if ($isInstanceOf(az, "Unit")) | |
423 | + | then { | |
424 | + | let bE = az | |
425 | + | $Tuple3("WAVES", "WAVES", 8) | |
426 | + | } | |
427 | + | else throw("Match error") | |
428 | + | } | |
429 | + | ||
430 | + | ||
431 | + | func bF (bG) = { | |
432 | + | let bH = aM() | |
433 | + | let bI = (lastBlock.height - bG) | |
434 | + | if ((bH >= bI)) | |
435 | + | then unit | |
436 | + | else throw("Large price delta.") | |
437 | + | } | |
438 | + | ||
439 | + | ||
440 | + | func bJ () = { | |
441 | + | let am = getStringValue(this, ai()) | |
442 | + | let bK = aI() | |
443 | + | let bG = getIntegerValue(bK, an(am)) | |
444 | + | let bL = bF(bG) | |
445 | + | if ((bL == bL)) | |
446 | + | then { | |
447 | + | let bM = getIntegerValue(bK, al(am)) | |
448 | + | fraction(bM, c, h) | |
449 | + | } | |
450 | + | else throw("Strict value is not equal to itself.") | |
451 | + | } | |
452 | + | ||
453 | + | ||
454 | + | func bN () = G(["%d", "totalAssetAccepted"]) | |
455 | + | ||
456 | + | ||
457 | + | func bO () = G(["%s", "stakerAddress"]) | |
458 | + | ||
459 | + | ||
460 | + | func bP () = valueOrElse(getInteger(bN()), 0) | |
461 | + | ||
462 | + | ||
463 | + | func bQ () = valueOrElse(getString(bO()), b) | |
464 | + | ||
465 | + | ||
466 | + | func bR () = addressFromStringValue(bQ()) | |
467 | + | ||
468 | + | ||
469 | + | func bS () = (bQ() != b) | |
470 | + | ||
471 | + | ||
472 | + | func bT (bU,bV) = if (if ((0 > bV)) | |
473 | + | then true | |
474 | + | else (0 > bU)) | |
475 | + | then throw("Backing ratio must be positive") | |
476 | + | else if (((1000 + F(l, 1000)) > bV)) | |
477 | + | then throw("Liquidation ratio must be higher than 105%") | |
478 | + | else if ((bV >= bU)) | |
479 | + | then throw("Backing ratio must be higher than liquidation ratio") | |
480 | + | else unit | |
481 | + | ||
482 | + | ||
483 | + | func bW (ap) = { | |
484 | + | let Z = aQ() | |
485 | + | let bX = aF() | |
486 | + | let bY = getString(bX, X(ap, Z)) | |
487 | + | let az = bY | |
488 | + | if ($isInstanceOf(az, "Unit")) | |
489 | + | then ["%d%d%d", "0", "0", "0"] | |
490 | + | else if ($isInstanceOf(az, "String")) | |
491 | + | then { | |
492 | + | let aA = az | |
493 | + | split(aA, a) | |
494 | + | } | |
495 | + | else throw("Match error") | |
496 | + | } | |
497 | + | ||
498 | + | ||
499 | + | func bZ (ap,ca) = { | |
500 | + | let cb = bW(ap) | |
501 | + | let cc = (parseIntValue(cb[r]) + 1) | |
502 | + | let cd = (parseIntValue(cb[s]) + ca) | |
503 | + | if ((0 > cd)) | |
504 | + | then throw("Something went wrong. Contact support.") | |
505 | + | else { | |
506 | + | let ce = bJ() | |
507 | + | makeString(["%d%d%d", toString(cc), toString(cd), toString(ce)], a) | |
508 | + | } | |
509 | + | } | |
510 | + | ||
511 | + | ||
512 | + | func cf (ca) = { | |
513 | + | let cg = bq() | |
514 | + | let ce = bJ() | |
515 | + | let ch = F(ca, ce) | |
516 | + | let ci = E(ch, cg) | |
517 | + | $Tuple2(ci, ch) | |
518 | + | } | |
519 | + | ||
520 | + | ||
521 | + | @Callable(aw) | |
522 | + | func initialize (cj,ck,cl,cm,cn) = { | |
523 | + | let co = [au(), bs(cj), bT(ck, cl)] | |
524 | + | if ((co == co)) | |
525 | + | then { | |
526 | + | let cg = E(ck, 1000) | |
527 | + | let cp = E(cl, 1000) | |
528 | + | [IntegerEntry(ac(), cg), IntegerEntry(ad(), cp), StringEntry(J(), cj), StringEntry(ai(), cn), StringEntry(ak(), cm), BooleanEntry(I(), true)] | |
529 | + | } | |
530 | + | else throw("Strict value is not equal to itself.") | |
531 | + | } | |
532 | + | ||
533 | + | ||
534 | + | ||
535 | + | @Callable(aw) | |
536 | + | func setRatios (ck,cl) = { | |
537 | + | let co = [at(), av(aw), bT(ck, cl)] | |
538 | + | if ((co == co)) | |
539 | + | then { | |
540 | + | let cg = E(ck, 1000) | |
541 | + | let cp = E(cl, 1000) | |
542 | + | [IntegerEntry(ac(), cg), IntegerEntry(ad(), cp)] | |
543 | + | } | |
544 | + | else throw("Strict value is not equal to itself.") | |
545 | + | } | |
546 | + | ||
547 | + | ||
548 | + | ||
549 | + | @Callable(aw) | |
550 | + | func setStaker (ap) = { | |
551 | + | let co = [at(), av(aw), bs(ap)] | |
552 | + | if ((co == co)) | |
553 | + | then if (bS()) | |
554 | + | then throw("Unable to proceed. Staker is already set.") | |
555 | + | else [StringEntry(bO(), ap)] | |
556 | + | else throw("Strict value is not equal to itself.") | |
557 | + | } | |
558 | + | ||
559 | + | ||
560 | + | ||
561 | + | @Callable(aw) | |
562 | + | func mint (ap) = { | |
563 | + | let cq = aw.payments[0] | |
564 | + | let cr = aQ() | |
565 | + | let bx = [aU(), aV(aw), aY(aw), bk(cq, cr)] | |
566 | + | if ((bx == bx)) | |
567 | + | then { | |
568 | + | let cs = cf(cq.amount) | |
569 | + | let ct = cs._1 | |
570 | + | let cu = cs._2 | |
571 | + | let bY = bZ(ap, cq.amount) | |
572 | + | let cv = (bP() + cq.amount) | |
573 | + | let cw = if (bS()) | |
574 | + | then invoke(bR(), "stake", nil, [cq]) | |
575 | + | else unit | |
576 | + | if ((cw == cw)) | |
577 | + | then $Tuple2([IntegerEntry(bN(), cv)], $Tuple2(bY, ct)) | |
578 | + | else throw("Strict value is not equal to itself.") | |
579 | + | } | |
580 | + | else throw("Strict value is not equal to itself.") | |
581 | + | } | |
582 | + | ||
583 | + | ||
584 | + | ||
585 | + | @Callable(aw) | |
586 | + | func supply (ap) = { | |
587 | + | let cq = aw.payments[0] | |
588 | + | let cr = aQ() | |
589 | + | let bx = [aU(), aV(aw), aY(aw), bk(cq, cr)] | |
590 | + | if ((bx == bx)) | |
591 | + | then { | |
592 | + | let bY = bZ(ap, cq.amount) | |
593 | + | let cv = (bP() + cq.amount) | |
594 | + | let cw = if (bS()) | |
595 | + | then invoke(bR(), "stake", nil, [cq]) | |
596 | + | else unit | |
597 | + | if ((cw == cw)) | |
598 | + | then $Tuple2([IntegerEntry(bN(), cv)], bY) | |
599 | + | else throw("Strict value is not equal to itself.") | |
600 | + | } | |
601 | + | else throw("Strict value is not equal to itself.") | |
602 | + | } | |
603 | + | ||
604 | + | ||
605 | + | ||
606 | + | @Callable(aw) | |
607 | + | func close (ap,ca) = { | |
608 | + | let bx = [aU(), aV(aw), bs(ap), bb(ca)] | |
609 | + | if ((bx == bx)) | |
610 | + | then { | |
611 | + | let cx = bW(ap) | |
612 | + | let cy = parseIntValue(cx[s]) | |
613 | + | if ((ca > cy)) | |
614 | + | then throw("Unable to proceed. Not enough asset in vault.") | |
615 | + | else if ((ca > bP())) | |
616 | + | then throw("Unable to proceed. Not enough asset.") | |
617 | + | else { | |
618 | + | let cz = bZ(ap, -(ca)) | |
619 | + | let cA = cf(ca) | |
620 | + | let ct = cA._1 | |
621 | + | let cu = cA._2 | |
622 | + | let cw = if (bS()) | |
623 | + | then invoke(bR(), "unstake", [ca], nil) | |
624 | + | else unit | |
625 | + | if ((cw == cw)) | |
626 | + | then { | |
627 | + | let bi = bj(aQ()) | |
628 | + | let Y = addressFromStringValue(ap) | |
629 | + | let cv = (bP() - ca) | |
630 | + | $Tuple2([IntegerEntry(bN(), cv), ScriptTransfer(Y, ca, bi)], $Tuple3(cz, ct, cu)) | |
631 | + | } | |
632 | + | else throw("Strict value is not equal to itself.") | |
633 | + | } | |
634 | + | } | |
635 | + | else throw("Strict value is not equal to itself.") | |
636 | + | } | |
637 | + | ||
638 | + | ||
639 | + | ||
640 | + | @Callable(aw) | |
641 | + | func liquidate (cB,ap,cC) = { | |
642 | + | let bx = [aU(), aV(aw)] | |
643 | + | if ((bx == bx)) | |
644 | + | then { | |
645 | + | let cx = bW(ap) | |
646 | + | let cy = parseIntValue(cx[s]) | |
647 | + | let cD = F(cy, cC) | |
648 | + | if ((cD > cy)) | |
649 | + | then throw("Unable to proceed. Not enough asset in vault.") | |
650 | + | else if ((cD > bP())) | |
651 | + | then throw("Unable to proceed. Not enough asset.") | |
652 | + | else { | |
653 | + | let cz = bZ(ap, -(cD)) | |
654 | + | let cE = cf(cD) | |
655 | + | let ct = cE._1 | |
656 | + | let cu = cE._2 | |
657 | + | let cw = if (bS()) | |
658 | + | then invoke(bR(), "unstake", [cD], nil) | |
659 | + | else unit | |
660 | + | if ((cw == cw)) | |
661 | + | then { | |
662 | + | let cF = F(cD, aO()) | |
663 | + | let cG = (cD - cF) | |
664 | + | let cv = (bP() - cD) | |
665 | + | let cH = aG() | |
666 | + | let cI = addressFromStringValue(cB) | |
667 | + | let bi = bj(aQ()) | |
668 | + | $Tuple2([IntegerEntry(bN(), cv), ScriptTransfer(cI, cG, bi), ScriptTransfer(cH, cF, bi)], $Tuple2(cz, ct)) | |
669 | + | } | |
670 | + | else throw("Strict value is not equal to itself.") | |
671 | + | } | |
672 | + | } | |
673 | + | else throw("Strict value is not equal to itself.") | |
674 | + | } | |
675 | + | ||
676 | + | ||
677 | + | ||
678 | + | @Callable(aw) | |
679 | + | func getCurrentUsdPrice () = $Tuple2(nil, bJ()) | |
680 | + | ||
681 | + | ||
682 | + | ||
683 | + | @Callable(aw) | |
684 | + | func getSubvaultInfo (ap) = { | |
685 | + | let cJ = bW(ap) | |
686 | + | let cy = parseIntValue(cJ[s]) | |
687 | + | let cK = bJ() | |
688 | + | let cL = F(cy, cK) | |
689 | + | let cg = bq() | |
690 | + | let cp = br() | |
691 | + | let ct = E(cL, cg) | |
692 | + | let cM = F(cL, cp) | |
693 | + | $Tuple2(nil, $Tuple3(cL, ct, cM)) | |
694 | + | } | |
695 | + | ||
696 | + | ||
697 | + | @Verifier(cN) | |
698 | + | func cO () = { | |
699 | + | let az = ay() | |
700 | + | if ($isInstanceOf(az, "String")) | |
701 | + | then { | |
702 | + | let Y = az | |
703 | + | valueOrElse(getBoolean(addressFromStringValue(Y), ao(toString(this), toBase58String(cN.id))), false) | |
704 | + | } | |
705 | + | else sigVerify(cN.bodyBytes, cN.proofs[0], cN.senderPublicKey) | |
706 | + | } | |
707 | + |
github/deemru/w8io/026f985 33.61 ms ◑