tx · D6f6E7j2p6iVyGhy913Vx2FUXcbG6b9UaH6fwYe56P61

3Mrnje6z2xa3xuXyU2Lk6ynKy8tsRnnt4Bv:  -0.01400000 Waves

2021.09.02 12:30 [1685234] smart account 3Mrnje6z2xa3xuXyU2Lk6ynKy8tsRnnt4Bv > SELF 0.00000000 Waves

{ "type": 13, "id": "D6f6E7j2p6iVyGhy913Vx2FUXcbG6b9UaH6fwYe56P61", "fee": 1400000, "feeAssetId": null, "timestamp": 1630575099368, "version": 2, "chainId": 84, "sender": "3Mrnje6z2xa3xuXyU2Lk6ynKy8tsRnnt4Bv", "senderPublicKey": "28sGn7FYnmxceAmnGYiDiKuMK1QyXiqX8zQXfKDnrc8t", "proofs": [ "22pv1PR3KFN3gF4A45Y7pdA78MVGUGPnK7P5oTTaT7e3aoBJuL5ixDTxYZPAvJiWQCt1PxJdqg7r4AhR4JshbS1z" ], "script": "base64:AAIEAAAAAAAAADwIAhIAEgASBAoCCAESAwoBCBIDCgEIEgMKAQgSAwoBCBIDCgEIEgMKAQgSAwoBCBIDCgEIEgYKBAgICAgAAAAGAAAAAAtVU0RUQXNzZXRJRAEAAAAgCGWEtw/wimoa8+Jo6C4IkCTD0ydYA80s9i5eC9/aFaQAAAAADUJhbGxldEFzc2V0SUQBAAAAIC1vWwG5neVKbxqEaKeT7hMXlhgC7/FEdjB7WHX3k6igAAAAABdDb2xsZWN0QmFsbGV0RmVlQWRkcmVzcwkBAAAAFGFkZHJlc3NGcm9tUHVibGljS2V5AAAAAQEAAAAg463XstSKNtaiPAMTm2AWTDVjxzAiveOx6Vx7CmnuvCMAAAAAFUlzc3VlQmFsbGV0RmVlQWRkcmVzcwkBAAAAFGFkZHJlc3NGcm9tUHVibGljS2V5AAAAAQEAAAAg463XstSKNtaiPAMTm2AWTDVjxzAiveOx6Vx7CmnuvCMAAAAAGUNvbGxlY3RVU0RUU3dhcEZlZUFkZHJlc3MJAQAAABRhZGRyZXNzRnJvbVB1YmxpY0tleQAAAAEBAAAA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ZWxldGVFbnRyeQAAAAEFAAAABEtleTMFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAAByRtYXRjaDAFAAAAAnR4CQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleRijIlM=", "height": 1685234, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3UNzZguHqVSHdh3us8KtUBGWsA2DUW419uwrRAgD6smo Next: 3oTsScxN64ucu9rEconHiThsF7pkqk2q8rctKENP1nf7 Diff:
OldNewDifferences
323323 let calleraddress = toBase58String(i.caller.bytes)
324324 let pmt1 = value(i.payments[0])
325325 let pmt2 = value(i.payments[1])
326- let checkpairisavailableornot = getStringValue(this, ("Pair_UV_" + EnterAssetID))
326+ let checkpairisavailableornot = getString(this, ("Pair_UV_" + EnterAssetID))
327327 let VotingStatus = getStringValue(this, ("Voting_Status_" + EnterAssetID))
328- let ReissueassetId = getStringValue(this, ("LP_" + EnterAssetID))
328+ let ReissueassetId = fromBase58String(valueOrErrorMessage(getString(this, ("LP_" + EnterAssetID)), "LP Token is Missing or May be not Generated."))
329329 let CurrentVotingStatus = "F"
330330 let CheckUSDTBalance = getIntegerValue(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID)))
331331 let CheckAssetBalance = getIntegerValue(this, ((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID))
335335 let arg2 = pow((CheckAssetBalance / pow(10, decimals, decimals, 0, 0, UP)), 0, 1, 0, 0, UP)
336336 let args3 = pow((((arg1 * 1000000) / arg2) * pow(10, 0, decimals, 0, 0, UP)), 0, 1, 0, 0, UP)
337337 let quantityofEnterAssetID = fraction(args3, pmt1.amount, pow(10, 0, (decimals + 6), 0, 0, UP))
338+ let quantityofLPToken1 = fraction(pmt1.amount, 1, pow(10, 0, decimals, 0, 0, UP))
338339 let USDTHoldingInPair = match getInteger(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID))) {
339340 case a: Int =>
340341 a
369370 then throw("please attach atleast 10 USDT in payment[2] and Equivalent worth of Token in payment[1]")
370371 else if ((pmt2.amount != quantityofEnterAssetID))
371372 then throw(("Attached payment[2] quantity is not matching as per attached payment[1].payment[2] must be " + toString(quantityofEnterAssetID)))
372- else [IntegerEntry(((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID)), NewUSDTHoldingInPair), IntegerEntry(((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID), NewAssetHoldingInPair), IntegerEntry("Price_Per_Token", args3)]
373+ else [IntegerEntry(((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID)), NewUSDTHoldingInPair), IntegerEntry(((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID), NewAssetHoldingInPair), IntegerEntry("Price_Per_Token", args3), Reissue(ReissueassetId, quantityofLPToken1, true)]
373374 }
374375
375376
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let USDTAssetID = base58'Zn3cLHW7aAVPm5aACcTjvg7e7iEy2cKDtbowok5qa9H'
55
66 let BalletAssetID = base58'44Mq8KqUhM94t93MiBq3S22iiuGczMxpKmse5dBy2w5y'
77
88 let CollectBalletFeeAddress = addressFromPublicKey(base58'GKmJ6BchUgQfwKp4mp5eX8Y9xLioYRm6e1gDfFgdAcCr')
99
1010 let IssueBalletFeeAddress = addressFromPublicKey(base58'GKmJ6BchUgQfwKp4mp5eX8Y9xLioYRm6e1gDfFgdAcCr')
1111
1212 let CollectUSDTSwapFeeAddress = addressFromPublicKey(base58'GKmJ6BchUgQfwKp4mp5eX8Y9xLioYRm6e1gDfFgdAcCr')
1313
1414 let CollectAssetSwapFeeAddress = addressFromPublicKey(base58'GKmJ6BchUgQfwKp4mp5eX8Y9xLioYRm6e1gDfFgdAcCr')
1515
1616 @Callable(i)
1717 func IssueBallet () = {
1818 let pmt = value(i.payments[0])
1919 let currentKey = toBase58String(i.caller.bytes)
2020 let PricePerBallet = getIntegerValue(this, "BALLET/TN")
2121 let NewBalletToUser = fraction(100000, pmt.amount, PricePerBallet)
2222 let PreviousIssuedBallet = getIntegerValue(this, "Total_Issued_Ballet:")
2323 let TotalIssuedBallet = (PreviousIssuedBallet + NewBalletToUser)
2424 let PreviousBalletReserveValue = getIntegerValue(this, "Total_Ballet_Reserve_In_TN:")
2525 let BalletReserveValue = (PreviousBalletReserveValue + pmt.amount)
2626 let PreviousBalletBackupPrice = getIntegerValue(this, "Ballet_Backup_Value_In_TN:")
2727 let BalletBackupPrice = fraction(100000, BalletReserveValue, TotalIssuedBallet)
2828 let FeePercentage = 1
2929 let BalanceTokensReturnedToUser = (100 - FeePercentage)
3030 if (isDefined(pmt.assetId))
3131 then throw("Incorrect asset attached, please attach TN.")
3232 else if ((5000000 > pmt.amount))
3333 then throw("Please Attach minimum 0.05 TN To Issue Ballet Asset.")
3434 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)]
3535 }
3636
3737
3838
3939 @Callable(i)
4040 func Liquidate () = {
4141 let currentKey = toBase58String(i.callerPublicKey)
4242 let pmt = value(i.payments[0])
4343 let PreviousIssuedBallet = getIntegerValue(this, "Total_Issued_Ballet:")
4444 let TotalIssuedBallet = (PreviousIssuedBallet - pmt.amount)
4545 let PreviousBalletReserveValue = getIntegerValue(this, "Total_Ballet_Reserve_In_TN:")
4646 let PreviousBalletBackupPrice = getIntegerValue(this, "Ballet_Backup_Value_In_TN:")
4747 let calculateburnvalue = fraction(PreviousBalletBackupPrice, pmt.amount, 100000)
4848 let BalletReserveValue = (PreviousBalletReserveValue - calculateburnvalue)
4949 let BalletBackupPrice = fraction(100000, BalletReserveValue, TotalIssuedBallet)
5050 if ((pmt.assetId != BalletAssetID))
5151 then throw("Kindly Deposit Only 44Mq8KqUhM94t93MiBq3S22iiuGczMxpKmse5dBy2w5y (Ballet).")
5252 else if ((100000 > pmt.amount))
5353 then throw("Attach Amount must be greater than 0.001 Ballet.")
5454 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)]
5555 }
5656
5757
5858
5959 @Callable(i)
6060 func RegisterPairForVoting (EnterAssetID,days) = {
6161 let pmt1 = value(i.payments[0])
6262 let pmt2 = value(i.payments[1])
6363 let maximumvotingdays = 90
6464 let currentKey = toBase58String(i.caller.bytes)
6565 let TN = !(isDefined(pmt2.assetId))
6666 let oneday = 1440
6767 let NoOfDaysBlocks = (oneday * days)
6868 let gap = (NoOfDaysBlocks - 43199)
6969 let votesrequired = ((100000 + ((11574 * gap) / 10000)) * 100000000)
7070 let votingExpire = (height + NoOfDaysBlocks)
7171 let fetchpair = getString(this, ("Pair_UV_" + EnterAssetID))
7272 let votingstatus = "F"
7373 let assetinfopmt2 = fromBase58String(EnterAssetID)
7474 if ((43 > size(EnterAssetID)))
7575 then throw("Wrong AssetID is Entered for Voting. Please Enter a Valid AssetID. Probably you entered an AssetID less than 43 Chars.")
7676 else if ((29 >= days))
7777 then throw("Enter no. of days in between 30 to 90.")
7878 else if ((days > maximumvotingdays))
7979 then throw("You Entered days greater than 90 please Enter no. of days in between 1 to 90.")
8080 else if ((fetchpair == EnterAssetID))
8181 then throw("Pair Already Exist in Voting List.")
8282 else if ((size(i.payments) != 2))
8383 then throw("Two attached assets expected as payment. Kindly Attach payment1 = Ballet Token & payment2 = Token you want to List for Voting.")
8484 else if ((pmt1.assetId != BalletAssetID))
8585 then throw("Incorrect asset attached for Voting in payment[1], please attach 1000 Ballet Token only.")
8686 else if ((pmt1.amount != 10000000))
8787 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."))
8888 else if ((pmt2.assetId != assetinfopmt2))
8989 then throw("Input String and Attached AssetID in payment2 is not matching.")
9090 else if ((TN == true))
9191 then throw("You Attached TN Asset ID for Voting, please attach the Token You want to list in payment[2].")
9292 else if ((pmt2.assetId == BalletAssetID))
9393 then throw("You Attached Ballet asset for Voting in both payments, please attach the Token You want to list in payment[2].")
9494 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)]
9595 }
9696
9797
9898
9999 @Callable(i)
100100 func DoVoting (EnterAssetID) = {
101101 let pmt = if ((size(i.payments) == 1))
102102 then i.payments[0]
103103 else throw("Ballet Token is required as Attached payment")
104104 let calleraddress = toBase58String(i.caller.bytes)
105105 let NewVotingStatus = "P"
106106 let checkendheight = getIntegerValue(this, ("Voting_EH_" + EnterAssetID))
107107 let checkpairisavailableornot = getString(this, ("Pair_UV_" + EnterAssetID))
108108 let checkvotesrequired = getIntegerValue(this, ("Votes_Req_" + EnterAssetID))
109109 let checkvotesreceived = getIntegerValue(this, ("Votes_Rcvd_" + EnterAssetID))
110110 let VotingStatus = getStringValue(this, ("Voting_Status_" + EnterAssetID))
111111 let currentvotes = match getInteger(this, ("Votes_Rcvd_" + EnterAssetID)) {
112112 case a: Int =>
113113 a
114114 case _ =>
115115 0
116116 }
117117 let newvotescount = (currentvotes + pmt.amount)
118118 let individualvotes = match getInteger(this, ((("Votes_Rcvd_" + calleraddress) + "_") + EnterAssetID)) {
119119 case b: Int =>
120120 b
121121 case _ =>
122122 0
123123 }
124124 let individualvotescount = (individualvotes + pmt.amount)
125125 let checkwhitelist = (checkvotesreceived >= checkvotesrequired)
126126 let info = valueOrErrorMessage(assetInfo(fromBase58String(EnterAssetID)), (("Asset " + EnterAssetID) + " doesn't exist"))
127127 if ((checkpairisavailableornot != EnterAssetID))
128128 then throw("Pair is not available in Voting List.")
129129 else if ((height > checkendheight))
130130 then throw((("Voting timeline for " + EnterAssetID) + " is expired."))
131131 else if ((pmt.assetId != BalletAssetID))
132132 then throw((("Kindly Attach Only " + toBase58String(BalletAssetID)) + " Token."))
133133 else if ((VotingStatus == NewVotingStatus))
134134 then throw((("Voting for " + EnterAssetID) + " pair is completed and it’s available in whitelist."))
135135 else if (checkwhitelist)
136136 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)]
137137 else [IntegerEntry(("Votes_Rcvd_" + EnterAssetID), newvotescount), IntegerEntry(((("Votes_Rcvd_" + calleraddress) + "_") + EnterAssetID), individualvotescount)]
138138 }
139139
140140
141141
142142 @Callable(i)
143143 func WithdrawVotedTokens (EnterAssetID) = {
144144 let pmt = if ((size(i.payments) == 1))
145145 then i.payments[0]
146146 else throw("0.1 TN Token is required as Attached payment.")
147147 let calleraddress = toBase58String(i.caller.bytes)
148148 let checkendheight = getIntegerValue(this, ("Voting_EH_" + EnterAssetID))
149149 let checkpairisavailableornot = getString(this, ("Pair_UV_" + EnterAssetID))
150150 let checkuservotingbalance = valueOrErrorMessage(getInteger(this, ((("Votes_Rcvd_" + calleraddress) + "_") + EnterAssetID)), (calleraddress + " Address never voted and exist in list."))
151151 let pendingblocksforprojectexpire = (checkendheight - height)
152152 if ((checkpairisavailableornot != EnterAssetID))
153153 then throw("Pair is not available in Voting List.")
154154 else if ((checkendheight > height))
155155 then throw((("Voting Already Running. You can withdraw your Ballet Token after " + toString(pendingblocksforprojectexpire)) + " blocks"))
156156 else if ((0 >= checkuservotingbalance))
157157 then throw("You don't have any dues of ballet balance in this Voting Pair.")
158158 else if (isDefined(pmt.assetId))
159159 then throw("Don't attach any other asset. Please attach 0.1 TN as a fee to release your token")
160160 else if ((pmt.amount != 10000000))
161161 then throw("Please attach 0.1 TN as a fee to release your token.")
162162 else [IntegerEntry(((("Votes_Rcvd_" + calleraddress) + "_") + EnterAssetID), 0), ScriptTransfer(i.caller, checkuservotingbalance, BalletAssetID)]
163163 }
164164
165165
166166
167167 @Callable(i)
168168 func IssueLPToken (EnterAssetID) = {
169169 let adminrights = valueOrErrorMessage(getString(this, "LP_Admin_Rights"), "LP Admin Rights are Not Included into Smart Contract. Deploy Admin Rights First.")
170170 let calleraddress = toBase58String(i.caller.bytes)
171171 let checkpairisavailableornot = valueOrErrorMessage(getString(this, ("Pair_UV_" + EnterAssetID)), "Asset not Found in Whitelisted Token")
172172 let info = valueOrErrorMessage(assetInfo(fromBase58String(EnterAssetID)), (("Asset " + EnterAssetID) + " doesn't exist"))
173173 let name = info.name
174174 let NewVotingStatus = "P"
175175 let VotingStatus = valueOrErrorMessage(getString(this, ("Voting_Status_" + EnterAssetID)), ("Voting Status is Missing for " + EnterAssetID))
176176 let LPissue = Issue((("LP-" + name) + "-USDT"), (((("LP-" + name) + "-USDT") + " is a Liquidity Provider Token Issued Against ") + EnterAssetID), 1, 0, true)
177177 let LPid = calculateAssetId(LPissue)
178178 if ((adminrights != calleraddress))
179179 then throw((("Your are not allowded to Issue LP Token. Only " + adminrights) + " can issue the LP Token."))
180180 else if ((checkpairisavailableornot != EnterAssetID))
181181 then throw("Pair is not available in Voting List.")
182182 else if ((VotingStatus != NewVotingStatus))
183183 then throw("LP Token must be a Whitelisted Token.")
184184 else [LPissue, StringEntry(("LP_" + EnterAssetID), toBase58String(LPid))]
185185 }
186186
187187
188188
189189 @Callable(i)
190190 func SwapAssetToUSDTPairEntry (EnterAssetID) = {
191191 let calleraddress = toBase58String(i.caller.bytes)
192192 let pmt = if ((size(i.payments) == 1))
193193 then i.payments[0]
194194 else throw("Whitelisted Token is required as Attached payment[1].")
195195 let checkpairisavailableornot = getString(this, ("Pair_UV_" + EnterAssetID))
196196 let VotingStatus = getStringValue(this, ("Voting_Status_" + EnterAssetID))
197197 let CheckUSDTBalance = getIntegerValue(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID)))
198198 let CheckAssetBalance = getIntegerValue(this, ((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID))
199199 let newbalanceofUSDT = fraction(CheckUSDTBalance, CheckAssetBalance, (CheckAssetBalance + pmt.amount))
200200 let quantityofpriceasset = (CheckUSDTBalance - newbalanceofUSDT)
201201 let CurrentVotingStatus = "F"
202202 let SwapFee = 3
203203 let SwapFeetoreceive = ((quantityofpriceasset * SwapFee) / 1000)
204204 let userbalancetoreceive = (quantityofpriceasset - SwapFeetoreceive)
205205 let SumupofAssetToUSDTSwapFee = match getInteger(this, ((("Total_Swap_Fee_Collected_" + EnterAssetID) + "_") + toBase58String(USDTAssetID))) {
206206 case a: Int =>
207207 a
208208 case _ =>
209209 0
210210 }
211211 let NewSumupofAssetToUSDTSwapFee = (SumupofAssetToUSDTSwapFee + SwapFeetoreceive)
212212 let SumupAssetBalance = match getInteger(this, ((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID)) {
213213 case a: Int =>
214214 a
215215 case _ =>
216216 0
217217 }
218218 let NewSumupofAssetBalance = (CheckAssetBalance + pmt.amount)
219219 let SumupUSDTBalance = match getInteger(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID))) {
220220 case a: Int =>
221221 a
222222 case _ =>
223223 0
224224 }
225225 let NewSumupofUSDTBalance = (CheckUSDTBalance - quantityofpriceasset)
226226 let TOPT = match getIntegerValue(this, ("Total_of_Pair_Txns_" + EnterAssetID)) {
227227 case a: Int =>
228228 a
229229 case _ =>
230230 0
231231 }
232232 let NewTPT = (TOPT + 1)
233233 if ((EnterAssetID == toBase58String(USDTAssetID)))
234234 then throw("Input can Never be a USDT AssetID. Enter Whitelisted AssetID in input and Attach Whitelisted Asset as an attachment Token in payment[1].")
235235 else if ((checkpairisavailableornot != EnterAssetID))
236236 then throw("Pair is not available in Whitelisted Asset.")
237237 else if ((VotingStatus == CurrentVotingStatus))
238238 then throw((EnterAssetID + " is not A Whitelisted Token Yet."))
239239 else if ((pmt.assetId == USDTAssetID))
240240 then throw("You can't Attach USDT as an Attached Payment. Only Whitelisted Tokens are accepted.")
241241 else if ((pmt.assetId != fromBase58String(EnterAssetID)))
242242 then throw(("Incorrect asset attached, please attach or send " + EnterAssetID))
243243 else if ((CheckUSDTBalance == 0))
244244 then throw("Swap Pair Need to Add Liquidity first into Pool. Only After that Pair will be activated for Swapping.")
245245 else if ((CheckAssetBalance == 0))
246246 then throw("Swap Pair Need to Add Liquidity first into Pool. Only After that Pair will be activated for Swapping.")
247247 else if ((10000000 > quantityofpriceasset))
248248 then throw((("Your Attached Asset Amount is very low. Attach More " + EnterAssetID) + " Tokens to Claim the minimum Amount of 10 dollar atleast."))
249249 else if ((quantityofpriceasset > CheckUSDTBalance))
250250 then throw((("Pool Only has a Liquidity of " + toString((CheckUSDTBalance / pow(10, 0, 6, 0, 0, UP)))) + " USDT. Add Liquidity into Pool."))
251251 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)]
252252 }
253253
254254
255255
256256 @Callable(i)
257257 func SwapUSDTToAssetPairEntry (EnterAssetID) = {
258258 let calleraddress = toBase58String(i.caller.bytes)
259259 let pmt = if ((size(i.payments) == 1))
260260 then i.payments[0]
261261 else throw("Only USDT Token is required as an Attached payment[1].")
262262 let CheckUSDTBalance = getIntegerValue(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID)))
263263 let CheckAssetBalance = getIntegerValue(this, ((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID))
264264 let newbalanceofAsset = fraction(CheckUSDTBalance, CheckAssetBalance, (CheckUSDTBalance + pmt.amount))
265265 let quantityofpriceasset = (CheckAssetBalance - newbalanceofAsset)
266266 let checkpairisavailableornot = getString(this, ("Pair_UV_" + EnterAssetID))
267267 let VotingStatus = getStringValue(this, ("Voting_Status_" + EnterAssetID))
268268 let CurrentVotingStatus = "F"
269269 let SwapFee = 3
270270 let SwapFeetoreceive = ((quantityofpriceasset * SwapFee) / 1000)
271271 let userbalancetoreceive = (quantityofpriceasset - SwapFeetoreceive)
272272 let SumupofUSDTToAssetSwapFee = match getInteger(this, ("Total_Swap_Fee_Collected_" + EnterAssetID)) {
273273 case a: Int =>
274274 a
275275 case _ =>
276276 0
277277 }
278278 let NewSumupofUSDTToAssetSwapFee = (SumupofUSDTToAssetSwapFee + SwapFeetoreceive)
279279 let SumupAssetBalance = match getInteger(this, ((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID)) {
280280 case a: Int =>
281281 a
282282 case _ =>
283283 0
284284 }
285285 let NewSumupofAssetBalance = (CheckAssetBalance - quantityofpriceasset)
286286 let SumupUSDTBalance = match getInteger(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID))) {
287287 case a: Int =>
288288 a
289289 case _ =>
290290 0
291291 }
292292 let NewSumupofUSDTBalance = (CheckUSDTBalance + pmt.amount)
293293 let TOPT = match getIntegerValue(this, ("Total_of_Pair_Txns_" + EnterAssetID)) {
294294 case a: Int =>
295295 a
296296 case _ =>
297297 0
298298 }
299299 let NewTPT = (TOPT + 1)
300300 if ((checkpairisavailableornot != EnterAssetID))
301301 then throw("Pair is not available in Whitelisted Asset.")
302302 else if ((VotingStatus == CurrentVotingStatus))
303303 then throw((EnterAssetID + " is not A Whitelisted Token Yet."))
304304 else if ((EnterAssetID == toBase58String(USDTAssetID)))
305305 then throw("Input can Never be a USDT AssetID. Enter Whitelisted AssetID in input and Attach USDT as an attachment Token in payment[1].")
306306 else if ((pmt.assetId != USDTAssetID))
307307 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.")
308308 else if ((10000000 > pmt.amount))
309309 then throw("Your Attached USDT Amount is very low. Attach Atleast 10 USDT to Claim the minimum Tokens.")
310310 else if ((CheckUSDTBalance == 0))
311311 then throw("Swap Pair Need to Add Liquidity first into Pool. Only After that Pair will be activated for Swapping.")
312312 else if ((CheckAssetBalance == 0))
313313 then throw("Swap Pair Need to Add Liquidity first into Pool. Only After that Pair will be activated for Swapping.")
314314 else if ((quantityofpriceasset > CheckAssetBalance))
315315 then throw((("Pool Only has a Liquidity of " + toString(CheckAssetBalance)) + " Tokens. Add Liquidity into Pool."))
316316 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))]
317317 }
318318
319319
320320
321321 @Callable(i)
322322 func AddLiquidity (EnterAssetID) = {
323323 let calleraddress = toBase58String(i.caller.bytes)
324324 let pmt1 = value(i.payments[0])
325325 let pmt2 = value(i.payments[1])
326- let checkpairisavailableornot = getStringValue(this, ("Pair_UV_" + EnterAssetID))
326+ let checkpairisavailableornot = getString(this, ("Pair_UV_" + EnterAssetID))
327327 let VotingStatus = getStringValue(this, ("Voting_Status_" + EnterAssetID))
328- let ReissueassetId = getStringValue(this, ("LP_" + EnterAssetID))
328+ let ReissueassetId = fromBase58String(valueOrErrorMessage(getString(this, ("LP_" + EnterAssetID)), "LP Token is Missing or May be not Generated."))
329329 let CurrentVotingStatus = "F"
330330 let CheckUSDTBalance = getIntegerValue(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID)))
331331 let CheckAssetBalance = getIntegerValue(this, ((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID))
332332 let decimalsinfo = valueOrErrorMessage(assetInfo(fromBase58String(EnterAssetID)), (("Asset " + EnterAssetID) + " doesn't exist"))
333333 let decimals = decimalsinfo.decimals
334334 let arg1 = pow((CheckUSDTBalance / pow(10, 6, 6, 0, 0, UP)), 0, 1, 0, 0, UP)
335335 let arg2 = pow((CheckAssetBalance / pow(10, decimals, decimals, 0, 0, UP)), 0, 1, 0, 0, UP)
336336 let args3 = pow((((arg1 * 1000000) / arg2) * pow(10, 0, decimals, 0, 0, UP)), 0, 1, 0, 0, UP)
337337 let quantityofEnterAssetID = fraction(args3, pmt1.amount, pow(10, 0, (decimals + 6), 0, 0, UP))
338+ let quantityofLPToken1 = fraction(pmt1.amount, 1, pow(10, 0, decimals, 0, 0, UP))
338339 let USDTHoldingInPair = match getInteger(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID))) {
339340 case a: Int =>
340341 a
341342 case _ =>
342343 0
343344 }
344345 let NewUSDTHoldingInPair = (USDTHoldingInPair + pmt2.amount)
345346 let AssetHoldingInPair = match getInteger(this, ((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID)) {
346347 case a: Int =>
347348 a
348349 case _ =>
349350 0
350351 }
351352 let NewAssetHoldingInPair = (AssetHoldingInPair + pmt1.amount)
352353 if ((checkpairisavailableornot != EnterAssetID))
353354 then throw("Pair is not available in Whitelisted Asset.")
354355 else if ((VotingStatus == CurrentVotingStatus))
355356 then throw((EnterAssetID + " is not A Whitelisted Token Yet."))
356357 else if ((EnterAssetID == toBase58String(USDTAssetID)))
357358 then throw("Input can Never be a USDT AssetID. Enter Whitelisted AssetID in input as well as in payment[1] and Attach USDT as an attachment Token in payment[2].")
358359 else if ((size(i.payments) != 2))
359360 then throw("Two attached assets expected as payment in 50%-50%. Kindly Attach payment1 = Token you want to add for Liquidity and payment2 = Equivalent Amount of USDT Token.")
360361 else if ((pmt1.assetId == USDTAssetID))
361362 then throw("You Attached USDT asset in payment[1], please attach only whitelisted Token in payment[1] along with USDT in payment[2].")
362363 else if ((pmt1.assetId != fromBase58String(EnterAssetID)))
363364 then throw("Incorrect asset attached for Liquidity in payment[1], please attach String Asset or Whitelisted Token only.")
364365 else if ((pmt1.assetId != fromBase58String(EnterAssetID)))
365366 then throw("Incorrect asset attached for Liquidity in payment[1], please attach String Asset or Whitelisted Token only.")
366367 else if ((pmt2.assetId != USDTAssetID))
367368 then throw("Wrong Asset Attached in payments[2], Please attach payment[1] = Liquidity Token and payment[2] = USDT Token.")
368369 else if ((10000000 > pmt2.amount))
369370 then throw("please attach atleast 10 USDT in payment[2] and Equivalent worth of Token in payment[1]")
370371 else if ((pmt2.amount != quantityofEnterAssetID))
371372 then throw(("Attached payment[2] quantity is not matching as per attached payment[1].payment[2] must be " + toString(quantityofEnterAssetID)))
372- else [IntegerEntry(((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID)), NewUSDTHoldingInPair), IntegerEntry(((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID), NewAssetHoldingInPair), IntegerEntry("Price_Per_Token", args3)]
373+ else [IntegerEntry(((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID)), NewUSDTHoldingInPair), IntegerEntry(((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID), NewAssetHoldingInPair), IntegerEntry("Price_Per_Token", args3), Reissue(ReissueassetId, quantityofLPToken1, true)]
373374 }
374375
375376
376377
377378 @Callable(i)
378379 func RemoveLiquidity (EnterAssetID) = {
379380 let calleraddress = toBase58String(i.caller.bytes)
380381 let pmt = if ((size(i.payments) == 1))
381382 then i.payments[0]
382383 else throw("No payment attached, Please Attach LP Token as payment[1].")
383384 let checkpairisavailableornot = getString(this, ("Pair_UV_" + EnterAssetID))
384385 let VotingStatus = getStringValue(this, ("Voting_Status_" + EnterAssetID))
385386 let ReissueableassetId = fromBase58String(valueOrErrorMessage(getString(this, ("LP_" + EnterAssetID)), "LP Token is Missing or May be not Generated."))
386387 let CurrentVotingStatus = "F"
387388 let AddLiquidityFee = 100000
388389 let CheckUSDTBalance = getIntegerValue(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID)))
389390 let CheckAssetBalance = getIntegerValue(this, ((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID))
390391 let CheckLPTokenispresent = getIntegerValue(this, ("Total_LP_" + EnterAssetID))
391392 let SubtractedUSDT = fraction(CheckUSDTBalance, pmt.amount, getIntegerValue(this, ("Total_LP_" + EnterAssetID)))
392393 let CurrentpriceofToken = fraction(CheckUSDTBalance, 1, CheckAssetBalance)
393394 let SubtractedAsset = fraction(SubtractedUSDT, 1, CurrentpriceofToken)
394395 let USDTHoldingInPair = match getInteger(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID))) {
395396 case a: Int =>
396397 a
397398 case _ =>
398399 0
399400 }
400401 let NewUSDTHoldingInPair = (USDTHoldingInPair - SubtractedUSDT)
401402 let AssetHoldingInPair = match getInteger(this, ((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID)) {
402403 case a: Int =>
403404 a
404405 case _ =>
405406 0
406407 }
407408 let NewAssetHoldingInPair = (AssetHoldingInPair - SubtractedAsset)
408409 let LPTokenIssued = match getIntegerValue(this, ("Total_LP_" + EnterAssetID)) {
409410 case a: Int =>
410411 a
411412 case _ =>
412413 0
413414 }
414415 let NewLPTokenIssued = (LPTokenIssued - pmt.amount)
415416 if ((checkpairisavailableornot != EnterAssetID))
416417 then throw("Pair is not available in Whitelisted Asset.")
417418 else if ((VotingStatus == CurrentVotingStatus))
418419 then throw((EnterAssetID + " is not A Whitelisted Token Yet."))
419420 else if ((fromBase58String(EnterAssetID) == USDTAssetID))
420421 then throw("You can't choose USDT AssetID as Input String, Choose Whitelisted Asset as Input String and Attach LP Tokens as payment[1]")
421422 else if ((pmt.assetId != ReissueableassetId))
422423 then throw("LP Token Not Found or Missing or Wrong Asset is attached.")
423424 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, SubtractedUSDT, USDTAssetID), ScriptTransfer(i.caller, SubtractedAsset, fromBase58String(EnterAssetID))]
424425 }
425426
426427
427428
428429 @Callable(i)
429430 func RemovePairEntry (EnterAssetID) = {
430431 let adminrights = getStringValue(this, "Polarity_Admin_Rights")
431432 let checkendheight = getIntegerValue(this, ("Voting_EH_" + EnterAssetID))
432433 let checkpairisavailableornot = getString(this, ("Pair_UV_" + EnterAssetID))
433434 let VotingStatus = getStringValue(this, ("Voting_Status_" + EnterAssetID))
434435 let NewVotingStatus = "P"
435436 let calleraddress = toBase58String(i.caller.bytes)
436437 let currentheight = height
437438 let pendingblocksforprojectexpire = (checkendheight - height)
438439 if ((checkpairisavailableornot != EnterAssetID))
439440 then throw("Pair is not available in Voting List.")
440441 else if ((adminrights != calleraddress))
441442 then throw((("I know You are not An Admin. Only " + adminrights) + " has rights to remove the pair."))
442443 else if ((checkendheight > height))
443444 then throw((("Voting Already Running. You can remove the pair after " + toString(pendingblocksforprojectexpire)) + " Blocks"))
444445 else if ((VotingStatus == NewVotingStatus))
445446 then throw((EnterAssetID + " is now Whitelisted. So you can't remove it."))
446447 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))]
447448 }
448449
449450
450451
451452 @Callable(i)
452453 func RemoveEntry (Key,Key1,Key2,Key3) = [DeleteEntry(Key), DeleteEntry(Key1), DeleteEntry(Key2), DeleteEntry(Key3)]
453454
454455
455456 @Verifier(tx)
456457 func verify () = match tx {
457458 case _ =>
458459 sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
459460 }
460461

github/deemru/w8io/026f985 
64.69 ms