tx · FgcgESC5EunTkVKAAJUjb7D3rmmGpYRo59qoYKje7sn2 3Mzep1R5kHeC1ecKFkWjuhU3Gw4LAdCib9N: -0.01800000 Waves 2024.02.20 11:24 [2984301] smart account 3Mzep1R5kHeC1ecKFkWjuhU3Gw4LAdCib9N > SELF 0.00000000 Waves
{ "type": 13, "id": "FgcgESC5EunTkVKAAJUjb7D3rmmGpYRo59qoYKje7sn2", "fee": 1800000, "feeAssetId": null, "timestamp": 1708417465504, "version": 2, "chainId": 84, "sender": "3Mzep1R5kHeC1ecKFkWjuhU3Gw4LAdCib9N", "senderPublicKey": "41THq9VrFxHEvVGJyz2oMpJQErnSkkqJXpBypSDxa5Mv", "proofs": [ "5XQaPvTxZmHgJJbDkh8jTzjuJPzfp7yh7zBZMBoEGoEv2R1ps6CgWNsNn4yoFZ8FSv5iJTNPtL1LPraDMzSHZeJL" ], "script": "base64:BwIoCAISBAoCAhgSBgoEAgIBARIECgICGBIECgICGBIECgICGBIECgICGDQAB2NoYWluSWQJAMkBAgkAygECCAUEdGhpcwVieXRlcwABAAEACGNoYWluSWRUAQFUAAhjaGFpbklkVwEBVwADU0VQAgJfXwAFV0FWRVMCBVdBVkVTABBjb250cmFjdEZpbGVuYW1lAhV3eGRhb19jYWxjdWxhdG9yLnJpZGUABW11bHQ4AIDC1y8ABm11bHQxOAkAtgIBAICAkLu61q3wDQANd2F2ZXNEZWNpbWFscwAIAAx1c2R0RGVjaW1hbHMABgEFdG9YMTgCB29yaWdWYWwNb3JpZ1NjYWxlTXVsdAkAvAIDCQC2AgEFB29yaWdWYWwFBm11bHQxOAkAtgIBBQ1vcmlnU2NhbGVNdWx0AQdmcm9tWDE4AgN2YWwPcmVzdWx0U2NhbGVNdWx0CQCgAwEJALwCAwUDdmFsCQC2AgEFD3Jlc3VsdFNjYWxlTXVsdAUGbXVsdDE4AQd3cmFwRXJyAQFzCQCsAgIJAKwCAgUQY29udHJhY3RGaWxlbmFtZQICOiAFAXMBCHRocm93RXJyAQFz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FsIHRvIGl0c2VsZi4BaQEQZ2V0VHJlYXN1cnlWYWx1ZQIPY2FsbGVyUHVibGljS2V5BGFyZ3MEC2NoZWNrQ2FsbGVyCQELb25seUZhY3RvcnkBBQFpAwkAAAIFC2NoZWNrQ2FsbGVyBQtjaGVja0NhbGxlcgQNdHJlYXN1cnlWYWx1ZQkBB2Zyb21YMTgCCQERY2FsY1RyZWFzdXJ5VmFsdWUACQBsBgAKAAAFDHVzZHREZWNpbWFscwAAAAAFBERPV04JAJQKAgUDbmlsBQ10cmVhc3VyeVZhbHVlCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAQJ0eAEGdmVyaWZ5AAkAAAIFB2NoYWluSWQFCGNoYWluSWRUSQTfag==", "height": 2984301, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GYMAeHFch3LRN8yeSxsbwNVzaJFuRsu2kcKes6ezfrpr Next: none Diff:
Old | New | Differences | |
---|---|---|---|
191 | 191 | func ae (af) = valueOrErrorMessage(assetInfo(af), q("invalid asset info")) | |
192 | 192 | ||
193 | 193 | ||
194 | - | func ag (ah,ai,af,aj) = makeString(["%d%d%s%d", toString(ah), toString(ai), toBase58String(af), toString(aj)], d) | |
194 | + | func ag (ah,ai,af,aj,ak) = makeString(["%d%d%s%d%d", toString(ah), toString(ai), toBase58String(af), toString(aj), toString(ak)], d) | |
195 | 195 | ||
196 | 196 | ||
197 | - | func | |
198 | - | let | |
199 | - | $Tuple4(valueOrErrorMessage(parseInt( | |
197 | + | func al (r) = { | |
198 | + | let am = split(r, d) | |
199 | + | $Tuple4(valueOrErrorMessage(parseInt(am[1]), q("error during processing lock start height")), valueOrErrorMessage(parseInt(am[2]), q("error during processing lock end height")), fromBase58String(am[3]), valueOrErrorMessage(parseInt(am[4]), q("error during processing lock amount"))) | |
200 | 200 | } | |
201 | 201 | ||
202 | 202 | ||
203 | - | func | |
204 | - | func | |
205 | - | let | |
206 | - | then k(wavesBalance( | |
203 | + | func an (ao,ap) = { | |
204 | + | func aq (ar,as) = { | |
205 | + | let at = if ((as == e)) | |
206 | + | then k(wavesBalance(ao).available, pow(10, 0, i, 0, 0, DOWN)) | |
207 | 207 | else { | |
208 | - | let af = fromBase58String( | |
209 | - | let | |
210 | - | k(assetBalance( | |
208 | + | let af = fromBase58String(as) | |
209 | + | let au = ae(af).decimals | |
210 | + | k(assetBalance(ao, af), pow(10, 0, au, 0, 0, DOWN)) | |
211 | 211 | } | |
212 | - | ( | |
212 | + | (ar :+ at) | |
213 | 213 | } | |
214 | 214 | ||
215 | - | let | |
216 | - | let | |
217 | - | let | |
218 | - | func | |
219 | - | then | |
220 | - | else | |
215 | + | let av = ap | |
216 | + | let aw = size(av) | |
217 | + | let ax = nil | |
218 | + | func ay (az,aA) = if ((aA >= aw)) | |
219 | + | then az | |
220 | + | else aq(az, av[aA]) | |
221 | 221 | ||
222 | - | func | |
223 | - | then | |
222 | + | func aB (az,aA) = if ((aA >= aw)) | |
223 | + | then az | |
224 | 224 | else throw("List size exceeds 10") | |
225 | 225 | ||
226 | - | | |
226 | + | aB(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ax, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
227 | 227 | } | |
228 | 228 | ||
229 | 229 | ||
230 | - | func | |
230 | + | func aC (aD,ap) = if ((a == c)) | |
231 | 231 | then { | |
232 | - | let | |
233 | - | let | |
234 | - | let | |
235 | - | if ($isInstanceOf( | |
236 | - | then | |
237 | - | else throw(($getType( | |
232 | + | let aE = "3PKfrupEydU2nZAghVjZAfvCwMBkzuR1F52" | |
233 | + | let aF = parseBigIntValue({ | |
234 | + | let aG = invoke(aD, "getPrice", [aE], nil) | |
235 | + | if ($isInstanceOf(aG, "String")) | |
236 | + | then aG | |
237 | + | else throw(($getType(aG) + " couldn't be cast to String")) | |
238 | 238 | }) | |
239 | - | let | |
240 | - | let | |
241 | - | let | |
242 | - | if ($isInstanceOf( | |
243 | - | then | |
244 | - | else throw(($getType( | |
239 | + | let aH = "3PPZWgFNRKHLvM51pwS934C8VZ7d2F4Z58g" | |
240 | + | let aI = parseBigIntValue({ | |
241 | + | let aG = invoke(aD, "getPrice", [aH], nil) | |
242 | + | if ($isInstanceOf(aG, "String")) | |
243 | + | then aG | |
244 | + | else throw(($getType(aG) + " couldn't be cast to String")) | |
245 | 245 | }) | |
246 | - | let | |
247 | - | func | |
248 | - | let | |
249 | - | let v = | |
246 | + | let aJ = fraction(aF, h, aI) | |
247 | + | func aq (ar,aK) = { | |
248 | + | let aL = { | |
249 | + | let v = aK | |
250 | 250 | if (("2thsACuHmzDMuNezPM32wg9a3BwUzBWDeSKakgz3cw21" == v)) | |
251 | 251 | then { | |
252 | - | let | |
253 | - | let | |
254 | - | let | |
255 | - | if ($isInstanceOf( | |
256 | - | then | |
257 | - | else throw(($getType( | |
252 | + | let aM = "3PDi7Qq8pLQYvtKyTfQuqqPUWyhoYbU957t" | |
253 | + | let aN = parseBigIntValue({ | |
254 | + | let aG = invoke(aD, "getPrice", [aM], nil) | |
255 | + | if ($isInstanceOf(aG, "String")) | |
256 | + | then aG | |
257 | + | else throw(($getType(aG) + " couldn't be cast to String")) | |
258 | 258 | }) | |
259 | - | fraction( | |
259 | + | fraction(aN, aF, h) | |
260 | 260 | } | |
261 | 261 | else if (("Atqv59EYzjFGuitKVnMRk6H8FukjoV3ktPorbEys25on" == v)) | |
262 | 262 | then { | |
263 | - | let | |
264 | - | let | |
265 | - | let | |
266 | - | if ($isInstanceOf( | |
267 | - | then | |
268 | - | else throw(($getType( | |
263 | + | let aO = "3PFzaH2ghpwANHFgjeva83N1yxzErELx2eh" | |
264 | + | let aP = parseBigIntValue({ | |
265 | + | let aG = invoke(aD, "getPrice", [aO], nil) | |
266 | + | if ($isInstanceOf(aG, "String")) | |
267 | + | then aG | |
268 | + | else throw(($getType(aG) + " couldn't be cast to String")) | |
269 | 269 | }) | |
270 | - | fraction( | |
270 | + | fraction(aP, aF, h) | |
271 | 271 | } | |
272 | 272 | else if (("34N9YcEETLWn93qYQ64EsP1x89tSruJU44RrEMSXXEPJ" == v)) | |
273 | 273 | then { | |
274 | - | let | |
275 | - | let | |
276 | - | let | |
277 | - | if ($isInstanceOf( | |
278 | - | then | |
279 | - | else throw(($getType( | |
274 | + | let aQ = "3PKMVZ7kQeaREajYi8Yc25Ro6mcNw5D6QSa" | |
275 | + | let aR = parseBigIntValue({ | |
276 | + | let aG = invoke(aD, "getPrice", [aQ], nil) | |
277 | + | if ($isInstanceOf(aG, "String")) | |
278 | + | then aG | |
279 | + | else throw(($getType(aG) + " couldn't be cast to String")) | |
280 | 280 | }) | |
281 | - | fraction( | |
281 | + | fraction(aF, h, aR) | |
282 | 282 | } | |
283 | 283 | else if (("6XtHjpXbs9RRJP2Sr9GUyVqzACcby9TkThHXnjVC5CDJ" == v)) | |
284 | 284 | then { | |
285 | - | let | |
286 | - | let | |
287 | - | let | |
288 | - | if ($isInstanceOf( | |
289 | - | then | |
290 | - | else throw(($getType( | |
285 | + | let aS = "3P3g3eipfG2NZKKQE8DZXt2E9tRJqii9jcX" | |
286 | + | let aT = parseBigIntValue({ | |
287 | + | let aG = invoke(aD, "getPrice", [aS], nil) | |
288 | + | if ($isInstanceOf(aG, "String")) | |
289 | + | then aG | |
290 | + | else throw(($getType(aG) + " couldn't be cast to String")) | |
291 | 291 | }) | |
292 | - | fraction( | |
292 | + | fraction(aF, h, aT) | |
293 | 293 | } | |
294 | 294 | else if (("HZk1mbfuJpmxU1Fs4AX5MWLVYtctsNcg6e2C6VKqK8zk" == v)) | |
295 | 295 | then { | |
296 | - | let | |
297 | - | let | |
298 | - | let | |
299 | - | if ($isInstanceOf( | |
300 | - | then | |
301 | - | else throw(($getType( | |
296 | + | let aU = "3P94wvu5gA7VhjPgAB3twaeqdwHCwNK2vsn" | |
297 | + | let aV = parseBigIntValue({ | |
298 | + | let aG = invoke(aD, "getPrice", [aU], nil) | |
299 | + | if ($isInstanceOf(aG, "String")) | |
300 | + | then aG | |
301 | + | else throw(($getType(aG) + " couldn't be cast to String")) | |
302 | 302 | }) | |
303 | - | fraction( | |
303 | + | fraction(aV, aJ, h) | |
304 | 304 | } | |
305 | 305 | else if (("474jTeYx2r2Va35794tCScAXWJG9hU2HcgxzMowaZUnu" == v)) | |
306 | 306 | then { | |
307 | - | let | |
308 | - | let | |
309 | - | let | |
310 | - | if ($isInstanceOf( | |
311 | - | then | |
312 | - | else throw(($getType( | |
307 | + | let aW = "3P3XGTN6s292g9iwYhs3TEqJqHiffQYojuE" | |
308 | + | let aX = parseBigIntValue({ | |
309 | + | let aG = invoke(aD, "getPrice", [aW], nil) | |
310 | + | if ($isInstanceOf(aG, "String")) | |
311 | + | then aG | |
312 | + | else throw(($getType(aG) + " couldn't be cast to String")) | |
313 | 313 | }) | |
314 | - | fraction( | |
314 | + | fraction(aX, aF, h) | |
315 | 315 | } | |
316 | 316 | else if (("8LQW8f7P5d5PZM7GtZEBgaqRPGSzS3DfPuiXrURJ4AJS" == v)) | |
317 | 317 | then { | |
318 | - | let | |
319 | - | let | |
320 | - | let | |
321 | - | if ($isInstanceOf( | |
322 | - | then | |
323 | - | else throw(($getType( | |
318 | + | let aY = "3PCBWDTA6jrFswd7gQgaE3Xk7gLM5RKofvp" | |
319 | + | let aZ = parseBigIntValue({ | |
320 | + | let aG = invoke(aD, "getPrice", [aY], nil) | |
321 | + | if ($isInstanceOf(aG, "String")) | |
322 | + | then aG | |
323 | + | else throw(($getType(aG) + " couldn't be cast to String")) | |
324 | 324 | }) | |
325 | - | fraction( | |
325 | + | fraction(aZ, aJ, h) | |
326 | 326 | } | |
327 | 327 | else s("invalid asset id") | |
328 | 328 | } | |
329 | - | ( | |
329 | + | (ar :+ aL) | |
330 | 330 | } | |
331 | 331 | ||
332 | - | let | |
333 | - | let | |
334 | - | let | |
335 | - | func | |
336 | - | then | |
337 | - | else | |
332 | + | let av = ap | |
333 | + | let aw = size(av) | |
334 | + | let ax = nil | |
335 | + | func ay (az,aA) = if ((aA >= aw)) | |
336 | + | then az | |
337 | + | else aq(az, av[aA]) | |
338 | 338 | ||
339 | - | func | |
340 | - | then | |
339 | + | func aB (az,aA) = if ((aA >= aw)) | |
340 | + | then az | |
341 | 341 | else throw("List size exceeds 10") | |
342 | 342 | ||
343 | - | | |
343 | + | aB(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ax, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
344 | 344 | } | |
345 | 345 | else if ((a == b)) | |
346 | 346 | then { | |
347 | - | func | |
348 | - | let | |
349 | - | let v = | |
347 | + | func aq (ar,aK) = { | |
348 | + | let aL = { | |
349 | + | let v = aK | |
350 | 350 | if (("EMAMLxDnv3xiz8RXg8Btj33jcEw3wLczL3JKYYmuubpc" == v)) | |
351 | 351 | then { | |
352 | - | let | |
353 | - | let | |
354 | - | let | |
355 | - | if ($isInstanceOf( | |
356 | - | then | |
357 | - | else throw(($getType( | |
352 | + | let ba = "3MrULQRLc52GWrJF1tMcAm4M78fPe57o9Kt" | |
353 | + | let bb = parseBigIntValue({ | |
354 | + | let aG = invoke(aD, "getPrice", [ba], nil) | |
355 | + | if ($isInstanceOf(aG, "String")) | |
356 | + | then aG | |
357 | + | else throw(($getType(aG) + " couldn't be cast to String")) | |
358 | 358 | }) | |
359 | - | | |
359 | + | bb | |
360 | 360 | } | |
361 | 361 | else if (("A7Ksh7fXyqm1KhKAiK3bAB2aiPSitQQF6v1pyu9SS3FR" == v)) | |
362 | 362 | then { | |
363 | - | let | |
364 | - | let | |
365 | - | let | |
366 | - | if ($isInstanceOf( | |
367 | - | then | |
368 | - | else throw(($getType( | |
363 | + | let bc = "3MzKSdTH2jFbypLsoNfrH7QgkzSbx3EYwCA" | |
364 | + | let bd = parseBigIntValue({ | |
365 | + | let aG = invoke(aD, "getPrice", [bc], nil) | |
366 | + | if ($isInstanceOf(aG, "String")) | |
367 | + | then aG | |
368 | + | else throw(($getType(aG) + " couldn't be cast to String")) | |
369 | 369 | }) | |
370 | - | | |
370 | + | bd | |
371 | 371 | } | |
372 | 372 | else if (("8Q6SE2ANebufw8JuPjJVRjZD6drD8ihjNjM8xaGUSfdR" == v)) | |
373 | 373 | then { | |
374 | - | let | |
375 | - | | |
374 | + | let aL = k(150000000, pow(10, 0, j, 0, 0, DOWN)) | |
375 | + | aL | |
376 | 376 | } | |
377 | 377 | else s("invalid asset id") | |
378 | 378 | } | |
379 | - | ( | |
379 | + | (ar :+ aL) | |
380 | 380 | } | |
381 | 381 | ||
382 | - | let | |
383 | - | let | |
384 | - | let | |
385 | - | func | |
386 | - | then | |
387 | - | else | |
382 | + | let av = ap | |
383 | + | let aw = size(av) | |
384 | + | let ax = nil | |
385 | + | func ay (az,aA) = if ((aA >= aw)) | |
386 | + | then az | |
387 | + | else aq(az, av[aA]) | |
388 | 388 | ||
389 | - | func | |
390 | - | then | |
389 | + | func aB (az,aA) = if ((aA >= aw)) | |
390 | + | then az | |
391 | 391 | else throw("List size exceeds 10") | |
392 | 392 | ||
393 | - | | |
393 | + | aB(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ax, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
394 | 394 | } | |
395 | 395 | else s("invalid chain id") | |
396 | 396 | ||
397 | 397 | ||
398 | - | func | |
398 | + | func be () = { | |
399 | 399 | let N = Z() | |
400 | - | let | |
401 | - | let | |
402 | - | let | |
403 | - | let | |
404 | - | func | |
405 | - | let af = fromBase58String( | |
406 | - | let | |
407 | - | let | |
408 | - | let | |
409 | - | let | |
410 | - | ( | |
400 | + | let aD = X() | |
401 | + | let bf = split(ab(), d) | |
402 | + | let bg = an(N, bf) | |
403 | + | let bh = aC(aD, bf) | |
404 | + | func bi (ar,as) = { | |
405 | + | let af = fromBase58String(as) | |
406 | + | let bj = valueOrErrorMessage(indexOf(bf, as), q("invalid asset id")) | |
407 | + | let at = bg[bj] | |
408 | + | let aL = bh[bj] | |
409 | + | let bk = fraction(at, aL, h) | |
410 | + | (ar + bk) | |
411 | 411 | } | |
412 | 412 | ||
413 | - | let | |
414 | - | let | |
415 | - | let | |
416 | - | let | |
417 | - | func | |
418 | - | then | |
419 | - | else | |
413 | + | let bl = { | |
414 | + | let av = bf | |
415 | + | let aw = size(av) | |
416 | + | let ax = toBigInt(0) | |
417 | + | func ay (az,aA) = if ((aA >= aw)) | |
418 | + | then az | |
419 | + | else bi(az, av[aA]) | |
420 | 420 | ||
421 | - | func | |
422 | - | then | |
421 | + | func aB (az,aA) = if ((aA >= aw)) | |
422 | + | then az | |
423 | 423 | else throw("List size exceeds 10") | |
424 | 424 | ||
425 | - | | |
425 | + | aB(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ax, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
426 | 426 | } | |
427 | - | | |
427 | + | bl | |
428 | 428 | } | |
429 | 429 | ||
430 | 430 | ||
431 | - | func | |
432 | - | let | |
433 | - | let | |
434 | - | if (( | |
431 | + | func bm (bn,bo) = { | |
432 | + | let bf = split(ab(), d) | |
433 | + | let bp = ae(ad()).quantity | |
434 | + | if ((bp == bp)) | |
435 | 435 | then { | |
436 | - | let | |
437 | - | func | |
438 | - | let af = fromBase58String( | |
439 | - | let | |
440 | - | let | |
441 | - | let | |
442 | - | let aj = fraction( | |
436 | + | let bg = an(u(), bf) | |
437 | + | func aq (ar,as) = { | |
438 | + | let af = fromBase58String(as) | |
439 | + | let bj = valueOrErrorMessage(indexOf(bf, as), q("invalid asset balance")) | |
440 | + | let au = ae(af).decimals | |
441 | + | let at = n(bg[bj], pow(10, 0, au, 0, 0, DOWN)) | |
442 | + | let aj = fraction(at, bn, bp) | |
443 | 443 | if ((aj > 0)) | |
444 | 444 | then { | |
445 | - | let | |
445 | + | let bq = if ((bo == unit)) | |
446 | 446 | then unit | |
447 | - | else invoke(this, "lockInternal", [value( | |
448 | - | if (( | |
449 | - | then $Tuple2(( | |
447 | + | else invoke(this, "lockInternal", [value(bo).bytes, af, aj, bn], nil) | |
448 | + | if ((bq == bq)) | |
449 | + | then $Tuple2((ar._1 :+ af), (ar._2 :+ aj)) | |
450 | 450 | else throw("Strict value is not equal to itself.") | |
451 | 451 | } | |
452 | - | else | |
452 | + | else ar | |
453 | 453 | } | |
454 | 454 | ||
455 | - | let | |
456 | - | let | |
457 | - | let | |
458 | - | func | |
459 | - | then | |
460 | - | else | |
455 | + | let av = bf | |
456 | + | let aw = size(av) | |
457 | + | let ax = $Tuple2(nil, nil) | |
458 | + | func ay (az,aA) = if ((aA >= aw)) | |
459 | + | then az | |
460 | + | else aq(az, av[aA]) | |
461 | 461 | ||
462 | - | func | |
463 | - | then | |
462 | + | func aB (az,aA) = if ((aA >= aw)) | |
463 | + | then az | |
464 | 464 | else throw("List size exceeds 6") | |
465 | 465 | ||
466 | - | | |
466 | + | aB(ay(ay(ay(ay(ay(ay(ax, 0), 1), 2), 3), 4), 5), 6) | |
467 | 467 | } | |
468 | 468 | else throw("Strict value is not equal to itself.") | |
469 | 469 | } | |
470 | 470 | ||
471 | 471 | ||
472 | - | func | |
473 | - | let | |
474 | - | let | |
475 | - | let | |
476 | - | let | |
477 | - | let | |
478 | - | let | |
479 | - | let | |
480 | - | let | |
481 | - | let | |
482 | - | let | |
483 | - | then n( | |
472 | + | func br () = { | |
473 | + | let aD = X() | |
474 | + | let bs = valueOrErrorMessage(getInteger(u(), C()), q("invalid current period")) | |
475 | + | let bt = valueOrErrorMessage(getInteger(u(), G(bs)), q(("invalid treasury value for period " + toString(bs)))) | |
476 | + | let bl = n(be(), pow(10, 0, j, 0, 0, DOWN)) | |
477 | + | let bu = (bl - bt) | |
478 | + | let bv = k(bu, pow(10, 0, j, 0, 0, DOWN)) | |
479 | + | let bw = R() | |
480 | + | let bx = ae(bw) | |
481 | + | let by = aC(aD, [toBase58String(bw)])[0] | |
482 | + | let bz = if ((by > toBigInt(0))) | |
483 | + | then n(by, pow(10, 0, j, 0, 0, DOWN)) | |
484 | 484 | else s("invalid PWR price") | |
485 | 485 | let N = Z() | |
486 | - | let | |
487 | - | let | |
488 | - | let | |
489 | - | let | |
490 | - | let | |
491 | - | let | |
492 | - | let | |
493 | - | let | |
494 | - | let | |
495 | - | then n( | |
486 | + | let bA = valueOrElse(getInteger(T(), M(N)), 0) | |
487 | + | let bB = ae(ad()) | |
488 | + | let bC = (bB.quantity / 100) | |
489 | + | let bD = (bA + bC) | |
490 | + | let bE = k(bD, pow(10, 0, bx.decimals, 0, 0, DOWN)) | |
491 | + | let bF = an(u(), [toBase58String(B)])[0] | |
492 | + | let bG = n(bF, pow(10, 0, j, 0, 0, DOWN)) | |
493 | + | let bH = aC(aD, [toBase58String(B)])[0] | |
494 | + | let bI = if ((bH > toBigInt(0))) | |
495 | + | then n(bH, pow(10, 0, j, 0, 0, DOWN)) | |
496 | 496 | else s("invalid wx price") | |
497 | - | let | |
498 | - | let | |
499 | - | let | |
500 | - | let | |
501 | - | let | |
502 | - | $Tuple2([ | |
497 | + | let bp = bB.quantity | |
498 | + | let bJ = k(bp, pow(10, 0, bB.decimals, 0, 0, DOWN)) | |
499 | + | let bK = (((by + fraction((bF * toBigInt(100)), bH, bJ)) + fraction(max([bv, toBigInt(0)]), (toBigInt(2) * h), (toBigInt(10) * bE))) / toBigInt(100)) | |
500 | + | let bL = n(bK, pow(10, 0, j, 0, 0, DOWN)) | |
501 | + | let bM = bm(pow(10, 0, bB.decimals, 0, 0, DOWN), unit) | |
502 | + | $Tuple2([bL, bM], [["wxDaoPrice", bL], ["pwrPrice", bz], ["factoryAddressWxBalance", bG], ["wxPrice", bI], ["wxdaoQuantity", bp], ["treasuryValueDiff", bu], ["pwrAmount", bD], ["skinTotal", bA], ["pwrRemaining", bC]]) | |
503 | 503 | } | |
504 | 504 | ||
505 | 505 | ||
506 | 506 | @Callable(x) | |
507 | - | func swap ( | |
508 | - | let | |
509 | - | if (( | |
507 | + | func swap (bN,bO) = { | |
508 | + | let bP = A(x) | |
509 | + | if ((bP == bP)) | |
510 | 510 | then { | |
511 | - | let K = addressFromPublicKey( | |
512 | - | let | |
511 | + | let K = addressFromPublicKey(bN) | |
512 | + | let bQ = if ((size(x.payments) == 1)) | |
513 | 513 | then x.payments[0] | |
514 | 514 | else s("1 payment is required") | |
515 | - | let | |
516 | - | let | |
517 | - | then value( | |
518 | - | else s( | |
519 | - | let | |
520 | - | let | |
521 | - | let | |
522 | - | if (( | |
515 | + | let bR = q("invalid payment asset id") | |
516 | + | let bS = if ((valueOrErrorMessage(bQ.assetId, bR) == ad())) | |
517 | + | then value(bQ.assetId) | |
518 | + | else s(bR) | |
519 | + | let bz = 100 | |
520 | + | let bD = (bQ.amount / bz) | |
521 | + | let bT = bm(bQ.amount, K) | |
522 | + | if ((bT == bT)) | |
523 | 523 | then { | |
524 | - | let | |
525 | - | let | |
526 | - | $Tuple2([Burn( | |
524 | + | let bU = 0 | |
525 | + | let bV = [invoke(u(), "commitAfterStartWithLockRoundFor", [toString(T()), toString(Z()), toString(K), bU, R(), bD], nil)] | |
526 | + | $Tuple2([Burn(bS, bQ.amount)], bV) | |
527 | 527 | } | |
528 | 528 | else throw("Strict value is not equal to itself.") | |
529 | 529 | } | |
533 | 533 | ||
534 | 534 | ||
535 | 535 | @Callable(x) | |
536 | - | func lockInternal ( | |
537 | - | let | |
538 | - | if (( | |
536 | + | func lockInternal (bW,af,aj,ak) = { | |
537 | + | let bP = z(x) | |
538 | + | if ((bP == bP)) | |
539 | 539 | then { | |
540 | - | let K = Address( | |
541 | - | let | |
542 | - | let | |
543 | - | let | |
544 | - | if (( | |
540 | + | let K = Address(bW) | |
541 | + | let bX = valueOrElse(getInteger(u(), H()), 0) | |
542 | + | let bY = valueOrErrorMessage(getInteger(u(), I()), q("invalid lock duration")) | |
543 | + | let bZ = invoke(u(), "transferAsset", [V().bytes, aj, af], nil) | |
544 | + | if ((bZ == bZ)) | |
545 | 545 | then { | |
546 | - | let | |
547 | - | $Tuple2(nil, | |
546 | + | let bV = [invoke(u(), "stringEntry", [J(K, bX), ag(height, (height + bY), af, aj, ak)], nil), invoke(u(), "integerEntry", [H(), (bX + 1)], nil)] | |
547 | + | $Tuple2(nil, bV) | |
548 | 548 | } | |
549 | 549 | else throw("Strict value is not equal to itself.") | |
550 | 550 | } | |
554 | 554 | ||
555 | 555 | ||
556 | 556 | @Callable(x) | |
557 | - | func unlock ( | |
558 | - | let | |
559 | - | if (( | |
557 | + | func unlock (bN,bO) = { | |
558 | + | let bP = A(x) | |
559 | + | if ((bP == bP)) | |
560 | 560 | then { | |
561 | - | let K = addressFromPublicKey( | |
562 | - | func | |
563 | - | let L = valueOrErrorMessage(parseInt( | |
564 | - | let | |
565 | - | let ah = | |
566 | - | let ai = | |
567 | - | let af = | |
568 | - | let aj = | |
569 | - | let | |
561 | + | let K = addressFromPublicKey(bN) | |
562 | + | func ca (ar,cb) = { | |
563 | + | let L = valueOrErrorMessage(parseInt(cb), q("invalid counter")) | |
564 | + | let cc = al(valueOrErrorMessage(getString(u(), J(K, L)), q(("invalid lock: " + J(K, L))))) | |
565 | + | let ah = cc._1 | |
566 | + | let ai = cc._2 | |
567 | + | let af = cc._3 | |
568 | + | let aj = cc._4 | |
569 | + | let cd = if ((height > ai)) | |
570 | 570 | then [invoke(V(), "transferAsset", [K.bytes, aj, af], nil), invoke(u(), "deleteEntry", [J(K, L)], nil)] | |
571 | 571 | else s("invalid height") | |
572 | - | ( | |
572 | + | (ar :+ cd) | |
573 | 573 | } | |
574 | 574 | ||
575 | - | let | |
576 | - | let | |
577 | - | let | |
578 | - | let | |
579 | - | func | |
580 | - | then | |
581 | - | else | |
575 | + | let cd = { | |
576 | + | let av = bO | |
577 | + | let aw = size(av) | |
578 | + | let ax = nil | |
579 | + | func ay (az,aA) = if ((aA >= aw)) | |
580 | + | then az | |
581 | + | else ca(az, av[aA]) | |
582 | 582 | ||
583 | - | func | |
584 | - | then | |
583 | + | func aB (az,aA) = if ((aA >= aw)) | |
584 | + | then az | |
585 | 585 | else throw("List size exceeds 30") | |
586 | 586 | ||
587 | - | | |
587 | + | aB(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ax, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30) | |
588 | 588 | } | |
589 | - | $Tuple2(nil, | |
589 | + | $Tuple2(nil, cd) | |
590 | 590 | } | |
591 | 591 | else throw("Strict value is not equal to itself.") | |
592 | 592 | } | |
594 | 594 | ||
595 | 595 | ||
596 | 596 | @Callable(x) | |
597 | - | func price ( | |
598 | - | let | |
599 | - | if (( | |
600 | - | then $Tuple2(nil, | |
597 | + | func price (bN,bO) = { | |
598 | + | let bP = A(x) | |
599 | + | if ((bP == bP)) | |
600 | + | then $Tuple2(nil, br()._1) | |
601 | 601 | else throw("Strict value is not equal to itself.") | |
602 | 602 | } | |
603 | 603 | ||
604 | 604 | ||
605 | 605 | ||
606 | 606 | @Callable(x) | |
607 | - | func priceDebug ( | |
608 | - | let | |
609 | - | if (( | |
610 | - | then $Tuple2(nil, | |
607 | + | func priceDebug (bN,bO) = { | |
608 | + | let bP = A(x) | |
609 | + | if ((bP == bP)) | |
610 | + | then $Tuple2(nil, br()._2) | |
611 | 611 | else throw("Strict value is not equal to itself.") | |
612 | 612 | } | |
613 | 613 | ||
614 | 614 | ||
615 | 615 | ||
616 | 616 | @Callable(x) | |
617 | - | func getTreasuryValue ( | |
618 | - | let | |
619 | - | if (( | |
617 | + | func getTreasuryValue (bN,bO) = { | |
618 | + | let bP = A(x) | |
619 | + | if ((bP == bP)) | |
620 | 620 | then { | |
621 | - | let | |
622 | - | $Tuple2(nil, | |
621 | + | let bl = n(be(), pow(10, 0, j, 0, 0, DOWN)) | |
622 | + | $Tuple2(nil, bl) | |
623 | 623 | } | |
624 | 624 | else throw("Strict value is not equal to itself.") | |
625 | 625 | } | |
626 | 626 | ||
627 | 627 | ||
628 | - | @Verifier( | |
629 | - | func | |
628 | + | @Verifier(ce) | |
629 | + | func cf () = (a == b) | |
630 | 630 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 7 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = take(drop(this.bytes, 1), 1) | |
5 | 5 | ||
6 | 6 | let b = base58'2T' | |
7 | 7 | ||
8 | 8 | let c = base58'2W' | |
9 | 9 | ||
10 | 10 | let d = "__" | |
11 | 11 | ||
12 | 12 | let e = "WAVES" | |
13 | 13 | ||
14 | 14 | let f = "wxdao_calculator.ride" | |
15 | 15 | ||
16 | 16 | let g = 100000000 | |
17 | 17 | ||
18 | 18 | let h = toBigInt(1000000000000000000) | |
19 | 19 | ||
20 | 20 | let i = 8 | |
21 | 21 | ||
22 | 22 | let j = 6 | |
23 | 23 | ||
24 | 24 | func k (l,m) = fraction(toBigInt(l), h, toBigInt(m)) | |
25 | 25 | ||
26 | 26 | ||
27 | 27 | func n (o,p) = toInt(fraction(o, toBigInt(p), h)) | |
28 | 28 | ||
29 | 29 | ||
30 | 30 | func q (r) = ((f + ": ") + r) | |
31 | 31 | ||
32 | 32 | ||
33 | 33 | func s (r) = throw(q(r)) | |
34 | 34 | ||
35 | 35 | ||
36 | 36 | func t () = "%s__factoryAddress" | |
37 | 37 | ||
38 | 38 | ||
39 | 39 | func u () = valueOrErrorMessage({ | |
40 | 40 | let v = getString(this, t()) | |
41 | 41 | if ($isInstanceOf(v, "String")) | |
42 | 42 | then { | |
43 | 43 | let r = v | |
44 | 44 | addressFromString(r) | |
45 | 45 | } | |
46 | 46 | else if ($isInstanceOf(v, "Unit")) | |
47 | 47 | then unit | |
48 | 48 | else throw("Match error") | |
49 | 49 | }, q("invalid factory address")) | |
50 | 50 | ||
51 | 51 | ||
52 | 52 | func w (x,y) = if ((x.caller == y)) | |
53 | 53 | then true | |
54 | 54 | else s("permission denied") | |
55 | 55 | ||
56 | 56 | ||
57 | 57 | func z (x) = w(x, this) | |
58 | 58 | ||
59 | 59 | ||
60 | 60 | func A (x) = w(x, u()) | |
61 | 61 | ||
62 | 62 | ||
63 | 63 | let B = if ((a == c)) | |
64 | 64 | then base58'Atqv59EYzjFGuitKVnMRk6H8FukjoV3ktPorbEys25on' | |
65 | 65 | else if ((a == b)) | |
66 | 66 | then base58'EMAMLxDnv3xiz8RXg8Btj33jcEw3wLczL3JKYYmuubpc' | |
67 | 67 | else s("invalid chain id") | |
68 | 68 | ||
69 | 69 | func C () = makeString(["%s", "currentPeriod"], d) | |
70 | 70 | ||
71 | 71 | ||
72 | 72 | func D (E) = makeString(["%s%d", "startHeight", toString(E)], d) | |
73 | 73 | ||
74 | 74 | ||
75 | 75 | func F () = makeString(["%s", "periodLength"], d) | |
76 | 76 | ||
77 | 77 | ||
78 | 78 | func G (E) = makeString(["%s%d", "treasuryValue", toString(E)], d) | |
79 | 79 | ||
80 | 80 | ||
81 | 81 | func H () = makeString(["%s", "lockGlobalCounter"], d) | |
82 | 82 | ||
83 | 83 | ||
84 | 84 | func I () = makeString(["%s", "lockDuration"], d) | |
85 | 85 | ||
86 | 86 | ||
87 | 87 | func J (K,L) = makeString(["%s%s%d", "lock", toString(K), toString(L)], d) | |
88 | 88 | ||
89 | 89 | ||
90 | 90 | func M (N) = ("skin_total_" + toString(N)) | |
91 | 91 | ||
92 | 92 | ||
93 | 93 | func O () = "%s__powerConfigAddress" | |
94 | 94 | ||
95 | 95 | ||
96 | 96 | func P () = valueOrErrorMessage({ | |
97 | 97 | let v = getString(u(), O()) | |
98 | 98 | if ($isInstanceOf(v, "String")) | |
99 | 99 | then { | |
100 | 100 | let r = v | |
101 | 101 | addressFromString(r) | |
102 | 102 | } | |
103 | 103 | else if ($isInstanceOf(v, "Unit")) | |
104 | 104 | then unit | |
105 | 105 | else throw("Match error") | |
106 | 106 | }, q("invalid power config address")) | |
107 | 107 | ||
108 | 108 | ||
109 | 109 | func Q () = "powerAssetId" | |
110 | 110 | ||
111 | 111 | ||
112 | 112 | func R () = fromBase58String(valueOrErrorMessage(getString(P(), Q()), q("invalid power asset id"))) | |
113 | 113 | ||
114 | 114 | ||
115 | 115 | func S () = "%s__powerContractAddress" | |
116 | 116 | ||
117 | 117 | ||
118 | 118 | func T () = valueOrErrorMessage({ | |
119 | 119 | let v = getString(u(), S()) | |
120 | 120 | if ($isInstanceOf(v, "String")) | |
121 | 121 | then { | |
122 | 122 | let r = v | |
123 | 123 | addressFromString(r) | |
124 | 124 | } | |
125 | 125 | else if ($isInstanceOf(v, "Unit")) | |
126 | 126 | then unit | |
127 | 127 | else throw("Match error") | |
128 | 128 | }, q("invalid power contract address")) | |
129 | 129 | ||
130 | 130 | ||
131 | 131 | func U () = "%s__lockAddress" | |
132 | 132 | ||
133 | 133 | ||
134 | 134 | func V () = valueOrErrorMessage({ | |
135 | 135 | let v = getString(u(), U()) | |
136 | 136 | if ($isInstanceOf(v, "String")) | |
137 | 137 | then { | |
138 | 138 | let r = v | |
139 | 139 | addressFromString(r) | |
140 | 140 | } | |
141 | 141 | else if ($isInstanceOf(v, "Unit")) | |
142 | 142 | then unit | |
143 | 143 | else throw("Match error") | |
144 | 144 | }, q("invalid lock contract address")) | |
145 | 145 | ||
146 | 146 | ||
147 | 147 | func W () = "%s__poolsFactoryAddress" | |
148 | 148 | ||
149 | 149 | ||
150 | 150 | func X () = valueOrErrorMessage({ | |
151 | 151 | let v = getString(u(), W()) | |
152 | 152 | if ($isInstanceOf(v, "String")) | |
153 | 153 | then { | |
154 | 154 | let r = v | |
155 | 155 | addressFromString(r) | |
156 | 156 | } | |
157 | 157 | else if ($isInstanceOf(v, "Unit")) | |
158 | 158 | then unit | |
159 | 159 | else throw("Match error") | |
160 | 160 | }, q("invalid pools factory address")) | |
161 | 161 | ||
162 | 162 | ||
163 | 163 | func Y () = "%s__treasuryAddress" | |
164 | 164 | ||
165 | 165 | ||
166 | 166 | func Z () = valueOrErrorMessage({ | |
167 | 167 | let v = getString(u(), Y()) | |
168 | 168 | if ($isInstanceOf(v, "String")) | |
169 | 169 | then { | |
170 | 170 | let r = v | |
171 | 171 | addressFromString(r) | |
172 | 172 | } | |
173 | 173 | else if ($isInstanceOf(v, "Unit")) | |
174 | 174 | then unit | |
175 | 175 | else throw("Match error") | |
176 | 176 | }, q("invalid treasury address")) | |
177 | 177 | ||
178 | 178 | ||
179 | 179 | func aa () = "%s__assets" | |
180 | 180 | ||
181 | 181 | ||
182 | 182 | func ab () = valueOrErrorMessage(getString(u(), aa()), q("invalid assets")) | |
183 | 183 | ||
184 | 184 | ||
185 | 185 | func ac () = "%s__lpAssetId" | |
186 | 186 | ||
187 | 187 | ||
188 | 188 | func ad () = fromBase58String(valueOrErrorMessage(getString(u(), ac()), q("invalid lp asset id"))) | |
189 | 189 | ||
190 | 190 | ||
191 | 191 | func ae (af) = valueOrErrorMessage(assetInfo(af), q("invalid asset info")) | |
192 | 192 | ||
193 | 193 | ||
194 | - | func ag (ah,ai,af,aj) = makeString(["%d%d%s%d", toString(ah), toString(ai), toBase58String(af), toString(aj)], d) | |
194 | + | func ag (ah,ai,af,aj,ak) = makeString(["%d%d%s%d%d", toString(ah), toString(ai), toBase58String(af), toString(aj), toString(ak)], d) | |
195 | 195 | ||
196 | 196 | ||
197 | - | func | |
198 | - | let | |
199 | - | $Tuple4(valueOrErrorMessage(parseInt( | |
197 | + | func al (r) = { | |
198 | + | let am = split(r, d) | |
199 | + | $Tuple4(valueOrErrorMessage(parseInt(am[1]), q("error during processing lock start height")), valueOrErrorMessage(parseInt(am[2]), q("error during processing lock end height")), fromBase58String(am[3]), valueOrErrorMessage(parseInt(am[4]), q("error during processing lock amount"))) | |
200 | 200 | } | |
201 | 201 | ||
202 | 202 | ||
203 | - | func | |
204 | - | func | |
205 | - | let | |
206 | - | then k(wavesBalance( | |
203 | + | func an (ao,ap) = { | |
204 | + | func aq (ar,as) = { | |
205 | + | let at = if ((as == e)) | |
206 | + | then k(wavesBalance(ao).available, pow(10, 0, i, 0, 0, DOWN)) | |
207 | 207 | else { | |
208 | - | let af = fromBase58String( | |
209 | - | let | |
210 | - | k(assetBalance( | |
208 | + | let af = fromBase58String(as) | |
209 | + | let au = ae(af).decimals | |
210 | + | k(assetBalance(ao, af), pow(10, 0, au, 0, 0, DOWN)) | |
211 | 211 | } | |
212 | - | ( | |
212 | + | (ar :+ at) | |
213 | 213 | } | |
214 | 214 | ||
215 | - | let | |
216 | - | let | |
217 | - | let | |
218 | - | func | |
219 | - | then | |
220 | - | else | |
215 | + | let av = ap | |
216 | + | let aw = size(av) | |
217 | + | let ax = nil | |
218 | + | func ay (az,aA) = if ((aA >= aw)) | |
219 | + | then az | |
220 | + | else aq(az, av[aA]) | |
221 | 221 | ||
222 | - | func | |
223 | - | then | |
222 | + | func aB (az,aA) = if ((aA >= aw)) | |
223 | + | then az | |
224 | 224 | else throw("List size exceeds 10") | |
225 | 225 | ||
226 | - | | |
226 | + | aB(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ax, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
227 | 227 | } | |
228 | 228 | ||
229 | 229 | ||
230 | - | func | |
230 | + | func aC (aD,ap) = if ((a == c)) | |
231 | 231 | then { | |
232 | - | let | |
233 | - | let | |
234 | - | let | |
235 | - | if ($isInstanceOf( | |
236 | - | then | |
237 | - | else throw(($getType( | |
232 | + | let aE = "3PKfrupEydU2nZAghVjZAfvCwMBkzuR1F52" | |
233 | + | let aF = parseBigIntValue({ | |
234 | + | let aG = invoke(aD, "getPrice", [aE], nil) | |
235 | + | if ($isInstanceOf(aG, "String")) | |
236 | + | then aG | |
237 | + | else throw(($getType(aG) + " couldn't be cast to String")) | |
238 | 238 | }) | |
239 | - | let | |
240 | - | let | |
241 | - | let | |
242 | - | if ($isInstanceOf( | |
243 | - | then | |
244 | - | else throw(($getType( | |
239 | + | let aH = "3PPZWgFNRKHLvM51pwS934C8VZ7d2F4Z58g" | |
240 | + | let aI = parseBigIntValue({ | |
241 | + | let aG = invoke(aD, "getPrice", [aH], nil) | |
242 | + | if ($isInstanceOf(aG, "String")) | |
243 | + | then aG | |
244 | + | else throw(($getType(aG) + " couldn't be cast to String")) | |
245 | 245 | }) | |
246 | - | let | |
247 | - | func | |
248 | - | let | |
249 | - | let v = | |
246 | + | let aJ = fraction(aF, h, aI) | |
247 | + | func aq (ar,aK) = { | |
248 | + | let aL = { | |
249 | + | let v = aK | |
250 | 250 | if (("2thsACuHmzDMuNezPM32wg9a3BwUzBWDeSKakgz3cw21" == v)) | |
251 | 251 | then { | |
252 | - | let | |
253 | - | let | |
254 | - | let | |
255 | - | if ($isInstanceOf( | |
256 | - | then | |
257 | - | else throw(($getType( | |
252 | + | let aM = "3PDi7Qq8pLQYvtKyTfQuqqPUWyhoYbU957t" | |
253 | + | let aN = parseBigIntValue({ | |
254 | + | let aG = invoke(aD, "getPrice", [aM], nil) | |
255 | + | if ($isInstanceOf(aG, "String")) | |
256 | + | then aG | |
257 | + | else throw(($getType(aG) + " couldn't be cast to String")) | |
258 | 258 | }) | |
259 | - | fraction( | |
259 | + | fraction(aN, aF, h) | |
260 | 260 | } | |
261 | 261 | else if (("Atqv59EYzjFGuitKVnMRk6H8FukjoV3ktPorbEys25on" == v)) | |
262 | 262 | then { | |
263 | - | let | |
264 | - | let | |
265 | - | let | |
266 | - | if ($isInstanceOf( | |
267 | - | then | |
268 | - | else throw(($getType( | |
263 | + | let aO = "3PFzaH2ghpwANHFgjeva83N1yxzErELx2eh" | |
264 | + | let aP = parseBigIntValue({ | |
265 | + | let aG = invoke(aD, "getPrice", [aO], nil) | |
266 | + | if ($isInstanceOf(aG, "String")) | |
267 | + | then aG | |
268 | + | else throw(($getType(aG) + " couldn't be cast to String")) | |
269 | 269 | }) | |
270 | - | fraction( | |
270 | + | fraction(aP, aF, h) | |
271 | 271 | } | |
272 | 272 | else if (("34N9YcEETLWn93qYQ64EsP1x89tSruJU44RrEMSXXEPJ" == v)) | |
273 | 273 | then { | |
274 | - | let | |
275 | - | let | |
276 | - | let | |
277 | - | if ($isInstanceOf( | |
278 | - | then | |
279 | - | else throw(($getType( | |
274 | + | let aQ = "3PKMVZ7kQeaREajYi8Yc25Ro6mcNw5D6QSa" | |
275 | + | let aR = parseBigIntValue({ | |
276 | + | let aG = invoke(aD, "getPrice", [aQ], nil) | |
277 | + | if ($isInstanceOf(aG, "String")) | |
278 | + | then aG | |
279 | + | else throw(($getType(aG) + " couldn't be cast to String")) | |
280 | 280 | }) | |
281 | - | fraction( | |
281 | + | fraction(aF, h, aR) | |
282 | 282 | } | |
283 | 283 | else if (("6XtHjpXbs9RRJP2Sr9GUyVqzACcby9TkThHXnjVC5CDJ" == v)) | |
284 | 284 | then { | |
285 | - | let | |
286 | - | let | |
287 | - | let | |
288 | - | if ($isInstanceOf( | |
289 | - | then | |
290 | - | else throw(($getType( | |
285 | + | let aS = "3P3g3eipfG2NZKKQE8DZXt2E9tRJqii9jcX" | |
286 | + | let aT = parseBigIntValue({ | |
287 | + | let aG = invoke(aD, "getPrice", [aS], nil) | |
288 | + | if ($isInstanceOf(aG, "String")) | |
289 | + | then aG | |
290 | + | else throw(($getType(aG) + " couldn't be cast to String")) | |
291 | 291 | }) | |
292 | - | fraction( | |
292 | + | fraction(aF, h, aT) | |
293 | 293 | } | |
294 | 294 | else if (("HZk1mbfuJpmxU1Fs4AX5MWLVYtctsNcg6e2C6VKqK8zk" == v)) | |
295 | 295 | then { | |
296 | - | let | |
297 | - | let | |
298 | - | let | |
299 | - | if ($isInstanceOf( | |
300 | - | then | |
301 | - | else throw(($getType( | |
296 | + | let aU = "3P94wvu5gA7VhjPgAB3twaeqdwHCwNK2vsn" | |
297 | + | let aV = parseBigIntValue({ | |
298 | + | let aG = invoke(aD, "getPrice", [aU], nil) | |
299 | + | if ($isInstanceOf(aG, "String")) | |
300 | + | then aG | |
301 | + | else throw(($getType(aG) + " couldn't be cast to String")) | |
302 | 302 | }) | |
303 | - | fraction( | |
303 | + | fraction(aV, aJ, h) | |
304 | 304 | } | |
305 | 305 | else if (("474jTeYx2r2Va35794tCScAXWJG9hU2HcgxzMowaZUnu" == v)) | |
306 | 306 | then { | |
307 | - | let | |
308 | - | let | |
309 | - | let | |
310 | - | if ($isInstanceOf( | |
311 | - | then | |
312 | - | else throw(($getType( | |
307 | + | let aW = "3P3XGTN6s292g9iwYhs3TEqJqHiffQYojuE" | |
308 | + | let aX = parseBigIntValue({ | |
309 | + | let aG = invoke(aD, "getPrice", [aW], nil) | |
310 | + | if ($isInstanceOf(aG, "String")) | |
311 | + | then aG | |
312 | + | else throw(($getType(aG) + " couldn't be cast to String")) | |
313 | 313 | }) | |
314 | - | fraction( | |
314 | + | fraction(aX, aF, h) | |
315 | 315 | } | |
316 | 316 | else if (("8LQW8f7P5d5PZM7GtZEBgaqRPGSzS3DfPuiXrURJ4AJS" == v)) | |
317 | 317 | then { | |
318 | - | let | |
319 | - | let | |
320 | - | let | |
321 | - | if ($isInstanceOf( | |
322 | - | then | |
323 | - | else throw(($getType( | |
318 | + | let aY = "3PCBWDTA6jrFswd7gQgaE3Xk7gLM5RKofvp" | |
319 | + | let aZ = parseBigIntValue({ | |
320 | + | let aG = invoke(aD, "getPrice", [aY], nil) | |
321 | + | if ($isInstanceOf(aG, "String")) | |
322 | + | then aG | |
323 | + | else throw(($getType(aG) + " couldn't be cast to String")) | |
324 | 324 | }) | |
325 | - | fraction( | |
325 | + | fraction(aZ, aJ, h) | |
326 | 326 | } | |
327 | 327 | else s("invalid asset id") | |
328 | 328 | } | |
329 | - | ( | |
329 | + | (ar :+ aL) | |
330 | 330 | } | |
331 | 331 | ||
332 | - | let | |
333 | - | let | |
334 | - | let | |
335 | - | func | |
336 | - | then | |
337 | - | else | |
332 | + | let av = ap | |
333 | + | let aw = size(av) | |
334 | + | let ax = nil | |
335 | + | func ay (az,aA) = if ((aA >= aw)) | |
336 | + | then az | |
337 | + | else aq(az, av[aA]) | |
338 | 338 | ||
339 | - | func | |
340 | - | then | |
339 | + | func aB (az,aA) = if ((aA >= aw)) | |
340 | + | then az | |
341 | 341 | else throw("List size exceeds 10") | |
342 | 342 | ||
343 | - | | |
343 | + | aB(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ax, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
344 | 344 | } | |
345 | 345 | else if ((a == b)) | |
346 | 346 | then { | |
347 | - | func | |
348 | - | let | |
349 | - | let v = | |
347 | + | func aq (ar,aK) = { | |
348 | + | let aL = { | |
349 | + | let v = aK | |
350 | 350 | if (("EMAMLxDnv3xiz8RXg8Btj33jcEw3wLczL3JKYYmuubpc" == v)) | |
351 | 351 | then { | |
352 | - | let | |
353 | - | let | |
354 | - | let | |
355 | - | if ($isInstanceOf( | |
356 | - | then | |
357 | - | else throw(($getType( | |
352 | + | let ba = "3MrULQRLc52GWrJF1tMcAm4M78fPe57o9Kt" | |
353 | + | let bb = parseBigIntValue({ | |
354 | + | let aG = invoke(aD, "getPrice", [ba], nil) | |
355 | + | if ($isInstanceOf(aG, "String")) | |
356 | + | then aG | |
357 | + | else throw(($getType(aG) + " couldn't be cast to String")) | |
358 | 358 | }) | |
359 | - | | |
359 | + | bb | |
360 | 360 | } | |
361 | 361 | else if (("A7Ksh7fXyqm1KhKAiK3bAB2aiPSitQQF6v1pyu9SS3FR" == v)) | |
362 | 362 | then { | |
363 | - | let | |
364 | - | let | |
365 | - | let | |
366 | - | if ($isInstanceOf( | |
367 | - | then | |
368 | - | else throw(($getType( | |
363 | + | let bc = "3MzKSdTH2jFbypLsoNfrH7QgkzSbx3EYwCA" | |
364 | + | let bd = parseBigIntValue({ | |
365 | + | let aG = invoke(aD, "getPrice", [bc], nil) | |
366 | + | if ($isInstanceOf(aG, "String")) | |
367 | + | then aG | |
368 | + | else throw(($getType(aG) + " couldn't be cast to String")) | |
369 | 369 | }) | |
370 | - | | |
370 | + | bd | |
371 | 371 | } | |
372 | 372 | else if (("8Q6SE2ANebufw8JuPjJVRjZD6drD8ihjNjM8xaGUSfdR" == v)) | |
373 | 373 | then { | |
374 | - | let | |
375 | - | | |
374 | + | let aL = k(150000000, pow(10, 0, j, 0, 0, DOWN)) | |
375 | + | aL | |
376 | 376 | } | |
377 | 377 | else s("invalid asset id") | |
378 | 378 | } | |
379 | - | ( | |
379 | + | (ar :+ aL) | |
380 | 380 | } | |
381 | 381 | ||
382 | - | let | |
383 | - | let | |
384 | - | let | |
385 | - | func | |
386 | - | then | |
387 | - | else | |
382 | + | let av = ap | |
383 | + | let aw = size(av) | |
384 | + | let ax = nil | |
385 | + | func ay (az,aA) = if ((aA >= aw)) | |
386 | + | then az | |
387 | + | else aq(az, av[aA]) | |
388 | 388 | ||
389 | - | func | |
390 | - | then | |
389 | + | func aB (az,aA) = if ((aA >= aw)) | |
390 | + | then az | |
391 | 391 | else throw("List size exceeds 10") | |
392 | 392 | ||
393 | - | | |
393 | + | aB(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ax, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
394 | 394 | } | |
395 | 395 | else s("invalid chain id") | |
396 | 396 | ||
397 | 397 | ||
398 | - | func | |
398 | + | func be () = { | |
399 | 399 | let N = Z() | |
400 | - | let | |
401 | - | let | |
402 | - | let | |
403 | - | let | |
404 | - | func | |
405 | - | let af = fromBase58String( | |
406 | - | let | |
407 | - | let | |
408 | - | let | |
409 | - | let | |
410 | - | ( | |
400 | + | let aD = X() | |
401 | + | let bf = split(ab(), d) | |
402 | + | let bg = an(N, bf) | |
403 | + | let bh = aC(aD, bf) | |
404 | + | func bi (ar,as) = { | |
405 | + | let af = fromBase58String(as) | |
406 | + | let bj = valueOrErrorMessage(indexOf(bf, as), q("invalid asset id")) | |
407 | + | let at = bg[bj] | |
408 | + | let aL = bh[bj] | |
409 | + | let bk = fraction(at, aL, h) | |
410 | + | (ar + bk) | |
411 | 411 | } | |
412 | 412 | ||
413 | - | let | |
414 | - | let | |
415 | - | let | |
416 | - | let | |
417 | - | func | |
418 | - | then | |
419 | - | else | |
413 | + | let bl = { | |
414 | + | let av = bf | |
415 | + | let aw = size(av) | |
416 | + | let ax = toBigInt(0) | |
417 | + | func ay (az,aA) = if ((aA >= aw)) | |
418 | + | then az | |
419 | + | else bi(az, av[aA]) | |
420 | 420 | ||
421 | - | func | |
422 | - | then | |
421 | + | func aB (az,aA) = if ((aA >= aw)) | |
422 | + | then az | |
423 | 423 | else throw("List size exceeds 10") | |
424 | 424 | ||
425 | - | | |
425 | + | aB(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ax, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
426 | 426 | } | |
427 | - | | |
427 | + | bl | |
428 | 428 | } | |
429 | 429 | ||
430 | 430 | ||
431 | - | func | |
432 | - | let | |
433 | - | let | |
434 | - | if (( | |
431 | + | func bm (bn,bo) = { | |
432 | + | let bf = split(ab(), d) | |
433 | + | let bp = ae(ad()).quantity | |
434 | + | if ((bp == bp)) | |
435 | 435 | then { | |
436 | - | let | |
437 | - | func | |
438 | - | let af = fromBase58String( | |
439 | - | let | |
440 | - | let | |
441 | - | let | |
442 | - | let aj = fraction( | |
436 | + | let bg = an(u(), bf) | |
437 | + | func aq (ar,as) = { | |
438 | + | let af = fromBase58String(as) | |
439 | + | let bj = valueOrErrorMessage(indexOf(bf, as), q("invalid asset balance")) | |
440 | + | let au = ae(af).decimals | |
441 | + | let at = n(bg[bj], pow(10, 0, au, 0, 0, DOWN)) | |
442 | + | let aj = fraction(at, bn, bp) | |
443 | 443 | if ((aj > 0)) | |
444 | 444 | then { | |
445 | - | let | |
445 | + | let bq = if ((bo == unit)) | |
446 | 446 | then unit | |
447 | - | else invoke(this, "lockInternal", [value( | |
448 | - | if (( | |
449 | - | then $Tuple2(( | |
447 | + | else invoke(this, "lockInternal", [value(bo).bytes, af, aj, bn], nil) | |
448 | + | if ((bq == bq)) | |
449 | + | then $Tuple2((ar._1 :+ af), (ar._2 :+ aj)) | |
450 | 450 | else throw("Strict value is not equal to itself.") | |
451 | 451 | } | |
452 | - | else | |
452 | + | else ar | |
453 | 453 | } | |
454 | 454 | ||
455 | - | let | |
456 | - | let | |
457 | - | let | |
458 | - | func | |
459 | - | then | |
460 | - | else | |
455 | + | let av = bf | |
456 | + | let aw = size(av) | |
457 | + | let ax = $Tuple2(nil, nil) | |
458 | + | func ay (az,aA) = if ((aA >= aw)) | |
459 | + | then az | |
460 | + | else aq(az, av[aA]) | |
461 | 461 | ||
462 | - | func | |
463 | - | then | |
462 | + | func aB (az,aA) = if ((aA >= aw)) | |
463 | + | then az | |
464 | 464 | else throw("List size exceeds 6") | |
465 | 465 | ||
466 | - | | |
466 | + | aB(ay(ay(ay(ay(ay(ay(ax, 0), 1), 2), 3), 4), 5), 6) | |
467 | 467 | } | |
468 | 468 | else throw("Strict value is not equal to itself.") | |
469 | 469 | } | |
470 | 470 | ||
471 | 471 | ||
472 | - | func | |
473 | - | let | |
474 | - | let | |
475 | - | let | |
476 | - | let | |
477 | - | let | |
478 | - | let | |
479 | - | let | |
480 | - | let | |
481 | - | let | |
482 | - | let | |
483 | - | then n( | |
472 | + | func br () = { | |
473 | + | let aD = X() | |
474 | + | let bs = valueOrErrorMessage(getInteger(u(), C()), q("invalid current period")) | |
475 | + | let bt = valueOrErrorMessage(getInteger(u(), G(bs)), q(("invalid treasury value for period " + toString(bs)))) | |
476 | + | let bl = n(be(), pow(10, 0, j, 0, 0, DOWN)) | |
477 | + | let bu = (bl - bt) | |
478 | + | let bv = k(bu, pow(10, 0, j, 0, 0, DOWN)) | |
479 | + | let bw = R() | |
480 | + | let bx = ae(bw) | |
481 | + | let by = aC(aD, [toBase58String(bw)])[0] | |
482 | + | let bz = if ((by > toBigInt(0))) | |
483 | + | then n(by, pow(10, 0, j, 0, 0, DOWN)) | |
484 | 484 | else s("invalid PWR price") | |
485 | 485 | let N = Z() | |
486 | - | let | |
487 | - | let | |
488 | - | let | |
489 | - | let | |
490 | - | let | |
491 | - | let | |
492 | - | let | |
493 | - | let | |
494 | - | let | |
495 | - | then n( | |
486 | + | let bA = valueOrElse(getInteger(T(), M(N)), 0) | |
487 | + | let bB = ae(ad()) | |
488 | + | let bC = (bB.quantity / 100) | |
489 | + | let bD = (bA + bC) | |
490 | + | let bE = k(bD, pow(10, 0, bx.decimals, 0, 0, DOWN)) | |
491 | + | let bF = an(u(), [toBase58String(B)])[0] | |
492 | + | let bG = n(bF, pow(10, 0, j, 0, 0, DOWN)) | |
493 | + | let bH = aC(aD, [toBase58String(B)])[0] | |
494 | + | let bI = if ((bH > toBigInt(0))) | |
495 | + | then n(bH, pow(10, 0, j, 0, 0, DOWN)) | |
496 | 496 | else s("invalid wx price") | |
497 | - | let | |
498 | - | let | |
499 | - | let | |
500 | - | let | |
501 | - | let | |
502 | - | $Tuple2([ | |
497 | + | let bp = bB.quantity | |
498 | + | let bJ = k(bp, pow(10, 0, bB.decimals, 0, 0, DOWN)) | |
499 | + | let bK = (((by + fraction((bF * toBigInt(100)), bH, bJ)) + fraction(max([bv, toBigInt(0)]), (toBigInt(2) * h), (toBigInt(10) * bE))) / toBigInt(100)) | |
500 | + | let bL = n(bK, pow(10, 0, j, 0, 0, DOWN)) | |
501 | + | let bM = bm(pow(10, 0, bB.decimals, 0, 0, DOWN), unit) | |
502 | + | $Tuple2([bL, bM], [["wxDaoPrice", bL], ["pwrPrice", bz], ["factoryAddressWxBalance", bG], ["wxPrice", bI], ["wxdaoQuantity", bp], ["treasuryValueDiff", bu], ["pwrAmount", bD], ["skinTotal", bA], ["pwrRemaining", bC]]) | |
503 | 503 | } | |
504 | 504 | ||
505 | 505 | ||
506 | 506 | @Callable(x) | |
507 | - | func swap ( | |
508 | - | let | |
509 | - | if (( | |
507 | + | func swap (bN,bO) = { | |
508 | + | let bP = A(x) | |
509 | + | if ((bP == bP)) | |
510 | 510 | then { | |
511 | - | let K = addressFromPublicKey( | |
512 | - | let | |
511 | + | let K = addressFromPublicKey(bN) | |
512 | + | let bQ = if ((size(x.payments) == 1)) | |
513 | 513 | then x.payments[0] | |
514 | 514 | else s("1 payment is required") | |
515 | - | let | |
516 | - | let | |
517 | - | then value( | |
518 | - | else s( | |
519 | - | let | |
520 | - | let | |
521 | - | let | |
522 | - | if (( | |
515 | + | let bR = q("invalid payment asset id") | |
516 | + | let bS = if ((valueOrErrorMessage(bQ.assetId, bR) == ad())) | |
517 | + | then value(bQ.assetId) | |
518 | + | else s(bR) | |
519 | + | let bz = 100 | |
520 | + | let bD = (bQ.amount / bz) | |
521 | + | let bT = bm(bQ.amount, K) | |
522 | + | if ((bT == bT)) | |
523 | 523 | then { | |
524 | - | let | |
525 | - | let | |
526 | - | $Tuple2([Burn( | |
524 | + | let bU = 0 | |
525 | + | let bV = [invoke(u(), "commitAfterStartWithLockRoundFor", [toString(T()), toString(Z()), toString(K), bU, R(), bD], nil)] | |
526 | + | $Tuple2([Burn(bS, bQ.amount)], bV) | |
527 | 527 | } | |
528 | 528 | else throw("Strict value is not equal to itself.") | |
529 | 529 | } | |
530 | 530 | else throw("Strict value is not equal to itself.") | |
531 | 531 | } | |
532 | 532 | ||
533 | 533 | ||
534 | 534 | ||
535 | 535 | @Callable(x) | |
536 | - | func lockInternal ( | |
537 | - | let | |
538 | - | if (( | |
536 | + | func lockInternal (bW,af,aj,ak) = { | |
537 | + | let bP = z(x) | |
538 | + | if ((bP == bP)) | |
539 | 539 | then { | |
540 | - | let K = Address( | |
541 | - | let | |
542 | - | let | |
543 | - | let | |
544 | - | if (( | |
540 | + | let K = Address(bW) | |
541 | + | let bX = valueOrElse(getInteger(u(), H()), 0) | |
542 | + | let bY = valueOrErrorMessage(getInteger(u(), I()), q("invalid lock duration")) | |
543 | + | let bZ = invoke(u(), "transferAsset", [V().bytes, aj, af], nil) | |
544 | + | if ((bZ == bZ)) | |
545 | 545 | then { | |
546 | - | let | |
547 | - | $Tuple2(nil, | |
546 | + | let bV = [invoke(u(), "stringEntry", [J(K, bX), ag(height, (height + bY), af, aj, ak)], nil), invoke(u(), "integerEntry", [H(), (bX + 1)], nil)] | |
547 | + | $Tuple2(nil, bV) | |
548 | 548 | } | |
549 | 549 | else throw("Strict value is not equal to itself.") | |
550 | 550 | } | |
551 | 551 | else throw("Strict value is not equal to itself.") | |
552 | 552 | } | |
553 | 553 | ||
554 | 554 | ||
555 | 555 | ||
556 | 556 | @Callable(x) | |
557 | - | func unlock ( | |
558 | - | let | |
559 | - | if (( | |
557 | + | func unlock (bN,bO) = { | |
558 | + | let bP = A(x) | |
559 | + | if ((bP == bP)) | |
560 | 560 | then { | |
561 | - | let K = addressFromPublicKey( | |
562 | - | func | |
563 | - | let L = valueOrErrorMessage(parseInt( | |
564 | - | let | |
565 | - | let ah = | |
566 | - | let ai = | |
567 | - | let af = | |
568 | - | let aj = | |
569 | - | let | |
561 | + | let K = addressFromPublicKey(bN) | |
562 | + | func ca (ar,cb) = { | |
563 | + | let L = valueOrErrorMessage(parseInt(cb), q("invalid counter")) | |
564 | + | let cc = al(valueOrErrorMessage(getString(u(), J(K, L)), q(("invalid lock: " + J(K, L))))) | |
565 | + | let ah = cc._1 | |
566 | + | let ai = cc._2 | |
567 | + | let af = cc._3 | |
568 | + | let aj = cc._4 | |
569 | + | let cd = if ((height > ai)) | |
570 | 570 | then [invoke(V(), "transferAsset", [K.bytes, aj, af], nil), invoke(u(), "deleteEntry", [J(K, L)], nil)] | |
571 | 571 | else s("invalid height") | |
572 | - | ( | |
572 | + | (ar :+ cd) | |
573 | 573 | } | |
574 | 574 | ||
575 | - | let | |
576 | - | let | |
577 | - | let | |
578 | - | let | |
579 | - | func | |
580 | - | then | |
581 | - | else | |
575 | + | let cd = { | |
576 | + | let av = bO | |
577 | + | let aw = size(av) | |
578 | + | let ax = nil | |
579 | + | func ay (az,aA) = if ((aA >= aw)) | |
580 | + | then az | |
581 | + | else ca(az, av[aA]) | |
582 | 582 | ||
583 | - | func | |
584 | - | then | |
583 | + | func aB (az,aA) = if ((aA >= aw)) | |
584 | + | then az | |
585 | 585 | else throw("List size exceeds 30") | |
586 | 586 | ||
587 | - | | |
587 | + | aB(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ax, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30) | |
588 | 588 | } | |
589 | - | $Tuple2(nil, | |
589 | + | $Tuple2(nil, cd) | |
590 | 590 | } | |
591 | 591 | else throw("Strict value is not equal to itself.") | |
592 | 592 | } | |
593 | 593 | ||
594 | 594 | ||
595 | 595 | ||
596 | 596 | @Callable(x) | |
597 | - | func price ( | |
598 | - | let | |
599 | - | if (( | |
600 | - | then $Tuple2(nil, | |
597 | + | func price (bN,bO) = { | |
598 | + | let bP = A(x) | |
599 | + | if ((bP == bP)) | |
600 | + | then $Tuple2(nil, br()._1) | |
601 | 601 | else throw("Strict value is not equal to itself.") | |
602 | 602 | } | |
603 | 603 | ||
604 | 604 | ||
605 | 605 | ||
606 | 606 | @Callable(x) | |
607 | - | func priceDebug ( | |
608 | - | let | |
609 | - | if (( | |
610 | - | then $Tuple2(nil, | |
607 | + | func priceDebug (bN,bO) = { | |
608 | + | let bP = A(x) | |
609 | + | if ((bP == bP)) | |
610 | + | then $Tuple2(nil, br()._2) | |
611 | 611 | else throw("Strict value is not equal to itself.") | |
612 | 612 | } | |
613 | 613 | ||
614 | 614 | ||
615 | 615 | ||
616 | 616 | @Callable(x) | |
617 | - | func getTreasuryValue ( | |
618 | - | let | |
619 | - | if (( | |
617 | + | func getTreasuryValue (bN,bO) = { | |
618 | + | let bP = A(x) | |
619 | + | if ((bP == bP)) | |
620 | 620 | then { | |
621 | - | let | |
622 | - | $Tuple2(nil, | |
621 | + | let bl = n(be(), pow(10, 0, j, 0, 0, DOWN)) | |
622 | + | $Tuple2(nil, bl) | |
623 | 623 | } | |
624 | 624 | else throw("Strict value is not equal to itself.") | |
625 | 625 | } | |
626 | 626 | ||
627 | 627 | ||
628 | - | @Verifier( | |
629 | - | func | |
628 | + | @Verifier(ce) | |
629 | + | func cf () = (a == b) | |
630 | 630 |
github/deemru/w8io/026f985 190.42 ms ◑