tx · 4PW4vBbmzdjnXaog6G9tFdKxGBooxcdxnwexkLDvbFts

3Mrnje6z2xa3xuXyU2Lk6ynKy8tsRnnt4Bv:  -0.01400000 Waves

2022.01.13 08:06 [1876735] smart account 3Mrnje6z2xa3xuXyU2Lk6ynKy8tsRnnt4Bv > SELF 0.00000000 Waves

{ "type": 13, "id": "4PW4vBbmzdjnXaog6G9tFdKxGBooxcdxnwexkLDvbFts", "fee": 1400000, "feeAssetId": null, "timestamp": 1642050394674, "version": 2, "chainId": 84, "sender": "3Mrnje6z2xa3xuXyU2Lk6ynKy8tsRnnt4Bv", "senderPublicKey": "28sGn7FYnmxceAmnGYiDiKuMK1QyXiqX8zQXfKDnrc8t", "proofs": [ "3sirntXNq5pX9FFyTZ8fwk2TPeRfrJYHAsD9ShSeK6xnQ2EPVCoVEJUSbftQ2s86tfVCmT3JpUC51pa1L5fQCeJG" ], "script": "base64:AAIEAAAAAAAAADQIAhIAEgASBAoCCAESAwoBCBIDCgEIEgMKAQgSAwoBCBIDCgEIEgMKAQgSAwoBCBIDCgEIAAAABgAAAAALVVNEVEFzc2V0SUQBAAAAIAhlhLcP8IpqGvPiaOguCJAkw9MnWAPNLPYuXgvf2hWkAAAAAA1CYWxsZXRBc3NldElEAQAAACAtb1sBuZ3lSm8ahGink+4TF5YYAu/xRHYwe1h195OooAAAAAAXQ29sbGVjdEJhbGxldEZlZUFkZHJlc3MJAQAAABRhZGRyZXNzRnJvbVB1YmxpY0tleQAAAAEBAAAAIOOt17LUijbWojwDE5tgFkw1Y8cwIr3jselcewpp7rwjAAAAABVJc3N1ZUJhbGxldEZlZUFkZHJlc3MJAQAAABRhZGRyZXNzRnJvbVB1YmxpY0tleQAAAAEBAAAAIOOt17LUijbWojwDE5tgFkw1Y8cwIr3jselcewpp7rwjAAAAABlDb2xsZWN0VVNEVFN3YXBGZWVBZGRyZXNzCQEAAAAUYWRkcmVzc0Zyb21QdWJsaWNLZXkAAAABAQAAACDjrdey1Io21qI8AxObYBZMN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SBpdC4JAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQkAASwAAAACAgAAAAhQYWlyX1VWXwUAAAAMRW50ZXJBc3NldElECQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEJAAEsAAAAAgIAAAAKVm90aW5nX1NIXwUAAAAMRW50ZXJBc3NldElECQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEJAAEsAAAAAgIAAAAKVm90aW5nX0VIXwUAAAAMRW50ZXJBc3NldElECQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEJAAEsAAAAAgIAAAAOVm90aW5nX1BlcmlvZF8FAAAADEVudGVyQXNzZXRJRAkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABCQABLAAAAAICAAAAClZvdGVzX1JlcV8FAAAADEVudGVyQXNzZXRJRAkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABCQABLAAAAAICAAAADExpc3RpbmdfRmVlXwUAAAAMRW50ZXJBc3NldElECQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEJAAEsAAAAAgIAAAAOVm90aW5nX1N0YXR1c18FAAAADEVudGVyQXNzZXRJRAkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABCQABLAAAAAICAAAAC1ZvdGVzX1JjdmRfBQAAAAxFbnRlckFzc2V0SUQFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAAByRtYXRjaDAFAAAAAnR4CQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleXdP/z8=", "height": 1876735, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: FsSoU5xBPDRTjxbJgn8JLeav1jAdnS3tLtoVxCpbnj19 Next: 4xv4NAeCicSqm9EWBNLB7fPYVw73Yw1SdF3StdBDQ7MA Diff:
OldNewDifferences
33 {-# CONTENT_TYPE DAPP #-}
44 let USDTAssetID = base58'Zn3cLHW7aAVPm5aACcTjvg7e7iEy2cKDtbowok5qa9H'
55
6-let CODEAssetID = base58'44Mq8KqUhM94t93MiBq3S22iiuGczMxpKmse5dBy2w5y'
6+let BalletAssetID = base58'44Mq8KqUhM94t93MiBq3S22iiuGczMxpKmse5dBy2w5y'
77
8-let CollectCODEFeeAddress = addressFromPublicKey(base58'6Z73KxcX3sugpiStpSRXxKxTmWqCaLVwFeM6kwyiKVDR')
8+let CollectBalletFeeAddress = addressFromPublicKey(base58'GKmJ6BchUgQfwKp4mp5eX8Y9xLioYRm6e1gDfFgdAcCr')
99
10-let CollectUSDTSwapFeeAddress = addressFromPublicKey(base58'6Z73KxcX3sugpiStpSRXxKxTmWqCaLVwFeM6kwyiKVDR')
10+let IssueBalletFeeAddress = addressFromPublicKey(base58'GKmJ6BchUgQfwKp4mp5eX8Y9xLioYRm6e1gDfFgdAcCr')
1111
12-let CollectAssetSwapFeeAddress = addressFromPublicKey(base58'6Z73KxcX3sugpiStpSRXxKxTmWqCaLVwFeM6kwyiKVDR')
12+let CollectUSDTSwapFeeAddress = addressFromPublicKey(base58'GKmJ6BchUgQfwKp4mp5eX8Y9xLioYRm6e1gDfFgdAcCr')
13+
14+let CollectAssetSwapFeeAddress = addressFromPublicKey(base58'GKmJ6BchUgQfwKp4mp5eX8Y9xLioYRm6e1gDfFgdAcCr')
15+
16+@Callable(i)
17+func IssueBallet () = {
18+ let pmt = value(i.payments[0])
19+ let currentKey = toBase58String(i.caller.bytes)
20+ let PricePerBallet = getIntegerValue(this, "BALLET/TN")
21+ let NewBalletToUser = fraction(100000, pmt.amount, PricePerBallet)
22+ let PreviousIssuedBallet = getIntegerValue(this, "Total_Issued_Ballet:")
23+ let TotalIssuedBallet = (PreviousIssuedBallet + NewBalletToUser)
24+ let PreviousBalletReserveValue = getIntegerValue(this, "Total_Ballet_Reserve_In_TN:")
25+ let BalletReserveValue = (PreviousBalletReserveValue + pmt.amount)
26+ let PreviousBalletBackupPrice = getIntegerValue(this, "Ballet_Backup_Value_In_TN:")
27+ let BalletBackupPrice = fraction(100000, BalletReserveValue, TotalIssuedBallet)
28+ let FeePercentage = 1
29+ let BalanceTokensReturnedToUser = (100 - FeePercentage)
30+ if (isDefined(pmt.assetId))
31+ then throw("Incorrect asset attached, please attach TN.")
32+ else if ((5000000 > pmt.amount))
33+ then throw("Please Attach minimum 0.05 TN To Issue Ballet Asset.")
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+ }
36+
37+
38+
39+@Callable(i)
40+func Liquidate () = {
41+ let currentKey = toBase58String(i.callerPublicKey)
42+ let pmt = value(i.payments[0])
43+ let PreviousIssuedBallet = getIntegerValue(this, "Total_Issued_Ballet:")
44+ let TotalIssuedBallet = (PreviousIssuedBallet - pmt.amount)
45+ let PreviousBalletReserveValue = getIntegerValue(this, "Total_Ballet_Reserve_In_TN:")
46+ let PreviousBalletBackupPrice = getIntegerValue(this, "Ballet_Backup_Value_In_TN:")
47+ let calculateburnvalue = fraction(PreviousBalletBackupPrice, pmt.amount, 100000)
48+ let BalletReserveValue = (PreviousBalletReserveValue - calculateburnvalue)
49+ let BalletBackupPrice = fraction(100000, BalletReserveValue, TotalIssuedBallet)
50+ if ((pmt.assetId != BalletAssetID))
51+ then throw("Kindly Deposit Only 44Mq8KqUhM94t93MiBq3S22iiuGczMxpKmse5dBy2w5y (Ballet).")
52+ else if ((100000 > pmt.amount))
53+ then throw("Attach Amount must be greater than 0.001 Ballet.")
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+ }
56+
57+
1358
1459 @Callable(i)
1560 func RegisterPairForVoting (EnterAssetID,days) = {
3580 else if ((fetchpair == EnterAssetID))
3681 then throw("Pair Already Exist in Voting List.")
3782 else if ((size(i.payments) != 2))
38- then throw("Two attached assets expected as payment. Kindly Attach payment1 = CODE Token & payment2 = Token you want to List for Voting.")
39- else if ((pmt1.assetId != CODEAssetID))
40- then throw("Incorrect asset attached for Voting in payment[1], please attach 2000 CODE Token only.")
41- else if ((pmt1.amount != 200000000000))
42- then throw((((("You attached only " + toString(fraction(pmt1.amount, 1, 100000000))) + ".") + toString(fraction(pmt1.amount, 1, 10000000))) + " CODE for Voting in payment[1], please attach 2000 CODE Token."))
83+ then throw("Two attached assets expected as payment. Kindly Attach payment1 = Ballet Token & payment2 = Token you want to List for Voting.")
84+ else if ((pmt1.assetId != BalletAssetID))
85+ then throw("Incorrect asset attached for Voting in payment[1], please attach 1000 Ballet Token only.")
86+ else if ((pmt1.amount != 10000000))
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."))
4388 else if ((pmt2.assetId != assetinfopmt2))
4489 then throw("Input String & Attached AssetID in payment2 is not matching.")
4590 else if ((TN == true))
46- then throw("You Attached TN Asset ID for Voting, please attach fsTN instead of TN or Token You want to list in payment[2].")
47- 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 / 3)), IntegerEntry(("Votes_Rcvd_" + EnterAssetID), 0), ScriptTransfer(CollectCODEFeeAddress, pmt1.amount, CODEAssetID)]
91+ then throw("You Attached TN Asset ID for Voting, please attach the Token You want to list in payment[2].")
92+ else if ((pmt2.assetId == BalletAssetID))
93+ then throw("You Attached Ballet asset for Voting in both payments, please attach the Token You want to list in payment[2].")
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)]
4895 }
4996
5097
53100 func DoVoting (EnterAssetID) = {
54101 let pmt = if ((size(i.payments) == 1))
55102 then i.payments[0]
56- else throw((toBase58String(CODEAssetID) + "CODE Token is required as Attached payment"))
103+ else throw("Ballet Token is required as Attached payment")
57104 let calleraddress = toBase58String(i.caller.bytes)
58105 let NewVotingStatus = "P"
59106 let checkendheight = getIntegerValue(this, ("Voting_EH_" + EnterAssetID))
81128 then throw("Pair is not available in Voting List.")
82129 else if ((height > checkendheight))
83130 then throw((("Voting timeline for " + EnterAssetID) + " is expired."))
84- else if ((pmt.assetId != CODEAssetID))
85- then throw((("Kindly Attach Only " + toBase58String(CODEAssetID)) + " Token."))
131+ else if ((pmt.assetId != BalletAssetID))
132+ then throw((("Kindly Attach Only " + toBase58String(BalletAssetID)) + " Token."))
86133 else if ((VotingStatus == NewVotingStatus))
87134 then throw((("Voting for " + EnterAssetID) + " pair is completed & it’s available in whitelist."))
88135 else if (checkwhitelist)
105152 if ((checkpairisavailableornot != EnterAssetID))
106153 then throw("Pair is not available in Voting List.")
107154 else if ((checkendheight > height))
108- then throw((("Voting Already Running. You can withdraw your CODE Token after " + toString(pendingblocksforprojectexpire)) + " blocks"))
155+ then throw((("Voting Already Running. You can withdraw your Ballet Token after " + toString(pendingblocksforprojectexpire)) + " blocks"))
109156 else if ((0 >= checkuservotingbalance))
110- then throw("You don't have any dues of CODE balance in this Voting Pair.")
157+ then throw("You don't have any dues of ballet balance in this Voting Pair.")
111158 else if (isDefined(pmt.assetId))
112159 then throw("Don't attach any other asset. Please attach 0.1 TN as a fee to release your token")
113160 else if ((pmt.amount != 10000000))
114161 then throw("Please attach 0.1 TN as a fee to release your token.")
115- else [IntegerEntry(((("Votes_Rcvd_" + calleraddress) + "_") + EnterAssetID), 0), ScriptTransfer(i.caller, checkuservotingbalance, CODEAssetID)]
162+ else [IntegerEntry(((("Votes_Rcvd_" + calleraddress) + "_") + EnterAssetID), 0), ScriptTransfer(i.caller, checkuservotingbalance, BalletAssetID)]
116163 }
117164
118165
127174 let decimals = info.decimals
128175 let NewVotingStatus = "P"
129176 let VotingStatus = valueOrErrorMessage(getString(this, ("Voting_Status_" + EnterAssetID)), ("Voting Status is Missing for " + EnterAssetID))
130- let FirstLPQty = (1 * pow(10, 0, fraction((decimals + 6), 1, 2), 0, 0, UP))
131- let LPissue = Issue((("LP-" + take(name, 8)) + "-USDT"), (((("LP-" + name) + "-USDT") + " is a Liquidity Provider Token Issued Against ") + EnterAssetID), FirstLPQty, fraction((decimals + 6), 1, 2), true)
177+ let LPissue = Issue((("LP-" + take(name, 8)) + "-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)
132178 let LPid = calculateAssetId(LPissue)
133179 if ((adminrights != calleraddress))
134180 then throw((("Your are not allowded to Issue LP Token. Only " + adminrights) + " can issue the LP Token."))
136182 then throw("Pair is not available in Voting List.")
137183 else if ((VotingStatus != NewVotingStatus))
138184 then throw("LP Token must be a Whitelisted Token.")
139- else [LPissue, StringEntry(("LP_" + EnterAssetID), toBase58String(LPid)), IntegerEntry(("Total_LP_" + EnterAssetID), FirstLPQty)]
185+ else [LPissue, StringEntry(("LP_" + EnterAssetID), toBase58String(LPid))]
140186 }
141187
142188
213259 let calleraddress = toBase58String(i.caller.bytes)
214260 let pmt = if ((size(i.payments) == 1))
215261 then i.payments[0]
216- else throw((("Only " + toBase58String(USDTAssetID)) + " USDT Token is required as an Attached payment[1]."))
262+ else throw("Only USDT Token is required as an Attached payment[1].")
217263 let CheckUSDTBalance = getIntegerValue(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID)))
218264 let CheckAssetBalance = getIntegerValue(this, ((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID))
219265 let newbalanceofAsset = fraction(CheckUSDTBalance, CheckAssetBalance, (CheckUSDTBalance + pmt.amount))
287333 let decimalsinfo = valueOrErrorMessage(assetInfo(fromBase58String(EnterAssetID)), (("Asset " + EnterAssetID) + " doesn't exist"))
288334 let decimals = decimalsinfo.decimals
289335 let arg1 = pow((CheckUSDTBalance / pow(10, 6, 6, 0, 0, UP)), 0, 1, 0, 0, UP)
336+ let arg2 = pow((CheckAssetBalance / pow(10, decimals, decimals, 0, 0, UP)), 0, 1, 0, 0, UP)
337+ let args3 = pow((((arg1 * 1000000) / arg2) * pow(10, 0, decimals, 0, 0, UP)), 0, 1, 0, 0, UP)
290338 let bothassetsdecimals = (6 + decimals)
291339 let sharedecimals = (bothassetsdecimals / 2)
340+ let quantityofEnterAssetID = fraction(args3, pmt1.amount, pow(10, 0, bothassetsdecimals, 0, 0, UP))
292341 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)
293342 let USDTHoldingInPair = match getInteger(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID))) {
294343 case a: Int =>
323372 then throw("You Attached USDT asset in payment[1], please attach only whitelisted Token in payment[1] along with USDT in payment[2].")
324373 else if ((pmt1.assetId != fromBase58String(EnterAssetID)))
325374 then throw("Incorrect asset attached for Liquidity in payment[1], please attach String Asset or Whitelisted Token only.")
326- else if ((pmt1.assetId != fromBase58String(EnterAssetID)))
327- then throw("Incorrect asset attached for Liquidity in payment[1], please attach String Asset or Whitelisted Token only.")
328- else if ((pmt2.assetId != USDTAssetID))
329- then throw("Wrong Asset Attached in payments[2], Please attach payment[1] = Liquidity Token & payment[2] = USDT Token.")
330- else if ((10000000 > pmt2.amount))
331- then throw("please attach atleast 10 USDT in payment[2] & Equivalent worth of Token in payment[1]")
332- else [IntegerEntry(((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID)), NewUSDTHoldingInPair), IntegerEntry(((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID), NewAssetHoldingInPair), IntegerEntry("Price_Per_Token", arg1), IntegerEntry(("Total_LP_" + EnterAssetID), NewLPTokenIssued), Reissue(ReissueassetId, quantityofLPToken1, true), ScriptTransfer(i.caller, quantityofLPToken1, ReissueassetId)]
375+ else if ((pmt2.assetId != USDTAssetID))
376+ then throw("Wrong Asset Attached in payments[2], Please attach payment[1] = Liquidity Token & payment[2] = USDT Token.")
377+ else if ((10000000 > pmt2.amount))
378+ then throw("please attach atleast 10 USDT in payment[2] & Equivalent worth of Token in payment[1]")
379+ else if ((pmt2.amount != quantityofEnterAssetID))
380+ then throw(("Attached payment[2] quantity is not matching as per attached payment[1].payment[2] must be " + toString(quantityofEnterAssetID)))
381+ 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)]
333382 }
334383
335384
391440
392441
393442 @Callable(i)
394-func RemoveEntry (Key,Key1,Key2,Key3) = [DeleteEntry(Key), DeleteEntry(Key1), DeleteEntry(Key2), DeleteEntry(Key3)]
443+func RemovePairEntry (EnterAssetID) = {
444+ let adminrights = getStringValue(this, "Polarity_Admin_Rights")
445+ let checkendheight = getIntegerValue(this, ("Voting_EH_" + EnterAssetID))
446+ let checkpairisavailableornot = getString(this, ("Pair_UV_" + EnterAssetID))
447+ let VotingStatus = getStringValue(this, ("Voting_Status_" + EnterAssetID))
448+ let NewVotingStatus = "P"
449+ let calleraddress = toBase58String(i.caller.bytes)
450+ let currentheight = height
451+ let pendingblocksforprojectexpire = (checkendheight - height)
452+ if ((checkpairisavailableornot != EnterAssetID))
453+ then throw("Pair is not available in Voting List.")
454+ else if ((adminrights != calleraddress))
455+ then throw((("I know You are not An Admin. Only " + adminrights) + " has rights to remove the pair."))
456+ else if ((checkendheight > height))
457+ then throw((("Voting Already Running. You can remove the pair after " + toString(pendingblocksforprojectexpire)) + " Blocks"))
458+ else if ((VotingStatus == NewVotingStatus))
459+ then throw((EnterAssetID + " is now Whitelisted. So you can't remove it."))
460+ 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))]
461+ }
395462
396463
397464 @Verifier(tx)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let USDTAssetID = base58'Zn3cLHW7aAVPm5aACcTjvg7e7iEy2cKDtbowok5qa9H'
55
6-let CODEAssetID = base58'44Mq8KqUhM94t93MiBq3S22iiuGczMxpKmse5dBy2w5y'
6+let BalletAssetID = base58'44Mq8KqUhM94t93MiBq3S22iiuGczMxpKmse5dBy2w5y'
77
8-let CollectCODEFeeAddress = addressFromPublicKey(base58'6Z73KxcX3sugpiStpSRXxKxTmWqCaLVwFeM6kwyiKVDR')
8+let CollectBalletFeeAddress = addressFromPublicKey(base58'GKmJ6BchUgQfwKp4mp5eX8Y9xLioYRm6e1gDfFgdAcCr')
99
10-let CollectUSDTSwapFeeAddress = addressFromPublicKey(base58'6Z73KxcX3sugpiStpSRXxKxTmWqCaLVwFeM6kwyiKVDR')
10+let IssueBalletFeeAddress = addressFromPublicKey(base58'GKmJ6BchUgQfwKp4mp5eX8Y9xLioYRm6e1gDfFgdAcCr')
1111
12-let CollectAssetSwapFeeAddress = addressFromPublicKey(base58'6Z73KxcX3sugpiStpSRXxKxTmWqCaLVwFeM6kwyiKVDR')
12+let CollectUSDTSwapFeeAddress = addressFromPublicKey(base58'GKmJ6BchUgQfwKp4mp5eX8Y9xLioYRm6e1gDfFgdAcCr')
13+
14+let CollectAssetSwapFeeAddress = addressFromPublicKey(base58'GKmJ6BchUgQfwKp4mp5eX8Y9xLioYRm6e1gDfFgdAcCr')
15+
16+@Callable(i)
17+func IssueBallet () = {
18+ let pmt = value(i.payments[0])
19+ let currentKey = toBase58String(i.caller.bytes)
20+ let PricePerBallet = getIntegerValue(this, "BALLET/TN")
21+ let NewBalletToUser = fraction(100000, pmt.amount, PricePerBallet)
22+ let PreviousIssuedBallet = getIntegerValue(this, "Total_Issued_Ballet:")
23+ let TotalIssuedBallet = (PreviousIssuedBallet + NewBalletToUser)
24+ let PreviousBalletReserveValue = getIntegerValue(this, "Total_Ballet_Reserve_In_TN:")
25+ let BalletReserveValue = (PreviousBalletReserveValue + pmt.amount)
26+ let PreviousBalletBackupPrice = getIntegerValue(this, "Ballet_Backup_Value_In_TN:")
27+ let BalletBackupPrice = fraction(100000, BalletReserveValue, TotalIssuedBallet)
28+ let FeePercentage = 1
29+ let BalanceTokensReturnedToUser = (100 - FeePercentage)
30+ if (isDefined(pmt.assetId))
31+ then throw("Incorrect asset attached, please attach TN.")
32+ else if ((5000000 > pmt.amount))
33+ then throw("Please Attach minimum 0.05 TN To Issue Ballet Asset.")
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+ }
36+
37+
38+
39+@Callable(i)
40+func Liquidate () = {
41+ let currentKey = toBase58String(i.callerPublicKey)
42+ let pmt = value(i.payments[0])
43+ let PreviousIssuedBallet = getIntegerValue(this, "Total_Issued_Ballet:")
44+ let TotalIssuedBallet = (PreviousIssuedBallet - pmt.amount)
45+ let PreviousBalletReserveValue = getIntegerValue(this, "Total_Ballet_Reserve_In_TN:")
46+ let PreviousBalletBackupPrice = getIntegerValue(this, "Ballet_Backup_Value_In_TN:")
47+ let calculateburnvalue = fraction(PreviousBalletBackupPrice, pmt.amount, 100000)
48+ let BalletReserveValue = (PreviousBalletReserveValue - calculateburnvalue)
49+ let BalletBackupPrice = fraction(100000, BalletReserveValue, TotalIssuedBallet)
50+ if ((pmt.assetId != BalletAssetID))
51+ then throw("Kindly Deposit Only 44Mq8KqUhM94t93MiBq3S22iiuGczMxpKmse5dBy2w5y (Ballet).")
52+ else if ((100000 > pmt.amount))
53+ then throw("Attach Amount must be greater than 0.001 Ballet.")
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+ }
56+
57+
1358
1459 @Callable(i)
1560 func RegisterPairForVoting (EnterAssetID,days) = {
1661 let pmt1 = value(i.payments[0])
1762 let pmt2 = value(i.payments[1])
1863 let maximumvotingdays = 90
1964 let currentKey = toBase58String(i.caller.bytes)
2065 let TN = !(isDefined(pmt2.assetId))
2166 let oneday = 1440
2267 let NoOfDaysBlocks = (oneday * days)
2368 let gap = (NoOfDaysBlocks - 43199)
2469 let votesrequired = ((100000 + ((11574 * gap) / 10000)) * 100000000)
2570 let votingExpire = (height + NoOfDaysBlocks)
2671 let fetchpair = getString(this, ("Pair_UV_" + EnterAssetID))
2772 let votingstatus = "F"
2873 let assetinfopmt2 = fromBase58String(EnterAssetID)
2974 if ((43 > size(EnterAssetID)))
3075 then throw("Wrong AssetID is Entered for Voting. Please Enter a Valid AssetID. Probably you entered an AssetID less than 43 Chars.")
3176 else if ((29 >= days))
3277 then throw("Enter no. of days in between 30 to 90.")
3378 else if ((days > maximumvotingdays))
3479 then throw("You Entered days greater than 90 please Enter no. of days in between 1 to 90.")
3580 else if ((fetchpair == EnterAssetID))
3681 then throw("Pair Already Exist in Voting List.")
3782 else if ((size(i.payments) != 2))
38- then throw("Two attached assets expected as payment. Kindly Attach payment1 = CODE Token & payment2 = Token you want to List for Voting.")
39- else if ((pmt1.assetId != CODEAssetID))
40- then throw("Incorrect asset attached for Voting in payment[1], please attach 2000 CODE Token only.")
41- else if ((pmt1.amount != 200000000000))
42- then throw((((("You attached only " + toString(fraction(pmt1.amount, 1, 100000000))) + ".") + toString(fraction(pmt1.amount, 1, 10000000))) + " CODE for Voting in payment[1], please attach 2000 CODE Token."))
83+ then throw("Two attached assets expected as payment. Kindly Attach payment1 = Ballet Token & payment2 = Token you want to List for Voting.")
84+ else if ((pmt1.assetId != BalletAssetID))
85+ then throw("Incorrect asset attached for Voting in payment[1], please attach 1000 Ballet Token only.")
86+ else if ((pmt1.amount != 10000000))
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."))
4388 else if ((pmt2.assetId != assetinfopmt2))
4489 then throw("Input String & Attached AssetID in payment2 is not matching.")
4590 else if ((TN == true))
46- then throw("You Attached TN Asset ID for Voting, please attach fsTN instead of TN or Token You want to list in payment[2].")
47- 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 / 3)), IntegerEntry(("Votes_Rcvd_" + EnterAssetID), 0), ScriptTransfer(CollectCODEFeeAddress, pmt1.amount, CODEAssetID)]
91+ then throw("You Attached TN Asset ID for Voting, please attach the Token You want to list in payment[2].")
92+ else if ((pmt2.assetId == BalletAssetID))
93+ then throw("You Attached Ballet asset for Voting in both payments, please attach the Token You want to list in payment[2].")
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)]
4895 }
4996
5097
5198
5299 @Callable(i)
53100 func DoVoting (EnterAssetID) = {
54101 let pmt = if ((size(i.payments) == 1))
55102 then i.payments[0]
56- else throw((toBase58String(CODEAssetID) + "CODE Token is required as Attached payment"))
103+ else throw("Ballet Token is required as Attached payment")
57104 let calleraddress = toBase58String(i.caller.bytes)
58105 let NewVotingStatus = "P"
59106 let checkendheight = getIntegerValue(this, ("Voting_EH_" + EnterAssetID))
60107 let checkpairisavailableornot = getString(this, ("Pair_UV_" + EnterAssetID))
61108 let checkvotesrequired = getIntegerValue(this, ("Votes_Req_" + EnterAssetID))
62109 let checkvotesreceived = getIntegerValue(this, ("Votes_Rcvd_" + EnterAssetID))
63110 let VotingStatus = getStringValue(this, ("Voting_Status_" + EnterAssetID))
64111 let currentvotes = match getInteger(this, ("Votes_Rcvd_" + EnterAssetID)) {
65112 case a: Int =>
66113 a
67114 case _ =>
68115 0
69116 }
70117 let newvotescount = (currentvotes + pmt.amount)
71118 let individualvotes = match getInteger(this, ((("Votes_Rcvd_" + calleraddress) + "_") + EnterAssetID)) {
72119 case b: Int =>
73120 b
74121 case _ =>
75122 0
76123 }
77124 let individualvotescount = (individualvotes + pmt.amount)
78125 let checkwhitelist = (checkvotesreceived >= checkvotesrequired)
79126 let info = valueOrErrorMessage(assetInfo(fromBase58String(EnterAssetID)), (("Asset " + EnterAssetID) + " doesn't exist"))
80127 if ((checkpairisavailableornot != EnterAssetID))
81128 then throw("Pair is not available in Voting List.")
82129 else if ((height > checkendheight))
83130 then throw((("Voting timeline for " + EnterAssetID) + " is expired."))
84- else if ((pmt.assetId != CODEAssetID))
85- then throw((("Kindly Attach Only " + toBase58String(CODEAssetID)) + " Token."))
131+ else if ((pmt.assetId != BalletAssetID))
132+ then throw((("Kindly Attach Only " + toBase58String(BalletAssetID)) + " Token."))
86133 else if ((VotingStatus == NewVotingStatus))
87134 then throw((("Voting for " + EnterAssetID) + " pair is completed & it’s available in whitelist."))
88135 else if (checkwhitelist)
89136 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)]
90137 else [IntegerEntry(("Votes_Rcvd_" + EnterAssetID), newvotescount), IntegerEntry(((("Votes_Rcvd_" + calleraddress) + "_") + EnterAssetID), individualvotescount)]
91138 }
92139
93140
94141
95142 @Callable(i)
96143 func WithdrawVotedTokens (EnterAssetID) = {
97144 let pmt = if ((size(i.payments) == 1))
98145 then i.payments[0]
99146 else throw("0.1 TN Token is required as Attached payment.")
100147 let calleraddress = toBase58String(i.caller.bytes)
101148 let checkendheight = getIntegerValue(this, ("Voting_EH_" + EnterAssetID))
102149 let checkpairisavailableornot = getString(this, ("Pair_UV_" + EnterAssetID))
103150 let checkuservotingbalance = valueOrErrorMessage(getInteger(this, ((("Votes_Rcvd_" + calleraddress) + "_") + EnterAssetID)), (calleraddress + " Address never voted & exist in list."))
104151 let pendingblocksforprojectexpire = (checkendheight - height)
105152 if ((checkpairisavailableornot != EnterAssetID))
106153 then throw("Pair is not available in Voting List.")
107154 else if ((checkendheight > height))
108- then throw((("Voting Already Running. You can withdraw your CODE Token after " + toString(pendingblocksforprojectexpire)) + " blocks"))
155+ then throw((("Voting Already Running. You can withdraw your Ballet Token after " + toString(pendingblocksforprojectexpire)) + " blocks"))
109156 else if ((0 >= checkuservotingbalance))
110- then throw("You don't have any dues of CODE balance in this Voting Pair.")
157+ then throw("You don't have any dues of ballet balance in this Voting Pair.")
111158 else if (isDefined(pmt.assetId))
112159 then throw("Don't attach any other asset. Please attach 0.1 TN as a fee to release your token")
113160 else if ((pmt.amount != 10000000))
114161 then throw("Please attach 0.1 TN as a fee to release your token.")
115- else [IntegerEntry(((("Votes_Rcvd_" + calleraddress) + "_") + EnterAssetID), 0), ScriptTransfer(i.caller, checkuservotingbalance, CODEAssetID)]
162+ else [IntegerEntry(((("Votes_Rcvd_" + calleraddress) + "_") + EnterAssetID), 0), ScriptTransfer(i.caller, checkuservotingbalance, BalletAssetID)]
116163 }
117164
118165
119166
120167 @Callable(i)
121168 func IssueLPToken (EnterAssetID) = {
122169 let adminrights = valueOrErrorMessage(getString(this, "LP_Admin_Rights"), "LP Admin Rights are Not Included into Smart Contract. Deploy Admin Rights First.")
123170 let calleraddress = toBase58String(i.caller.bytes)
124171 let checkpairisavailableornot = valueOrErrorMessage(getString(this, ("Pair_UV_" + EnterAssetID)), "Asset not Found in Whitelisted Token")
125172 let info = valueOrErrorMessage(assetInfo(fromBase58String(EnterAssetID)), (("Asset " + EnterAssetID) + " doesn't exist"))
126173 let name = info.name
127174 let decimals = info.decimals
128175 let NewVotingStatus = "P"
129176 let VotingStatus = valueOrErrorMessage(getString(this, ("Voting_Status_" + EnterAssetID)), ("Voting Status is Missing for " + EnterAssetID))
130- let FirstLPQty = (1 * pow(10, 0, fraction((decimals + 6), 1, 2), 0, 0, UP))
131- let LPissue = Issue((("LP-" + take(name, 8)) + "-USDT"), (((("LP-" + name) + "-USDT") + " is a Liquidity Provider Token Issued Against ") + EnterAssetID), FirstLPQty, fraction((decimals + 6), 1, 2), true)
177+ let LPissue = Issue((("LP-" + take(name, 8)) + "-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)
132178 let LPid = calculateAssetId(LPissue)
133179 if ((adminrights != calleraddress))
134180 then throw((("Your are not allowded to Issue LP Token. Only " + adminrights) + " can issue the LP Token."))
135181 else if ((checkpairisavailableornot != EnterAssetID))
136182 then throw("Pair is not available in Voting List.")
137183 else if ((VotingStatus != NewVotingStatus))
138184 then throw("LP Token must be a Whitelisted Token.")
139- else [LPissue, StringEntry(("LP_" + EnterAssetID), toBase58String(LPid)), IntegerEntry(("Total_LP_" + EnterAssetID), FirstLPQty)]
185+ else [LPissue, StringEntry(("LP_" + EnterAssetID), toBase58String(LPid))]
140186 }
141187
142188
143189
144190 @Callable(i)
145191 func SwapAssetToUSDTPairEntry (EnterAssetID) = {
146192 let calleraddress = toBase58String(i.caller.bytes)
147193 let pmt = if ((size(i.payments) == 1))
148194 then i.payments[0]
149195 else throw("Whitelisted Token is required as Attached payment[1].")
150196 let checkpairisavailableornot = getString(this, ("Pair_UV_" + EnterAssetID))
151197 let VotingStatus = getStringValue(this, ("Voting_Status_" + EnterAssetID))
152198 let CheckUSDTBalance = getIntegerValue(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID)))
153199 let CheckAssetBalance = getIntegerValue(this, ((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID))
154200 let newbalanceofUSDT = fraction(CheckUSDTBalance, CheckAssetBalance, (CheckAssetBalance + pmt.amount))
155201 let quantityofpriceasset = (CheckUSDTBalance - newbalanceofUSDT)
156202 let CurrentVotingStatus = "F"
157203 let SwapFee = 3
158204 let SwapFeetoreceive = ((quantityofpriceasset * SwapFee) / 1000)
159205 let userbalancetoreceive = (quantityofpriceasset - SwapFeetoreceive)
160206 let SumupofAssetToUSDTSwapFee = match getInteger(this, ((("Total_Swap_Fee_Collected_" + EnterAssetID) + "_") + toBase58String(USDTAssetID))) {
161207 case a: Int =>
162208 a
163209 case _ =>
164210 0
165211 }
166212 let NewSumupofAssetToUSDTSwapFee = (SumupofAssetToUSDTSwapFee + SwapFeetoreceive)
167213 let SumupAssetBalance = match getInteger(this, ((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID)) {
168214 case a: Int =>
169215 a
170216 case _ =>
171217 0
172218 }
173219 let NewSumupofAssetBalance = (CheckAssetBalance + pmt.amount)
174220 let SumupUSDTBalance = match getInteger(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID))) {
175221 case a: Int =>
176222 a
177223 case _ =>
178224 0
179225 }
180226 let NewSumupofUSDTBalance = (CheckUSDTBalance - quantityofpriceasset)
181227 let TOPT = match getIntegerValue(this, ("Total_of_Pair_Txns_" + EnterAssetID)) {
182228 case a: Int =>
183229 a
184230 case _ =>
185231 0
186232 }
187233 let NewTPT = (TOPT + 1)
188234 if ((EnterAssetID == toBase58String(USDTAssetID)))
189235 then throw("Input can Never be a USDT AssetID. Enter Whitelisted AssetID in input & Attach Whitelisted Asset as an attachment Token in payment[1].")
190236 else if ((checkpairisavailableornot != EnterAssetID))
191237 then throw("Pair is not available in Whitelisted Asset.")
192238 else if ((VotingStatus == CurrentVotingStatus))
193239 then throw((EnterAssetID + " is not A Whitelisted Token Yet."))
194240 else if ((pmt.assetId == USDTAssetID))
195241 then throw("You can't Attach USDT as an Attached Payment. Only Whitelisted Tokens are accepted.")
196242 else if ((pmt.assetId != fromBase58String(EnterAssetID)))
197243 then throw(("Incorrect asset attached, please attach or send " + EnterAssetID))
198244 else if ((CheckUSDTBalance == 0))
199245 then throw("Swap Pair Need to Add Liquidity first into Pool. Only After that Pair will be activated for Swapping.")
200246 else if ((CheckAssetBalance == 0))
201247 then throw("Swap Pair Need to Add Liquidity first into Pool. Only After that Pair will be activated for Swapping.")
202248 else if ((10000000 > quantityofpriceasset))
203249 then throw((("Your Attached Asset Amount is very low. Attach More " + EnterAssetID) + " Tokens to Claim the minimum Amount of 10 dollar atleast."))
204250 else if ((quantityofpriceasset > CheckUSDTBalance))
205251 then throw((("Pool Only has a Liquidity of " + toString((CheckUSDTBalance / pow(10, 0, 6, 0, 0, UP)))) + " USDT. Add Liquidity into Pool."))
206252 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)]
207253 }
208254
209255
210256
211257 @Callable(i)
212258 func SwapUSDTToAssetPairEntry (EnterAssetID) = {
213259 let calleraddress = toBase58String(i.caller.bytes)
214260 let pmt = if ((size(i.payments) == 1))
215261 then i.payments[0]
216- else throw((("Only " + toBase58String(USDTAssetID)) + " USDT Token is required as an Attached payment[1]."))
262+ else throw("Only USDT Token is required as an Attached payment[1].")
217263 let CheckUSDTBalance = getIntegerValue(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID)))
218264 let CheckAssetBalance = getIntegerValue(this, ((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID))
219265 let newbalanceofAsset = fraction(CheckUSDTBalance, CheckAssetBalance, (CheckUSDTBalance + pmt.amount))
220266 let quantityofpriceasset = (CheckAssetBalance - newbalanceofAsset)
221267 let checkpairisavailableornot = getString(this, ("Pair_UV_" + EnterAssetID))
222268 let VotingStatus = getStringValue(this, ("Voting_Status_" + EnterAssetID))
223269 let CurrentVotingStatus = "F"
224270 let SwapFee = 3
225271 let SwapFeetoreceive = ((quantityofpriceasset * SwapFee) / 1000)
226272 let userbalancetoreceive = (quantityofpriceasset - SwapFeetoreceive)
227273 let SumupofUSDTToAssetSwapFee = match getInteger(this, ("Total_Swap_Fee_Collected_" + EnterAssetID)) {
228274 case a: Int =>
229275 a
230276 case _ =>
231277 0
232278 }
233279 let NewSumupofUSDTToAssetSwapFee = (SumupofUSDTToAssetSwapFee + SwapFeetoreceive)
234280 let SumupAssetBalance = match getInteger(this, ((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID)) {
235281 case a: Int =>
236282 a
237283 case _ =>
238284 0
239285 }
240286 let NewSumupofAssetBalance = (CheckAssetBalance - quantityofpriceasset)
241287 let SumupUSDTBalance = match getInteger(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID))) {
242288 case a: Int =>
243289 a
244290 case _ =>
245291 0
246292 }
247293 let NewSumupofUSDTBalance = (CheckUSDTBalance + pmt.amount)
248294 let TOPT = match getIntegerValue(this, ("Total_of_Pair_Txns_" + EnterAssetID)) {
249295 case a: Int =>
250296 a
251297 case _ =>
252298 0
253299 }
254300 let NewTPT = (TOPT + 1)
255301 if ((checkpairisavailableornot != EnterAssetID))
256302 then throw("Pair is not available in Whitelisted Asset.")
257303 else if ((VotingStatus == CurrentVotingStatus))
258304 then throw((EnterAssetID + " is not A Whitelisted Token Yet."))
259305 else if ((EnterAssetID == toBase58String(USDTAssetID)))
260306 then throw("Input can Never be a USDT AssetID. Enter Whitelisted AssetID in input & Attach USDT as an attachment Token in payment[1].")
261307 else if ((pmt.assetId != USDTAssetID))
262308 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.")
263309 else if ((10000000 > pmt.amount))
264310 then throw("Your Attached USDT Amount is very low. Attach Atleast 10 USDT to Claim the minimum Tokens.")
265311 else if ((CheckUSDTBalance == 0))
266312 then throw("Swap Pair Need to Add Liquidity first into Pool. Only After that Pair will be activated for Swapping.")
267313 else if ((CheckAssetBalance == 0))
268314 then throw("Swap Pair Need to Add Liquidity first into Pool. Only After that Pair will be activated for Swapping.")
269315 else if ((quantityofpriceasset > CheckAssetBalance))
270316 then throw((("Pool Only has a Liquidity of " + toString(CheckAssetBalance)) + " Tokens. Add Liquidity into Pool."))
271317 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))]
272318 }
273319
274320
275321
276322 @Callable(i)
277323 func AddLiquidity (EnterAssetID) = {
278324 let calleraddress = toBase58String(i.caller.bytes)
279325 let pmt1 = value(i.payments[0])
280326 let pmt2 = value(i.payments[1])
281327 let checkpairisavailableornot = getString(this, ("Pair_UV_" + EnterAssetID))
282328 let VotingStatus = getStringValue(this, ("Voting_Status_" + EnterAssetID))
283329 let ReissueassetId = fromBase58String(valueOrErrorMessage(getString(this, ("LP_" + EnterAssetID)), "LP Token is Missing or May be not Generated."))
284330 let CurrentVotingStatus = "F"
285331 let CheckUSDTBalance = getIntegerValue(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID)))
286332 let CheckAssetBalance = getIntegerValue(this, ((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID))
287333 let decimalsinfo = valueOrErrorMessage(assetInfo(fromBase58String(EnterAssetID)), (("Asset " + EnterAssetID) + " doesn't exist"))
288334 let decimals = decimalsinfo.decimals
289335 let arg1 = pow((CheckUSDTBalance / pow(10, 6, 6, 0, 0, UP)), 0, 1, 0, 0, UP)
336+ let arg2 = pow((CheckAssetBalance / pow(10, decimals, decimals, 0, 0, UP)), 0, 1, 0, 0, UP)
337+ let args3 = pow((((arg1 * 1000000) / arg2) * pow(10, 0, decimals, 0, 0, UP)), 0, 1, 0, 0, UP)
290338 let bothassetsdecimals = (6 + decimals)
291339 let sharedecimals = (bothassetsdecimals / 2)
340+ let quantityofEnterAssetID = fraction(args3, pmt1.amount, pow(10, 0, bothassetsdecimals, 0, 0, UP))
292341 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)
293342 let USDTHoldingInPair = match getInteger(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID))) {
294343 case a: Int =>
295344 a
296345 case _ =>
297346 0
298347 }
299348 let NewUSDTHoldingInPair = (USDTHoldingInPair + pmt2.amount)
300349 let AssetHoldingInPair = match getInteger(this, ((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID)) {
301350 case a: Int =>
302351 a
303352 case _ =>
304353 0
305354 }
306355 let NewAssetHoldingInPair = (AssetHoldingInPair + pmt1.amount)
307356 let LPTokenIssued = match getIntegerValue(this, ("Total_LP_" + EnterAssetID)) {
308357 case a: Int =>
309358 a
310359 case _ =>
311360 0
312361 }
313362 let NewLPTokenIssued = (LPTokenIssued + quantityofLPToken1)
314363 if ((checkpairisavailableornot != EnterAssetID))
315364 then throw("Pair is not available in Whitelisted Asset.")
316365 else if ((VotingStatus == CurrentVotingStatus))
317366 then throw((EnterAssetID + " is not A Whitelisted Token Yet."))
318367 else if ((EnterAssetID == toBase58String(USDTAssetID)))
319368 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].")
320369 else if ((size(i.payments) != 2))
321370 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.")
322371 else if ((pmt1.assetId == USDTAssetID))
323372 then throw("You Attached USDT asset in payment[1], please attach only whitelisted Token in payment[1] along with USDT in payment[2].")
324373 else if ((pmt1.assetId != fromBase58String(EnterAssetID)))
325374 then throw("Incorrect asset attached for Liquidity in payment[1], please attach String Asset or Whitelisted Token only.")
326- else if ((pmt1.assetId != fromBase58String(EnterAssetID)))
327- then throw("Incorrect asset attached for Liquidity in payment[1], please attach String Asset or Whitelisted Token only.")
328- else if ((pmt2.assetId != USDTAssetID))
329- then throw("Wrong Asset Attached in payments[2], Please attach payment[1] = Liquidity Token & payment[2] = USDT Token.")
330- else if ((10000000 > pmt2.amount))
331- then throw("please attach atleast 10 USDT in payment[2] & Equivalent worth of Token in payment[1]")
332- else [IntegerEntry(((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID)), NewUSDTHoldingInPair), IntegerEntry(((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID), NewAssetHoldingInPair), IntegerEntry("Price_Per_Token", arg1), IntegerEntry(("Total_LP_" + EnterAssetID), NewLPTokenIssued), Reissue(ReissueassetId, quantityofLPToken1, true), ScriptTransfer(i.caller, quantityofLPToken1, ReissueassetId)]
375+ else if ((pmt2.assetId != USDTAssetID))
376+ then throw("Wrong Asset Attached in payments[2], Please attach payment[1] = Liquidity Token & payment[2] = USDT Token.")
377+ else if ((10000000 > pmt2.amount))
378+ then throw("please attach atleast 10 USDT in payment[2] & Equivalent worth of Token in payment[1]")
379+ else if ((pmt2.amount != quantityofEnterAssetID))
380+ then throw(("Attached payment[2] quantity is not matching as per attached payment[1].payment[2] must be " + toString(quantityofEnterAssetID)))
381+ 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)]
333382 }
334383
335384
336385
337386 @Callable(i)
338387 func RemoveLiquidity (EnterAssetID) = {
339388 let calleraddress = toBase58String(i.caller.bytes)
340389 let pmt = if ((size(i.payments) == 1))
341390 then i.payments[0]
342391 else throw("No payment attached, Please Attach LP Token as payment[1].")
343392 let checkpairisavailableornot = getString(this, ("Pair_UV_" + EnterAssetID))
344393 let VotingStatus = getStringValue(this, ("Voting_Status_" + EnterAssetID))
345394 let ReissueableassetId = fromBase58String(valueOrErrorMessage(getString(this, ("LP_" + EnterAssetID)), "LP Token is Missing or not Generated."))
346395 let CurrentVotingStatus = "F"
347396 let CheckUSDTBalance = getIntegerValue(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID)))
348397 let CheckAssetBalance = getIntegerValue(this, ((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID))
349398 let decimalsinfo = valueOrErrorMessage(assetInfo(fromBase58String(EnterAssetID)), (("Asset " + EnterAssetID) + " doesn't exist"))
350399 let decimals = decimalsinfo.decimals
351400 let arg1 = pow((CheckUSDTBalance / pow(10, 6, 6, 0, 0, UP)), 0, 1, 0, 0, UP)
352401 let arg2 = pow((CheckAssetBalance / pow(10, decimals, decimals, 0, 0, UP)), 0, 1, 0, 0, UP)
353402 let args3 = pow((((arg1 * 1000000) / arg2) * pow(10, 0, decimals, 0, 0, UP)), 0, 1, 0, 0, UP)
354403 let bothassetsdecimals = (6 + decimals)
355404 let sharedecimals = (bothassetsdecimals / 2)
356405 let SquareofAttachedPymt = fraction(pow(pmt.amount, sharedecimals, 2, 0, 6, HALFUP), 1, fraction(args3, 1, pow(10, 0, 6, 0, 0, UP)))
357406 let SqrtofAttachPymt = pow(SquareofAttachedPymt, 0, 5, 1, sharedecimals, DOWN)
358407 let UserLPWorth = fraction(args3, SqrtofAttachPymt, pow(10, 0, bothassetsdecimals, 0, 0, UP))
359408 let USDTHoldingInPair = match getInteger(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID))) {
360409 case a: Int =>
361410 a
362411 case _ =>
363412 0
364413 }
365414 let NewUSDTHoldingInPair = (USDTHoldingInPair - UserLPWorth)
366415 let AssetHoldingInPair = match getInteger(this, ((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID)) {
367416 case a: Int =>
368417 a
369418 case _ =>
370419 0
371420 }
372421 let NewAssetHoldingInPair = (AssetHoldingInPair - SqrtofAttachPymt)
373422 let LPTokenIssued = match getIntegerValue(this, ("Total_LP_" + EnterAssetID)) {
374423 case a: Int =>
375424 a
376425 case _ =>
377426 0
378427 }
379428 let NewLPTokenIssued = (LPTokenIssued - pmt.amount)
380429 if ((checkpairisavailableornot != EnterAssetID))
381430 then throw("Pair is not available in Whitelist.")
382431 else if ((VotingStatus == CurrentVotingStatus))
383432 then throw((EnterAssetID + " is not A Whitelist Token Yet."))
384433 else if ((fromBase58String(EnterAssetID) == USDTAssetID))
385434 then throw("Don't choose USDT AssetID as Input, Only Whitelisted Asset as Input String & Attach LP Tokens as payment[1]")
386435 else if ((pmt.assetId != ReissueableassetId))
387436 then throw("Wrong Asset is attached in payment[1] or LP Token Not Found or Missing.")
388437 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))]
389438 }
390439
391440
392441
393442 @Callable(i)
394-func RemoveEntry (Key,Key1,Key2,Key3) = [DeleteEntry(Key), DeleteEntry(Key1), DeleteEntry(Key2), DeleteEntry(Key3)]
443+func RemovePairEntry (EnterAssetID) = {
444+ let adminrights = getStringValue(this, "Polarity_Admin_Rights")
445+ let checkendheight = getIntegerValue(this, ("Voting_EH_" + EnterAssetID))
446+ let checkpairisavailableornot = getString(this, ("Pair_UV_" + EnterAssetID))
447+ let VotingStatus = getStringValue(this, ("Voting_Status_" + EnterAssetID))
448+ let NewVotingStatus = "P"
449+ let calleraddress = toBase58String(i.caller.bytes)
450+ let currentheight = height
451+ let pendingblocksforprojectexpire = (checkendheight - height)
452+ if ((checkpairisavailableornot != EnterAssetID))
453+ then throw("Pair is not available in Voting List.")
454+ else if ((adminrights != calleraddress))
455+ then throw((("I know You are not An Admin. Only " + adminrights) + " has rights to remove the pair."))
456+ else if ((checkendheight > height))
457+ then throw((("Voting Already Running. You can remove the pair after " + toString(pendingblocksforprojectexpire)) + " Blocks"))
458+ else if ((VotingStatus == NewVotingStatus))
459+ then throw((EnterAssetID + " is now Whitelisted. So you can't remove it."))
460+ 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))]
461+ }
395462
396463
397464 @Verifier(tx)
398465 func verify () = match tx {
399466 case _ =>
400467 sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
401468 }
402469

github/deemru/w8io/169f3d6 
125.68 ms