tx · DL8DRQBaDN3GCnmh72MR1NcrnTF6Mze7bEapSzBwzXVE 3Mrnje6z2xa3xuXyU2Lk6ynKy8tsRnnt4Bv: -0.01400000 Waves 2021.09.11 12:48 [1698231] smart account 3Mrnje6z2xa3xuXyU2Lk6ynKy8tsRnnt4Bv > SELF 0.00000000 Waves
{ "type": 13, "id": "DL8DRQBaDN3GCnmh72MR1NcrnTF6Mze7bEapSzBwzXVE", "fee": 1400000, "feeAssetId": null, "timestamp": 1631353735326, "version": 2, "chainId": 84, "sender": "3Mrnje6z2xa3xuXyU2Lk6ynKy8tsRnnt4Bv", "senderPublicKey": "28sGn7FYnmxceAmnGYiDiKuMK1QyXiqX8zQXfKDnrc8t", "proofs": [ "2PsibRp8iNTfo5CB1Mu9YmZaXg6LbsXZLjAyiJQP4uuEu3dR4YoruYbmbiYyE444T4UvBxgSFD6TZphRavBpNMa7" ], "script": "base64:AAIEAAAAAAAAADQIAhIAEgASBAoCCAESAwoBCBIDCgEIEgMKAQgSAwoBCBIDCgEIEgMKAQgSAwoBCBIDCgEIAAAABgAAAAALVVNEVEFzc2V0SUQBAAAAIAhlhLcP8IpqGvPiaOguCJAkw9MnWAPNLPYuXgvf2hWkAAAAAA1CYWxsZXRBc3NldElEAQAAACAtb1sBuZ3lSm8ahGink+4TF5YYAu/xRHYwe1h195OooAAAAAAXQ29sbGVjdEJhbGxldEZlZUFkZHJlc3MJAQAAABRhZGRyZXNzRnJvbVB1YmxpY0tleQAAAAEBAAAAIOOt17LUijbWojwDE5tgFkw1Y8cwIr3jselcewpp7rwjAAAAABVJc3N1ZUJhbGxldEZlZUFkZHJlc3MJAQAAABRhZGRyZXNzRnJvbVB1YmxpY0tleQAAAAEBAAAAIOOt17LUijbWojwDE5tgFkw1Y8cwIr3jselcewpp7rwjAAAAABlDb2xsZWN0VVNEVFN3YXBGZWVBZGRyZXNzCQEAAAAUYWRkcmVzc0Zyb21QdWJsaWNLZXkAAAABAQAAACDjrdey1Io21qI8AxObYBZMNW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AJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleXJhNJ4=", "height": 1698231, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: AGF2Nrpf8gFpqKDLTVM9Gj28MkHz6vCKRRQ3tPsxmfAY Next: AGCt9c1SmkiMSdth9fJ51F7F5gu9gPsCZSfMjzmoQDtG Diff:
Old | New | Differences | |
---|---|---|---|
86 | 86 | else if ((pmt1.amount != 10000000)) | |
87 | 87 | then throw((((("You attached only " + toString(fraction(pmt1.amount, 1, 100000000))) + ".") + toString(fraction(pmt1.amount, 1, 10000000))) + " Ballet for Voting in payment[1], please attach 1000 Ballet Token only.")) | |
88 | 88 | else if ((pmt2.assetId != assetinfopmt2)) | |
89 | - | then throw("Input String | |
89 | + | then throw("Input String & Attached AssetID in payment2 is not matching.") | |
90 | 90 | else if ((TN == true)) | |
91 | 91 | then throw("You Attached TN Asset ID for Voting, please attach the Token You want to list in payment[2].") | |
92 | 92 | else if ((pmt2.assetId == BalletAssetID)) | |
131 | 131 | else if ((pmt.assetId != BalletAssetID)) | |
132 | 132 | then throw((("Kindly Attach Only " + toBase58String(BalletAssetID)) + " Token.")) | |
133 | 133 | else if ((VotingStatus == NewVotingStatus)) | |
134 | - | then throw((("Voting for " + EnterAssetID) + " pair is completed | |
134 | + | then throw((("Voting for " + EnterAssetID) + " pair is completed & it’s available in whitelist.")) | |
135 | 135 | else if (checkwhitelist) | |
136 | 136 | then [StringEntry(("Voting_Status_" + EnterAssetID), NewVotingStatus), IntegerEntry(((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID)), 0), IntegerEntry(((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID), 0), IntegerEntry(("Total_of_Pair_Txns_" + EnterAssetID), 0), IntegerEntry(((("Total_Swap_Fee_Collected_" + EnterAssetID) + "_") + toBase58String(USDTAssetID)), 0), IntegerEntry(("Total_Swap_Fee_Collected_" + EnterAssetID), 0), IntegerEntry(((("Votes_Rcvd_" + calleraddress) + "_") + EnterAssetID), individualvotescount)] | |
137 | 137 | else [IntegerEntry(("Votes_Rcvd_" + EnterAssetID), newvotescount), IntegerEntry(((("Votes_Rcvd_" + calleraddress) + "_") + EnterAssetID), individualvotescount)] | |
147 | 147 | let calleraddress = toBase58String(i.caller.bytes) | |
148 | 148 | let checkendheight = getIntegerValue(this, ("Voting_EH_" + EnterAssetID)) | |
149 | 149 | let checkpairisavailableornot = getString(this, ("Pair_UV_" + EnterAssetID)) | |
150 | - | let checkuservotingbalance = valueOrErrorMessage(getInteger(this, ((("Votes_Rcvd_" + calleraddress) + "_") + EnterAssetID)), (calleraddress + " Address never voted | |
150 | + | let checkuservotingbalance = valueOrErrorMessage(getInteger(this, ((("Votes_Rcvd_" + calleraddress) + "_") + EnterAssetID)), (calleraddress + " Address never voted & exist in list.")) | |
151 | 151 | let pendingblocksforprojectexpire = (checkendheight - height) | |
152 | 152 | if ((checkpairisavailableornot != EnterAssetID)) | |
153 | 153 | then throw("Pair is not available in Voting List.") | |
232 | 232 | } | |
233 | 233 | let NewTPT = (TOPT + 1) | |
234 | 234 | if ((EnterAssetID == toBase58String(USDTAssetID))) | |
235 | - | then throw("Input can Never be a USDT AssetID. Enter Whitelisted AssetID in input | |
235 | + | then throw("Input can Never be a USDT AssetID. Enter Whitelisted AssetID in input & Attach Whitelisted Asset as an attachment Token in payment[1].") | |
236 | 236 | else if ((checkpairisavailableornot != EnterAssetID)) | |
237 | 237 | then throw("Pair is not available in Whitelisted Asset.") | |
238 | 238 | else if ((VotingStatus == CurrentVotingStatus)) | |
303 | 303 | else if ((VotingStatus == CurrentVotingStatus)) | |
304 | 304 | then throw((EnterAssetID + " is not A Whitelisted Token Yet.")) | |
305 | 305 | else if ((EnterAssetID == toBase58String(USDTAssetID))) | |
306 | - | then throw("Input can Never be a USDT AssetID. Enter Whitelisted AssetID in input | |
306 | + | then throw("Input can Never be a USDT AssetID. Enter Whitelisted AssetID in input & Attach USDT as an attachment Token in payment[1].") | |
307 | 307 | else if ((pmt.assetId != USDTAssetID)) | |
308 | 308 | then throw("You can Attach USDT as an Attached Payment[1] to Swap USDT To Required Token. Any other asset else than USDT will be rejected.") | |
309 | 309 | else if ((10000000 > pmt.amount)) | |
335 | 335 | let arg1 = pow((CheckUSDTBalance / pow(10, 6, 6, 0, 0, UP)), 0, 1, 0, 0, UP) | |
336 | 336 | let arg2 = pow((CheckAssetBalance / pow(10, decimals, decimals, 0, 0, UP)), 0, 1, 0, 0, UP) | |
337 | 337 | let args3 = pow((((arg1 * 1000000) / arg2) * pow(10, 0, decimals, 0, 0, UP)), 0, 1, 0, 0, UP) | |
338 | - | let | |
339 | - | let sharedecimals = ( | |
340 | - | let quantityofEnterAssetID = fraction(args3, pmt1.amount, pow(10, 0, | |
338 | + | let bothassetsdecimals = (6 + decimals) | |
339 | + | let sharedecimals = (bothassetsdecimals / 2) | |
340 | + | let quantityofEnterAssetID = fraction(args3, pmt1.amount, pow(10, 0, bothassetsdecimals, 0, 0, UP)) | |
341 | 341 | let quantityofLPToken1 = pow((fraction(pmt1.amount, 1, pow(10, 0, decimals, 0, 0, UP)) * fraction(pmt2.amount, 1, pow(10, 0, 6, 0, 0, UP))), 0, 5, 1, sharedecimals, DOWN) | |
342 | 342 | let USDTHoldingInPair = match getInteger(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID))) { | |
343 | 343 | case a: Int => | |
365 | 365 | else if ((VotingStatus == CurrentVotingStatus)) | |
366 | 366 | then throw((EnterAssetID + " is not A Whitelisted Token Yet.")) | |
367 | 367 | else if ((EnterAssetID == toBase58String(USDTAssetID))) | |
368 | - | then throw("Input can Never be a USDT AssetID. Enter Whitelisted AssetID in input as well as in payment[1] | |
368 | + | then throw("Input can Never be a USDT AssetID. Enter Whitelisted AssetID in input as well as in payment[1] & Attach USDT as an attachment Token in payment[2].") | |
369 | 369 | else if ((size(i.payments) != 2)) | |
370 | - | then throw("Two attached assets expected as payment in 50%-50%. Kindly Attach payment1 = Token you want to add for Liquidity | |
370 | + | then throw("Two attached assets expected as payment in 50%-50%. Kindly Attach payment1 = Token you want to add for Liquidity & payment2 = Equivalent Amount of USDT Token.") | |
371 | 371 | else if ((pmt1.assetId == USDTAssetID)) | |
372 | 372 | then throw("You Attached USDT asset in payment[1], please attach only whitelisted Token in payment[1] along with USDT in payment[2].") | |
373 | 373 | else if ((pmt1.assetId != fromBase58String(EnterAssetID))) | |
375 | 375 | else if ((pmt1.assetId != fromBase58String(EnterAssetID))) | |
376 | 376 | then throw("Incorrect asset attached for Liquidity in payment[1], please attach String Asset or Whitelisted Token only.") | |
377 | 377 | else if ((pmt2.assetId != USDTAssetID)) | |
378 | - | then throw("Wrong Asset Attached in payments[2], Please attach payment[1] = Liquidity Token | |
378 | + | then throw("Wrong Asset Attached in payments[2], Please attach payment[1] = Liquidity Token & payment[2] = USDT Token.") | |
379 | 379 | else if ((10000000 > pmt2.amount)) | |
380 | - | then throw("please attach atleast 10 USDT in payment[2] | |
380 | + | then throw("please attach atleast 10 USDT in payment[2] & Equivalent worth of Token in payment[1]") | |
381 | 381 | else if ((pmt2.amount != quantityofEnterAssetID)) | |
382 | 382 | then throw(("Attached payment[2] quantity is not matching as per attached payment[1].payment[2] must be " + toString(quantityofEnterAssetID))) | |
383 | - | else [IntegerEntry(((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID)), NewUSDTHoldingInPair), IntegerEntry(((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID), NewAssetHoldingInPair), IntegerEntry( | |
383 | + | else [IntegerEntry(((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID)), NewUSDTHoldingInPair), IntegerEntry(((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID), NewAssetHoldingInPair), IntegerEntry(("Total_LP_" + EnterAssetID), NewLPTokenIssued), Reissue(ReissueassetId, quantityofLPToken1, true), ScriptTransfer(i.caller, quantityofLPToken1, ReissueassetId)] | |
384 | 384 | } | |
385 | 385 | ||
386 | 386 | ||
393 | 393 | else throw("No payment attached, Please Attach LP Token as payment[1].") | |
394 | 394 | let checkpairisavailableornot = getString(this, ("Pair_UV_" + EnterAssetID)) | |
395 | 395 | let VotingStatus = getStringValue(this, ("Voting_Status_" + EnterAssetID)) | |
396 | - | let ReissueableassetId = fromBase58String(valueOrErrorMessage(getString(this, ("LP_" + EnterAssetID)), "LP Token is Missing or | |
396 | + | let ReissueableassetId = fromBase58String(valueOrErrorMessage(getString(this, ("LP_" + EnterAssetID)), "LP Token is Missing or not Generated.")) | |
397 | 397 | let CurrentVotingStatus = "F" | |
398 | - | let AddLiquidityFee = 100000 | |
399 | 398 | let CheckUSDTBalance = getIntegerValue(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID))) | |
400 | 399 | let CheckAssetBalance = getIntegerValue(this, ((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID)) | |
401 | 400 | let decimalsinfo = valueOrErrorMessage(assetInfo(fromBase58String(EnterAssetID)), (("Asset " + EnterAssetID) + " doesn't exist")) | |
403 | 402 | let arg1 = pow((CheckUSDTBalance / pow(10, 6, 6, 0, 0, UP)), 0, 1, 0, 0, UP) | |
404 | 403 | let arg2 = pow((CheckAssetBalance / pow(10, decimals, decimals, 0, 0, UP)), 0, 1, 0, 0, UP) | |
405 | 404 | let args3 = pow((((arg1 * 1000000) / arg2) * pow(10, 0, decimals, 0, 0, UP)), 0, 1, 0, 0, UP) | |
406 | - | let sumupofbothassetsdecimals = (6 + decimals) | |
407 | - | let sharedecimals = (sumupofbothassetsdecimals / 2) | |
408 | - | let DoSquareofAttachedPayment = fraction(pow(pmt.amount, sharedecimals, 2, 0, 6, HALFUP), 1, fraction(args3, 1, pow(10, 0, 6, 0, 0, UP))) | |
409 | - | let SqrtofDoSquareofAttachedPayment = pow(DoSquareofAttachedPayment, 0, 5, 1, sharedecimals, DOWN) | |
410 | - | let UserAttachedLPTokenWorth = fraction(args3, SqrtofDoSquareofAttachedPayment, pow(10, 0, sumupofbothassetsdecimals, 0, 0, UP)) | |
405 | + | let bothassetsdecimals = (6 + decimals) | |
406 | + | let sharedecimals = (bothassetsdecimals / 2) | |
407 | + | let SquareofAttachedPymt = fraction(pow(pmt.amount, sharedecimals, 2, 0, 6, HALFUP), 1, fraction(args3, 1, pow(10, 0, 6, 0, 0, UP))) | |
408 | + | let SqrtofAttachPymt = pow(SquareofAttachedPymt, 0, 5, 1, sharedecimals, DOWN) | |
409 | + | let UserLPWorth = fraction(args3, SqrtofAttachPymt, pow(10, 0, bothassetsdecimals, 0, 0, UP)) | |
410 | + | let USDTHoldingInPair = match getInteger(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID))) { | |
411 | + | case a: Int => | |
412 | + | a | |
413 | + | case _ => | |
414 | + | 0 | |
415 | + | } | |
416 | + | let NewUSDTHoldingInPair = (USDTHoldingInPair - UserLPWorth) | |
417 | + | let AssetHoldingInPair = match getInteger(this, ((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID)) { | |
418 | + | case a: Int => | |
419 | + | a | |
420 | + | case _ => | |
421 | + | 0 | |
422 | + | } | |
423 | + | let NewAssetHoldingInPair = (AssetHoldingInPair - SqrtofAttachPymt) | |
411 | 424 | let LPTokenIssued = match getIntegerValue(this, ("Total_LP_" + EnterAssetID)) { | |
412 | 425 | case a: Int => | |
413 | 426 | a | |
416 | 429 | } | |
417 | 430 | let NewLPTokenIssued = (LPTokenIssued - pmt.amount) | |
418 | 431 | if ((checkpairisavailableornot != EnterAssetID)) | |
419 | - | then throw("Pair is not available in | |
432 | + | then throw("Pair is not available in Whitelist.") | |
420 | 433 | else if ((VotingStatus == CurrentVotingStatus)) | |
421 | - | then throw((EnterAssetID + " is not A | |
434 | + | then throw((EnterAssetID + " is not A Whitelist Token Yet.")) | |
422 | 435 | else if ((fromBase58String(EnterAssetID) == USDTAssetID)) | |
423 | - | then throw(" | |
436 | + | then throw("Don't choose USDT AssetID as Input, Only Whitelisted Asset as Input String & Attach LP Tokens as payment[1]") | |
424 | 437 | else if ((pmt.assetId != ReissueableassetId)) | |
425 | 438 | then throw("Wrong Asset is attached in payment[1] or LP Token Not Found or Missing.") | |
426 | - | else [Burn(ReissueableassetId, pmt.amount), IntegerEntry(("Total_LP_" + EnterAssetID), NewLPTokenIssued), IntegerEntry(" | |
439 | + | else [Burn(ReissueableassetId, pmt.amount), IntegerEntry(("Total_LP_" + EnterAssetID), NewLPTokenIssued), IntegerEntry(((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID)), NewUSDTHoldingInPair), IntegerEntry(((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID), NewAssetHoldingInPair), ScriptTransfer(i.caller, UserLPWorth, USDTAssetID), ScriptTransfer(i.caller, SqrtofAttachPymt, fromBase58String(EnterAssetID))] | |
427 | 440 | } | |
428 | 441 | ||
429 | 442 | ||
450 | 463 | } | |
451 | 464 | ||
452 | 465 | ||
453 | - | ||
454 | - | @Callable(i) | |
455 | - | func RemoveEntry (Key,Key1,Key2,Key3) = [DeleteEntry(Key), DeleteEntry(Key1), DeleteEntry(Key2), DeleteEntry(Key3)] | |
456 | - | ||
457 | - | ||
458 | 466 | @Verifier(tx) | |
459 | 467 | func verify () = match tx { | |
460 | 468 | case _ => |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let USDTAssetID = base58'Zn3cLHW7aAVPm5aACcTjvg7e7iEy2cKDtbowok5qa9H' | |
5 | 5 | ||
6 | 6 | let BalletAssetID = base58'44Mq8KqUhM94t93MiBq3S22iiuGczMxpKmse5dBy2w5y' | |
7 | 7 | ||
8 | 8 | let CollectBalletFeeAddress = addressFromPublicKey(base58'GKmJ6BchUgQfwKp4mp5eX8Y9xLioYRm6e1gDfFgdAcCr') | |
9 | 9 | ||
10 | 10 | let IssueBalletFeeAddress = addressFromPublicKey(base58'GKmJ6BchUgQfwKp4mp5eX8Y9xLioYRm6e1gDfFgdAcCr') | |
11 | 11 | ||
12 | 12 | let CollectUSDTSwapFeeAddress = addressFromPublicKey(base58'GKmJ6BchUgQfwKp4mp5eX8Y9xLioYRm6e1gDfFgdAcCr') | |
13 | 13 | ||
14 | 14 | let CollectAssetSwapFeeAddress = addressFromPublicKey(base58'GKmJ6BchUgQfwKp4mp5eX8Y9xLioYRm6e1gDfFgdAcCr') | |
15 | 15 | ||
16 | 16 | @Callable(i) | |
17 | 17 | func IssueBallet () = { | |
18 | 18 | let pmt = value(i.payments[0]) | |
19 | 19 | let currentKey = toBase58String(i.caller.bytes) | |
20 | 20 | let PricePerBallet = getIntegerValue(this, "BALLET/TN") | |
21 | 21 | let NewBalletToUser = fraction(100000, pmt.amount, PricePerBallet) | |
22 | 22 | let PreviousIssuedBallet = getIntegerValue(this, "Total_Issued_Ballet:") | |
23 | 23 | let TotalIssuedBallet = (PreviousIssuedBallet + NewBalletToUser) | |
24 | 24 | let PreviousBalletReserveValue = getIntegerValue(this, "Total_Ballet_Reserve_In_TN:") | |
25 | 25 | let BalletReserveValue = (PreviousBalletReserveValue + pmt.amount) | |
26 | 26 | let PreviousBalletBackupPrice = getIntegerValue(this, "Ballet_Backup_Value_In_TN:") | |
27 | 27 | let BalletBackupPrice = fraction(100000, BalletReserveValue, TotalIssuedBallet) | |
28 | 28 | let FeePercentage = 1 | |
29 | 29 | let BalanceTokensReturnedToUser = (100 - FeePercentage) | |
30 | 30 | if (isDefined(pmt.assetId)) | |
31 | 31 | then throw("Incorrect asset attached, please attach TN.") | |
32 | 32 | else if ((5000000 > pmt.amount)) | |
33 | 33 | then throw("Please Attach minimum 0.05 TN To Issue Ballet Asset.") | |
34 | 34 | else [IntegerEntry("Total_Issued_Ballet:", TotalIssuedBallet), IntegerEntry("Total_Ballet_Reserve_In_TN:", BalletReserveValue), IntegerEntry("Ballet_Backup_Value_In_TN:", BalletBackupPrice), StringEntry("message", "<h1>Ballet Issued Successfully!</h1><br>"), Reissue(BalletAssetID, NewBalletToUser, true), ScriptTransfer(i.caller, ((NewBalletToUser * BalanceTokensReturnedToUser) / 100), BalletAssetID), ScriptTransfer(IssueBalletFeeAddress, ((NewBalletToUser * FeePercentage) / 100), BalletAssetID)] | |
35 | 35 | } | |
36 | 36 | ||
37 | 37 | ||
38 | 38 | ||
39 | 39 | @Callable(i) | |
40 | 40 | func Liquidate () = { | |
41 | 41 | let currentKey = toBase58String(i.callerPublicKey) | |
42 | 42 | let pmt = value(i.payments[0]) | |
43 | 43 | let PreviousIssuedBallet = getIntegerValue(this, "Total_Issued_Ballet:") | |
44 | 44 | let TotalIssuedBallet = (PreviousIssuedBallet - pmt.amount) | |
45 | 45 | let PreviousBalletReserveValue = getIntegerValue(this, "Total_Ballet_Reserve_In_TN:") | |
46 | 46 | let PreviousBalletBackupPrice = getIntegerValue(this, "Ballet_Backup_Value_In_TN:") | |
47 | 47 | let calculateburnvalue = fraction(PreviousBalletBackupPrice, pmt.amount, 100000) | |
48 | 48 | let BalletReserveValue = (PreviousBalletReserveValue - calculateburnvalue) | |
49 | 49 | let BalletBackupPrice = fraction(100000, BalletReserveValue, TotalIssuedBallet) | |
50 | 50 | if ((pmt.assetId != BalletAssetID)) | |
51 | 51 | then throw("Kindly Deposit Only 44Mq8KqUhM94t93MiBq3S22iiuGczMxpKmse5dBy2w5y (Ballet).") | |
52 | 52 | else if ((100000 > pmt.amount)) | |
53 | 53 | then throw("Attach Amount must be greater than 0.001 Ballet.") | |
54 | 54 | else [Burn(BalletAssetID, pmt.amount), IntegerEntry("Total_Issued_Ballet:", TotalIssuedBallet), IntegerEntry("Total_Ballet_Reserve_In_TN:", BalletReserveValue), IntegerEntry("Ballet_Backup_Value_In_TN:", BalletBackupPrice), StringEntry("message", "<h1>Ballet Liquidated Successfully!</h1><br>"), ScriptTransfer(i.caller, calculateburnvalue, unit)] | |
55 | 55 | } | |
56 | 56 | ||
57 | 57 | ||
58 | 58 | ||
59 | 59 | @Callable(i) | |
60 | 60 | func RegisterPairForVoting (EnterAssetID,days) = { | |
61 | 61 | let pmt1 = value(i.payments[0]) | |
62 | 62 | let pmt2 = value(i.payments[1]) | |
63 | 63 | let maximumvotingdays = 90 | |
64 | 64 | let currentKey = toBase58String(i.caller.bytes) | |
65 | 65 | let TN = !(isDefined(pmt2.assetId)) | |
66 | 66 | let oneday = 1440 | |
67 | 67 | let NoOfDaysBlocks = (oneday * days) | |
68 | 68 | let gap = (NoOfDaysBlocks - 43199) | |
69 | 69 | let votesrequired = ((100000 + ((11574 * gap) / 10000)) * 100000000) | |
70 | 70 | let votingExpire = (height + NoOfDaysBlocks) | |
71 | 71 | let fetchpair = getString(this, ("Pair_UV_" + EnterAssetID)) | |
72 | 72 | let votingstatus = "F" | |
73 | 73 | let assetinfopmt2 = fromBase58String(EnterAssetID) | |
74 | 74 | if ((43 > size(EnterAssetID))) | |
75 | 75 | then throw("Wrong AssetID is Entered for Voting. Please Enter a Valid AssetID. Probably you entered an AssetID less than 43 Chars.") | |
76 | 76 | else if ((29 >= days)) | |
77 | 77 | then throw("Enter no. of days in between 30 to 90.") | |
78 | 78 | else if ((days > maximumvotingdays)) | |
79 | 79 | then throw("You Entered days greater than 90 please Enter no. of days in between 1 to 90.") | |
80 | 80 | else if ((fetchpair == EnterAssetID)) | |
81 | 81 | then throw("Pair Already Exist in Voting List.") | |
82 | 82 | else if ((size(i.payments) != 2)) | |
83 | 83 | then throw("Two attached assets expected as payment. Kindly Attach payment1 = Ballet Token & payment2 = Token you want to List for Voting.") | |
84 | 84 | else if ((pmt1.assetId != BalletAssetID)) | |
85 | 85 | then throw("Incorrect asset attached for Voting in payment[1], please attach 1000 Ballet Token only.") | |
86 | 86 | else if ((pmt1.amount != 10000000)) | |
87 | 87 | then throw((((("You attached only " + toString(fraction(pmt1.amount, 1, 100000000))) + ".") + toString(fraction(pmt1.amount, 1, 10000000))) + " Ballet for Voting in payment[1], please attach 1000 Ballet Token only.")) | |
88 | 88 | else if ((pmt2.assetId != assetinfopmt2)) | |
89 | - | then throw("Input String | |
89 | + | then throw("Input String & Attached AssetID in payment2 is not matching.") | |
90 | 90 | else if ((TN == true)) | |
91 | 91 | then throw("You Attached TN Asset ID for Voting, please attach the Token You want to list in payment[2].") | |
92 | 92 | else if ((pmt2.assetId == BalletAssetID)) | |
93 | 93 | then throw("You Attached Ballet asset for Voting in both payments, please attach the Token You want to list in payment[2].") | |
94 | 94 | else [StringEntry(("Pair_UV_" + EnterAssetID), EnterAssetID), StringEntry(("Voting_Status_" + EnterAssetID), votingstatus), IntegerEntry(("Voting_SH_" + EnterAssetID), height), IntegerEntry(("Voting_EH_" + EnterAssetID), votingExpire), IntegerEntry(("Voting_Period_" + EnterAssetID), NoOfDaysBlocks), IntegerEntry(("Listing_Fee_" + EnterAssetID), pmt1.amount), IntegerEntry(("Votes_Req_" + EnterAssetID), votesrequired), IntegerEntry(("Votes_Rcvd_" + EnterAssetID), 0), ScriptTransfer(CollectBalletFeeAddress, pmt1.amount, BalletAssetID)] | |
95 | 95 | } | |
96 | 96 | ||
97 | 97 | ||
98 | 98 | ||
99 | 99 | @Callable(i) | |
100 | 100 | func DoVoting (EnterAssetID) = { | |
101 | 101 | let pmt = if ((size(i.payments) == 1)) | |
102 | 102 | then i.payments[0] | |
103 | 103 | else throw("Ballet Token is required as Attached payment") | |
104 | 104 | let calleraddress = toBase58String(i.caller.bytes) | |
105 | 105 | let NewVotingStatus = "P" | |
106 | 106 | let checkendheight = getIntegerValue(this, ("Voting_EH_" + EnterAssetID)) | |
107 | 107 | let checkpairisavailableornot = getString(this, ("Pair_UV_" + EnterAssetID)) | |
108 | 108 | let checkvotesrequired = getIntegerValue(this, ("Votes_Req_" + EnterAssetID)) | |
109 | 109 | let checkvotesreceived = getIntegerValue(this, ("Votes_Rcvd_" + EnterAssetID)) | |
110 | 110 | let VotingStatus = getStringValue(this, ("Voting_Status_" + EnterAssetID)) | |
111 | 111 | let currentvotes = match getInteger(this, ("Votes_Rcvd_" + EnterAssetID)) { | |
112 | 112 | case a: Int => | |
113 | 113 | a | |
114 | 114 | case _ => | |
115 | 115 | 0 | |
116 | 116 | } | |
117 | 117 | let newvotescount = (currentvotes + pmt.amount) | |
118 | 118 | let individualvotes = match getInteger(this, ((("Votes_Rcvd_" + calleraddress) + "_") + EnterAssetID)) { | |
119 | 119 | case b: Int => | |
120 | 120 | b | |
121 | 121 | case _ => | |
122 | 122 | 0 | |
123 | 123 | } | |
124 | 124 | let individualvotescount = (individualvotes + pmt.amount) | |
125 | 125 | let checkwhitelist = (checkvotesreceived >= checkvotesrequired) | |
126 | 126 | let info = valueOrErrorMessage(assetInfo(fromBase58String(EnterAssetID)), (("Asset " + EnterAssetID) + " doesn't exist")) | |
127 | 127 | if ((checkpairisavailableornot != EnterAssetID)) | |
128 | 128 | then throw("Pair is not available in Voting List.") | |
129 | 129 | else if ((height > checkendheight)) | |
130 | 130 | then throw((("Voting timeline for " + EnterAssetID) + " is expired.")) | |
131 | 131 | else if ((pmt.assetId != BalletAssetID)) | |
132 | 132 | then throw((("Kindly Attach Only " + toBase58String(BalletAssetID)) + " Token.")) | |
133 | 133 | else if ((VotingStatus == NewVotingStatus)) | |
134 | - | then throw((("Voting for " + EnterAssetID) + " pair is completed | |
134 | + | then throw((("Voting for " + EnterAssetID) + " pair is completed & it’s available in whitelist.")) | |
135 | 135 | else if (checkwhitelist) | |
136 | 136 | then [StringEntry(("Voting_Status_" + EnterAssetID), NewVotingStatus), IntegerEntry(((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID)), 0), IntegerEntry(((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID), 0), IntegerEntry(("Total_of_Pair_Txns_" + EnterAssetID), 0), IntegerEntry(((("Total_Swap_Fee_Collected_" + EnterAssetID) + "_") + toBase58String(USDTAssetID)), 0), IntegerEntry(("Total_Swap_Fee_Collected_" + EnterAssetID), 0), IntegerEntry(((("Votes_Rcvd_" + calleraddress) + "_") + EnterAssetID), individualvotescount)] | |
137 | 137 | else [IntegerEntry(("Votes_Rcvd_" + EnterAssetID), newvotescount), IntegerEntry(((("Votes_Rcvd_" + calleraddress) + "_") + EnterAssetID), individualvotescount)] | |
138 | 138 | } | |
139 | 139 | ||
140 | 140 | ||
141 | 141 | ||
142 | 142 | @Callable(i) | |
143 | 143 | func WithdrawVotedTokens (EnterAssetID) = { | |
144 | 144 | let pmt = if ((size(i.payments) == 1)) | |
145 | 145 | then i.payments[0] | |
146 | 146 | else throw("0.1 TN Token is required as Attached payment.") | |
147 | 147 | let calleraddress = toBase58String(i.caller.bytes) | |
148 | 148 | let checkendheight = getIntegerValue(this, ("Voting_EH_" + EnterAssetID)) | |
149 | 149 | let checkpairisavailableornot = getString(this, ("Pair_UV_" + EnterAssetID)) | |
150 | - | let checkuservotingbalance = valueOrErrorMessage(getInteger(this, ((("Votes_Rcvd_" + calleraddress) + "_") + EnterAssetID)), (calleraddress + " Address never voted | |
150 | + | let checkuservotingbalance = valueOrErrorMessage(getInteger(this, ((("Votes_Rcvd_" + calleraddress) + "_") + EnterAssetID)), (calleraddress + " Address never voted & exist in list.")) | |
151 | 151 | let pendingblocksforprojectexpire = (checkendheight - height) | |
152 | 152 | if ((checkpairisavailableornot != EnterAssetID)) | |
153 | 153 | then throw("Pair is not available in Voting List.") | |
154 | 154 | else if ((checkendheight > height)) | |
155 | 155 | then throw((("Voting Already Running. You can withdraw your Ballet Token after " + toString(pendingblocksforprojectexpire)) + " blocks")) | |
156 | 156 | else if ((0 >= checkuservotingbalance)) | |
157 | 157 | then throw("You don't have any dues of ballet balance in this Voting Pair.") | |
158 | 158 | else if (isDefined(pmt.assetId)) | |
159 | 159 | then throw("Don't attach any other asset. Please attach 0.1 TN as a fee to release your token") | |
160 | 160 | else if ((pmt.amount != 10000000)) | |
161 | 161 | then throw("Please attach 0.1 TN as a fee to release your token.") | |
162 | 162 | else [IntegerEntry(((("Votes_Rcvd_" + calleraddress) + "_") + EnterAssetID), 0), ScriptTransfer(i.caller, checkuservotingbalance, BalletAssetID)] | |
163 | 163 | } | |
164 | 164 | ||
165 | 165 | ||
166 | 166 | ||
167 | 167 | @Callable(i) | |
168 | 168 | func IssueLPToken (EnterAssetID) = { | |
169 | 169 | let adminrights = valueOrErrorMessage(getString(this, "LP_Admin_Rights"), "LP Admin Rights are Not Included into Smart Contract. Deploy Admin Rights First.") | |
170 | 170 | let calleraddress = toBase58String(i.caller.bytes) | |
171 | 171 | let checkpairisavailableornot = valueOrErrorMessage(getString(this, ("Pair_UV_" + EnterAssetID)), "Asset not Found in Whitelisted Token") | |
172 | 172 | let info = valueOrErrorMessage(assetInfo(fromBase58String(EnterAssetID)), (("Asset " + EnterAssetID) + " doesn't exist")) | |
173 | 173 | let name = info.name | |
174 | 174 | let decimals = info.decimals | |
175 | 175 | let NewVotingStatus = "P" | |
176 | 176 | let VotingStatus = valueOrErrorMessage(getString(this, ("Voting_Status_" + EnterAssetID)), ("Voting Status is Missing for " + EnterAssetID)) | |
177 | 177 | let LPissue = Issue((("LP-" + name) + "-USDT"), (((("LP-" + name) + "-USDT") + " is a Liquidity Provider Token Issued Against ") + EnterAssetID), (1 * pow(10, 0, fraction((decimals + 6), 1, 2), 0, 0, UP)), fraction((decimals + 6), 1, 2), true) | |
178 | 178 | let LPid = calculateAssetId(LPissue) | |
179 | 179 | if ((adminrights != calleraddress)) | |
180 | 180 | then throw((("Your are not allowded to Issue LP Token. Only " + adminrights) + " can issue the LP Token.")) | |
181 | 181 | else if ((checkpairisavailableornot != EnterAssetID)) | |
182 | 182 | then throw("Pair is not available in Voting List.") | |
183 | 183 | else if ((VotingStatus != NewVotingStatus)) | |
184 | 184 | then throw("LP Token must be a Whitelisted Token.") | |
185 | 185 | else [LPissue, StringEntry(("LP_" + EnterAssetID), toBase58String(LPid))] | |
186 | 186 | } | |
187 | 187 | ||
188 | 188 | ||
189 | 189 | ||
190 | 190 | @Callable(i) | |
191 | 191 | func SwapAssetToUSDTPairEntry (EnterAssetID) = { | |
192 | 192 | let calleraddress = toBase58String(i.caller.bytes) | |
193 | 193 | let pmt = if ((size(i.payments) == 1)) | |
194 | 194 | then i.payments[0] | |
195 | 195 | else throw("Whitelisted Token is required as Attached payment[1].") | |
196 | 196 | let checkpairisavailableornot = getString(this, ("Pair_UV_" + EnterAssetID)) | |
197 | 197 | let VotingStatus = getStringValue(this, ("Voting_Status_" + EnterAssetID)) | |
198 | 198 | let CheckUSDTBalance = getIntegerValue(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID))) | |
199 | 199 | let CheckAssetBalance = getIntegerValue(this, ((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID)) | |
200 | 200 | let newbalanceofUSDT = fraction(CheckUSDTBalance, CheckAssetBalance, (CheckAssetBalance + pmt.amount)) | |
201 | 201 | let quantityofpriceasset = (CheckUSDTBalance - newbalanceofUSDT) | |
202 | 202 | let CurrentVotingStatus = "F" | |
203 | 203 | let SwapFee = 3 | |
204 | 204 | let SwapFeetoreceive = ((quantityofpriceasset * SwapFee) / 1000) | |
205 | 205 | let userbalancetoreceive = (quantityofpriceasset - SwapFeetoreceive) | |
206 | 206 | let SumupofAssetToUSDTSwapFee = match getInteger(this, ((("Total_Swap_Fee_Collected_" + EnterAssetID) + "_") + toBase58String(USDTAssetID))) { | |
207 | 207 | case a: Int => | |
208 | 208 | a | |
209 | 209 | case _ => | |
210 | 210 | 0 | |
211 | 211 | } | |
212 | 212 | let NewSumupofAssetToUSDTSwapFee = (SumupofAssetToUSDTSwapFee + SwapFeetoreceive) | |
213 | 213 | let SumupAssetBalance = match getInteger(this, ((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID)) { | |
214 | 214 | case a: Int => | |
215 | 215 | a | |
216 | 216 | case _ => | |
217 | 217 | 0 | |
218 | 218 | } | |
219 | 219 | let NewSumupofAssetBalance = (CheckAssetBalance + pmt.amount) | |
220 | 220 | let SumupUSDTBalance = match getInteger(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID))) { | |
221 | 221 | case a: Int => | |
222 | 222 | a | |
223 | 223 | case _ => | |
224 | 224 | 0 | |
225 | 225 | } | |
226 | 226 | let NewSumupofUSDTBalance = (CheckUSDTBalance - quantityofpriceasset) | |
227 | 227 | let TOPT = match getIntegerValue(this, ("Total_of_Pair_Txns_" + EnterAssetID)) { | |
228 | 228 | case a: Int => | |
229 | 229 | a | |
230 | 230 | case _ => | |
231 | 231 | 0 | |
232 | 232 | } | |
233 | 233 | let NewTPT = (TOPT + 1) | |
234 | 234 | if ((EnterAssetID == toBase58String(USDTAssetID))) | |
235 | - | then throw("Input can Never be a USDT AssetID. Enter Whitelisted AssetID in input | |
235 | + | then throw("Input can Never be a USDT AssetID. Enter Whitelisted AssetID in input & Attach Whitelisted Asset as an attachment Token in payment[1].") | |
236 | 236 | else if ((checkpairisavailableornot != EnterAssetID)) | |
237 | 237 | then throw("Pair is not available in Whitelisted Asset.") | |
238 | 238 | else if ((VotingStatus == CurrentVotingStatus)) | |
239 | 239 | then throw((EnterAssetID + " is not A Whitelisted Token Yet.")) | |
240 | 240 | else if ((pmt.assetId == USDTAssetID)) | |
241 | 241 | then throw("You can't Attach USDT as an Attached Payment. Only Whitelisted Tokens are accepted.") | |
242 | 242 | else if ((pmt.assetId != fromBase58String(EnterAssetID))) | |
243 | 243 | then throw(("Incorrect asset attached, please attach or send " + EnterAssetID)) | |
244 | 244 | else if ((CheckUSDTBalance == 0)) | |
245 | 245 | then throw("Swap Pair Need to Add Liquidity first into Pool. Only After that Pair will be activated for Swapping.") | |
246 | 246 | else if ((CheckAssetBalance == 0)) | |
247 | 247 | then throw("Swap Pair Need to Add Liquidity first into Pool. Only After that Pair will be activated for Swapping.") | |
248 | 248 | else if ((10000000 > quantityofpriceasset)) | |
249 | 249 | then throw((("Your Attached Asset Amount is very low. Attach More " + EnterAssetID) + " Tokens to Claim the minimum Amount of 10 dollar atleast.")) | |
250 | 250 | else if ((quantityofpriceasset > CheckUSDTBalance)) | |
251 | 251 | then throw((("Pool Only has a Liquidity of " + toString((CheckUSDTBalance / pow(10, 0, 6, 0, 0, UP)))) + " USDT. Add Liquidity into Pool.")) | |
252 | 252 | else [IntegerEntry(((("Total_Swap_Fee_Collected_" + EnterAssetID) + "_") + toBase58String(USDTAssetID)), NewSumupofAssetToUSDTSwapFee), IntegerEntry(("Total_of_Pair_Txns_" + EnterAssetID), NewTPT), IntegerEntry(((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID), NewSumupofAssetBalance), IntegerEntry(((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID)), NewSumupofUSDTBalance), ScriptTransfer(i.caller, userbalancetoreceive, USDTAssetID), ScriptTransfer(CollectUSDTSwapFeeAddress, SwapFeetoreceive, USDTAssetID)] | |
253 | 253 | } | |
254 | 254 | ||
255 | 255 | ||
256 | 256 | ||
257 | 257 | @Callable(i) | |
258 | 258 | func SwapUSDTToAssetPairEntry (EnterAssetID) = { | |
259 | 259 | let calleraddress = toBase58String(i.caller.bytes) | |
260 | 260 | let pmt = if ((size(i.payments) == 1)) | |
261 | 261 | then i.payments[0] | |
262 | 262 | else throw("Only USDT Token is required as an Attached payment[1].") | |
263 | 263 | let CheckUSDTBalance = getIntegerValue(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID))) | |
264 | 264 | let CheckAssetBalance = getIntegerValue(this, ((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID)) | |
265 | 265 | let newbalanceofAsset = fraction(CheckUSDTBalance, CheckAssetBalance, (CheckUSDTBalance + pmt.amount)) | |
266 | 266 | let quantityofpriceasset = (CheckAssetBalance - newbalanceofAsset) | |
267 | 267 | let checkpairisavailableornot = getString(this, ("Pair_UV_" + EnterAssetID)) | |
268 | 268 | let VotingStatus = getStringValue(this, ("Voting_Status_" + EnterAssetID)) | |
269 | 269 | let CurrentVotingStatus = "F" | |
270 | 270 | let SwapFee = 3 | |
271 | 271 | let SwapFeetoreceive = ((quantityofpriceasset * SwapFee) / 1000) | |
272 | 272 | let userbalancetoreceive = (quantityofpriceasset - SwapFeetoreceive) | |
273 | 273 | let SumupofUSDTToAssetSwapFee = match getInteger(this, ("Total_Swap_Fee_Collected_" + EnterAssetID)) { | |
274 | 274 | case a: Int => | |
275 | 275 | a | |
276 | 276 | case _ => | |
277 | 277 | 0 | |
278 | 278 | } | |
279 | 279 | let NewSumupofUSDTToAssetSwapFee = (SumupofUSDTToAssetSwapFee + SwapFeetoreceive) | |
280 | 280 | let SumupAssetBalance = match getInteger(this, ((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID)) { | |
281 | 281 | case a: Int => | |
282 | 282 | a | |
283 | 283 | case _ => | |
284 | 284 | 0 | |
285 | 285 | } | |
286 | 286 | let NewSumupofAssetBalance = (CheckAssetBalance - quantityofpriceasset) | |
287 | 287 | let SumupUSDTBalance = match getInteger(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID))) { | |
288 | 288 | case a: Int => | |
289 | 289 | a | |
290 | 290 | case _ => | |
291 | 291 | 0 | |
292 | 292 | } | |
293 | 293 | let NewSumupofUSDTBalance = (CheckUSDTBalance + pmt.amount) | |
294 | 294 | let TOPT = match getIntegerValue(this, ("Total_of_Pair_Txns_" + EnterAssetID)) { | |
295 | 295 | case a: Int => | |
296 | 296 | a | |
297 | 297 | case _ => | |
298 | 298 | 0 | |
299 | 299 | } | |
300 | 300 | let NewTPT = (TOPT + 1) | |
301 | 301 | if ((checkpairisavailableornot != EnterAssetID)) | |
302 | 302 | then throw("Pair is not available in Whitelisted Asset.") | |
303 | 303 | else if ((VotingStatus == CurrentVotingStatus)) | |
304 | 304 | then throw((EnterAssetID + " is not A Whitelisted Token Yet.")) | |
305 | 305 | else if ((EnterAssetID == toBase58String(USDTAssetID))) | |
306 | - | then throw("Input can Never be a USDT AssetID. Enter Whitelisted AssetID in input | |
306 | + | then throw("Input can Never be a USDT AssetID. Enter Whitelisted AssetID in input & Attach USDT as an attachment Token in payment[1].") | |
307 | 307 | else if ((pmt.assetId != USDTAssetID)) | |
308 | 308 | then throw("You can Attach USDT as an Attached Payment[1] to Swap USDT To Required Token. Any other asset else than USDT will be rejected.") | |
309 | 309 | else if ((10000000 > pmt.amount)) | |
310 | 310 | then throw("Your Attached USDT Amount is very low. Attach Atleast 10 USDT to Claim the minimum Tokens.") | |
311 | 311 | else if ((CheckUSDTBalance == 0)) | |
312 | 312 | then throw("Swap Pair Need to Add Liquidity first into Pool. Only After that Pair will be activated for Swapping.") | |
313 | 313 | else if ((CheckAssetBalance == 0)) | |
314 | 314 | then throw("Swap Pair Need to Add Liquidity first into Pool. Only After that Pair will be activated for Swapping.") | |
315 | 315 | else if ((quantityofpriceasset > CheckAssetBalance)) | |
316 | 316 | then throw((("Pool Only has a Liquidity of " + toString(CheckAssetBalance)) + " Tokens. Add Liquidity into Pool.")) | |
317 | 317 | else [IntegerEntry(("Total_Swap_Fee_Collected_" + EnterAssetID), NewSumupofUSDTToAssetSwapFee), IntegerEntry(("Total_of_Pair_Txns_" + EnterAssetID), NewTPT), IntegerEntry(((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID), NewSumupofAssetBalance), IntegerEntry(((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID)), NewSumupofUSDTBalance), ScriptTransfer(i.caller, userbalancetoreceive, fromBase58String(EnterAssetID)), ScriptTransfer(CollectAssetSwapFeeAddress, SwapFeetoreceive, fromBase58String(EnterAssetID))] | |
318 | 318 | } | |
319 | 319 | ||
320 | 320 | ||
321 | 321 | ||
322 | 322 | @Callable(i) | |
323 | 323 | func AddLiquidity (EnterAssetID) = { | |
324 | 324 | let calleraddress = toBase58String(i.caller.bytes) | |
325 | 325 | let pmt1 = value(i.payments[0]) | |
326 | 326 | let pmt2 = value(i.payments[1]) | |
327 | 327 | let checkpairisavailableornot = getString(this, ("Pair_UV_" + EnterAssetID)) | |
328 | 328 | let VotingStatus = getStringValue(this, ("Voting_Status_" + EnterAssetID)) | |
329 | 329 | let ReissueassetId = fromBase58String(valueOrErrorMessage(getString(this, ("LP_" + EnterAssetID)), "LP Token is Missing or May be not Generated.")) | |
330 | 330 | let CurrentVotingStatus = "F" | |
331 | 331 | let CheckUSDTBalance = getIntegerValue(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID))) | |
332 | 332 | let CheckAssetBalance = getIntegerValue(this, ((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID)) | |
333 | 333 | let decimalsinfo = valueOrErrorMessage(assetInfo(fromBase58String(EnterAssetID)), (("Asset " + EnterAssetID) + " doesn't exist")) | |
334 | 334 | let decimals = decimalsinfo.decimals | |
335 | 335 | let arg1 = pow((CheckUSDTBalance / pow(10, 6, 6, 0, 0, UP)), 0, 1, 0, 0, UP) | |
336 | 336 | let arg2 = pow((CheckAssetBalance / pow(10, decimals, decimals, 0, 0, UP)), 0, 1, 0, 0, UP) | |
337 | 337 | let args3 = pow((((arg1 * 1000000) / arg2) * pow(10, 0, decimals, 0, 0, UP)), 0, 1, 0, 0, UP) | |
338 | - | let | |
339 | - | let sharedecimals = ( | |
340 | - | let quantityofEnterAssetID = fraction(args3, pmt1.amount, pow(10, 0, | |
338 | + | let bothassetsdecimals = (6 + decimals) | |
339 | + | let sharedecimals = (bothassetsdecimals / 2) | |
340 | + | let quantityofEnterAssetID = fraction(args3, pmt1.amount, pow(10, 0, bothassetsdecimals, 0, 0, UP)) | |
341 | 341 | let quantityofLPToken1 = pow((fraction(pmt1.amount, 1, pow(10, 0, decimals, 0, 0, UP)) * fraction(pmt2.amount, 1, pow(10, 0, 6, 0, 0, UP))), 0, 5, 1, sharedecimals, DOWN) | |
342 | 342 | let USDTHoldingInPair = match getInteger(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID))) { | |
343 | 343 | case a: Int => | |
344 | 344 | a | |
345 | 345 | case _ => | |
346 | 346 | 0 | |
347 | 347 | } | |
348 | 348 | let NewUSDTHoldingInPair = (USDTHoldingInPair + pmt2.amount) | |
349 | 349 | let AssetHoldingInPair = match getInteger(this, ((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID)) { | |
350 | 350 | case a: Int => | |
351 | 351 | a | |
352 | 352 | case _ => | |
353 | 353 | 0 | |
354 | 354 | } | |
355 | 355 | let NewAssetHoldingInPair = (AssetHoldingInPair + pmt1.amount) | |
356 | 356 | let LPTokenIssued = match getIntegerValue(this, ("Total_LP_" + EnterAssetID)) { | |
357 | 357 | case a: Int => | |
358 | 358 | a | |
359 | 359 | case _ => | |
360 | 360 | 0 | |
361 | 361 | } | |
362 | 362 | let NewLPTokenIssued = (LPTokenIssued + quantityofLPToken1) | |
363 | 363 | if ((checkpairisavailableornot != EnterAssetID)) | |
364 | 364 | then throw("Pair is not available in Whitelisted Asset.") | |
365 | 365 | else if ((VotingStatus == CurrentVotingStatus)) | |
366 | 366 | then throw((EnterAssetID + " is not A Whitelisted Token Yet.")) | |
367 | 367 | else if ((EnterAssetID == toBase58String(USDTAssetID))) | |
368 | - | then throw("Input can Never be a USDT AssetID. Enter Whitelisted AssetID in input as well as in payment[1] | |
368 | + | then throw("Input can Never be a USDT AssetID. Enter Whitelisted AssetID in input as well as in payment[1] & Attach USDT as an attachment Token in payment[2].") | |
369 | 369 | else if ((size(i.payments) != 2)) | |
370 | - | then throw("Two attached assets expected as payment in 50%-50%. Kindly Attach payment1 = Token you want to add for Liquidity | |
370 | + | then throw("Two attached assets expected as payment in 50%-50%. Kindly Attach payment1 = Token you want to add for Liquidity & payment2 = Equivalent Amount of USDT Token.") | |
371 | 371 | else if ((pmt1.assetId == USDTAssetID)) | |
372 | 372 | then throw("You Attached USDT asset in payment[1], please attach only whitelisted Token in payment[1] along with USDT in payment[2].") | |
373 | 373 | else if ((pmt1.assetId != fromBase58String(EnterAssetID))) | |
374 | 374 | then throw("Incorrect asset attached for Liquidity in payment[1], please attach String Asset or Whitelisted Token only.") | |
375 | 375 | else if ((pmt1.assetId != fromBase58String(EnterAssetID))) | |
376 | 376 | then throw("Incorrect asset attached for Liquidity in payment[1], please attach String Asset or Whitelisted Token only.") | |
377 | 377 | else if ((pmt2.assetId != USDTAssetID)) | |
378 | - | then throw("Wrong Asset Attached in payments[2], Please attach payment[1] = Liquidity Token | |
378 | + | then throw("Wrong Asset Attached in payments[2], Please attach payment[1] = Liquidity Token & payment[2] = USDT Token.") | |
379 | 379 | else if ((10000000 > pmt2.amount)) | |
380 | - | then throw("please attach atleast 10 USDT in payment[2] | |
380 | + | then throw("please attach atleast 10 USDT in payment[2] & Equivalent worth of Token in payment[1]") | |
381 | 381 | else if ((pmt2.amount != quantityofEnterAssetID)) | |
382 | 382 | then throw(("Attached payment[2] quantity is not matching as per attached payment[1].payment[2] must be " + toString(quantityofEnterAssetID))) | |
383 | - | else [IntegerEntry(((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID)), NewUSDTHoldingInPair), IntegerEntry(((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID), NewAssetHoldingInPair), IntegerEntry( | |
383 | + | else [IntegerEntry(((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID)), NewUSDTHoldingInPair), IntegerEntry(((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID), NewAssetHoldingInPair), IntegerEntry(("Total_LP_" + EnterAssetID), NewLPTokenIssued), Reissue(ReissueassetId, quantityofLPToken1, true), ScriptTransfer(i.caller, quantityofLPToken1, ReissueassetId)] | |
384 | 384 | } | |
385 | 385 | ||
386 | 386 | ||
387 | 387 | ||
388 | 388 | @Callable(i) | |
389 | 389 | func RemoveLiquidity (EnterAssetID) = { | |
390 | 390 | let calleraddress = toBase58String(i.caller.bytes) | |
391 | 391 | let pmt = if ((size(i.payments) == 1)) | |
392 | 392 | then i.payments[0] | |
393 | 393 | else throw("No payment attached, Please Attach LP Token as payment[1].") | |
394 | 394 | let checkpairisavailableornot = getString(this, ("Pair_UV_" + EnterAssetID)) | |
395 | 395 | let VotingStatus = getStringValue(this, ("Voting_Status_" + EnterAssetID)) | |
396 | - | let ReissueableassetId = fromBase58String(valueOrErrorMessage(getString(this, ("LP_" + EnterAssetID)), "LP Token is Missing or | |
396 | + | let ReissueableassetId = fromBase58String(valueOrErrorMessage(getString(this, ("LP_" + EnterAssetID)), "LP Token is Missing or not Generated.")) | |
397 | 397 | let CurrentVotingStatus = "F" | |
398 | - | let AddLiquidityFee = 100000 | |
399 | 398 | let CheckUSDTBalance = getIntegerValue(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID))) | |
400 | 399 | let CheckAssetBalance = getIntegerValue(this, ((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID)) | |
401 | 400 | let decimalsinfo = valueOrErrorMessage(assetInfo(fromBase58String(EnterAssetID)), (("Asset " + EnterAssetID) + " doesn't exist")) | |
402 | 401 | let decimals = decimalsinfo.decimals | |
403 | 402 | let arg1 = pow((CheckUSDTBalance / pow(10, 6, 6, 0, 0, UP)), 0, 1, 0, 0, UP) | |
404 | 403 | let arg2 = pow((CheckAssetBalance / pow(10, decimals, decimals, 0, 0, UP)), 0, 1, 0, 0, UP) | |
405 | 404 | let args3 = pow((((arg1 * 1000000) / arg2) * pow(10, 0, decimals, 0, 0, UP)), 0, 1, 0, 0, UP) | |
406 | - | let sumupofbothassetsdecimals = (6 + decimals) | |
407 | - | let sharedecimals = (sumupofbothassetsdecimals / 2) | |
408 | - | let DoSquareofAttachedPayment = fraction(pow(pmt.amount, sharedecimals, 2, 0, 6, HALFUP), 1, fraction(args3, 1, pow(10, 0, 6, 0, 0, UP))) | |
409 | - | let SqrtofDoSquareofAttachedPayment = pow(DoSquareofAttachedPayment, 0, 5, 1, sharedecimals, DOWN) | |
410 | - | let UserAttachedLPTokenWorth = fraction(args3, SqrtofDoSquareofAttachedPayment, pow(10, 0, sumupofbothassetsdecimals, 0, 0, UP)) | |
405 | + | let bothassetsdecimals = (6 + decimals) | |
406 | + | let sharedecimals = (bothassetsdecimals / 2) | |
407 | + | let SquareofAttachedPymt = fraction(pow(pmt.amount, sharedecimals, 2, 0, 6, HALFUP), 1, fraction(args3, 1, pow(10, 0, 6, 0, 0, UP))) | |
408 | + | let SqrtofAttachPymt = pow(SquareofAttachedPymt, 0, 5, 1, sharedecimals, DOWN) | |
409 | + | let UserLPWorth = fraction(args3, SqrtofAttachPymt, pow(10, 0, bothassetsdecimals, 0, 0, UP)) | |
410 | + | let USDTHoldingInPair = match getInteger(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID))) { | |
411 | + | case a: Int => | |
412 | + | a | |
413 | + | case _ => | |
414 | + | 0 | |
415 | + | } | |
416 | + | let NewUSDTHoldingInPair = (USDTHoldingInPair - UserLPWorth) | |
417 | + | let AssetHoldingInPair = match getInteger(this, ((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID)) { | |
418 | + | case a: Int => | |
419 | + | a | |
420 | + | case _ => | |
421 | + | 0 | |
422 | + | } | |
423 | + | let NewAssetHoldingInPair = (AssetHoldingInPair - SqrtofAttachPymt) | |
411 | 424 | let LPTokenIssued = match getIntegerValue(this, ("Total_LP_" + EnterAssetID)) { | |
412 | 425 | case a: Int => | |
413 | 426 | a | |
414 | 427 | case _ => | |
415 | 428 | 0 | |
416 | 429 | } | |
417 | 430 | let NewLPTokenIssued = (LPTokenIssued - pmt.amount) | |
418 | 431 | if ((checkpairisavailableornot != EnterAssetID)) | |
419 | - | then throw("Pair is not available in | |
432 | + | then throw("Pair is not available in Whitelist.") | |
420 | 433 | else if ((VotingStatus == CurrentVotingStatus)) | |
421 | - | then throw((EnterAssetID + " is not A | |
434 | + | then throw((EnterAssetID + " is not A Whitelist Token Yet.")) | |
422 | 435 | else if ((fromBase58String(EnterAssetID) == USDTAssetID)) | |
423 | - | then throw(" | |
436 | + | then throw("Don't choose USDT AssetID as Input, Only Whitelisted Asset as Input String & Attach LP Tokens as payment[1]") | |
424 | 437 | else if ((pmt.assetId != ReissueableassetId)) | |
425 | 438 | then throw("Wrong Asset is attached in payment[1] or LP Token Not Found or Missing.") | |
426 | - | else [Burn(ReissueableassetId, pmt.amount), IntegerEntry(("Total_LP_" + EnterAssetID), NewLPTokenIssued), IntegerEntry(" | |
439 | + | else [Burn(ReissueableassetId, pmt.amount), IntegerEntry(("Total_LP_" + EnterAssetID), NewLPTokenIssued), IntegerEntry(((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID)), NewUSDTHoldingInPair), IntegerEntry(((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID), NewAssetHoldingInPair), ScriptTransfer(i.caller, UserLPWorth, USDTAssetID), ScriptTransfer(i.caller, SqrtofAttachPymt, fromBase58String(EnterAssetID))] | |
427 | 440 | } | |
428 | 441 | ||
429 | 442 | ||
430 | 443 | ||
431 | 444 | @Callable(i) | |
432 | 445 | func RemovePairEntry (EnterAssetID) = { | |
433 | 446 | let adminrights = getStringValue(this, "Polarity_Admin_Rights") | |
434 | 447 | let checkendheight = getIntegerValue(this, ("Voting_EH_" + EnterAssetID)) | |
435 | 448 | let checkpairisavailableornot = getString(this, ("Pair_UV_" + EnterAssetID)) | |
436 | 449 | let VotingStatus = getStringValue(this, ("Voting_Status_" + EnterAssetID)) | |
437 | 450 | let NewVotingStatus = "P" | |
438 | 451 | let calleraddress = toBase58String(i.caller.bytes) | |
439 | 452 | let currentheight = height | |
440 | 453 | let pendingblocksforprojectexpire = (checkendheight - height) | |
441 | 454 | if ((checkpairisavailableornot != EnterAssetID)) | |
442 | 455 | then throw("Pair is not available in Voting List.") | |
443 | 456 | else if ((adminrights != calleraddress)) | |
444 | 457 | then throw((("I know You are not An Admin. Only " + adminrights) + " has rights to remove the pair.")) | |
445 | 458 | else if ((checkendheight > height)) | |
446 | 459 | then throw((("Voting Already Running. You can remove the pair after " + toString(pendingblocksforprojectexpire)) + " Blocks")) | |
447 | 460 | else if ((VotingStatus == NewVotingStatus)) | |
448 | 461 | then throw((EnterAssetID + " is now Whitelisted. So you can't remove it.")) | |
449 | 462 | else [DeleteEntry(("Pair_UV_" + EnterAssetID)), DeleteEntry(("Voting_SH_" + EnterAssetID)), DeleteEntry(("Voting_EH_" + EnterAssetID)), DeleteEntry(("Voting_Period_" + EnterAssetID)), DeleteEntry(("Votes_Req_" + EnterAssetID)), DeleteEntry(("Listing_Fee_" + EnterAssetID)), DeleteEntry(("Voting_Status_" + EnterAssetID)), DeleteEntry(("Votes_Rcvd_" + EnterAssetID))] | |
450 | 463 | } | |
451 | 464 | ||
452 | 465 | ||
453 | - | ||
454 | - | @Callable(i) | |
455 | - | func RemoveEntry (Key,Key1,Key2,Key3) = [DeleteEntry(Key), DeleteEntry(Key1), DeleteEntry(Key2), DeleteEntry(Key3)] | |
456 | - | ||
457 | - | ||
458 | 466 | @Verifier(tx) | |
459 | 467 | func verify () = match tx { | |
460 | 468 | case _ => | |
461 | 469 | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
462 | 470 | } | |
463 | 471 |
github/deemru/w8io/169f3d6 87.75 ms ◑