tx · F6XVGrwNfKoawn776NeSWJoTD3C1VpuxQxipH3TbBp3F 3NC9wWawxuFG6a3sZdfckGwoMeVhLFjZFwH: -0.01400000 Waves 2021.03.25 10:48 [1452996] smart account 3NC9wWawxuFG6a3sZdfckGwoMeVhLFjZFwH > SELF 0.00000000 Waves
{ "type": 13, "id": "F6XVGrwNfKoawn776NeSWJoTD3C1VpuxQxipH3TbBp3F", "fee": 1400000, "feeAssetId": null, "timestamp": 1616658624666, "version": 1, "sender": "3NC9wWawxuFG6a3sZdfckGwoMeVhLFjZFwH", "senderPublicKey": "HoEvP2nFKMAsffQ9PUyAm6auWisyHgusY9HxDeMASrzZ", "proofs": [ "2kyGAfj9tyhgebmJSsXLfhPQkbiKs2cK85eJn2MP1yw71CFtbsAseTTiKkz9BNZkrj1rvCNDdxH8aKLXUVf9KBzk" ], "script": "base64:AAIEAAAAAAAAADUIAhIPCg0ICAgBCAEBAQgBAQEBEgMKAQESABIAEgUKAwgICBIFCgMICAgSBAoCCAESAwoBCAAAAEUAAAAAA1NFUAIAAAACX18BAAAAD2dldFN0cmluZ09yRmFpbAAAAAEAAAADa2V5CQEAAAATdmFsdWVPckVycm9yTWVzc2FnZQAAAAIJAAQdAAAAAgUAAAAEdGhpcwUAAAADa2V5CQABLAAAAAICAAAAFU5vIGRhdGEgZm9yIHRoaXMua2V5PQUAAAADa2V5AQAAABBnZXRCb29sZWFuT3JGYWlsAAAAAQAAAANrZXkJAQAAABN2YWx1ZU9yRXJyb3JNZXNzYWdlAAAAAgkABBsAAAACBQAAAAR0aGlzBQAAAANrZXkJAAEsAAAAAgIAAAAVTm8gZGF0YSBmb3IgdGhpcy5rZXk9BQAAAANrZXkBAAAADGdldEludE9yRmFpbAAAAAEAAAADa2V5CQEAAAATdmFsdWVPckVycm9yTWVzc2FnZQAAAAIJAAQaAAAAAgUAAAAEdGhpcwUAAAADa2V5CQABLAAAAAICAAAAFU5vIGRhdGEgZm9yIHRoaXMua2V5PQUAAAADa2V5AQAAAA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XN5c1N0YXRlVHVwbGUAAAACXzQAAAAFdmFsdWUEAAAAH2Jhc2VBc3NldEJhbGFuY2VDb25zaWRlcmluZ0xvY2sICAUAAAANc3lzU3RhdGVUdXBsZQAAAAJfNQAAAAV2YWx1ZQQAAAANc2hhcmVFbWlzc2lvbggIBQAAAA1zeXNTdGF0ZVR1cGxlAAAAAl82AAAABXZhbHVlBAAAAAhyZXN0RGF0YQkABLkAAAACCQAETAAAAAICAAAAGXN0YXJ0Q3VycmVudFN5c1BhcmFtc1JFU1QJAARMAAAAAgkAAaQAAAABBQAAAAVwcmljZQkABEwAAAACCQABpAAAAAEFAAAAEWRlY2ltYWxzTXVsdFByaWNlCQAETAAAAAIJAAGkAAAAAQUAAAAQYmFzZUFzc2V0QmFsYW5jZQkABEwAAAACCQABpAAAAAEFAAAAFXRvdGFsTG9ja2VkQmFzZUFtb3VudAkABEwAAAACCQABpAAAAAEFAAAAH2Jhc2VBc3NldEJhbGFuY2VDb25zaWRlcmluZ0xvY2sJAARMAAAAAgkAAaQAAAABBQAAAA1zaGFyZUVtaXNzaW9uCQAETAAAAAICAAAAF2VuZEN1cnJlbnRTeXNQYXJhbXNSRVNUBQAAAANuaWwFAAAAA1NFUAkAAAIAAAABBQAAAAhyZXN0RGF0YQAAAACEbu6d", "chainId": 84, "height": 1452996, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: AtmcApaBYr5XgwQW1KJ8fpAq4uAU7AWqLAWBaV8f4qns Next: DtnPPqZXor71n3iJtMQAB13ee419iGiCDx5qvcKjrPbD Diff:
Old | New | Differences | |
---|---|---|---|
230 | 230 | if ((0 > bH)) | |
231 | 231 | then throw(((("baseAssetBalanceCALC < 0: baseAssetBalance=" + toString(bG)) + " baseAssetBalanceCALC=") + toString(bH))) | |
232 | 232 | else { | |
233 | + | let bL = e(y(C)) | |
233 | 234 | let s = if ((bJ == 0)) | |
234 | - | then | |
235 | + | then bL | |
235 | 236 | else fraction(bH, aj, bK) | |
236 | 237 | $Tuple5(s, bG, bF, bH, bJ) | |
237 | 238 | } | |
238 | 239 | } | |
239 | 240 | ||
240 | 241 | ||
241 | - | func | |
242 | + | func bM (C,aH,aI,aj) = bD(C, aH, 0, aI, aj) | |
242 | 243 | ||
243 | 244 | ||
244 | - | func | |
245 | - | let | |
246 | - | let i = toString( | |
245 | + | func bN (k,bO,aG,bP,h) = { | |
246 | + | let bQ = toBase58String(bP) | |
247 | + | let i = toString(bO.caller) | |
247 | 248 | let aH = fromBase58String(h) | |
248 | - | let | |
249 | - | let N = | |
249 | + | let bR = bx(h) | |
250 | + | let N = bR[V] | |
250 | 251 | let aI = fromBase58String(N) | |
251 | - | let ai = parseIntValue( | |
252 | - | let C = | |
253 | - | let | |
254 | - | let | |
255 | - | let | |
256 | - | let | |
257 | - | let | |
258 | - | if ( | |
252 | + | let ai = parseIntValue(bR[X]) | |
253 | + | let C = bR[W] | |
254 | + | let bS = U(C) | |
255 | + | let bT = split(b(bS), a) | |
256 | + | let bU = parseIntValue(bT[by]) | |
257 | + | let bV = parseIntValue(bT[bz]) | |
258 | + | let bW = d(P(C)) | |
259 | + | if (bW) | |
259 | 260 | then throw("put operation is blocked") | |
260 | 261 | else { | |
261 | - | let | |
262 | - | let | |
263 | - | let | |
264 | - | if (if ((0 > | |
262 | + | let bX = aE("submit", k, C, 0, 0, aG, aH, aI) | |
263 | + | let bY = (bU - bX._2[au]) | |
264 | + | let bZ = (bV - bX._2[as]) | |
265 | + | if (if ((0 > bY)) | |
265 | 266 | then true | |
266 | - | else (0 > | |
267 | - | then l( | |
267 | + | else (0 > bZ)) | |
268 | + | then l(bU, bV, bY, bZ) | |
268 | 269 | else { | |
269 | - | let | |
270 | - | ((([StringEntry(aW(k, C, i, toBase58String( | |
270 | + | let ca = e(R(C)) | |
271 | + | ((([StringEntry(aW(k, C, i, toBase58String(bO.transactionId)), br("PENDING", aG, 0, 0, height, lastBlock.timestamp, 0, 0, (ca + 1)))] :+ aP("INCREMENT", H(C), bX._1)) :+ aP("INCREMENT", I(C, i), bX._2)) :+ bA(bS, bY, bZ)) | |
271 | 272 | } | |
272 | 273 | } | |
273 | 274 | } | |
274 | 275 | ||
275 | 276 | ||
276 | - | func | |
277 | + | func cb (k,h,i,j) = { | |
277 | 278 | let aX = addressFromStringValue(i) | |
278 | - | let | |
279 | - | let aI = fromBase58String( | |
280 | - | let C = | |
281 | - | let aj = parseIntValue( | |
279 | + | let cc = bx(h) | |
280 | + | let aI = fromBase58String(cc[V]) | |
281 | + | let C = cc[W] | |
282 | + | let aj = parseIntValue(cc[Y]) | |
282 | 283 | let aH = fromBase58String(h) | |
283 | - | let | |
284 | - | let | |
285 | - | let bj = | |
286 | - | let aG = parseIntValue( | |
287 | - | let | |
288 | - | let | |
289 | - | let | |
284 | + | let cd = aW(k, C, i, j) | |
285 | + | let ce = split(b(cd), a) | |
286 | + | let bj = ce[aZ] | |
287 | + | let aG = parseIntValue(ce[ba]) | |
288 | + | let cf = parseIntValue(ce[bh]) | |
289 | + | let cg = e(R(C)) | |
290 | + | let ch = e(B(C, cg)) | |
290 | 291 | if ((bj != "PENDING")) | |
291 | 292 | then f("Status is not PENDING", h, i, j, k) | |
292 | - | else if (( | |
293 | - | then f(((("OperLock[" + toString( | |
293 | + | else if ((cf > cg)) | |
294 | + | then f(((("OperLock[" + toString(cf)) + "] > ") + toString(cg)), h, i, j, k) | |
294 | 295 | else { | |
295 | - | let | |
296 | - | let aM = | |
297 | - | let | |
296 | + | let bX = aE("execute", k, C, ch, aj, aG, aH, aI) | |
297 | + | let aM = bX._3 | |
298 | + | let ci = if ((bX._4 == aH)) | |
298 | 299 | then [ScriptTransfer(aX, aM, aH)] | |
299 | 300 | else [Reissue(aI, aM, true), ScriptTransfer(aX, aM, aI)] | |
300 | - | ((( | |
301 | + | (((ci :+ StringEntry(cd, bs(ce, "FINISHED", ch, aM))) :+ aP("DECREMENT", H(C), bX._1)) :+ aP("DECREMENT", I(C, i), bX._2)) | |
301 | 302 | } | |
302 | 303 | } | |
303 | 304 | ||
304 | 305 | ||
305 | - | func | |
306 | + | func cj (h) = { | |
306 | 307 | let aH = fromBase58String(h) | |
307 | - | let | |
308 | - | let N = | |
308 | + | let bR = bx(h) | |
309 | + | let N = bR[V] | |
309 | 310 | let aI = fromBase58String(N) | |
310 | - | let ai = parseIntValue( | |
311 | - | let aj = parseIntValue( | |
312 | - | let C = | |
313 | - | let | |
314 | - | $Tuple6(IntegerEntry("price", | |
311 | + | let ai = parseIntValue(bR[X]) | |
312 | + | let aj = parseIntValue(bR[Y]) | |
313 | + | let C = bR[W] | |
314 | + | let ck = bM(C, aH, aI, aj) | |
315 | + | $Tuple6(IntegerEntry("price", ck._1), IntegerEntry("decimalsMultPrice", aj), IntegerEntry("baseAssetBalance", ck._2), IntegerEntry("totalLockedBaseAmount", ck._3), IntegerEntry("baseAssetBalanceConsideringLock", ck._4), IntegerEntry("shareEmission", ck._5)) | |
315 | 316 | } | |
316 | 317 | ||
317 | 318 | ||
318 | - | @Callable( | |
319 | - | func adminRegisterAsset (h | |
319 | + | @Callable(bO) | |
320 | + | func adminRegisterAsset (h,cl,cm,cn,co,cp,al,am,an,ao,ap,aq,ar) = { | |
320 | 321 | let aH = fromBase58String(h) | |
321 | - | let | |
322 | - | let ai = pow(10, 0, | |
322 | + | let cq = value(assetInfo(aH)).decimals | |
323 | + | let ai = pow(10, 0, cq, 0, 0, DOWN) | |
323 | 324 | let aj = ((100 * 1000) * 1000) | |
324 | - | let | |
325 | + | let cr = fraction(am, 100, ai) | |
325 | 326 | let bG = assetBalance(this, aH) | |
326 | - | if (( | |
327 | + | if ((bO.caller != this)) | |
327 | 328 | then throw("permissions denied") | |
328 | 329 | else if ((bG == 0)) | |
329 | 330 | then throw(((toString(this) + " must have any initial balance of ") + h)) | |
330 | 331 | else if (isDefined(getString(this, w(h)))) | |
331 | 332 | then throw((h + " has been already registered")) | |
332 | - | else if ((toString(addressFromStringValue( | |
333 | + | else if ((toString(addressFromStringValue(co)) != co)) | |
333 | 334 | then throw("invalid shutdownManagerAddress") | |
334 | 335 | else if ((toString(addressFromStringValue(an)) != an)) | |
335 | 336 | then throw("invalid topupManagerAddress") | |
336 | - | else if ((0 > | |
337 | - | then throw(("invalid getDelayinBlocks=" + toString( | |
338 | - | else if (if ((0 >= | |
337 | + | else if ((0 > cn)) | |
338 | + | then throw(("invalid getDelayinBlocks=" + toString(cn))) | |
339 | + | else if (if ((0 >= cr)) | |
339 | 340 | then true | |
340 | - | else ( | |
341 | + | else (cr >= 99)) | |
341 | 342 | then throw("invalid topupMaxNegativePart parameter") | |
342 | 343 | else { | |
343 | - | let | |
344 | - | let | |
345 | - | let aI = calculateAssetId( | |
344 | + | let cs = u(bG, cp, aj) | |
345 | + | let ct = Issue(cl, cm, cs, cq, true) | |
346 | + | let aI = calculateAssetId(ct) | |
346 | 347 | let N = toBase58String(aI) | |
347 | - | let | |
348 | - | let C = toString( | |
349 | - | [StringEntry(w(h), ah(N, C, ai, aj, | |
348 | + | let cu = valueOrElse(getInteger(this, x()), 0) | |
349 | + | let C = toString(cu) | |
350 | + | [StringEntry(w(h), ah(N, C, ai, aj, cn, al, am, an, ao, ap, aq, ar)), StringEntry(J(cu), h), StringEntry(L(h), C), StringEntry(M(N), h), StringEntry(O(h), N), BooleanEntry(P(C), false), StringEntry(Q(C), co), IntegerEntry(x(), (cu + 1)), IntegerEntry(y(C), cp), IntegerEntry(E(C, height, lastBlock.timestamp), cp), IntegerEntry(R(C), 0), bA(U(C), ao, aq), ct] | |
350 | 351 | } | |
351 | 352 | } | |
352 | 353 | ||
353 | 354 | ||
354 | 355 | ||
355 | - | @Callable( | |
356 | - | func shutdownPut ( | |
357 | - | let | |
358 | - | let | |
359 | - | let | |
360 | - | if ((1 > size( | |
356 | + | @Callable(bO) | |
357 | + | func shutdownPut (cu) = { | |
358 | + | let cv = toString(cu) | |
359 | + | let cw = b(J(cu)) | |
360 | + | let co = b(Q(cv)) | |
361 | + | if ((1 > size(cw))) | |
361 | 362 | then throw("invalid internalBaseAssetId") | |
362 | - | else if ((toString( | |
363 | + | else if ((toString(bO.caller) != co)) | |
363 | 364 | then throw("access denied") | |
364 | - | else [BooleanEntry(P(toString( | |
365 | + | else [BooleanEntry(P(toString(cu)), true)] | |
365 | 366 | } | |
366 | 367 | ||
367 | 368 | ||
368 | 369 | ||
369 | - | @Callable( | |
370 | + | @Callable(bO) | |
370 | 371 | func submitPut () = { | |
371 | - | let | |
372 | - | let aG = | |
373 | - | let | |
374 | - | let h = toBase58String( | |
375 | - | | |
372 | + | let cx = value(bO.payments[0]) | |
373 | + | let aG = cx.amount | |
374 | + | let bP = value(cx.assetId) | |
375 | + | let h = toBase58String(bP) | |
376 | + | bN("P", bO, aG, bP, h) | |
376 | 377 | } | |
377 | 378 | ||
378 | 379 | ||
379 | 380 | ||
380 | - | @Callable( | |
381 | + | @Callable(bO) | |
381 | 382 | func submitGet () = { | |
382 | - | let | |
383 | - | let aG = | |
384 | - | let | |
385 | - | let N = toBase58String( | |
383 | + | let cx = value(bO.payments[0]) | |
384 | + | let aG = cx.amount | |
385 | + | let bP = value(cx.assetId) | |
386 | + | let N = toBase58String(bP) | |
386 | 387 | let h = b(M(N)) | |
387 | - | | |
388 | + | bN("G", bO, aG, bP, h) | |
388 | 389 | } | |
389 | 390 | ||
390 | 391 | ||
391 | 392 | ||
392 | - | @Callable( | |
393 | - | func executePut (h,i,j) = | |
393 | + | @Callable(bO) | |
394 | + | func executePut (h,i,j) = cb("P", h, i, j) | |
394 | 395 | ||
395 | 396 | ||
396 | 397 | ||
397 | - | @Callable( | |
398 | - | func executeGet (h,i,j) = | |
398 | + | @Callable(bO) | |
399 | + | func executeGet (h,i,j) = cb("G", h, i, j) | |
399 | 400 | ||
400 | 401 | ||
401 | 402 | ||
402 | - | @Callable( | |
403 | - | func topUpBalance (h, | |
403 | + | @Callable(bO) | |
404 | + | func topUpBalance (h,cy) = { | |
404 | 405 | let aH = fromBase58String(h) | |
405 | - | let cb = bx(h) | |
406 | - | let aI = fromBase58String(cb[V]) | |
407 | - | let t = parseIntValue(cb[Y]) | |
408 | - | let cy = parseIntValue(cb[X]) | |
409 | - | let al = parseIntValue(cb[aa]) | |
410 | - | let am = parseIntValue(cb[ab]) | |
411 | - | let C = cb[W] | |
412 | - | let cz = R(C) | |
413 | - | let cA = e(cz) | |
414 | - | let cB = (cA + 1) | |
415 | - | let cC = if ((cx > 0)) | |
406 | + | let cc = bx(h) | |
407 | + | let aI = fromBase58String(cc[V]) | |
408 | + | let t = parseIntValue(cc[Y]) | |
409 | + | let cz = parseIntValue(cc[X]) | |
410 | + | let al = parseIntValue(cc[aa]) | |
411 | + | let am = parseIntValue(cc[ab]) | |
412 | + | let C = cc[W] | |
413 | + | let cA = cc[ac] | |
414 | + | let cB = R(C) | |
415 | + | let cC = e(cB) | |
416 | + | let cD = (cC + 1) | |
417 | + | let cE = if ((cy > 0)) | |
416 | 418 | then { | |
417 | - | let | |
418 | - | let | |
419 | - | if ((aH != | |
419 | + | let cx = value(bO.payments[0]) | |
420 | + | let cF = value(cx.assetId) | |
421 | + | if ((aH != cF)) | |
420 | 422 | then throw("attached payment's asset id is NOT matched passed baseAssetStr") | |
421 | - | else if ((size( | |
423 | + | else if ((size(bO.payments) > 1)) | |
422 | 424 | then throw("only one payment can be attached") | |
423 | - | else if (( | |
425 | + | else if ((cx.amount != cy)) | |
424 | 426 | then throw("attached payment.amount is NOT matched passed amount argument") | |
425 | 427 | else true | |
426 | 428 | } | |
427 | - | else if ((0 > | |
429 | + | else if ((0 > cy)) | |
428 | 430 | then { | |
429 | - | let | |
430 | - | let | |
431 | - | if ((-( | |
432 | - | then throw(("Topup negative amount couldn't be greater than " + toString( | |
431 | + | let cG = assetBalance(this, aH) | |
432 | + | let cH = fraction(am, cG, cz) | |
433 | + | if ((-(cy) > cH)) | |
434 | + | then throw(("Topup negative amount couldn't be greater than " + toString(cH))) | |
433 | 435 | else true | |
434 | 436 | } | |
435 | 437 | else throw("zero amount is not allowed") | |
436 | - | let cG = S(C, toString(bN.caller)) | |
437 | - | let cH = valueOrElse(getInteger(this, cG), 0) | |
438 | - | if (!(cC)) | |
439 | - | then throw("validation failed") | |
440 | - | else if ((al > (height - cH))) | |
441 | - | then throw((("1 topup per " + toString(al)) + " blocks from the same address is allowed")) | |
442 | - | else { | |
443 | - | let s = bD(C, aH, cx, aI, t)._1 | |
444 | - | let bW = aE("topup", "", C, s, t, 0, aH, aI) | |
445 | - | let cI = bW._1 | |
446 | - | let cJ = A(C) | |
447 | - | let cK = valueOrElse(getInteger(this, cJ), 0) | |
448 | - | (([IntegerEntry(y(C), s), IntegerEntry(E(C, height, lastBlock.timestamp), s), IntegerEntry(B(C, cB), s), IntegerEntry(cz, cB), IntegerEntry(cJ, if ((s > cK)) | |
449 | - | then s | |
450 | - | else cK), IntegerEntry(cG, height)] :+ aP("DECREMENT", H(C), cI)) :+ Burn(aI, cI[as])) | |
451 | - | } | |
438 | + | let cI = S(C, toString(bO.caller)) | |
439 | + | let cJ = valueOrElse(getInteger(this, cI), 0) | |
440 | + | if ((toString(bO.caller) != cA)) | |
441 | + | then throw((("only topUpManager=" + cA) + " can send topUp transactions")) | |
442 | + | else if (!(cE)) | |
443 | + | then throw("validation failed") | |
444 | + | else if ((al > (height - cJ))) | |
445 | + | then throw((("1 topup per " + toString(al)) + " blocks from the same address is allowed")) | |
446 | + | else { | |
447 | + | let s = bD(C, aH, cy, aI, t)._1 | |
448 | + | let bX = aE("topup", "", C, s, t, 0, aH, aI) | |
449 | + | let cK = bX._1 | |
450 | + | let cL = A(C) | |
451 | + | let cM = valueOrElse(getInteger(this, cL), 0) | |
452 | + | ((([IntegerEntry(y(C), s), IntegerEntry(E(C, height, lastBlock.timestamp), s), IntegerEntry(B(C, cD), s), IntegerEntry(cB, cD), IntegerEntry(cL, if ((s > cM)) | |
453 | + | then s | |
454 | + | else cM), IntegerEntry(cI, height)] :+ aP("DECREMENT", H(C), cK)) :+ Burn(aI, cK[as])) ++ (if ((0 > cy)) | |
455 | + | then [ScriptTransfer(bO.caller, -(cy), aH)] | |
456 | + | else nil)) | |
457 | + | } | |
452 | 458 | } | |
453 | 459 | ||
454 | 460 | ||
455 | 461 | ||
456 | - | @Callable( | |
462 | + | @Callable(bO) | |
457 | 463 | func currentSysParamsREST (h) = { | |
458 | - | let | |
459 | - | let s = | |
460 | - | let aj = | |
461 | - | let bG = | |
462 | - | let | |
463 | - | let | |
464 | - | let bJ = | |
465 | - | let | |
466 | - | throw( | |
464 | + | let cN = cj(h) | |
465 | + | let s = cN._1.value | |
466 | + | let aj = cN._2.value | |
467 | + | let bG = cN._3.value | |
468 | + | let cO = cN._4.value | |
469 | + | let cP = cN._5.value | |
470 | + | let bJ = cN._6.value | |
471 | + | let cQ = makeString(["startCurrentSysParamsREST", toString(s), toString(aj), toString(bG), toString(cO), toString(cP), toString(bJ), "endCurrentSysParamsREST"], a) | |
472 | + | throw(cQ) | |
467 | 473 | } | |
468 | 474 | ||
469 | 475 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "__" | |
5 | 5 | ||
6 | 6 | func b (c) = valueOrErrorMessage(getString(this, c), ("No data for this.key=" + c)) | |
7 | 7 | ||
8 | 8 | ||
9 | 9 | func d (c) = valueOrErrorMessage(getBoolean(this, c), ("No data for this.key=" + c)) | |
10 | 10 | ||
11 | 11 | ||
12 | 12 | func e (c) = valueOrErrorMessage(getInteger(this, c), ("No data for this.key=" + c)) | |
13 | 13 | ||
14 | 14 | ||
15 | 15 | func f (g,h,i,j,k) = throw(((((((((g + ": baseAssetStr=") + h) + " userAddressStr=") + i) + " submitTxIdStr=") + j) + " operationType=") + k)) | |
16 | 16 | ||
17 | 17 | ||
18 | 18 | func l (m,n,o,p) = throw((((((((("submit operation limits have been reached: " + " remainingBase=") + toString(m)) + " remainingShare=") + toString(n)) + " newRemainingBase=") + toString(o)) + " newRemainingShare=") + toString(p))) | |
19 | 19 | ||
20 | 20 | ||
21 | 21 | func q (r,s,t) = fraction(r, s, t) | |
22 | 22 | ||
23 | 23 | ||
24 | 24 | func u (v,s,t) = fraction(v, t, s) | |
25 | 25 | ||
26 | 26 | ||
27 | 27 | func w (h) = ("%s%s%s__config__asset__" + h) | |
28 | 28 | ||
29 | 29 | ||
30 | 30 | func x () = "%s__nextInternalAssetId" | |
31 | 31 | ||
32 | 32 | ||
33 | 33 | func y (z) = ("%s%s%d__price__last__" + z) | |
34 | 34 | ||
35 | 35 | ||
36 | 36 | func A (z) = ("%s%s%d__price__ath__" + z) | |
37 | 37 | ||
38 | 38 | ||
39 | 39 | func B (C,D) = makeString(["%s%s%d%d__price__byTopUpIdx", C, toString(D)], a) | |
40 | 40 | ||
41 | 41 | ||
42 | 42 | func E (z,F,G) = makeString(["%s%s%d%d%d__price__history", z, toString(F), toString(G)], a) | |
43 | 43 | ||
44 | 44 | ||
45 | 45 | func H (z) = ("%s%s%d__total__locked__" + z) | |
46 | 46 | ||
47 | 47 | ||
48 | 48 | func I (C,i) = makeString(["%s%s%d%s__total__locked", C, i], a) | |
49 | 49 | ||
50 | 50 | ||
51 | 51 | func J (K) = ("%s%s%d__mappings__internal2baseAssetId__" + toString(K)) | |
52 | 52 | ||
53 | 53 | ||
54 | 54 | func L (h) = ("%s%s%s__mappings__baseAsset2internalId__" + h) | |
55 | 55 | ||
56 | 56 | ||
57 | 57 | func M (N) = ("%s%s%s__mappings__share2baseAssetId__" + N) | |
58 | 58 | ||
59 | 59 | ||
60 | 60 | func O (h) = ("%s%s%s__mappings__baseAsset2shareId__" + h) | |
61 | 61 | ||
62 | 62 | ||
63 | 63 | func P (C) = ("%s%s%d__shutdown__put__" + C) | |
64 | 64 | ||
65 | 65 | ||
66 | 66 | func Q (C) = ("%s%s%d__shutdown__manager__" + C) | |
67 | 67 | ||
68 | 68 | ||
69 | 69 | func R (C) = ("%s%s%d__topup__currentIdx__" + C) | |
70 | 70 | ||
71 | 71 | ||
72 | 72 | func S (z,T) = makeString(["%s%s%s%d%s__topup__last__height", z, T], a) | |
73 | 73 | ||
74 | 74 | ||
75 | 75 | func U (z) = ("%s%s%d__limits__remaining__" + z) | |
76 | 76 | ||
77 | 77 | ||
78 | 78 | let V = 1 | |
79 | 79 | ||
80 | 80 | let W = 2 | |
81 | 81 | ||
82 | 82 | let X = 3 | |
83 | 83 | ||
84 | 84 | let Y = 4 | |
85 | 85 | ||
86 | 86 | let Z = 5 | |
87 | 87 | ||
88 | 88 | let aa = 6 | |
89 | 89 | ||
90 | 90 | let ab = 7 | |
91 | 91 | ||
92 | 92 | let ac = 8 | |
93 | 93 | ||
94 | 94 | let ad = 9 | |
95 | 95 | ||
96 | 96 | let ae = 10 | |
97 | 97 | ||
98 | 98 | let af = 11 | |
99 | 99 | ||
100 | 100 | let ag = 12 | |
101 | 101 | ||
102 | 102 | func ah (N,C,ai,aj,ak,al,am,an,ao,ap,aq,ar) = makeString(["%s%d%d%d%d%d%d%s%d%d%d%d", N, C, toString(ai), toString(aj), toString(ak), toString(al), toString(am), an, toString(ao), toString(ap), toString(aq), toString(ar)], a) | |
103 | 103 | ||
104 | 104 | ||
105 | 105 | let as = 1 | |
106 | 106 | ||
107 | 107 | let at = 2 | |
108 | 108 | ||
109 | 109 | let au = 3 | |
110 | 110 | ||
111 | 111 | let av = 4 | |
112 | 112 | ||
113 | 113 | func aw (ax,ay,az,aA) = makeString(["%d%d%d%d", toString(ax), toString(ay), toString(az), toString(aA)], a) | |
114 | 114 | ||
115 | 115 | ||
116 | 116 | func aB (ax,ay,az,aA) = [-1, ax, ay, az, aA] | |
117 | 117 | ||
118 | 118 | ||
119 | 119 | func aC (c) = { | |
120 | 120 | let aD = split(valueOrElse(getString(this, c), aw(0, 0, 0, 0)), a) | |
121 | 121 | aB(parseIntValue(aD[as]), parseIntValue(aD[at]), parseIntValue(aD[au]), parseIntValue(aD[av])) | |
122 | 122 | } | |
123 | 123 | ||
124 | 124 | ||
125 | 125 | func aE (aF,k,C,s,t,aG,aH,aI) = { | |
126 | 126 | let aJ = (aF + k) | |
127 | 127 | if ((aJ == "submitP")) | |
128 | 128 | then { | |
129 | 129 | let aK = aB(0, 0, aG, 0) | |
130 | 130 | let aL = aK | |
131 | 131 | $Tuple4(aK, aL, 0, fromBase58String("")) | |
132 | 132 | } | |
133 | 133 | else if ((aJ == "submitG")) | |
134 | 134 | then { | |
135 | 135 | let aK = aB(aG, 0, 0, 0) | |
136 | 136 | let aL = aK | |
137 | 137 | $Tuple4(aK, aL, 0, fromBase58String("")) | |
138 | 138 | } | |
139 | 139 | else if ((aJ == "executeP")) | |
140 | 140 | then { | |
141 | 141 | let aM = u(aG, s, t) | |
142 | 142 | let aK = aB(0, 0, 0, aM) | |
143 | 143 | let aL = aB(0, 0, aG, 0) | |
144 | 144 | $Tuple4(aK, aL, aM, aI) | |
145 | 145 | } | |
146 | 146 | else if ((aJ == "executeG")) | |
147 | 147 | then { | |
148 | 148 | let aM = q(aG, s, t) | |
149 | 149 | let aK = aB(0, aM, 0, 0) | |
150 | 150 | let aL = aB(aG, 0, 0, 0) | |
151 | 151 | $Tuple4(aK, aL, aM, aH) | |
152 | 152 | } | |
153 | 153 | else if ((aJ == "topup")) | |
154 | 154 | then { | |
155 | 155 | let aD = aC(H(C)) | |
156 | 156 | let aN = aD[au] | |
157 | 157 | let aO = aD[as] | |
158 | 158 | let aK = aB(aO, (-1 * q(aO, s, t)), aN, (-1 * u(aN, s, t))) | |
159 | 159 | $Tuple4(aK, nil, 0, fromBase58String("")) | |
160 | 160 | } | |
161 | 161 | else throw(("Unsupported Type " + aJ)) | |
162 | 162 | } | |
163 | 163 | ||
164 | 164 | ||
165 | 165 | func aP (aQ,c,aR) = { | |
166 | 166 | func aS (aT,aU) = if ((aQ == "INCREMENT")) | |
167 | 167 | then (aT + aU) | |
168 | 168 | else if ((aQ == "DECREMENT")) | |
169 | 169 | then (aT - aU) | |
170 | 170 | else throw(("Unsupported action " + aQ)) | |
171 | 171 | ||
172 | 172 | let aV = aC(c) | |
173 | 173 | StringEntry(c, aw(aS(aV[as], aR[as]), aS(aV[at], aR[at]), aS(aV[au], aR[au]), aS(aV[av], aR[av]))) | |
174 | 174 | } | |
175 | 175 | ||
176 | 176 | ||
177 | 177 | func aW (k,C,aX,aY) = makeString(["%s%d%s%s", k, C, aX, aY], a) | |
178 | 178 | ||
179 | 179 | ||
180 | 180 | let aZ = 1 | |
181 | 181 | ||
182 | 182 | let ba = 2 | |
183 | 183 | ||
184 | 184 | let bb = 3 | |
185 | 185 | ||
186 | 186 | let bc = 4 | |
187 | 187 | ||
188 | 188 | let bd = 5 | |
189 | 189 | ||
190 | 190 | let be = 6 | |
191 | 191 | ||
192 | 192 | let bf = 7 | |
193 | 193 | ||
194 | 194 | let bg = 8 | |
195 | 195 | ||
196 | 196 | let bh = 9 | |
197 | 197 | ||
198 | 198 | func bi (bj,bk,s,bl,bm,bn,bo,bp,bq) = makeString(["%s%d%d%d%d%d%d%d%d", bj, bk, s, bl, bm, bn, bo, bp, bq], a) | |
199 | 199 | ||
200 | 200 | ||
201 | 201 | func br (bj,bk,s,bl,bm,bn,bo,bp,bq) = bi(bj, toString(bk), toString(s), toString(bl), toString(bm), toString(bn), toString(bo), toString(bp), toString(bq)) | |
202 | 202 | ||
203 | 203 | ||
204 | 204 | func bs (bt,bu,bv,bw) = bi(bu, bt[ba], toString(bv), toString(bw), bt[bd], bt[be], toString(height), toString(lastBlock.timestamp), bt[bh]) | |
205 | 205 | ||
206 | 206 | ||
207 | 207 | func bx (h) = { | |
208 | 208 | let c = w(h) | |
209 | 209 | split(b(c), a) | |
210 | 210 | } | |
211 | 211 | ||
212 | 212 | ||
213 | 213 | let by = 1 | |
214 | 214 | ||
215 | 215 | let bz = 2 | |
216 | 216 | ||
217 | 217 | func bA (c,bB,bC) = StringEntry(c, makeString(["%d%d", toString(bB), toString(bC)], a)) | |
218 | 218 | ||
219 | 219 | ||
220 | 220 | func bD (C,aH,bE,aI,aj) = { | |
221 | 221 | let aD = aC(H(C)) | |
222 | 222 | let bF = aD[at] | |
223 | 223 | let aN = aD[au] | |
224 | 224 | let bG = assetBalance(this, aH) | |
225 | 225 | let bH = (((bG + bE) - aN) - bF) | |
226 | 226 | let bI = aD[av] | |
227 | 227 | let aO = aD[as] | |
228 | 228 | let bJ = value(assetInfo(aI)).quantity | |
229 | 229 | let bK = (bJ + bI) | |
230 | 230 | if ((0 > bH)) | |
231 | 231 | then throw(((("baseAssetBalanceCALC < 0: baseAssetBalance=" + toString(bG)) + " baseAssetBalanceCALC=") + toString(bH))) | |
232 | 232 | else { | |
233 | + | let bL = e(y(C)) | |
233 | 234 | let s = if ((bJ == 0)) | |
234 | - | then | |
235 | + | then bL | |
235 | 236 | else fraction(bH, aj, bK) | |
236 | 237 | $Tuple5(s, bG, bF, bH, bJ) | |
237 | 238 | } | |
238 | 239 | } | |
239 | 240 | ||
240 | 241 | ||
241 | - | func | |
242 | + | func bM (C,aH,aI,aj) = bD(C, aH, 0, aI, aj) | |
242 | 243 | ||
243 | 244 | ||
244 | - | func | |
245 | - | let | |
246 | - | let i = toString( | |
245 | + | func bN (k,bO,aG,bP,h) = { | |
246 | + | let bQ = toBase58String(bP) | |
247 | + | let i = toString(bO.caller) | |
247 | 248 | let aH = fromBase58String(h) | |
248 | - | let | |
249 | - | let N = | |
249 | + | let bR = bx(h) | |
250 | + | let N = bR[V] | |
250 | 251 | let aI = fromBase58String(N) | |
251 | - | let ai = parseIntValue( | |
252 | - | let C = | |
253 | - | let | |
254 | - | let | |
255 | - | let | |
256 | - | let | |
257 | - | let | |
258 | - | if ( | |
252 | + | let ai = parseIntValue(bR[X]) | |
253 | + | let C = bR[W] | |
254 | + | let bS = U(C) | |
255 | + | let bT = split(b(bS), a) | |
256 | + | let bU = parseIntValue(bT[by]) | |
257 | + | let bV = parseIntValue(bT[bz]) | |
258 | + | let bW = d(P(C)) | |
259 | + | if (bW) | |
259 | 260 | then throw("put operation is blocked") | |
260 | 261 | else { | |
261 | - | let | |
262 | - | let | |
263 | - | let | |
264 | - | if (if ((0 > | |
262 | + | let bX = aE("submit", k, C, 0, 0, aG, aH, aI) | |
263 | + | let bY = (bU - bX._2[au]) | |
264 | + | let bZ = (bV - bX._2[as]) | |
265 | + | if (if ((0 > bY)) | |
265 | 266 | then true | |
266 | - | else (0 > | |
267 | - | then l( | |
267 | + | else (0 > bZ)) | |
268 | + | then l(bU, bV, bY, bZ) | |
268 | 269 | else { | |
269 | - | let | |
270 | - | ((([StringEntry(aW(k, C, i, toBase58String( | |
270 | + | let ca = e(R(C)) | |
271 | + | ((([StringEntry(aW(k, C, i, toBase58String(bO.transactionId)), br("PENDING", aG, 0, 0, height, lastBlock.timestamp, 0, 0, (ca + 1)))] :+ aP("INCREMENT", H(C), bX._1)) :+ aP("INCREMENT", I(C, i), bX._2)) :+ bA(bS, bY, bZ)) | |
271 | 272 | } | |
272 | 273 | } | |
273 | 274 | } | |
274 | 275 | ||
275 | 276 | ||
276 | - | func | |
277 | + | func cb (k,h,i,j) = { | |
277 | 278 | let aX = addressFromStringValue(i) | |
278 | - | let | |
279 | - | let aI = fromBase58String( | |
280 | - | let C = | |
281 | - | let aj = parseIntValue( | |
279 | + | let cc = bx(h) | |
280 | + | let aI = fromBase58String(cc[V]) | |
281 | + | let C = cc[W] | |
282 | + | let aj = parseIntValue(cc[Y]) | |
282 | 283 | let aH = fromBase58String(h) | |
283 | - | let | |
284 | - | let | |
285 | - | let bj = | |
286 | - | let aG = parseIntValue( | |
287 | - | let | |
288 | - | let | |
289 | - | let | |
284 | + | let cd = aW(k, C, i, j) | |
285 | + | let ce = split(b(cd), a) | |
286 | + | let bj = ce[aZ] | |
287 | + | let aG = parseIntValue(ce[ba]) | |
288 | + | let cf = parseIntValue(ce[bh]) | |
289 | + | let cg = e(R(C)) | |
290 | + | let ch = e(B(C, cg)) | |
290 | 291 | if ((bj != "PENDING")) | |
291 | 292 | then f("Status is not PENDING", h, i, j, k) | |
292 | - | else if (( | |
293 | - | then f(((("OperLock[" + toString( | |
293 | + | else if ((cf > cg)) | |
294 | + | then f(((("OperLock[" + toString(cf)) + "] > ") + toString(cg)), h, i, j, k) | |
294 | 295 | else { | |
295 | - | let | |
296 | - | let aM = | |
297 | - | let | |
296 | + | let bX = aE("execute", k, C, ch, aj, aG, aH, aI) | |
297 | + | let aM = bX._3 | |
298 | + | let ci = if ((bX._4 == aH)) | |
298 | 299 | then [ScriptTransfer(aX, aM, aH)] | |
299 | 300 | else [Reissue(aI, aM, true), ScriptTransfer(aX, aM, aI)] | |
300 | - | ((( | |
301 | + | (((ci :+ StringEntry(cd, bs(ce, "FINISHED", ch, aM))) :+ aP("DECREMENT", H(C), bX._1)) :+ aP("DECREMENT", I(C, i), bX._2)) | |
301 | 302 | } | |
302 | 303 | } | |
303 | 304 | ||
304 | 305 | ||
305 | - | func | |
306 | + | func cj (h) = { | |
306 | 307 | let aH = fromBase58String(h) | |
307 | - | let | |
308 | - | let N = | |
308 | + | let bR = bx(h) | |
309 | + | let N = bR[V] | |
309 | 310 | let aI = fromBase58String(N) | |
310 | - | let ai = parseIntValue( | |
311 | - | let aj = parseIntValue( | |
312 | - | let C = | |
313 | - | let | |
314 | - | $Tuple6(IntegerEntry("price", | |
311 | + | let ai = parseIntValue(bR[X]) | |
312 | + | let aj = parseIntValue(bR[Y]) | |
313 | + | let C = bR[W] | |
314 | + | let ck = bM(C, aH, aI, aj) | |
315 | + | $Tuple6(IntegerEntry("price", ck._1), IntegerEntry("decimalsMultPrice", aj), IntegerEntry("baseAssetBalance", ck._2), IntegerEntry("totalLockedBaseAmount", ck._3), IntegerEntry("baseAssetBalanceConsideringLock", ck._4), IntegerEntry("shareEmission", ck._5)) | |
315 | 316 | } | |
316 | 317 | ||
317 | 318 | ||
318 | - | @Callable( | |
319 | - | func adminRegisterAsset (h | |
319 | + | @Callable(bO) | |
320 | + | func adminRegisterAsset (h,cl,cm,cn,co,cp,al,am,an,ao,ap,aq,ar) = { | |
320 | 321 | let aH = fromBase58String(h) | |
321 | - | let | |
322 | - | let ai = pow(10, 0, | |
322 | + | let cq = value(assetInfo(aH)).decimals | |
323 | + | let ai = pow(10, 0, cq, 0, 0, DOWN) | |
323 | 324 | let aj = ((100 * 1000) * 1000) | |
324 | - | let | |
325 | + | let cr = fraction(am, 100, ai) | |
325 | 326 | let bG = assetBalance(this, aH) | |
326 | - | if (( | |
327 | + | if ((bO.caller != this)) | |
327 | 328 | then throw("permissions denied") | |
328 | 329 | else if ((bG == 0)) | |
329 | 330 | then throw(((toString(this) + " must have any initial balance of ") + h)) | |
330 | 331 | else if (isDefined(getString(this, w(h)))) | |
331 | 332 | then throw((h + " has been already registered")) | |
332 | - | else if ((toString(addressFromStringValue( | |
333 | + | else if ((toString(addressFromStringValue(co)) != co)) | |
333 | 334 | then throw("invalid shutdownManagerAddress") | |
334 | 335 | else if ((toString(addressFromStringValue(an)) != an)) | |
335 | 336 | then throw("invalid topupManagerAddress") | |
336 | - | else if ((0 > | |
337 | - | then throw(("invalid getDelayinBlocks=" + toString( | |
338 | - | else if (if ((0 >= | |
337 | + | else if ((0 > cn)) | |
338 | + | then throw(("invalid getDelayinBlocks=" + toString(cn))) | |
339 | + | else if (if ((0 >= cr)) | |
339 | 340 | then true | |
340 | - | else ( | |
341 | + | else (cr >= 99)) | |
341 | 342 | then throw("invalid topupMaxNegativePart parameter") | |
342 | 343 | else { | |
343 | - | let | |
344 | - | let | |
345 | - | let aI = calculateAssetId( | |
344 | + | let cs = u(bG, cp, aj) | |
345 | + | let ct = Issue(cl, cm, cs, cq, true) | |
346 | + | let aI = calculateAssetId(ct) | |
346 | 347 | let N = toBase58String(aI) | |
347 | - | let | |
348 | - | let C = toString( | |
349 | - | [StringEntry(w(h), ah(N, C, ai, aj, | |
348 | + | let cu = valueOrElse(getInteger(this, x()), 0) | |
349 | + | let C = toString(cu) | |
350 | + | [StringEntry(w(h), ah(N, C, ai, aj, cn, al, am, an, ao, ap, aq, ar)), StringEntry(J(cu), h), StringEntry(L(h), C), StringEntry(M(N), h), StringEntry(O(h), N), BooleanEntry(P(C), false), StringEntry(Q(C), co), IntegerEntry(x(), (cu + 1)), IntegerEntry(y(C), cp), IntegerEntry(E(C, height, lastBlock.timestamp), cp), IntegerEntry(R(C), 0), bA(U(C), ao, aq), ct] | |
350 | 351 | } | |
351 | 352 | } | |
352 | 353 | ||
353 | 354 | ||
354 | 355 | ||
355 | - | @Callable( | |
356 | - | func shutdownPut ( | |
357 | - | let | |
358 | - | let | |
359 | - | let | |
360 | - | if ((1 > size( | |
356 | + | @Callable(bO) | |
357 | + | func shutdownPut (cu) = { | |
358 | + | let cv = toString(cu) | |
359 | + | let cw = b(J(cu)) | |
360 | + | let co = b(Q(cv)) | |
361 | + | if ((1 > size(cw))) | |
361 | 362 | then throw("invalid internalBaseAssetId") | |
362 | - | else if ((toString( | |
363 | + | else if ((toString(bO.caller) != co)) | |
363 | 364 | then throw("access denied") | |
364 | - | else [BooleanEntry(P(toString( | |
365 | + | else [BooleanEntry(P(toString(cu)), true)] | |
365 | 366 | } | |
366 | 367 | ||
367 | 368 | ||
368 | 369 | ||
369 | - | @Callable( | |
370 | + | @Callable(bO) | |
370 | 371 | func submitPut () = { | |
371 | - | let | |
372 | - | let aG = | |
373 | - | let | |
374 | - | let h = toBase58String( | |
375 | - | | |
372 | + | let cx = value(bO.payments[0]) | |
373 | + | let aG = cx.amount | |
374 | + | let bP = value(cx.assetId) | |
375 | + | let h = toBase58String(bP) | |
376 | + | bN("P", bO, aG, bP, h) | |
376 | 377 | } | |
377 | 378 | ||
378 | 379 | ||
379 | 380 | ||
380 | - | @Callable( | |
381 | + | @Callable(bO) | |
381 | 382 | func submitGet () = { | |
382 | - | let | |
383 | - | let aG = | |
384 | - | let | |
385 | - | let N = toBase58String( | |
383 | + | let cx = value(bO.payments[0]) | |
384 | + | let aG = cx.amount | |
385 | + | let bP = value(cx.assetId) | |
386 | + | let N = toBase58String(bP) | |
386 | 387 | let h = b(M(N)) | |
387 | - | | |
388 | + | bN("G", bO, aG, bP, h) | |
388 | 389 | } | |
389 | 390 | ||
390 | 391 | ||
391 | 392 | ||
392 | - | @Callable( | |
393 | - | func executePut (h,i,j) = | |
393 | + | @Callable(bO) | |
394 | + | func executePut (h,i,j) = cb("P", h, i, j) | |
394 | 395 | ||
395 | 396 | ||
396 | 397 | ||
397 | - | @Callable( | |
398 | - | func executeGet (h,i,j) = | |
398 | + | @Callable(bO) | |
399 | + | func executeGet (h,i,j) = cb("G", h, i, j) | |
399 | 400 | ||
400 | 401 | ||
401 | 402 | ||
402 | - | @Callable( | |
403 | - | func topUpBalance (h, | |
403 | + | @Callable(bO) | |
404 | + | func topUpBalance (h,cy) = { | |
404 | 405 | let aH = fromBase58String(h) | |
405 | - | let cb = bx(h) | |
406 | - | let aI = fromBase58String(cb[V]) | |
407 | - | let t = parseIntValue(cb[Y]) | |
408 | - | let cy = parseIntValue(cb[X]) | |
409 | - | let al = parseIntValue(cb[aa]) | |
410 | - | let am = parseIntValue(cb[ab]) | |
411 | - | let C = cb[W] | |
412 | - | let cz = R(C) | |
413 | - | let cA = e(cz) | |
414 | - | let cB = (cA + 1) | |
415 | - | let cC = if ((cx > 0)) | |
406 | + | let cc = bx(h) | |
407 | + | let aI = fromBase58String(cc[V]) | |
408 | + | let t = parseIntValue(cc[Y]) | |
409 | + | let cz = parseIntValue(cc[X]) | |
410 | + | let al = parseIntValue(cc[aa]) | |
411 | + | let am = parseIntValue(cc[ab]) | |
412 | + | let C = cc[W] | |
413 | + | let cA = cc[ac] | |
414 | + | let cB = R(C) | |
415 | + | let cC = e(cB) | |
416 | + | let cD = (cC + 1) | |
417 | + | let cE = if ((cy > 0)) | |
416 | 418 | then { | |
417 | - | let | |
418 | - | let | |
419 | - | if ((aH != | |
419 | + | let cx = value(bO.payments[0]) | |
420 | + | let cF = value(cx.assetId) | |
421 | + | if ((aH != cF)) | |
420 | 422 | then throw("attached payment's asset id is NOT matched passed baseAssetStr") | |
421 | - | else if ((size( | |
423 | + | else if ((size(bO.payments) > 1)) | |
422 | 424 | then throw("only one payment can be attached") | |
423 | - | else if (( | |
425 | + | else if ((cx.amount != cy)) | |
424 | 426 | then throw("attached payment.amount is NOT matched passed amount argument") | |
425 | 427 | else true | |
426 | 428 | } | |
427 | - | else if ((0 > | |
429 | + | else if ((0 > cy)) | |
428 | 430 | then { | |
429 | - | let | |
430 | - | let | |
431 | - | if ((-( | |
432 | - | then throw(("Topup negative amount couldn't be greater than " + toString( | |
431 | + | let cG = assetBalance(this, aH) | |
432 | + | let cH = fraction(am, cG, cz) | |
433 | + | if ((-(cy) > cH)) | |
434 | + | then throw(("Topup negative amount couldn't be greater than " + toString(cH))) | |
433 | 435 | else true | |
434 | 436 | } | |
435 | 437 | else throw("zero amount is not allowed") | |
436 | - | let cG = S(C, toString(bN.caller)) | |
437 | - | let cH = valueOrElse(getInteger(this, cG), 0) | |
438 | - | if (!(cC)) | |
439 | - | then throw("validation failed") | |
440 | - | else if ((al > (height - cH))) | |
441 | - | then throw((("1 topup per " + toString(al)) + " blocks from the same address is allowed")) | |
442 | - | else { | |
443 | - | let s = bD(C, aH, cx, aI, t)._1 | |
444 | - | let bW = aE("topup", "", C, s, t, 0, aH, aI) | |
445 | - | let cI = bW._1 | |
446 | - | let cJ = A(C) | |
447 | - | let cK = valueOrElse(getInteger(this, cJ), 0) | |
448 | - | (([IntegerEntry(y(C), s), IntegerEntry(E(C, height, lastBlock.timestamp), s), IntegerEntry(B(C, cB), s), IntegerEntry(cz, cB), IntegerEntry(cJ, if ((s > cK)) | |
449 | - | then s | |
450 | - | else cK), IntegerEntry(cG, height)] :+ aP("DECREMENT", H(C), cI)) :+ Burn(aI, cI[as])) | |
451 | - | } | |
438 | + | let cI = S(C, toString(bO.caller)) | |
439 | + | let cJ = valueOrElse(getInteger(this, cI), 0) | |
440 | + | if ((toString(bO.caller) != cA)) | |
441 | + | then throw((("only topUpManager=" + cA) + " can send topUp transactions")) | |
442 | + | else if (!(cE)) | |
443 | + | then throw("validation failed") | |
444 | + | else if ((al > (height - cJ))) | |
445 | + | then throw((("1 topup per " + toString(al)) + " blocks from the same address is allowed")) | |
446 | + | else { | |
447 | + | let s = bD(C, aH, cy, aI, t)._1 | |
448 | + | let bX = aE("topup", "", C, s, t, 0, aH, aI) | |
449 | + | let cK = bX._1 | |
450 | + | let cL = A(C) | |
451 | + | let cM = valueOrElse(getInteger(this, cL), 0) | |
452 | + | ((([IntegerEntry(y(C), s), IntegerEntry(E(C, height, lastBlock.timestamp), s), IntegerEntry(B(C, cD), s), IntegerEntry(cB, cD), IntegerEntry(cL, if ((s > cM)) | |
453 | + | then s | |
454 | + | else cM), IntegerEntry(cI, height)] :+ aP("DECREMENT", H(C), cK)) :+ Burn(aI, cK[as])) ++ (if ((0 > cy)) | |
455 | + | then [ScriptTransfer(bO.caller, -(cy), aH)] | |
456 | + | else nil)) | |
457 | + | } | |
452 | 458 | } | |
453 | 459 | ||
454 | 460 | ||
455 | 461 | ||
456 | - | @Callable( | |
462 | + | @Callable(bO) | |
457 | 463 | func currentSysParamsREST (h) = { | |
458 | - | let | |
459 | - | let s = | |
460 | - | let aj = | |
461 | - | let bG = | |
462 | - | let | |
463 | - | let | |
464 | - | let bJ = | |
465 | - | let | |
466 | - | throw( | |
464 | + | let cN = cj(h) | |
465 | + | let s = cN._1.value | |
466 | + | let aj = cN._2.value | |
467 | + | let bG = cN._3.value | |
468 | + | let cO = cN._4.value | |
469 | + | let cP = cN._5.value | |
470 | + | let bJ = cN._6.value | |
471 | + | let cQ = makeString(["startCurrentSysParamsREST", toString(s), toString(aj), toString(bG), toString(cO), toString(cP), toString(bJ), "endCurrentSysParamsREST"], a) | |
472 | + | throw(cQ) | |
467 | 473 | } | |
468 | 474 | ||
469 | 475 |
github/deemru/w8io/169f3d6 121.69 ms ◑