tx · 7DfdrijBANYdsYyPPEjMQzqhXsyP3qq2vDokgViV1iQG

3Mrnje6z2xa3xuXyU2Lk6ynKy8tsRnnt4Bv:  -0.01400000 Waves

2022.01.14 07:13 [1878134] smart account 3Mrnje6z2xa3xuXyU2Lk6ynKy8tsRnnt4Bv > SELF 0.00000000 Waves

{ "type": 13, "id": "7DfdrijBANYdsYyPPEjMQzqhXsyP3qq2vDokgViV1iQG", "fee": 1400000, "feeAssetId": null, "timestamp": 1642133608939, "version": 2, "chainId": 84, "sender": "3Mrnje6z2xa3xuXyU2Lk6ynKy8tsRnnt4Bv", "senderPublicKey": "28sGn7FYnmxceAmnGYiDiKuMK1QyXiqX8zQXfKDnrc8t", "proofs": [ "4Atek3Drk7d4FyfC2b2FJpt55B4jy8xCq8izD2UCn3ycEQY3uyKXw6uK4jMyFivJuJjqU2M7PRLne8UJ6ZX8hbDP" ], "script": "base64:AAIEAAAAAAAAADMIAhIECgIIARIDCgEIEgMKAQgSAwoBCBIDCgEIEgMKAQgSAwoBCBIDCgEIEgYKBAgICAgAAAAFAAAAAAtVU0RUQXNzZXRJRAEAAAAgCGWEtw/wimoa8+Jo6C4IkCTD0ydYA80s9i5eC9/aFaQAAAAAC0NPREVBc3NldElEAQAAACAtb1sBuZ3lSm8ahGink+4TF5YYAu/xRHYwe1h195OooAAAAAAVQ29sbGVjdENPREVGZWVBZGRyZXNzCQEAAAAUYWRkcmVzc0Zyb21QdWJsaWNLZXkAAAABAQAAACBSg9mgi9eQkjsz5eBARHIbc7Hg/F4fmB0sxZ6ySMfiIAAAAAAZQ29sbGVjdFVTRFRTd2FwRmVlQWRkcmVzcwkBAAAAFGFkZHJlc3NGcm9tUHVibGljS2V5AAAAAQEAAAAgUoPZoIvXkJI7M+XgQERyG3Ox4PxeH5gdLMWeskjH4iAAAAAAGkNvbGxlY3RBc3NldFN3YXBGZWVBZGRyZXNzCQEAAAAUYWRkcmVzc0Zyb21QdWJsaWNLZXkAAAABAQAAACBSg9mgi9eQk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BpbiBwYXltZW50WzFdIG9yIExQIFRva2VuIE5vdCBGb3VuZCBvciBNaXNzaW5nLgkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAASVXNlcl9MUF9QZXJjZW50YWdlBQAAABBVc2VyTFBQZXJjZW50YWdlCQAETAAAAAIJAQAAAARCdXJuAAAAAgUAAAASUmVpc3N1ZWFibGVhc3NldElkCAUAAAADcG10AAAABmFtb3VudAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACAgAAAAlUb3RhbF9MUF8FAAAADEVudGVyQXNzZXRJRAUAAAAQTmV3TFBUb2tlbklzc3VlZAUAAAADbmlsAAAAAWkBAAAAC1JlbW92ZUVudHJ5AAAABAAAAANLZXkAAAAES2V5MQAAAARLZXkyAAAABEtleTMJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQUAAAADS2V5CQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEFAAAABEtleTEJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQUAAAAES2V5MgkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABBQAAAARLZXkzBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABAAAAAckbWF0Y2gwBQAAAAJ0eAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXntGIXo", "height": 1878134, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9sdzsZz3Sr6HaJkSEWViGBG47KMevJYXioG3Xb9sYmk7 Next: 9PRSFGexr1JtiAp28cFxBNTAVdcdFyJeDJS7r1njQvUC Diff:
OldNewDifferences
351351 let CurrentVotingStatus = "F"
352352 let decimalsinfo = valueOrErrorMessage(assetInfo(fromBase58String(EnterAssetID)), (("Asset " + EnterAssetID) + " doesn't exist"))
353353 let decimals = decimalsinfo.decimals
354+ let bothassetsdecimals = (6 + decimals)
355+ let sharedecimals = (bothassetsdecimals / 2)
354356 let CheckTotalLPAmount = getIntegerValue(this, ("Total_LP_" + EnterAssetID))
355- let UserLPPercentage = pow(fraction((pmt.amount * 1000000), 1, CheckTotalLPAmount), decimals, 1, 6, 0, UP)
357+ let UserLPPercentage = pow(fraction((pmt.amount * 1000000), 1, CheckTotalLPAmount), sharedecimals, 1, 6, 0, UP)
356358 let CheckUSDTBalance = getIntegerValue(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID)))
357359 let CheckAssetBalance = getIntegerValue(this, ((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID))
358360 let LPTokenIssued = match getIntegerValue(this, ("Total_LP_" + EnterAssetID)) {
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let USDTAssetID = base58'Zn3cLHW7aAVPm5aACcTjvg7e7iEy2cKDtbowok5qa9H'
55
66 let CODEAssetID = base58'44Mq8KqUhM94t93MiBq3S22iiuGczMxpKmse5dBy2w5y'
77
88 let CollectCODEFeeAddress = addressFromPublicKey(base58'6Z73KxcX3sugpiStpSRXxKxTmWqCaLVwFeM6kwyiKVDR')
99
1010 let CollectUSDTSwapFeeAddress = addressFromPublicKey(base58'6Z73KxcX3sugpiStpSRXxKxTmWqCaLVwFeM6kwyiKVDR')
1111
1212 let CollectAssetSwapFeeAddress = addressFromPublicKey(base58'6Z73KxcX3sugpiStpSRXxKxTmWqCaLVwFeM6kwyiKVDR')
1313
1414 @Callable(i)
1515 func RegisterPairForVoting (EnterAssetID,days) = {
1616 let pmt1 = value(i.payments[0])
1717 let pmt2 = value(i.payments[1])
1818 let maximumvotingdays = 90
1919 let currentKey = toBase58String(i.caller.bytes)
2020 let TN = !(isDefined(pmt2.assetId))
2121 let oneday = 1440
2222 let NoOfDaysBlocks = (oneday * days)
2323 let gap = (NoOfDaysBlocks - 43199)
2424 let votesrequired = ((100000 + ((11574 * gap) / 10000)) * 100000000)
2525 let votingExpire = (height + NoOfDaysBlocks)
2626 let fetchpair = getString(this, ("Pair_UV_" + EnterAssetID))
2727 let votingstatus = "F"
2828 let assetinfopmt2 = fromBase58String(EnterAssetID)
2929 if ((43 > size(EnterAssetID)))
3030 then throw("Wrong AssetID is Entered for Voting. Please Enter a Valid AssetID. Probably you entered an AssetID less than 43 Chars.")
3131 else if ((29 >= days))
3232 then throw("Enter no. of days in between 30 to 90.")
3333 else if ((days > maximumvotingdays))
3434 then throw("You Entered days greater than 90 please Enter no. of days in between 1 to 90.")
3535 else if ((fetchpair == EnterAssetID))
3636 then throw("Pair Already Exist in Voting List.")
3737 else if ((size(i.payments) != 2))
3838 then throw("Two attached assets expected as payment. Kindly Attach payment1 = CODE Token & payment2 = Token you want to List for Voting.")
3939 else if ((pmt1.assetId != CODEAssetID))
4040 then throw("Incorrect asset attached for Voting in payment[1], please attach 2000 CODE Token only.")
4141 else if ((pmt1.amount != 200000000000))
4242 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."))
4343 else if ((pmt2.assetId != assetinfopmt2))
4444 then throw("Input String & Attached AssetID in payment2 is not matching.")
4545 else if ((TN == true))
4646 then throw("You Attached TN Asset ID for Voting, please attach fsTN instead of TN or Token You want to list in payment[2].")
4747 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)]
4848 }
4949
5050
5151
5252 @Callable(i)
5353 func DoVoting (EnterAssetID) = {
5454 let pmt = if ((size(i.payments) == 1))
5555 then i.payments[0]
5656 else throw((toBase58String(CODEAssetID) + "CODE Token is required as Attached payment"))
5757 let calleraddress = toBase58String(i.caller.bytes)
5858 let NewVotingStatus = "P"
5959 let checkendheight = getIntegerValue(this, ("Voting_EH_" + EnterAssetID))
6060 let checkpairisavailableornot = getString(this, ("Pair_UV_" + EnterAssetID))
6161 let checkvotesrequired = getIntegerValue(this, ("Votes_Req_" + EnterAssetID))
6262 let checkvotesreceived = getIntegerValue(this, ("Votes_Rcvd_" + EnterAssetID))
6363 let VotingStatus = getStringValue(this, ("Voting_Status_" + EnterAssetID))
6464 let currentvotes = match getInteger(this, ("Votes_Rcvd_" + EnterAssetID)) {
6565 case a: Int =>
6666 a
6767 case _ =>
6868 0
6969 }
7070 let newvotescount = (currentvotes + pmt.amount)
7171 let individualvotes = match getInteger(this, ((("Votes_Rcvd_" + calleraddress) + "_") + EnterAssetID)) {
7272 case b: Int =>
7373 b
7474 case _ =>
7575 0
7676 }
7777 let individualvotescount = (individualvotes + pmt.amount)
7878 let checkwhitelist = (checkvotesreceived >= checkvotesrequired)
7979 let info = valueOrErrorMessage(assetInfo(fromBase58String(EnterAssetID)), (("Asset " + EnterAssetID) + " doesn't exist"))
8080 if ((checkpairisavailableornot != EnterAssetID))
8181 then throw("Pair is not available in Voting List.")
8282 else if ((height > checkendheight))
8383 then throw((("Voting timeline for " + EnterAssetID) + " is expired."))
8484 else if ((pmt.assetId != CODEAssetID))
8585 then throw((("Kindly Attach Only " + toBase58String(CODEAssetID)) + " Token."))
8686 else if ((VotingStatus == NewVotingStatus))
8787 then throw((("Voting for " + EnterAssetID) + " pair is completed & it’s available in whitelist."))
8888 else if (checkwhitelist)
8989 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)]
9090 else [IntegerEntry(("Votes_Rcvd_" + EnterAssetID), newvotescount), IntegerEntry(((("Votes_Rcvd_" + calleraddress) + "_") + EnterAssetID), individualvotescount)]
9191 }
9292
9393
9494
9595 @Callable(i)
9696 func WithdrawVotedTokens (EnterAssetID) = {
9797 let pmt = if ((size(i.payments) == 1))
9898 then i.payments[0]
9999 else throw("0.1 TN Token is required as Attached payment.")
100100 let calleraddress = toBase58String(i.caller.bytes)
101101 let checkendheight = getIntegerValue(this, ("Voting_EH_" + EnterAssetID))
102102 let checkpairisavailableornot = getString(this, ("Pair_UV_" + EnterAssetID))
103103 let checkuservotingbalance = valueOrErrorMessage(getInteger(this, ((("Votes_Rcvd_" + calleraddress) + "_") + EnterAssetID)), (calleraddress + " Address never voted & exist in list."))
104104 let pendingblocksforprojectexpire = (checkendheight - height)
105105 if ((checkpairisavailableornot != EnterAssetID))
106106 then throw("Pair is not available in Voting List.")
107107 else if ((checkendheight > height))
108108 then throw((("Voting Already Running. You can withdraw your CODE Token after " + toString(pendingblocksforprojectexpire)) + " blocks"))
109109 else if ((0 >= checkuservotingbalance))
110110 then throw("You don't have any dues of CODE balance in this Voting Pair.")
111111 else if (isDefined(pmt.assetId))
112112 then throw("Don't attach any other asset. Please attach 0.1 TN as a fee to release your token")
113113 else if ((pmt.amount != 10000000))
114114 then throw("Please attach 0.1 TN as a fee to release your token.")
115115 else [IntegerEntry(((("Votes_Rcvd_" + calleraddress) + "_") + EnterAssetID), 0), ScriptTransfer(i.caller, checkuservotingbalance, CODEAssetID)]
116116 }
117117
118118
119119
120120 @Callable(i)
121121 func IssueLPToken (EnterAssetID) = {
122122 let adminrights = valueOrErrorMessage(getString(this, "LP_Admin_Rights"), "LP Admin Rights are Not Included into Smart Contract. Deploy Admin Rights First.")
123123 let calleraddress = toBase58String(i.caller.bytes)
124124 let checkpairisavailableornot = valueOrErrorMessage(getString(this, ("Pair_UV_" + EnterAssetID)), "Asset not Found in Whitelisted Token")
125125 let info = valueOrErrorMessage(assetInfo(fromBase58String(EnterAssetID)), (("Asset " + EnterAssetID) + " doesn't exist"))
126126 let name = info.name
127127 let decimals = info.decimals
128128 let NewVotingStatus = "P"
129129 let VotingStatus = valueOrErrorMessage(getString(this, ("Voting_Status_" + EnterAssetID)), ("Voting Status is Missing for " + EnterAssetID))
130130 let FirstLPQty = (1 * pow(10, 0, fraction((decimals + 6), 1, 2), 0, 0, UP))
131131 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)
132132 let LPid = calculateAssetId(LPissue)
133133 if ((adminrights != calleraddress))
134134 then throw((("Your are not allowded to Issue LP Token. Only " + adminrights) + " can issue the LP Token."))
135135 else if ((checkpairisavailableornot != EnterAssetID))
136136 then throw("Pair is not available in Voting List.")
137137 else if ((VotingStatus != NewVotingStatus))
138138 then throw("LP Token must be a Whitelisted Token.")
139139 else [LPissue, StringEntry(("LP_" + EnterAssetID), toBase58String(LPid)), IntegerEntry(("Total_LP_" + EnterAssetID), FirstLPQty)]
140140 }
141141
142142
143143
144144 @Callable(i)
145145 func SwapAssetToUSDTPairEntry (EnterAssetID) = {
146146 let calleraddress = toBase58String(i.caller.bytes)
147147 let pmt = if ((size(i.payments) == 1))
148148 then i.payments[0]
149149 else throw("Whitelisted Token is required as Attached payment[1].")
150150 let checkpairisavailableornot = getString(this, ("Pair_UV_" + EnterAssetID))
151151 let VotingStatus = getStringValue(this, ("Voting_Status_" + EnterAssetID))
152152 let CheckUSDTBalance = getIntegerValue(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID)))
153153 let CheckAssetBalance = getIntegerValue(this, ((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID))
154154 let newbalanceofUSDT = fraction(CheckUSDTBalance, CheckAssetBalance, (CheckAssetBalance + pmt.amount))
155155 let quantityofpriceasset = (CheckUSDTBalance - newbalanceofUSDT)
156156 let CurrentVotingStatus = "F"
157157 let SwapFee = 3
158158 let SwapFeetoreceive = ((quantityofpriceasset * SwapFee) / 1000)
159159 let userbalancetoreceive = (quantityofpriceasset - SwapFeetoreceive)
160160 let SumupofAssetToUSDTSwapFee = match getInteger(this, ((("Total_Swap_Fee_Collected_" + EnterAssetID) + "_") + toBase58String(USDTAssetID))) {
161161 case a: Int =>
162162 a
163163 case _ =>
164164 0
165165 }
166166 let NewSumupofAssetToUSDTSwapFee = (SumupofAssetToUSDTSwapFee + SwapFeetoreceive)
167167 let SumupAssetBalance = match getInteger(this, ((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID)) {
168168 case a: Int =>
169169 a
170170 case _ =>
171171 0
172172 }
173173 let NewSumupofAssetBalance = (CheckAssetBalance + pmt.amount)
174174 let SumupUSDTBalance = match getInteger(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID))) {
175175 case a: Int =>
176176 a
177177 case _ =>
178178 0
179179 }
180180 let NewSumupofUSDTBalance = (CheckUSDTBalance - quantityofpriceasset)
181181 let TOPT = match getIntegerValue(this, ("Total_of_Pair_Txns_" + EnterAssetID)) {
182182 case a: Int =>
183183 a
184184 case _ =>
185185 0
186186 }
187187 let NewTPT = (TOPT + 1)
188188 if ((EnterAssetID == toBase58String(USDTAssetID)))
189189 then throw("Input can Never be a USDT AssetID. Enter Whitelisted AssetID in input & Attach Whitelisted Asset as an attachment Token in payment[1].")
190190 else if ((checkpairisavailableornot != EnterAssetID))
191191 then throw("Pair is not available in Whitelisted Asset.")
192192 else if ((VotingStatus == CurrentVotingStatus))
193193 then throw((EnterAssetID + " is not A Whitelisted Token Yet."))
194194 else if ((pmt.assetId == USDTAssetID))
195195 then throw("You can't Attach USDT as an Attached Payment. Only Whitelisted Tokens are accepted.")
196196 else if ((pmt.assetId != fromBase58String(EnterAssetID)))
197197 then throw(("Incorrect asset attached, please attach or send " + EnterAssetID))
198198 else if ((CheckUSDTBalance == 0))
199199 then throw("Swap Pair Need to Add Liquidity first into Pool. Only After that Pair will be activated for Swapping.")
200200 else if ((CheckAssetBalance == 0))
201201 then throw("Swap Pair Need to Add Liquidity first into Pool. Only After that Pair will be activated for Swapping.")
202202 else if ((10000000 > quantityofpriceasset))
203203 then throw((("Your Attached Asset Amount is very low. Attach More " + EnterAssetID) + " Tokens to Claim the minimum Amount of 10 dollar atleast."))
204204 else if ((quantityofpriceasset > CheckUSDTBalance))
205205 then throw((("Pool Only has a Liquidity of " + toString((CheckUSDTBalance / pow(10, 0, 6, 0, 0, UP)))) + " USDT. Add Liquidity into Pool."))
206206 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)]
207207 }
208208
209209
210210
211211 @Callable(i)
212212 func SwapUSDTToAssetPairEntry (EnterAssetID) = {
213213 let calleraddress = toBase58String(i.caller.bytes)
214214 let pmt = if ((size(i.payments) == 1))
215215 then i.payments[0]
216216 else throw((("Only " + toBase58String(USDTAssetID)) + " USDT Token is required as an Attached payment[1]."))
217217 let CheckUSDTBalance = getIntegerValue(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID)))
218218 let CheckAssetBalance = getIntegerValue(this, ((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID))
219219 let newbalanceofAsset = fraction(CheckUSDTBalance, CheckAssetBalance, (CheckUSDTBalance + pmt.amount))
220220 let quantityofpriceasset = (CheckAssetBalance - newbalanceofAsset)
221221 let checkpairisavailableornot = getString(this, ("Pair_UV_" + EnterAssetID))
222222 let VotingStatus = getStringValue(this, ("Voting_Status_" + EnterAssetID))
223223 let CurrentVotingStatus = "F"
224224 let SwapFee = 3
225225 let SwapFeetoreceive = ((quantityofpriceasset * SwapFee) / 1000)
226226 let userbalancetoreceive = (quantityofpriceasset - SwapFeetoreceive)
227227 let SumupofUSDTToAssetSwapFee = match getInteger(this, ("Total_Swap_Fee_Collected_" + EnterAssetID)) {
228228 case a: Int =>
229229 a
230230 case _ =>
231231 0
232232 }
233233 let NewSumupofUSDTToAssetSwapFee = (SumupofUSDTToAssetSwapFee + SwapFeetoreceive)
234234 let SumupAssetBalance = match getInteger(this, ((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID)) {
235235 case a: Int =>
236236 a
237237 case _ =>
238238 0
239239 }
240240 let NewSumupofAssetBalance = (CheckAssetBalance - quantityofpriceasset)
241241 let SumupUSDTBalance = match getInteger(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID))) {
242242 case a: Int =>
243243 a
244244 case _ =>
245245 0
246246 }
247247 let NewSumupofUSDTBalance = (CheckUSDTBalance + pmt.amount)
248248 let TOPT = match getIntegerValue(this, ("Total_of_Pair_Txns_" + EnterAssetID)) {
249249 case a: Int =>
250250 a
251251 case _ =>
252252 0
253253 }
254254 let NewTPT = (TOPT + 1)
255255 if ((checkpairisavailableornot != EnterAssetID))
256256 then throw("Pair is not available in Whitelisted Asset.")
257257 else if ((VotingStatus == CurrentVotingStatus))
258258 then throw((EnterAssetID + " is not A Whitelisted Token Yet."))
259259 else if ((EnterAssetID == toBase58String(USDTAssetID)))
260260 then throw("Input can Never be a USDT AssetID. Enter Whitelisted AssetID in input & Attach USDT as an attachment Token in payment[1].")
261261 else if ((pmt.assetId != USDTAssetID))
262262 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.")
263263 else if ((10000000 > pmt.amount))
264264 then throw("Your Attached USDT Amount is very low. Attach Atleast 10 USDT to Claim the minimum Tokens.")
265265 else if ((CheckUSDTBalance == 0))
266266 then throw("Swap Pair Need to Add Liquidity first into Pool. Only After that Pair will be activated for Swapping.")
267267 else if ((CheckAssetBalance == 0))
268268 then throw("Swap Pair Need to Add Liquidity first into Pool. Only After that Pair will be activated for Swapping.")
269269 else if ((quantityofpriceasset > CheckAssetBalance))
270270 then throw((("Pool Only has a Liquidity of " + toString(CheckAssetBalance)) + " Tokens. Add Liquidity into Pool."))
271271 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))]
272272 }
273273
274274
275275
276276 @Callable(i)
277277 func AddLiquidity (EnterAssetID) = {
278278 let calleraddress = toBase58String(i.caller.bytes)
279279 let pmt1 = value(i.payments[0])
280280 let pmt2 = value(i.payments[1])
281281 let checkpairisavailableornot = getString(this, ("Pair_UV_" + EnterAssetID))
282282 let VotingStatus = getStringValue(this, ("Voting_Status_" + EnterAssetID))
283283 let ReissueassetId = fromBase58String(valueOrErrorMessage(getString(this, ("LP_" + EnterAssetID)), "LP Token is Missing or May be not Generated."))
284284 let CurrentVotingStatus = "F"
285285 let CheckUSDTBalance = getIntegerValue(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID)))
286286 let CheckAssetBalance = getIntegerValue(this, ((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID))
287287 let decimalsinfo = valueOrErrorMessage(assetInfo(fromBase58String(EnterAssetID)), (("Asset " + EnterAssetID) + " doesn't exist"))
288288 let decimals = decimalsinfo.decimals
289289 let arg1 = CheckUSDTBalance
290290 let arg2 = CheckAssetBalance
291291 let args3 = pow((((arg1 * 1000000) / arg2) * pow(10, 0, decimals, 0, 0, UP)), 0, 1, 0, 0, UP)
292292 let bothassetsdecimals = (6 + decimals)
293293 let sharedecimals = (bothassetsdecimals / 2)
294294 let quantityofEnterAssetID = fraction(args3, pmt1.amount, pow(10, 0, bothassetsdecimals, 0, 0, UP))
295295 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)
296296 let USDTHoldingInPair = match getInteger(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID))) {
297297 case a: Int =>
298298 a
299299 case _ =>
300300 0
301301 }
302302 let NewUSDTHoldingInPair = (USDTHoldingInPair + pmt2.amount)
303303 let AssetHoldingInPair = match getInteger(this, ((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID)) {
304304 case a: Int =>
305305 a
306306 case _ =>
307307 0
308308 }
309309 let NewAssetHoldingInPair = (AssetHoldingInPair + pmt1.amount)
310310 let LPTokenIssued = match getIntegerValue(this, ("Total_LP_" + EnterAssetID)) {
311311 case a: Int =>
312312 a
313313 case _ =>
314314 0
315315 }
316316 let NewLPTokenIssued = (LPTokenIssued + quantityofLPToken1)
317317 if ((checkpairisavailableornot != EnterAssetID))
318318 then throw("Pair is not available in Whitelisted Asset.")
319319 else if ((VotingStatus == CurrentVotingStatus))
320320 then throw((EnterAssetID + " is not A Whitelisted Token Yet."))
321321 else if ((EnterAssetID == toBase58String(USDTAssetID)))
322322 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].")
323323 else if ((size(i.payments) != 2))
324324 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.")
325325 else if ((pmt1.assetId == USDTAssetID))
326326 then throw("You Attached USDT asset in payment[1], please attach only whitelisted Token in payment[1] along with USDT in payment[2].")
327327 else if ((pmt1.assetId != fromBase58String(EnterAssetID)))
328328 then throw("Incorrect asset attached for Liquidity in payment[1], please attach String Asset or Whitelisted Token only.")
329329 else if ((pmt1.assetId != fromBase58String(EnterAssetID)))
330330 then throw("Incorrect asset attached for Liquidity in payment[1], please attach String Asset or Whitelisted Token only.")
331331 else if ((pmt2.assetId != USDTAssetID))
332332 then throw("Wrong Asset Attached in payments[2], Please attach payment[1] = Liquidity Token & payment[2] = USDT Token.")
333333 else if ((10000000 > pmt2.amount))
334334 then throw("please attach atleast 10 USDT in payment[2] & Equivalent worth of Token in payment[1]")
335335 else if ((pmt2.amount != quantityofEnterAssetID))
336336 then throw(("Attached payment[2] quantity is not matching as per attached payment[1].payment[2] must be " + toString(quantityofEnterAssetID)))
337337 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)]
338338 }
339339
340340
341341
342342 @Callable(i)
343343 func RemoveLiquidity (EnterAssetID) = {
344344 let calleraddress = toBase58String(i.caller.bytes)
345345 let pmt = if ((size(i.payments) == 1))
346346 then i.payments[0]
347347 else throw("No payment attached, Please Attach LP Token as payment[1].")
348348 let checkpairisavailableornot = getString(this, ("Pair_UV_" + EnterAssetID))
349349 let VotingStatus = getStringValue(this, ("Voting_Status_" + EnterAssetID))
350350 let ReissueableassetId = fromBase58String(valueOrErrorMessage(getString(this, ("LP_" + EnterAssetID)), "LP Token is Missing or not Generated."))
351351 let CurrentVotingStatus = "F"
352352 let decimalsinfo = valueOrErrorMessage(assetInfo(fromBase58String(EnterAssetID)), (("Asset " + EnterAssetID) + " doesn't exist"))
353353 let decimals = decimalsinfo.decimals
354+ let bothassetsdecimals = (6 + decimals)
355+ let sharedecimals = (bothassetsdecimals / 2)
354356 let CheckTotalLPAmount = getIntegerValue(this, ("Total_LP_" + EnterAssetID))
355- let UserLPPercentage = pow(fraction((pmt.amount * 1000000), 1, CheckTotalLPAmount), decimals, 1, 6, 0, UP)
357+ let UserLPPercentage = pow(fraction((pmt.amount * 1000000), 1, CheckTotalLPAmount), sharedecimals, 1, 6, 0, UP)
356358 let CheckUSDTBalance = getIntegerValue(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDTAssetID)))
357359 let CheckAssetBalance = getIntegerValue(this, ((("Balance_of_" + toBase58String(USDTAssetID)) + "_") + EnterAssetID))
358360 let LPTokenIssued = match getIntegerValue(this, ("Total_LP_" + EnterAssetID)) {
359361 case a: Int =>
360362 a
361363 case _ =>
362364 0
363365 }
364366 let NewLPTokenIssued = (LPTokenIssued - pmt.amount)
365367 if ((checkpairisavailableornot != EnterAssetID))
366368 then throw("Pair is not available in Whitelist.")
367369 else if ((VotingStatus == CurrentVotingStatus))
368370 then throw((EnterAssetID + " is not A Whitelist Token Yet."))
369371 else if ((fromBase58String(EnterAssetID) == USDTAssetID))
370372 then throw("Don't choose USDT AssetID as Input, Only Whitelisted Asset as Input String & Attach LP Tokens as payment[1]")
371373 else if ((pmt.assetId != ReissueableassetId))
372374 then throw("Wrong Asset is attached in payment[1] or LP Token Not Found or Missing.")
373375 else [IntegerEntry("User_LP_Percentage", UserLPPercentage), Burn(ReissueableassetId, pmt.amount), IntegerEntry(("Total_LP_" + EnterAssetID), NewLPTokenIssued)]
374376 }
375377
376378
377379
378380 @Callable(i)
379381 func RemoveEntry (Key,Key1,Key2,Key3) = [DeleteEntry(Key), DeleteEntry(Key1), DeleteEntry(Key2), DeleteEntry(Key3)]
380382
381383
382384 @Verifier(tx)
383385 func verify () = match tx {
384386 case _ =>
385387 sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
386388 }
387389

github/deemru/w8io/026f985 
72.42 ms