tx · AjoPViQJjYU2gPkrDzGpAEr2xeeL7QhfbB2xmXgVDz39 3NC9wWawxuFG6a3sZdfckGwoMeVhLFjZFwH: -0.01400000 Waves 2021.03.31 12:18 [1461753] smart account 3NC9wWawxuFG6a3sZdfckGwoMeVhLFjZFwH > SELF 0.00000000 Waves
{ "type": 13, "id": "AjoPViQJjYU2gPkrDzGpAEr2xeeL7QhfbB2xmXgVDz39", "fee": 1400000, "feeAssetId": null, "timestamp": 1617182347040, "version": 1, "sender": "3NC9wWawxuFG6a3sZdfckGwoMeVhLFjZFwH", "senderPublicKey": "HoEvP2nFKMAsffQ9PUyAm6auWisyHgusY9HxDeMASrzZ", "proofs": [ "3U11go97V6g48uZx9aZAs6SNjf7zTxheLrfsyVcTE6pKStEk8rr2d6AYFhbTGTW2dQ91pGXKQBr53BrTcsTqZHiy" ], "script": "base64:AAIEAAAAAAAAAEIIAhIQCg4ICAgBCAEBAQgBAQEBCBIFCgMIAQgSAwoBARIAEgASBQoDCAgIEgUKAwgICBIDCgEIEgQKAggBEgMKAQgAAABLAAAAAANTRVACAAAAAl9fAQAAAAJmMAAAAAEAAAADa2V5CQEAAAATdmFsdWVPckVycm9yTWVzc2FnZQAAAAIJAAQdAAAAAgUAAAAEdGhpcwUAAAADa2V5CQABLAAAAAICAAAAFU5vIGRhdGEgZm9yIHRoaXMua2V5PQUAAAADa2V5AQAAAAJmMQAAAAEAAAADa2V5CQEAAAATdmFsdWVPckVycm9yTWVzc2FnZQAAAAIJAAQbAAAAAgUAAAAEdGhpcwUAAAADa2V5CQABLAAAAAICAAAAFU5vIGRhdGEgZm9yIHRoaXMua2V5PQUAAAADa2V5AQAAAAJmMgAAAAEAAAADa2V5CQEAAAATdmFsdWVPckVycm9yTWVzc2FnZQAAAAIJAAQaAAAAAgUAAAAEdGhpcwUAAAADa2V5CQABLAAAAAICAAAAFU5vIGRhdGEgZm9yIHRoaXMua2V5PQUAAAADa2V5AQAAAAJmMwAAAAUAAAADbXNnAAAAAnY0A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AgFAAAABHYyNjcAAAACXzUAAAAFdmFsdWUEAAAABHYyNzEICAUAAAAEdjI2NwAAAAJfNgAAAAV2YWx1ZQQAAAAEdjI3MggIBQAAAAR2MjY3AAAAAl83AAAABXZhbHVlBAAAAAR2MjczCAgFAAAABHYyNjcAAAACXzgAAAAFdmFsdWUEAAAABHYyNzQICAUAAAAEdjI2NwAAAAJfOQAAAAV2YWx1ZQQAAAAEdjI3NQgIBQAAAAR2MjY3AAAAA18xMAAAAAV2YWx1ZQQAAAAEdjIyMQgIBQAAAAR2MjY3AAAAA18xMQAAAAV2YWx1ZQQAAAAEdjI3NggIBQAAAAR2MjY3AAAAA18xMgAAAAV2YWx1ZQQAAAAEdjI3NwgIBQAAAAR2MjY3AAAAA18xMwAAAAV2YWx1ZQQAAAAEdjI3OAkABLkAAAACCQAETAAAAAICAAAAGXN0YXJ0Q3VycmVudFN5c1BhcmFtc1JFU1QJAARMAAAAAgkAAaQAAAABBQAAAAR2MjY4CQAETAAAAAIJAAGkAAAAAQUAAAAEdjIyMgkABEwAAAACCQABpAAAAAEFAAAABHYyMjQJAARMAAAAAgkAAaQAAAABBQAAAAR2MjY5CQAETAAAAAIJAAGkAAAAAQUAAAAEdjI3MAkABEwAAAACCQABpAAAAAEFAAAABHYyNzEJAARMAAAAAgkAAaQAAAABBQAAAAR2MjcyCQAETAAAAAIJAAGkAAAAAQUAAAAEdjI3MwkABEwAAAACCQABpAAAAAEFAAAABHYyNzQJAARMAAAAAgkAAaQAAAABBQAAAAR2Mjc1CQAETAAAAAIJAAGkAAAAAQUAAAAEdjIyMQkABEwAAAACCQABpAAAAAEFAAAABHYyNzYJAARMAAAAAgkAAaQAAAABBQAAAAR2Mjc3CQAETAAAAAICAAAAF2VuZEN1cnJlbnRTeXNQYXJhbXNSRVNUBQAAAANuaWwFAAAAA1NFUAkAAAIAAAABBQAAAAR2Mjc4AAAAAJgDONE=", "chainId": 84, "height": 1461753, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: G5Qyv2LyaLoREj5jhgjrwcsPA1PSV5FzcohYFG3hxCCD Next: none Diff:
Old | New | Differences | |
---|---|---|---|
324 | 324 | } | |
325 | 325 | ||
326 | 326 | ||
327 | - | func privateCurrentSysParamsREST ( | |
328 | - | let | |
329 | - | let | |
330 | - | let | |
331 | - | let | |
332 | - | let | |
333 | - | let | |
334 | - | let | |
335 | - | let | |
336 | - | let | |
337 | - | let | |
338 | - | let | |
339 | - | let | |
340 | - | $Tuple13(IntegerEntry("price", | |
327 | + | func privateCurrentSysParamsREST (baseAssetStr) = { | |
328 | + | let v207 = fromBase58String(baseAssetStr) | |
329 | + | let v208 = f132(baseAssetStr) | |
330 | + | let v209 = v208[v65] | |
331 | + | let v210 = fromBase58String(v209) | |
332 | + | let v211 = parseIntValue(v208[v67]) | |
333 | + | let v212 = parseIntValue(v208[v68]) | |
334 | + | let v213 = v208[v66] | |
335 | + | let v214 = f28(v213) | |
336 | + | let v215 = valueOrElse(getInteger(this, v214), 0) | |
337 | + | let v216 = f26(v213) | |
338 | + | let v217 = valueOrElse(getInteger(this, v216), 0) | |
339 | + | let v218 = f158(v213, v207, v210, v212) | |
340 | + | $Tuple13(IntegerEntry("price", v217), IntegerEntry("decimalsMultPrice", v212), IntegerEntry("baseAssetBalance", v218._2), IntegerEntry("-1", v218._3), IntegerEntry("baseAssetBalanceWCO", v218._4), IntegerEntry("shareEmission", v218._5), IntegerEntry("currIterTotalInBaseAmount", v218._6), IntegerEntry("currIterTotalInShareAmount", v218._7), IntegerEntry("totalLockedOutBaseAmount", v218._8), IntegerEntry("totalLockedOutShareAmount", v218._9), IntegerEntry("decimalsMultBothAssets", v211), IntegerEntry("priceATH", v215), IntegerEntry("priceRecalculated", v218._1)) | |
341 | 341 | } | |
342 | 342 | ||
343 | 343 | ||
344 | 344 | @Callable(i) | |
345 | 345 | func adminRegisterAsset (baseAssetStr,shareAssetName,shareAssetDescr,getDelayinBlocks,shutdownManagerAddress,startPrice,topupIntervalInBlocks,topupMaxNegativePart,topupManagerAddress,submitLimitsBaseMax,submitLimitsBaseReset,submitLimitsShareMax,submitLimitsShareReset,adminAddress) = { | |
346 | - | let | |
347 | - | let | |
348 | - | let | |
349 | - | let | |
350 | - | let | |
351 | - | let | |
346 | + | let v219 = fromBase58String(baseAssetStr) | |
347 | + | let v220 = value(assetInfo(v219)).decimals | |
348 | + | let v221 = pow(10, 0, v220, 0, 0, DOWN) | |
349 | + | let v222 = ((100 * 1000) * 1000) | |
350 | + | let v223 = fraction(topupMaxNegativePart, 100, v221) | |
351 | + | let v224 = assetBalance(this, v219) | |
352 | 352 | if ((i.caller != this)) | |
353 | 353 | then throw("permissions denied") | |
354 | - | else if (( | |
354 | + | else if ((v224 == 0)) | |
355 | 355 | then throw(((toString(this) + " must have any initial balance of ") + baseAssetStr)) | |
356 | 356 | else if (isDefined(getString(this, f23(baseAssetStr)))) | |
357 | 357 | then throw((baseAssetStr + " has been already registered")) | |
361 | 361 | then throw("invalid topupManagerAddress") | |
362 | 362 | else if ((0 > getDelayinBlocks)) | |
363 | 363 | then throw(("invalid getDelayinBlocks=" + toString(getDelayinBlocks))) | |
364 | - | else if (if ((0 >= | |
364 | + | else if (if ((0 >= v223)) | |
365 | 365 | then true | |
366 | - | else ( | |
366 | + | else (v223 >= 99)) | |
367 | 367 | then throw("invalid topupMaxNegativePart parameter") | |
368 | 368 | else { | |
369 | - | let | |
370 | - | let | |
371 | - | let | |
372 | - | let | |
373 | - | let | |
374 | - | let | |
375 | - | [StringEntry(f23(baseAssetStr), dataAssetCfg( | |
369 | + | let v225 = f19(v224, startPrice, v222) | |
370 | + | let v226 = Issue(shareAssetName, shareAssetDescr, v225, v220, true) | |
371 | + | let v227 = calculateAssetId(v226) | |
372 | + | let v228 = toBase58String(v227) | |
373 | + | let v229 = valueOrElse(getInteger(this, f25()), 0) | |
374 | + | let v230 = toString(v229) | |
375 | + | [StringEntry(f23(baseAssetStr), dataAssetCfg(v228, v230, v221, v222, getDelayinBlocks, topupIntervalInBlocks, topupMaxNegativePart, topupManagerAddress, submitLimitsBaseMax, submitLimitsBaseReset, submitLimitsShareMax, submitLimitsShareReset, adminAddress)), StringEntry(f41(v229), baseAssetStr), StringEntry(f43(baseAssetStr), v230), StringEntry(f45(v228), baseAssetStr), StringEntry(f47(baseAssetStr), v228), BooleanEntry(f49(v230), false), StringEntry(f51(v230), shutdownManagerAddress), IntegerEntry(f25(), (v229 + 1)), IntegerEntry(f26(v230), startPrice), IntegerEntry(f33(v230, height, lastBlock.timestamp), startPrice), IntegerEntry(f53(v230), 0), f136(f63(v230), submitLimitsBaseMax, submitLimitsShareMax), v226, ScriptTransfer(addressFromStringValue(topupManagerAddress), v225, v227)] | |
376 | 376 | } | |
377 | 377 | } | |
378 | 378 | ||
379 | 379 | ||
380 | 380 | ||
381 | 381 | @Callable(i) | |
382 | - | func adminUpdateCfg ( | |
383 | - | let | |
384 | - | let | |
385 | - | if ((toString(i.caller) != | |
382 | + | func adminUpdateCfg (baseAssetStr,updateCfgParamIdx,newCfgParamVal) = { | |
383 | + | let v231 = f132(baseAssetStr) | |
384 | + | let v232 = v231[v77] | |
385 | + | if ((toString(i.caller) != v232)) | |
386 | 386 | then throw("permissioned denied") | |
387 | 387 | else { | |
388 | - | func UpdateOrKeep (idx) = if ((idx == | |
389 | - | then | |
390 | - | else | |
388 | + | func UpdateOrKeep (idx) = if ((idx == updateCfgParamIdx)) | |
389 | + | then newCfgParamVal | |
390 | + | else v231[idx] | |
391 | 391 | ||
392 | - | let | |
393 | - | [StringEntry(f23( | |
392 | + | let v233 = dataAssetCfgAllStrings(UpdateOrKeep(v65), UpdateOrKeep(v66), UpdateOrKeep(v67), UpdateOrKeep(v68), UpdateOrKeep(v69), UpdateOrKeep(v70), UpdateOrKeep(v71), UpdateOrKeep(v72), UpdateOrKeep(v73), UpdateOrKeep(v74), UpdateOrKeep(v75), UpdateOrKeep(v76), UpdateOrKeep(v77)) | |
393 | + | [StringEntry(f23(baseAssetStr), v233)] | |
394 | 394 | } | |
395 | 395 | } | |
396 | 396 | ||
397 | 397 | ||
398 | 398 | ||
399 | 399 | @Callable(i) | |
400 | - | func shutdownSubmits ( | |
401 | - | let | |
402 | - | let | |
403 | - | let | |
404 | - | if ((1 > size( | |
405 | - | then throw("invalid | |
406 | - | else if ((toString(i.caller) != | |
400 | + | func shutdownSubmits (v229) = { | |
401 | + | let v234 = toString(v229) | |
402 | + | let v235 = f0(f41(v229)) | |
403 | + | let v236 = f0(f51(v234)) | |
404 | + | if ((1 > size(v235))) | |
405 | + | then throw("invalid v229") | |
406 | + | else if ((toString(i.caller) != v236)) | |
407 | 407 | then throw("access denied") | |
408 | - | else [BooleanEntry(f49(toString( | |
408 | + | else [BooleanEntry(f49(toString(v229)), true)] | |
409 | 409 | } | |
410 | 410 | ||
411 | 411 | ||
413 | 413 | @Callable(i) | |
414 | 414 | func submitPut () = { | |
415 | 415 | let pmt = value(i.payments[0]) | |
416 | - | let | |
417 | - | let | |
418 | - | let | |
419 | - | f163("P", i, | |
416 | + | let v237 = pmt.amount | |
417 | + | let v238 = value(pmt.assetId) | |
418 | + | let v239 = toBase58String(v238) | |
419 | + | f163("P", i, v237, v238, v239) | |
420 | 420 | } | |
421 | 421 | ||
422 | 422 | ||
424 | 424 | @Callable(i) | |
425 | 425 | func submitGet () = { | |
426 | 426 | let pmt = value(i.payments[0]) | |
427 | - | let | |
428 | - | let | |
429 | - | let | |
430 | - | let | |
431 | - | f163("G", i, | |
427 | + | let v240 = pmt.amount | |
428 | + | let v241 = value(pmt.assetId) | |
429 | + | let v228 = toBase58String(v241) | |
430 | + | let v242 = f0(f45(v228)) | |
431 | + | f163("G", i, v240, v241, v242) | |
432 | 432 | } | |
433 | 433 | ||
434 | 434 | ||
435 | 435 | ||
436 | 436 | @Callable(i) | |
437 | - | func executePut ( | |
437 | + | func executePut (baseAssetStr,userAddressStr,submitTxIdStr) = f186("P", baseAssetStr, userAddressStr, submitTxIdStr) | |
438 | 438 | ||
439 | 439 | ||
440 | 440 | ||
441 | 441 | @Callable(i) | |
442 | - | func executeGet ( | |
442 | + | func executeGet (baseAssetStr,userAddressStr,submitTxIdStr) = f186("G", baseAssetStr, userAddressStr, submitTxIdStr) | |
443 | 443 | ||
444 | 444 | ||
445 | 445 | ||
446 | 446 | @Callable(i) | |
447 | - | func operationsMutex ( | |
448 | - | let | |
449 | - | let | |
450 | - | let | |
451 | - | if ((toString(i.caller) != | |
452 | - | then f13( | |
453 | - | else [f139( | |
447 | + | func operationsMutex (baseAssetStr) = { | |
448 | + | let v243 = f132(baseAssetStr) | |
449 | + | let v244 = v243[v72] | |
450 | + | let v230 = v243[v66] | |
451 | + | if ((toString(i.caller) != v244)) | |
452 | + | then f13(v244) | |
453 | + | else [f139(v230, height)] | |
454 | 454 | } | |
455 | 455 | ||
456 | 456 | ||
457 | 457 | ||
458 | 458 | @Callable(i) | |
459 | - | func topUpBalance ( | |
460 | - | let | |
461 | - | let | |
462 | - | let | |
463 | - | let | |
464 | - | let | |
465 | - | let | |
466 | - | let | |
467 | - | let | |
468 | - | let | |
469 | - | let | |
470 | - | let | |
471 | - | let | |
472 | - | let | |
473 | - | let | |
474 | - | let | |
459 | + | func topUpBalance (baseAssetStr,income) = { | |
460 | + | let v219 = fromBase58String(baseAssetStr) | |
461 | + | let v245 = f132(baseAssetStr) | |
462 | + | let v227 = fromBase58String(v245[v65]) | |
463 | + | let v246 = parseIntValue(v245[v68]) | |
464 | + | let v247 = parseIntValue(v245[v67]) | |
465 | + | let v248 = parseIntValue(v245[v70]) | |
466 | + | let v249 = parseIntValue(v245[v71]) | |
467 | + | let v230 = v245[v66] | |
468 | + | let v250 = v245[v72] | |
469 | + | let v251 = parseIntValue(v245[v73]) | |
470 | + | let v252 = parseIntValue(v245[v75]) | |
471 | + | let v253 = f53(v230) | |
472 | + | let v254 = f2(v253) | |
473 | + | let v255 = (v254 + 1) | |
474 | + | let v256 = if ((income > 0)) | |
475 | 475 | then { | |
476 | 476 | let pmt = value(i.payments[0]) | |
477 | - | let | |
478 | - | if (( | |
479 | - | then throw("attached payment's asset id is NOT matched passed | |
477 | + | let v257 = value(pmt.assetId) | |
478 | + | if ((v219 != v257)) | |
479 | + | then throw("attached payment's asset id is NOT matched passed baseAssetStr") | |
480 | 480 | else if ((size(i.payments) > 1)) | |
481 | 481 | then throw("only one payment can be attached") | |
482 | - | else if ((pmt.amount != | |
483 | - | then throw("attached payment.amount is NOT matched passed | |
482 | + | else if ((pmt.amount != income)) | |
483 | + | then throw("attached payment.amount is NOT matched passed income argument") | |
484 | 484 | else true | |
485 | 485 | } | |
486 | - | else if ((0 > | |
486 | + | else if ((0 > income)) | |
487 | 487 | then { | |
488 | - | let | |
489 | - | let | |
490 | - | if ((-( | |
491 | - | then throw(("topup negative | |
488 | + | let v258 = assetBalance(this, v219) | |
489 | + | let v259 = fraction(v249, v258, v247) | |
490 | + | if ((-(income) > v259)) | |
491 | + | then throw(("topup negative income couldn't be greater than " + toString(v259))) | |
492 | 492 | else true | |
493 | 493 | } | |
494 | - | else throw("zero | |
495 | - | let | |
496 | - | let | |
497 | - | if ((toString(i.caller) != | |
498 | - | then f13( | |
499 | - | else if (!( | |
494 | + | else throw("zero income is not allowed") | |
495 | + | let v260 = f55(v230, toString(i.caller)) | |
496 | + | let v261 = valueOrElse(getInteger(this, v260), 0) | |
497 | + | if ((toString(i.caller) != v250)) | |
498 | + | then f13(v250) | |
499 | + | else if (!(v256)) | |
500 | 500 | then throw("validation failed") | |
501 | - | else if (( | |
502 | - | then throw((("1 topup per " + toString( | |
501 | + | else if ((v248 > (height - v261))) | |
502 | + | then throw((("1 topup per " + toString(v248)) + " blocks from the same address is allowed")) | |
503 | 503 | else { | |
504 | - | let | |
505 | - | let | |
506 | - | let | |
507 | - | let | |
508 | - | let | |
509 | - | (((((([IntegerEntry(f26( | |
510 | - | then | |
511 | - | else | |
512 | - | then [ScriptTransfer(i.caller, -( | |
504 | + | let v262 = f142(v230, v219, income, v227, v246)._1 | |
505 | + | let v263 = f94("topup", "", v230, v262, v246, 0, v219, v227) | |
506 | + | let v264 = v263._1 | |
507 | + | let v265 = f28(v230) | |
508 | + | let v266 = valueOrElse(getInteger(this, v265), 0) | |
509 | + | (((((([IntegerEntry(f26(v230), v262), IntegerEntry(f33(v230, height, lastBlock.timestamp), v262), IntegerEntry(f30(v230, v255), v262), IntegerEntry(v253, v255), IntegerEntry(v265, if ((v262 > v266)) | |
510 | + | then v262 | |
511 | + | else v266), IntegerEntry(v260, height)] :+ TotalLockedStringEntry("DECREMENT", f36(v230), v264)) :+ f139(v230, 0)) :+ f136(f63(v230), v251, v252)) :+ Burn(v227, v264[v78])) :+ Reissue(v227, -(v264[v81]), true)) ++ (if ((0 > income)) | |
512 | + | then [ScriptTransfer(i.caller, -(income), v219)] | |
513 | 513 | else nil)) | |
514 | 514 | } | |
515 | 515 | } | |
517 | 517 | ||
518 | 518 | ||
519 | 519 | @Callable(i) | |
520 | - | func currentSysParamsREST ( | |
521 | - | let | |
522 | - | let | |
523 | - | let | |
524 | - | let | |
525 | - | let | |
526 | - | let | |
527 | - | let | |
528 | - | let | |
529 | - | let | |
530 | - | let | |
531 | - | let | |
532 | - | let | |
533 | - | let | |
534 | - | let | |
535 | - | let | |
536 | - | throw( | |
520 | + | func currentSysParamsREST (baseAssetStr) = { | |
521 | + | let v267 = privateCurrentSysParamsREST(baseAssetStr) | |
522 | + | let v268 = v267._1.value | |
523 | + | let v222 = v267._2.value | |
524 | + | let v224 = v267._3.value | |
525 | + | let v269 = v267._4.value | |
526 | + | let v270 = v267._5.value | |
527 | + | let v271 = v267._6.value | |
528 | + | let v272 = v267._7.value | |
529 | + | let v273 = v267._8.value | |
530 | + | let v274 = v267._9.value | |
531 | + | let v275 = v267._10.value | |
532 | + | let v221 = v267._11.value | |
533 | + | let v276 = v267._12.value | |
534 | + | let v277 = v267._13.value | |
535 | + | let v278 = makeString(["startCurrentSysParamsREST", toString(v268), toString(v222), toString(v224), toString(v269), toString(v270), toString(v271), toString(v272), toString(v273), toString(v274), toString(v275), toString(v221), toString(v276), toString(v277), "endCurrentSysParamsREST"], SEP) | |
536 | + | throw(v278) | |
537 | 537 | } | |
538 | 538 | ||
539 | 539 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let SEP = "__" | |
5 | 5 | ||
6 | 6 | func f0 (key) = valueOrErrorMessage(getString(this, key), ("No data for this.key=" + key)) | |
7 | 7 | ||
8 | 8 | ||
9 | 9 | func f1 (key) = valueOrErrorMessage(getBoolean(this, key), ("No data for this.key=" + key)) | |
10 | 10 | ||
11 | 11 | ||
12 | 12 | func f2 (key) = valueOrErrorMessage(getInteger(this, key), ("No data for this.key=" + key)) | |
13 | 13 | ||
14 | 14 | ||
15 | 15 | func f3 (msg,v4,v5,v6,v7) = throw(((((((((msg + ": baseAsset=") + v4) + " userAddress=") + v5) + " submitTxId=") + v6) + " operation=") + v7)) | |
16 | 16 | ||
17 | 17 | ||
18 | 18 | func f8 (v9,v10,v11,v12) = throw((((((((("submit operation limits have been reached: " + " remainingBaseVal=") + toString(v9)) + " remainingShareVal=") + toString(v10)) + " newRemainingBaseVal=") + toString(v11)) + " newRemainingShareVal=") + toString(v12))) | |
19 | 19 | ||
20 | 20 | ||
21 | 21 | func f13 (v14) = throw((("opertion denied: only topUpManager=" + v14) + " can send such transactions")) | |
22 | 22 | ||
23 | 23 | ||
24 | 24 | func f15 (v16,v17,v18) = fraction(v16, v17, v18) | |
25 | 25 | ||
26 | 26 | ||
27 | 27 | func f19 (v20,v21,v22) = fraction(v20, v22, v21) | |
28 | 28 | ||
29 | 29 | ||
30 | 30 | func f23 (v24) = ("%s%s%s__config__asset__" + v24) | |
31 | 31 | ||
32 | 32 | ||
33 | 33 | func f25 () = "%s__nextInternalAssetId" | |
34 | 34 | ||
35 | 35 | ||
36 | 36 | func f26 (v27) = ("%s%s%d__price__last__" + v27) | |
37 | 37 | ||
38 | 38 | ||
39 | 39 | func f28 (v29) = ("%s%s%d__price__ath__" + v29) | |
40 | 40 | ||
41 | 41 | ||
42 | 42 | func f30 (v31,v32) = makeString(["%s%s%d%d__price__byTopUpIdx", v31, toString(v32)], SEP) | |
43 | 43 | ||
44 | 44 | ||
45 | 45 | func f33 (v34,h,v35) = makeString(["%s%s%d%d%d__price__history", v34, toString(h), toString(v35)], SEP) | |
46 | 46 | ||
47 | 47 | ||
48 | 48 | func f36 (v37) = ("%s%s%d__total__locked__" + v37) | |
49 | 49 | ||
50 | 50 | ||
51 | 51 | func f38 (v39,v40) = makeString(["%s%s%d%s__total__locked", v39, v40], SEP) | |
52 | 52 | ||
53 | 53 | ||
54 | 54 | func f41 (v42) = ("%s%s%d__mappings__internal2baseAssetId__" + toString(v42)) | |
55 | 55 | ||
56 | 56 | ||
57 | 57 | func f43 (v44) = ("%s%s%s__mappings__baseAsset2internalId__" + v44) | |
58 | 58 | ||
59 | 59 | ||
60 | 60 | func f45 (v46) = ("%s%s%s__mappings__share2baseAssetId__" + v46) | |
61 | 61 | ||
62 | 62 | ||
63 | 63 | func f47 (v48) = ("%s%s%s__mappings__baseAsset2shareId__" + v48) | |
64 | 64 | ||
65 | 65 | ||
66 | 66 | func f49 (v50) = ("%s%s%d__shutdown__submit__" + v50) | |
67 | 67 | ||
68 | 68 | ||
69 | 69 | func f51 (v52) = ("%s%s%d__shutdown__manager__" + v52) | |
70 | 70 | ||
71 | 71 | ||
72 | 72 | func f53 (v54) = ("%s%s%d__topup__currentIdx__" + v54) | |
73 | 73 | ||
74 | 74 | ||
75 | 75 | func f55 (v56,v57) = makeString(["%s%s%s%d%s__topup__last__height", v56, v57], SEP) | |
76 | 76 | ||
77 | 77 | ||
78 | 78 | func f58 (v59) = ("%s%s%d__topup__mutex__" + v59) | |
79 | 79 | ||
80 | 80 | ||
81 | 81 | func f60 (v61,v62) = makeString(["%s%s%d%d__topup__history", v61, toString(v62)], SEP) | |
82 | 82 | ||
83 | 83 | ||
84 | 84 | func f63 (v64) = ("%s%s%d__limits__remaining__" + v64) | |
85 | 85 | ||
86 | 86 | ||
87 | 87 | let v65 = 1 | |
88 | 88 | ||
89 | 89 | let v66 = 2 | |
90 | 90 | ||
91 | 91 | let v67 = 3 | |
92 | 92 | ||
93 | 93 | let v68 = 4 | |
94 | 94 | ||
95 | 95 | let v69 = 5 | |
96 | 96 | ||
97 | 97 | let v70 = 6 | |
98 | 98 | ||
99 | 99 | let v71 = 7 | |
100 | 100 | ||
101 | 101 | let v72 = 8 | |
102 | 102 | ||
103 | 103 | let v73 = 9 | |
104 | 104 | ||
105 | 105 | let v74 = 10 | |
106 | 106 | ||
107 | 107 | let v75 = 11 | |
108 | 108 | ||
109 | 109 | let v76 = 12 | |
110 | 110 | ||
111 | 111 | let v77 = 13 | |
112 | 112 | ||
113 | 113 | func dataAssetCfgAllStrings (shareAssetStr,internalBaseAssetStr,decimalsMultBothAssets,decimalsMultPrice,getDelayInBlocks,topupIntervalInBlocks,topupMaxNegativePart,topupManagerAddress,submitLimitsBaseMax,submitLimitsBaseReset,submitLimitsShareMax,submitLimitsShareReset,adminAddress) = makeString(["%s%d%d%d%d%d%d%s%d%d%d%d", shareAssetStr, internalBaseAssetStr, decimalsMultBothAssets, decimalsMultPrice, getDelayInBlocks, topupIntervalInBlocks, topupMaxNegativePart, topupManagerAddress, submitLimitsBaseMax, submitLimitsBaseReset, submitLimitsShareMax, submitLimitsShareReset, adminAddress], SEP) | |
114 | 114 | ||
115 | 115 | ||
116 | 116 | func dataAssetCfg (shareAssetStr,internalBaseAssetStr,decimalsMultBothAssets,decimalsMultPrice,getDelayInBlocks,topupIntervalInBlocks,topupMaxNegativePart,topupManagerAddress,submitLimitsBaseMax,submitLimitsBaseReset,submitLimitsShareMax,submitLimitsShareReset,adminAddress) = makeString(["%s%d%d%d%d%d%d%s%d%d%d%d", shareAssetStr, internalBaseAssetStr, toString(decimalsMultBothAssets), toString(decimalsMultPrice), toString(getDelayInBlocks), toString(topupIntervalInBlocks), toString(topupMaxNegativePart), topupManagerAddress, toString(submitLimitsBaseMax), toString(submitLimitsBaseReset), toString(submitLimitsShareMax), toString(submitLimitsShareReset), adminAddress], SEP) | |
117 | 117 | ||
118 | 118 | ||
119 | 119 | let v78 = 1 | |
120 | 120 | ||
121 | 121 | let v79 = 2 | |
122 | 122 | ||
123 | 123 | let v80 = 3 | |
124 | 124 | ||
125 | 125 | let v81 = 4 | |
126 | 126 | ||
127 | 127 | func f82 (v83,v84,v85,v86) = makeString(["%d%d%d%d", toString(v83), toString(v84), toString(v85), toString(v86)], SEP) | |
128 | 128 | ||
129 | 129 | ||
130 | 130 | func f87 (v88,v89,v90,v91) = [-1, v88, v89, v90, v91] | |
131 | 131 | ||
132 | 132 | ||
133 | 133 | func f92 (key) = { | |
134 | 134 | let v93 = split(valueOrElse(getString(this, key), f82(0, 0, 0, 0)), SEP) | |
135 | 135 | f87(parseIntValue(v93[v78]), parseIntValue(v93[v79]), parseIntValue(v93[v80]), parseIntValue(v93[v81])) | |
136 | 136 | } | |
137 | 137 | ||
138 | 138 | ||
139 | 139 | func f94 (v95,v96,v97,v98,v99,v100,v101,v102) = { | |
140 | 140 | let t = (v95 + v96) | |
141 | 141 | if ((t == "submitP")) | |
142 | 142 | then { | |
143 | 143 | let v103 = f87(0, 0, v100, 0) | |
144 | 144 | let v104 = v103 | |
145 | 145 | $Tuple4(v103, v104, 0, fromBase58String("")) | |
146 | 146 | } | |
147 | 147 | else if ((t == "submitG")) | |
148 | 148 | then { | |
149 | 149 | let v105 = f87(v100, 0, 0, 0) | |
150 | 150 | let v106 = v105 | |
151 | 151 | $Tuple4(v105, v106, 0, fromBase58String("")) | |
152 | 152 | } | |
153 | 153 | else if ((t == "executeP")) | |
154 | 154 | then { | |
155 | 155 | let v107 = f19(v100, v98, v99) | |
156 | 156 | let v108 = f87(0, 0, 0, v107) | |
157 | 157 | let v109 = f87(0, 0, v100, 0) | |
158 | 158 | $Tuple4(v108, v109, v107, v102) | |
159 | 159 | } | |
160 | 160 | else if ((t == "executeG")) | |
161 | 161 | then { | |
162 | 162 | let v110 = f15(v100, v98, v99) | |
163 | 163 | let v111 = f87(0, v110, 0, 0) | |
164 | 164 | let v112 = f87(v100, 0, 0, 0) | |
165 | 165 | $Tuple4(v111, v112, v110, v101) | |
166 | 166 | } | |
167 | 167 | else if ((t == "topup")) | |
168 | 168 | then { | |
169 | 169 | let v113 = f92(f36(v97)) | |
170 | 170 | let v114 = v113[v80] | |
171 | 171 | let v115 = v113[v78] | |
172 | 172 | let v116 = f87(v115, (-1 * f15(v115, v98, v99)), v114, (-1 * f19(v114, v98, v99))) | |
173 | 173 | $Tuple4(v116, nil, 0, fromBase58String("")) | |
174 | 174 | } | |
175 | 175 | else throw(("Unsupported Type " + t)) | |
176 | 176 | } | |
177 | 177 | ||
178 | 178 | ||
179 | 179 | func TotalLockedStringEntry (action,key,diff) = { | |
180 | 180 | func f117 (a,b) = if ((action == "INCREMENT")) | |
181 | 181 | then (a + b) | |
182 | 182 | else if ((action == "DECREMENT")) | |
183 | 183 | then (a - b) | |
184 | 184 | else throw(("Unsupported action " + action)) | |
185 | 185 | ||
186 | 186 | let v118 = f92(key) | |
187 | 187 | StringEntry(key, f82(f117(v118[v78], diff[v78]), f117(v118[v79], diff[v79]), f117(v118[v80], diff[v80]), f117(v118[v81], diff[v81]))) | |
188 | 188 | } | |
189 | 189 | ||
190 | 190 | ||
191 | 191 | func f119 (v120,v121,v122,txId) = makeString(["%s%d%s%s", v120, v121, v122, txId], SEP) | |
192 | 192 | ||
193 | 193 | ||
194 | 194 | let v123 = 1 | |
195 | 195 | ||
196 | 196 | let v124 = 2 | |
197 | 197 | ||
198 | 198 | let v125 = 3 | |
199 | 199 | ||
200 | 200 | let v126 = 4 | |
201 | 201 | ||
202 | 202 | let v127 = 5 | |
203 | 203 | ||
204 | 204 | let v128 = 6 | |
205 | 205 | ||
206 | 206 | let v129 = 7 | |
207 | 207 | ||
208 | 208 | let v130 = 8 | |
209 | 209 | ||
210 | 210 | let v131 = 9 | |
211 | 211 | ||
212 | 212 | func privateDataOperationAllStrings (status,inAssetAmount,price,outAssetAmount,startHeight,startTimestamp,endHeight,endTimestamp,lock) = makeString(["%s%d%d%d%d%d%d%d%d", status, inAssetAmount, price, outAssetAmount, startHeight, startTimestamp, endHeight, endTimestamp, lock], SEP) | |
213 | 213 | ||
214 | 214 | ||
215 | 215 | func dataOperation (status,inAssetAmount,price,outAssetAmount,startHeight,startTimestamp,endHeight,endTimestamp,topupUnlockIdx) = privateDataOperationAllStrings(status, toString(inAssetAmount), toString(price), toString(outAssetAmount), toString(startHeight), toString(startTimestamp), toString(endHeight), toString(endTimestamp), toString(topupUnlockIdx)) | |
216 | 216 | ||
217 | 217 | ||
218 | 218 | func dataOperationExecutionUpdate (currOperArray,newStatus,newPrice,newOutAmount) = privateDataOperationAllStrings(newStatus, currOperArray[v124], toString(newPrice), toString(newOutAmount), currOperArray[v127], currOperArray[v128], toString(height), toString(lastBlock.timestamp), currOperArray[v131]) | |
219 | 219 | ||
220 | 220 | ||
221 | 221 | func f132 (v133) = { | |
222 | 222 | let key = f23(v133) | |
223 | 223 | split(f0(key), SEP) | |
224 | 224 | } | |
225 | 225 | ||
226 | 226 | ||
227 | 227 | let v134 = 1 | |
228 | 228 | ||
229 | 229 | let v135 = 2 | |
230 | 230 | ||
231 | 231 | func f136 (key,v137,v138) = StringEntry(key, makeString(["%d%d", toString(v137), toString(v138)], SEP)) | |
232 | 232 | ||
233 | 233 | ||
234 | 234 | func f139 (v140,v141) = IntegerEntry(f58(v140), v141) | |
235 | 235 | ||
236 | 236 | ||
237 | 237 | func f142 (v143,v144,v145,v146,v147) = { | |
238 | 238 | let v148 = f92(f36(v143)) | |
239 | 239 | let v149 = v148[v79] | |
240 | 240 | let v150 = v148[v80] | |
241 | 241 | let v151 = assetBalance(this, v144) | |
242 | 242 | let v152 = (((v151 + v145) - v150) - v149) | |
243 | 243 | let v153 = v148[v81] | |
244 | 244 | let v154 = v148[v78] | |
245 | 245 | let v155 = value(assetInfo(v146)).quantity | |
246 | 246 | if ((0 > v152)) | |
247 | 247 | then throw(((("v152 < 0: v151=" + toString(v151)) + " v152=") + toString(v152))) | |
248 | 248 | else { | |
249 | 249 | let v156 = f2(f26(v143)) | |
250 | 250 | let v157 = if ((v155 == 0)) | |
251 | 251 | then v156 | |
252 | 252 | else fraction(v152, v147, v155) | |
253 | 253 | $Tuple9(v157, v151, -1, v152, v155, v150, v154, v149, v153) | |
254 | 254 | } | |
255 | 255 | } | |
256 | 256 | ||
257 | 257 | ||
258 | 258 | func f158 (v159,v160,v161,v162) = f142(v159, v160, 0, v161, v162) | |
259 | 259 | ||
260 | 260 | ||
261 | 261 | func f163 (v164,i,v165,v166,v167) = { | |
262 | 262 | let v168 = toBase58String(v166) | |
263 | 263 | let v169 = toString(i.caller) | |
264 | 264 | let v170 = fromBase58String(v167) | |
265 | 265 | let v171 = f132(v167) | |
266 | 266 | let v172 = v171[v65] | |
267 | 267 | let v173 = fromBase58String(v172) | |
268 | 268 | let v174 = parseIntValue(v171[v67]) | |
269 | 269 | let v175 = v171[v66] | |
270 | 270 | let v176 = f63(v175) | |
271 | 271 | let v177 = split(f0(v176), SEP) | |
272 | 272 | let v178 = parseIntValue(v177[v134]) | |
273 | 273 | let v179 = parseIntValue(v177[v135]) | |
274 | 274 | let v180 = valueOrElse(getBoolean(this, f49(v175)), false) | |
275 | 275 | if (v180) | |
276 | 276 | then throw("submit operation is blocked") | |
277 | 277 | else { | |
278 | 278 | let v181 = valueOrElse(getInteger(this, f58(v175)), 0) | |
279 | 279 | if (((v181 + 60) > height)) | |
280 | 280 | then throw("submit operations are blocked by topup manager") | |
281 | 281 | else { | |
282 | 282 | let v182 = f94("submit", v164, v175, 0, 0, v165, v170, v173) | |
283 | 283 | let v183 = (v178 - v182._2[v80]) | |
284 | 284 | let v184 = (v179 - v182._2[v78]) | |
285 | 285 | if (if ((0 > v183)) | |
286 | 286 | then true | |
287 | 287 | else (0 > v184)) | |
288 | 288 | then f8(v178, v179, v183, v184) | |
289 | 289 | else { | |
290 | 290 | let v185 = f2(f53(v175)) | |
291 | 291 | ((([StringEntry(f119(v164, v175, v169, toBase58String(i.transactionId)), dataOperation("PENDING", v165, 0, 0, height, lastBlock.timestamp, 0, 0, (v185 + 1)))] :+ TotalLockedStringEntry("INCREMENT", f36(v175), v182._1)) :+ TotalLockedStringEntry("INCREMENT", f38(v175, v169), v182._2)) :+ f136(v176, v183, v184)) | |
292 | 292 | } | |
293 | 293 | } | |
294 | 294 | } | |
295 | 295 | } | |
296 | 296 | ||
297 | 297 | ||
298 | 298 | func f186 (v187,v188,v189,v190) = { | |
299 | 299 | let v191 = addressFromStringValue(v189) | |
300 | 300 | let v192 = f132(v188) | |
301 | 301 | let v193 = fromBase58String(v192[v65]) | |
302 | 302 | let v194 = v192[v66] | |
303 | 303 | let v195 = parseIntValue(v192[v68]) | |
304 | 304 | let v196 = fromBase58String(v188) | |
305 | 305 | let v197 = f119(v187, v194, v189, v190) | |
306 | 306 | let v198 = split(f0(v197), SEP) | |
307 | 307 | let v199 = v198[v123] | |
308 | 308 | let v200 = parseIntValue(v198[v124]) | |
309 | 309 | let v201 = parseIntValue(v198[v131]) | |
310 | 310 | let v202 = f2(f53(v194)) | |
311 | 311 | let v203 = f2(f30(v194, v201)) | |
312 | 312 | if ((v199 != "PENDING")) | |
313 | 313 | then f3("Status is not PENDING", v188, v189, v190, v187) | |
314 | 314 | else if ((v201 > v202)) | |
315 | 315 | then f3(((("OperLock[" + toString(v201)) + "] > ") + toString(v202)), v188, v189, v190, v187) | |
316 | 316 | else { | |
317 | 317 | let v204 = f94("execute", v187, v194, v203, v195, v200, v196, v193) | |
318 | 318 | let v205 = v204._3 | |
319 | 319 | let v206 = if ((v204._4 == v196)) | |
320 | 320 | then [ScriptTransfer(v191, v205, v196)] | |
321 | 321 | else [ScriptTransfer(v191, v205, v193)] | |
322 | 322 | (((v206 :+ StringEntry(v197, dataOperationExecutionUpdate(v198, "FINISHED", v203, v205))) :+ TotalLockedStringEntry("DECREMENT", f36(v194), v204._1)) :+ TotalLockedStringEntry("DECREMENT", f38(v194, v189), v204._2)) | |
323 | 323 | } | |
324 | 324 | } | |
325 | 325 | ||
326 | 326 | ||
327 | - | func privateCurrentSysParamsREST ( | |
328 | - | let | |
329 | - | let | |
330 | - | let | |
331 | - | let | |
332 | - | let | |
333 | - | let | |
334 | - | let | |
335 | - | let | |
336 | - | let | |
337 | - | let | |
338 | - | let | |
339 | - | let | |
340 | - | $Tuple13(IntegerEntry("price", | |
327 | + | func privateCurrentSysParamsREST (baseAssetStr) = { | |
328 | + | let v207 = fromBase58String(baseAssetStr) | |
329 | + | let v208 = f132(baseAssetStr) | |
330 | + | let v209 = v208[v65] | |
331 | + | let v210 = fromBase58String(v209) | |
332 | + | let v211 = parseIntValue(v208[v67]) | |
333 | + | let v212 = parseIntValue(v208[v68]) | |
334 | + | let v213 = v208[v66] | |
335 | + | let v214 = f28(v213) | |
336 | + | let v215 = valueOrElse(getInteger(this, v214), 0) | |
337 | + | let v216 = f26(v213) | |
338 | + | let v217 = valueOrElse(getInteger(this, v216), 0) | |
339 | + | let v218 = f158(v213, v207, v210, v212) | |
340 | + | $Tuple13(IntegerEntry("price", v217), IntegerEntry("decimalsMultPrice", v212), IntegerEntry("baseAssetBalance", v218._2), IntegerEntry("-1", v218._3), IntegerEntry("baseAssetBalanceWCO", v218._4), IntegerEntry("shareEmission", v218._5), IntegerEntry("currIterTotalInBaseAmount", v218._6), IntegerEntry("currIterTotalInShareAmount", v218._7), IntegerEntry("totalLockedOutBaseAmount", v218._8), IntegerEntry("totalLockedOutShareAmount", v218._9), IntegerEntry("decimalsMultBothAssets", v211), IntegerEntry("priceATH", v215), IntegerEntry("priceRecalculated", v218._1)) | |
341 | 341 | } | |
342 | 342 | ||
343 | 343 | ||
344 | 344 | @Callable(i) | |
345 | 345 | func adminRegisterAsset (baseAssetStr,shareAssetName,shareAssetDescr,getDelayinBlocks,shutdownManagerAddress,startPrice,topupIntervalInBlocks,topupMaxNegativePart,topupManagerAddress,submitLimitsBaseMax,submitLimitsBaseReset,submitLimitsShareMax,submitLimitsShareReset,adminAddress) = { | |
346 | - | let | |
347 | - | let | |
348 | - | let | |
349 | - | let | |
350 | - | let | |
351 | - | let | |
346 | + | let v219 = fromBase58String(baseAssetStr) | |
347 | + | let v220 = value(assetInfo(v219)).decimals | |
348 | + | let v221 = pow(10, 0, v220, 0, 0, DOWN) | |
349 | + | let v222 = ((100 * 1000) * 1000) | |
350 | + | let v223 = fraction(topupMaxNegativePart, 100, v221) | |
351 | + | let v224 = assetBalance(this, v219) | |
352 | 352 | if ((i.caller != this)) | |
353 | 353 | then throw("permissions denied") | |
354 | - | else if (( | |
354 | + | else if ((v224 == 0)) | |
355 | 355 | then throw(((toString(this) + " must have any initial balance of ") + baseAssetStr)) | |
356 | 356 | else if (isDefined(getString(this, f23(baseAssetStr)))) | |
357 | 357 | then throw((baseAssetStr + " has been already registered")) | |
358 | 358 | else if ((toString(addressFromStringValue(shutdownManagerAddress)) != shutdownManagerAddress)) | |
359 | 359 | then throw("invalid shutdownManagerAddress") | |
360 | 360 | else if ((toString(addressFromStringValue(topupManagerAddress)) != topupManagerAddress)) | |
361 | 361 | then throw("invalid topupManagerAddress") | |
362 | 362 | else if ((0 > getDelayinBlocks)) | |
363 | 363 | then throw(("invalid getDelayinBlocks=" + toString(getDelayinBlocks))) | |
364 | - | else if (if ((0 >= | |
364 | + | else if (if ((0 >= v223)) | |
365 | 365 | then true | |
366 | - | else ( | |
366 | + | else (v223 >= 99)) | |
367 | 367 | then throw("invalid topupMaxNegativePart parameter") | |
368 | 368 | else { | |
369 | - | let | |
370 | - | let | |
371 | - | let | |
372 | - | let | |
373 | - | let | |
374 | - | let | |
375 | - | [StringEntry(f23(baseAssetStr), dataAssetCfg( | |
369 | + | let v225 = f19(v224, startPrice, v222) | |
370 | + | let v226 = Issue(shareAssetName, shareAssetDescr, v225, v220, true) | |
371 | + | let v227 = calculateAssetId(v226) | |
372 | + | let v228 = toBase58String(v227) | |
373 | + | let v229 = valueOrElse(getInteger(this, f25()), 0) | |
374 | + | let v230 = toString(v229) | |
375 | + | [StringEntry(f23(baseAssetStr), dataAssetCfg(v228, v230, v221, v222, getDelayinBlocks, topupIntervalInBlocks, topupMaxNegativePart, topupManagerAddress, submitLimitsBaseMax, submitLimitsBaseReset, submitLimitsShareMax, submitLimitsShareReset, adminAddress)), StringEntry(f41(v229), baseAssetStr), StringEntry(f43(baseAssetStr), v230), StringEntry(f45(v228), baseAssetStr), StringEntry(f47(baseAssetStr), v228), BooleanEntry(f49(v230), false), StringEntry(f51(v230), shutdownManagerAddress), IntegerEntry(f25(), (v229 + 1)), IntegerEntry(f26(v230), startPrice), IntegerEntry(f33(v230, height, lastBlock.timestamp), startPrice), IntegerEntry(f53(v230), 0), f136(f63(v230), submitLimitsBaseMax, submitLimitsShareMax), v226, ScriptTransfer(addressFromStringValue(topupManagerAddress), v225, v227)] | |
376 | 376 | } | |
377 | 377 | } | |
378 | 378 | ||
379 | 379 | ||
380 | 380 | ||
381 | 381 | @Callable(i) | |
382 | - | func adminUpdateCfg ( | |
383 | - | let | |
384 | - | let | |
385 | - | if ((toString(i.caller) != | |
382 | + | func adminUpdateCfg (baseAssetStr,updateCfgParamIdx,newCfgParamVal) = { | |
383 | + | let v231 = f132(baseAssetStr) | |
384 | + | let v232 = v231[v77] | |
385 | + | if ((toString(i.caller) != v232)) | |
386 | 386 | then throw("permissioned denied") | |
387 | 387 | else { | |
388 | - | func UpdateOrKeep (idx) = if ((idx == | |
389 | - | then | |
390 | - | else | |
388 | + | func UpdateOrKeep (idx) = if ((idx == updateCfgParamIdx)) | |
389 | + | then newCfgParamVal | |
390 | + | else v231[idx] | |
391 | 391 | ||
392 | - | let | |
393 | - | [StringEntry(f23( | |
392 | + | let v233 = dataAssetCfgAllStrings(UpdateOrKeep(v65), UpdateOrKeep(v66), UpdateOrKeep(v67), UpdateOrKeep(v68), UpdateOrKeep(v69), UpdateOrKeep(v70), UpdateOrKeep(v71), UpdateOrKeep(v72), UpdateOrKeep(v73), UpdateOrKeep(v74), UpdateOrKeep(v75), UpdateOrKeep(v76), UpdateOrKeep(v77)) | |
393 | + | [StringEntry(f23(baseAssetStr), v233)] | |
394 | 394 | } | |
395 | 395 | } | |
396 | 396 | ||
397 | 397 | ||
398 | 398 | ||
399 | 399 | @Callable(i) | |
400 | - | func shutdownSubmits ( | |
401 | - | let | |
402 | - | let | |
403 | - | let | |
404 | - | if ((1 > size( | |
405 | - | then throw("invalid | |
406 | - | else if ((toString(i.caller) != | |
400 | + | func shutdownSubmits (v229) = { | |
401 | + | let v234 = toString(v229) | |
402 | + | let v235 = f0(f41(v229)) | |
403 | + | let v236 = f0(f51(v234)) | |
404 | + | if ((1 > size(v235))) | |
405 | + | then throw("invalid v229") | |
406 | + | else if ((toString(i.caller) != v236)) | |
407 | 407 | then throw("access denied") | |
408 | - | else [BooleanEntry(f49(toString( | |
408 | + | else [BooleanEntry(f49(toString(v229)), true)] | |
409 | 409 | } | |
410 | 410 | ||
411 | 411 | ||
412 | 412 | ||
413 | 413 | @Callable(i) | |
414 | 414 | func submitPut () = { | |
415 | 415 | let pmt = value(i.payments[0]) | |
416 | - | let | |
417 | - | let | |
418 | - | let | |
419 | - | f163("P", i, | |
416 | + | let v237 = pmt.amount | |
417 | + | let v238 = value(pmt.assetId) | |
418 | + | let v239 = toBase58String(v238) | |
419 | + | f163("P", i, v237, v238, v239) | |
420 | 420 | } | |
421 | 421 | ||
422 | 422 | ||
423 | 423 | ||
424 | 424 | @Callable(i) | |
425 | 425 | func submitGet () = { | |
426 | 426 | let pmt = value(i.payments[0]) | |
427 | - | let | |
428 | - | let | |
429 | - | let | |
430 | - | let | |
431 | - | f163("G", i, | |
427 | + | let v240 = pmt.amount | |
428 | + | let v241 = value(pmt.assetId) | |
429 | + | let v228 = toBase58String(v241) | |
430 | + | let v242 = f0(f45(v228)) | |
431 | + | f163("G", i, v240, v241, v242) | |
432 | 432 | } | |
433 | 433 | ||
434 | 434 | ||
435 | 435 | ||
436 | 436 | @Callable(i) | |
437 | - | func executePut ( | |
437 | + | func executePut (baseAssetStr,userAddressStr,submitTxIdStr) = f186("P", baseAssetStr, userAddressStr, submitTxIdStr) | |
438 | 438 | ||
439 | 439 | ||
440 | 440 | ||
441 | 441 | @Callable(i) | |
442 | - | func executeGet ( | |
442 | + | func executeGet (baseAssetStr,userAddressStr,submitTxIdStr) = f186("G", baseAssetStr, userAddressStr, submitTxIdStr) | |
443 | 443 | ||
444 | 444 | ||
445 | 445 | ||
446 | 446 | @Callable(i) | |
447 | - | func operationsMutex ( | |
448 | - | let | |
449 | - | let | |
450 | - | let | |
451 | - | if ((toString(i.caller) != | |
452 | - | then f13( | |
453 | - | else [f139( | |
447 | + | func operationsMutex (baseAssetStr) = { | |
448 | + | let v243 = f132(baseAssetStr) | |
449 | + | let v244 = v243[v72] | |
450 | + | let v230 = v243[v66] | |
451 | + | if ((toString(i.caller) != v244)) | |
452 | + | then f13(v244) | |
453 | + | else [f139(v230, height)] | |
454 | 454 | } | |
455 | 455 | ||
456 | 456 | ||
457 | 457 | ||
458 | 458 | @Callable(i) | |
459 | - | func topUpBalance ( | |
460 | - | let | |
461 | - | let | |
462 | - | let | |
463 | - | let | |
464 | - | let | |
465 | - | let | |
466 | - | let | |
467 | - | let | |
468 | - | let | |
469 | - | let | |
470 | - | let | |
471 | - | let | |
472 | - | let | |
473 | - | let | |
474 | - | let | |
459 | + | func topUpBalance (baseAssetStr,income) = { | |
460 | + | let v219 = fromBase58String(baseAssetStr) | |
461 | + | let v245 = f132(baseAssetStr) | |
462 | + | let v227 = fromBase58String(v245[v65]) | |
463 | + | let v246 = parseIntValue(v245[v68]) | |
464 | + | let v247 = parseIntValue(v245[v67]) | |
465 | + | let v248 = parseIntValue(v245[v70]) | |
466 | + | let v249 = parseIntValue(v245[v71]) | |
467 | + | let v230 = v245[v66] | |
468 | + | let v250 = v245[v72] | |
469 | + | let v251 = parseIntValue(v245[v73]) | |
470 | + | let v252 = parseIntValue(v245[v75]) | |
471 | + | let v253 = f53(v230) | |
472 | + | let v254 = f2(v253) | |
473 | + | let v255 = (v254 + 1) | |
474 | + | let v256 = if ((income > 0)) | |
475 | 475 | then { | |
476 | 476 | let pmt = value(i.payments[0]) | |
477 | - | let | |
478 | - | if (( | |
479 | - | then throw("attached payment's asset id is NOT matched passed | |
477 | + | let v257 = value(pmt.assetId) | |
478 | + | if ((v219 != v257)) | |
479 | + | then throw("attached payment's asset id is NOT matched passed baseAssetStr") | |
480 | 480 | else if ((size(i.payments) > 1)) | |
481 | 481 | then throw("only one payment can be attached") | |
482 | - | else if ((pmt.amount != | |
483 | - | then throw("attached payment.amount is NOT matched passed | |
482 | + | else if ((pmt.amount != income)) | |
483 | + | then throw("attached payment.amount is NOT matched passed income argument") | |
484 | 484 | else true | |
485 | 485 | } | |
486 | - | else if ((0 > | |
486 | + | else if ((0 > income)) | |
487 | 487 | then { | |
488 | - | let | |
489 | - | let | |
490 | - | if ((-( | |
491 | - | then throw(("topup negative | |
488 | + | let v258 = assetBalance(this, v219) | |
489 | + | let v259 = fraction(v249, v258, v247) | |
490 | + | if ((-(income) > v259)) | |
491 | + | then throw(("topup negative income couldn't be greater than " + toString(v259))) | |
492 | 492 | else true | |
493 | 493 | } | |
494 | - | else throw("zero | |
495 | - | let | |
496 | - | let | |
497 | - | if ((toString(i.caller) != | |
498 | - | then f13( | |
499 | - | else if (!( | |
494 | + | else throw("zero income is not allowed") | |
495 | + | let v260 = f55(v230, toString(i.caller)) | |
496 | + | let v261 = valueOrElse(getInteger(this, v260), 0) | |
497 | + | if ((toString(i.caller) != v250)) | |
498 | + | then f13(v250) | |
499 | + | else if (!(v256)) | |
500 | 500 | then throw("validation failed") | |
501 | - | else if (( | |
502 | - | then throw((("1 topup per " + toString( | |
501 | + | else if ((v248 > (height - v261))) | |
502 | + | then throw((("1 topup per " + toString(v248)) + " blocks from the same address is allowed")) | |
503 | 503 | else { | |
504 | - | let | |
505 | - | let | |
506 | - | let | |
507 | - | let | |
508 | - | let | |
509 | - | (((((([IntegerEntry(f26( | |
510 | - | then | |
511 | - | else | |
512 | - | then [ScriptTransfer(i.caller, -( | |
504 | + | let v262 = f142(v230, v219, income, v227, v246)._1 | |
505 | + | let v263 = f94("topup", "", v230, v262, v246, 0, v219, v227) | |
506 | + | let v264 = v263._1 | |
507 | + | let v265 = f28(v230) | |
508 | + | let v266 = valueOrElse(getInteger(this, v265), 0) | |
509 | + | (((((([IntegerEntry(f26(v230), v262), IntegerEntry(f33(v230, height, lastBlock.timestamp), v262), IntegerEntry(f30(v230, v255), v262), IntegerEntry(v253, v255), IntegerEntry(v265, if ((v262 > v266)) | |
510 | + | then v262 | |
511 | + | else v266), IntegerEntry(v260, height)] :+ TotalLockedStringEntry("DECREMENT", f36(v230), v264)) :+ f139(v230, 0)) :+ f136(f63(v230), v251, v252)) :+ Burn(v227, v264[v78])) :+ Reissue(v227, -(v264[v81]), true)) ++ (if ((0 > income)) | |
512 | + | then [ScriptTransfer(i.caller, -(income), v219)] | |
513 | 513 | else nil)) | |
514 | 514 | } | |
515 | 515 | } | |
516 | 516 | ||
517 | 517 | ||
518 | 518 | ||
519 | 519 | @Callable(i) | |
520 | - | func currentSysParamsREST ( | |
521 | - | let | |
522 | - | let | |
523 | - | let | |
524 | - | let | |
525 | - | let | |
526 | - | let | |
527 | - | let | |
528 | - | let | |
529 | - | let | |
530 | - | let | |
531 | - | let | |
532 | - | let | |
533 | - | let | |
534 | - | let | |
535 | - | let | |
536 | - | throw( | |
520 | + | func currentSysParamsREST (baseAssetStr) = { | |
521 | + | let v267 = privateCurrentSysParamsREST(baseAssetStr) | |
522 | + | let v268 = v267._1.value | |
523 | + | let v222 = v267._2.value | |
524 | + | let v224 = v267._3.value | |
525 | + | let v269 = v267._4.value | |
526 | + | let v270 = v267._5.value | |
527 | + | let v271 = v267._6.value | |
528 | + | let v272 = v267._7.value | |
529 | + | let v273 = v267._8.value | |
530 | + | let v274 = v267._9.value | |
531 | + | let v275 = v267._10.value | |
532 | + | let v221 = v267._11.value | |
533 | + | let v276 = v267._12.value | |
534 | + | let v277 = v267._13.value | |
535 | + | let v278 = makeString(["startCurrentSysParamsREST", toString(v268), toString(v222), toString(v224), toString(v269), toString(v270), toString(v271), toString(v272), toString(v273), toString(v274), toString(v275), toString(v221), toString(v276), toString(v277), "endCurrentSysParamsREST"], SEP) | |
536 | + | throw(v278) | |
537 | 537 | } | |
538 | 538 | ||
539 | 539 |
github/deemru/w8io/026f985 283.46 ms ◑