tx · ETGmhZaVx9bNGNa5yqv5EpQTaNnr6m22YkMGJc8V9rC9

3MsVsEgTUxTm6ETYkHGaqMhMhiY2Nb3yDN5:  -0.01600000 Waves

2023.09.19 15:34 [2762267] smart account 3MsVsEgTUxTm6ETYkHGaqMhMhiY2Nb3yDN5 > SELF 0.00000000 Waves

{ "type": 13, "id": "ETGmhZaVx9bNGNa5yqv5EpQTaNnr6m22YkMGJc8V9rC9", "fee": 1600000, "feeAssetId": null, "timestamp": 1695126919266, "version": 2, "chainId": 84, "sender": "3MsVsEgTUxTm6ETYkHGaqMhMhiY2Nb3yDN5", "senderPublicKey": "2LmNyaN5YAXdg9C5vsXcTLU66hsW2KUNPsN7KcHBYhUo", "proofs": [ "2f74Em4bd9YRAzm5q9NhgZmUAQMmnPTMDmddAuPnB7896S3eC75ET6S9gW7SaDYES7gFYGUCT9oyEA6C8CBUp83P" ], "script": "base64:BgIlCAISAwoBCBIDCgEIEgMKAQgSAwoBCBIDCgEIEgMKAQgSAwoBCAQADmRBcHBTaW5jZVN0YXJ0AICRjMKqMQALVVNEQ0Fzc2V0SUQBIERHMcoh3/bynCbIVv74Z6l9nvez8AyJBUgJkDUU6U3/ABFDb2xsZWN0RmVlQWRkcmVzcwkApwgBASBSg9mgi9eQkjsz5eBARHIbc7Hg/F4fmB0sxZ6ySMfiIAEJY291bnRkYXlzAAQHVFNfRGlmZgkAZQIIBQlsYXN0QmxvY2sJdGltZXN0YW1wBQ5kQXBwU2luY2VTdGFydAQJZGF5bnVtYmVyCQBrAwABBQdUU19EaWZmAIC4mSkFCWRheW51bWJlcgcBaQEMUmVnaXN0ZXJQYWlyAQxFbnRlckFzc2V0SUQEBHBtdDEJAQV2YWx1ZQEJAJEDAggFAWkIcGF5bWVudHMAAAQEcG10MgkBBXZhbHVlAQkAkQMCCAUBaQhwYXltZW50cwABBApjdXJyZW50S2V5CQDYBAEICAUBaQZjYWxsZXIFYnl0ZXMEBVdBVkVTCQEBIQEJAQlpc0RlZmluZWQB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RGSQs7tcm28s6w3 Next: DaS5wKrZR5RsUG4m6DSG5qD28BV9iBqpVtwcX4aZK9BH Diff:
OldNewDifferences
3535 then throw("Input String & Attached AssetID in payment2 is not matching.")
3636 else if ((WAVES == true))
3737 then throw("You Attached WAVES Asset ID for Listing, please attach Tokens You want to list in payment[2].")
38- else [StringEntry(("Pair_UV_" + EnterAssetID), EnterAssetID), IntegerEntry(("Listing_Fee_" + EnterAssetID), pmt1.amount), ScriptTransfer(CollectFeeAddress, pmt1.amount, unit), IntegerEntry(((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDCAssetID)), 0), IntegerEntry(((("Balance_of_" + toBase58String(USDCAssetID)) + "_") + EnterAssetID), 0), IntegerEntry(("Total_of_Pair_Txns_" + EnterAssetID), 0), IntegerEntry(((("Total_Swap_Fee_Collected_" + EnterAssetID) + "_") + toBase58String(USDCAssetID)), 0), IntegerEntry(("Total_Swap_Fee_Collected_" + EnterAssetID), 0), IntegerEntry((toString(countdays()) + "_Day_Volume"), 0)]
38+ else [StringEntry(("Pair_UV_" + EnterAssetID), EnterAssetID), IntegerEntry(("Listing_Fee_" + EnterAssetID), pmt1.amount), ScriptTransfer(CollectFeeAddress, pmt1.amount, unit), IntegerEntry(((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDCAssetID)), 0), IntegerEntry(((("Balance_of_" + toBase58String(USDCAssetID)) + "_") + EnterAssetID), pmt2.amount), IntegerEntry(("Total_of_Pair_Txns_" + EnterAssetID), 0), IntegerEntry(((("Total_Swap_Fee_Collected_" + EnterAssetID) + "_") + toBase58String(USDCAssetID)), 0), IntegerEntry(("Total_Swap_Fee_Collected_" + EnterAssetID), 0), IntegerEntry((toString(countdays()) + "_Day_Volume"), 0)]
3939 }
4040
4141
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let dAppSinceStart = 1695040080000
55
66 let USDCAssetID = base58'5bXgvADuVoFdhtF5uKZAEiVdAo7ZCWw151L4yyf1PiES'
77
88 let CollectFeeAddress = addressFromPublicKey(base58'6Z73KxcX3sugpiStpSRXxKxTmWqCaLVwFeM6kwyiKVDR')
99
1010 func countdays () = {
1111 let TS_Diff = (lastBlock.timestamp - dAppSinceStart)
1212 let daynumber = fraction(1, TS_Diff, 86400000)
1313 daynumber
1414 }
1515
1616
1717 @Callable(i)
1818 func RegisterPair (EnterAssetID) = {
1919 let pmt1 = value(i.payments[0])
2020 let pmt2 = value(i.payments[1])
2121 let currentKey = toBase58String(i.caller.bytes)
2222 let WAVES = !(isDefined(pmt2.assetId))
2323 let fetchpair = getString(this, ("Pair_UV_" + EnterAssetID))
2424 let assetinfopmt2 = fromBase58String(EnterAssetID)
2525 let info = valueOrErrorMessage(assetInfo(fromBase58String(EnterAssetID)), (("Asset " + EnterAssetID) + " doesn't exist"))
2626 if ((fetchpair == EnterAssetID))
2727 then throw("Pair Already Exist in List.")
2828 else if ((size(i.payments) != 2))
2929 then throw("Two attached assets expected as payment. Kindly Attach payment1 = WAVES Token & payment2 = Token you want to List.")
3030 else if (isDefined(pmt1.assetId))
3131 then throw("Incorrect asset attached for Collateral, please attach WAVES only.")
3232 else if ((pmt1.amount != 10000000))
3333 then throw((((("You attached only " + toString(fraction(pmt1.amount, 1, 100000000))) + ".") + toString(fraction(pmt1.amount, 1, 10000000))) + " WAVES for Listing in payment[1], please attach 10 WAVES."))
3434 else if ((pmt2.assetId != assetinfopmt2))
3535 then throw("Input String & Attached AssetID in payment2 is not matching.")
3636 else if ((WAVES == true))
3737 then throw("You Attached WAVES Asset ID for Listing, please attach Tokens You want to list in payment[2].")
38- else [StringEntry(("Pair_UV_" + EnterAssetID), EnterAssetID), IntegerEntry(("Listing_Fee_" + EnterAssetID), pmt1.amount), ScriptTransfer(CollectFeeAddress, pmt1.amount, unit), IntegerEntry(((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDCAssetID)), 0), IntegerEntry(((("Balance_of_" + toBase58String(USDCAssetID)) + "_") + EnterAssetID), 0), IntegerEntry(("Total_of_Pair_Txns_" + EnterAssetID), 0), IntegerEntry(((("Total_Swap_Fee_Collected_" + EnterAssetID) + "_") + toBase58String(USDCAssetID)), 0), IntegerEntry(("Total_Swap_Fee_Collected_" + EnterAssetID), 0), IntegerEntry((toString(countdays()) + "_Day_Volume"), 0)]
38+ else [StringEntry(("Pair_UV_" + EnterAssetID), EnterAssetID), IntegerEntry(("Listing_Fee_" + EnterAssetID), pmt1.amount), ScriptTransfer(CollectFeeAddress, pmt1.amount, unit), IntegerEntry(((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDCAssetID)), 0), IntegerEntry(((("Balance_of_" + toBase58String(USDCAssetID)) + "_") + EnterAssetID), pmt2.amount), IntegerEntry(("Total_of_Pair_Txns_" + EnterAssetID), 0), IntegerEntry(((("Total_Swap_Fee_Collected_" + EnterAssetID) + "_") + toBase58String(USDCAssetID)), 0), IntegerEntry(("Total_Swap_Fee_Collected_" + EnterAssetID), 0), IntegerEntry((toString(countdays()) + "_Day_Volume"), 0)]
3939 }
4040
4141
4242
4343 @Callable(i)
4444 func IssueLPToken (EnterAssetID) = {
4545 let adminrights = valueOrErrorMessage(getString(this, "LP_Admin_Rights"), "LP Admin Rights are Not Included into Smart Contract. Deploy Admin Rights First.")
4646 let calleraddress = toBase58String(i.caller.bytes)
4747 let checkpairisavailableornot = valueOrErrorMessage(getString(this, ("Pair_UV_" + EnterAssetID)), "Asset not Found in Whitelisted Token")
4848 let info = valueOrErrorMessage(assetInfo(fromBase58String(EnterAssetID)), (("Asset " + EnterAssetID) + " doesn't exist"))
4949 let name = info.name
5050 let decimals = info.decimals
5151 let FirstLPQty = (1 * pow(10, 0, fraction((decimals + 6), 1, 2), 0, 0, CEILING))
5252 let LPissue = Issue((("LP-" + take(name, 8)) + "-USDC"), (((("LP-" + name) + "-USDC") + " is a Liquidity Provider Token Issued Against ") + EnterAssetID), FirstLPQty, fraction((decimals + 6), 1, 2), true)
5353 let LPid = calculateAssetId(LPissue)
5454 if ((adminrights != calleraddress))
5555 then throw((("Your are not allowded to Issue LP Token. Only " + adminrights) + " can issue the LP Token."))
5656 else if ((checkpairisavailableornot != EnterAssetID))
5757 then throw("Pair is not available in List.")
5858 else [LPissue, StringEntry(("LP_" + EnterAssetID), toBase58String(LPid)), IntegerEntry(("Total_LP_" + EnterAssetID), FirstLPQty)]
5959 }
6060
6161
6262
6363 @Callable(i)
6464 func SwapAssetToUSDCPairEntry (EnterAssetID) = {
6565 let calleraddress = toBase58String(i.caller.bytes)
6666 let pmt = if ((size(i.payments) == 1))
6767 then i.payments[0]
6868 else throw("Whitelisted Token is required as Attached payment[1].")
6969 let checkpairisavailableornot = getString(this, ("Pair_UV_" + EnterAssetID))
7070 let CheckUSDCBalance = getIntegerValue(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDCAssetID)))
7171 let CheckAssetBalance = getIntegerValue(this, ((("Balance_of_" + toBase58String(USDCAssetID)) + "_") + EnterAssetID))
7272 let newbalanceofUSDC = fraction(CheckUSDCBalance, CheckAssetBalance, (CheckAssetBalance + pmt.amount))
7373 let quantityofpriceasset = (CheckUSDCBalance - newbalanceofUSDC)
7474 let SwapFee = 3
7575 let SwapFeetoreceive = ((quantityofpriceasset * SwapFee) / 1000)
7676 let userbalancetoreceive = ((quantityofpriceasset - SwapFeetoreceive) - SwapFeetoreceive)
7777 let SumupofAssetToUSDCSwapFee = match getInteger(this, ((("Total_Swap_Fee_Collected_" + EnterAssetID) + "_") + toBase58String(USDCAssetID))) {
7878 case a: Int =>
7979 a
8080 case _ =>
8181 0
8282 }
8383 let NewSumupofAssetToUSDCSwapFee = ((SumupofAssetToUSDCSwapFee + SwapFeetoreceive) + SwapFeetoreceive)
8484 let SumupAssetBalance = match getInteger(this, ((("Balance_of_" + toBase58String(USDCAssetID)) + "_") + EnterAssetID)) {
8585 case a: Int =>
8686 a
8787 case _ =>
8888 0
8989 }
9090 let NewSumupofAssetBalance = (CheckAssetBalance + pmt.amount)
9191 let SumupUSDCBalance = match getInteger(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDCAssetID))) {
9292 case a: Int =>
9393 a
9494 case _ =>
9595 0
9696 }
9797 let NewSumupofUSDCBalance = ((CheckUSDCBalance - quantityofpriceasset) + SwapFeetoreceive)
9898 let TOPT = match getIntegerValue(this, ("Total_of_Pair_Txns_" + EnterAssetID)) {
9999 case a: Int =>
100100 a
101101 case _ =>
102102 0
103103 }
104104 let NewTPT = (TOPT + 1)
105105 if ((EnterAssetID == toBase58String(USDCAssetID)))
106106 then throw("Input can Never be a USDC AssetID. Enter Whitelisted AssetID in input & Attach Whitelisted Asset as an attachment Token in payment[1].")
107107 else if ((checkpairisavailableornot != EnterAssetID))
108108 then throw("Pair is not available in Whitelisted Asset.")
109109 else if ((pmt.assetId == USDCAssetID))
110110 then throw("You can't Attach USDC as an Attached Payment. Only Whitelisted Tokens are accepted.")
111111 else if ((pmt.assetId != fromBase58String(EnterAssetID)))
112112 then throw(("Incorrect asset attached, please attach or send " + EnterAssetID))
113113 else if ((CheckUSDCBalance == 0))
114114 then throw("Swap Pair Need to Add Liquidity first into Pool. Only After that Pair will be activated for Swapping.")
115115 else if ((CheckAssetBalance == 0))
116116 then throw("Swap Pair Need to Add Liquidity first into Pool. Only After that Pair will be activated for Swapping.")
117117 else if ((100000 > quantityofpriceasset))
118118 then throw((("Your Attached Asset Amount is very low. Attach More " + EnterAssetID) + " Tokens to Claim the minimum Amount of 0.1 dollar atleast."))
119119 else if ((quantityofpriceasset > CheckUSDCBalance))
120120 then throw((("Pool Only has a Liquidity of " + toString((CheckUSDCBalance / pow(10, 0, 6, 0, 0, CEILING)))) + " USDC. Add Liquidity into Pool."))
121121 else [IntegerEntry(((("Total_Swap_Fee_Collected_" + EnterAssetID) + "_") + toBase58String(USDCAssetID)), NewSumupofAssetToUSDCSwapFee), IntegerEntry(("Total_of_Pair_Txns_" + EnterAssetID), NewTPT), IntegerEntry(((("Balance_of_" + toBase58String(USDCAssetID)) + "_") + EnterAssetID), NewSumupofAssetBalance), IntegerEntry(((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDCAssetID)), NewSumupofUSDCBalance), ScriptTransfer(i.caller, userbalancetoreceive, USDCAssetID), ScriptTransfer(CollectFeeAddress, SwapFeetoreceive, USDCAssetID)]
122122 }
123123
124124
125125
126126 @Callable(i)
127127 func SwapUSDCToAssetPairEntry (EnterAssetID) = {
128128 let calleraddress = toBase58String(i.caller.bytes)
129129 let pmt = if ((size(i.payments) == 1))
130130 then i.payments[0]
131131 else throw((("Only " + toBase58String(USDCAssetID)) + " USDC Token is required as an Attached payment[1]."))
132132 let CheckUSDCBalance = getIntegerValue(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDCAssetID)))
133133 let CheckAssetBalance = getIntegerValue(this, ((("Balance_of_" + toBase58String(USDCAssetID)) + "_") + EnterAssetID))
134134 let newbalanceofAsset = fraction(CheckUSDCBalance, CheckAssetBalance, (CheckUSDCBalance + pmt.amount))
135135 let quantityofpriceasset = (CheckAssetBalance - newbalanceofAsset)
136136 let checkpairisavailableornot = getString(this, ("Pair_UV_" + EnterAssetID))
137137 let SwapFee = 3
138138 let SwapFeetoreceive = ((quantityofpriceasset * SwapFee) / 1000)
139139 let userbalancetoreceive = ((quantityofpriceasset - SwapFeetoreceive) - SwapFeetoreceive)
140140 let SumupofUSDCToAssetSwapFee = match getInteger(this, ("Total_Swap_Fee_Collected_" + EnterAssetID)) {
141141 case a: Int =>
142142 a
143143 case _ =>
144144 0
145145 }
146146 let NewSumupofUSDCToAssetSwapFee = ((SumupofUSDCToAssetSwapFee + SwapFeetoreceive) + SwapFeetoreceive)
147147 let SumupAssetBalance = match getInteger(this, ((("Balance_of_" + toBase58String(USDCAssetID)) + "_") + EnterAssetID)) {
148148 case a: Int =>
149149 a
150150 case _ =>
151151 0
152152 }
153153 let NewSumupofAssetBalance = ((CheckAssetBalance - quantityofpriceasset) + SwapFeetoreceive)
154154 let SumupUSDCBalance = match getInteger(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDCAssetID))) {
155155 case a: Int =>
156156 a
157157 case _ =>
158158 0
159159 }
160160 let NewSumupofUSDCBalance = (CheckUSDCBalance + pmt.amount)
161161 let TOPT = match getIntegerValue(this, ("Total_of_Pair_Txns_" + EnterAssetID)) {
162162 case a: Int =>
163163 a
164164 case _ =>
165165 0
166166 }
167167 let NewTPT = (TOPT + 1)
168168 if ((checkpairisavailableornot != EnterAssetID))
169169 then throw("Pair is not available in Whitelisted Asset.")
170170 else if ((EnterAssetID == toBase58String(USDCAssetID)))
171171 then throw("Input can Never be a USDC AssetID. Enter Whitelisted AssetID in input & Attach USDC as an attachment Token in payment[1].")
172172 else if ((pmt.assetId != USDCAssetID))
173173 then throw("You can Attach USDC as an Attached Payment[1] to Swap USDC To Required Token. Any other asset else than USDC will be rejected.")
174174 else if ((100000 > pmt.amount))
175175 then throw("Your Attached USDC Amount is very low. Attach Atleast 0.1 USDC to Claim the minimum Tokens.")
176176 else if ((CheckUSDCBalance == 0))
177177 then throw("Swap Pair Need to Add Liquidity first into Pool. Only After that Pair will be activated for Swapping.")
178178 else if ((CheckAssetBalance == 0))
179179 then throw("Swap Pair Need to Add Liquidity first into Pool. Only After that Pair will be activated for Swapping.")
180180 else if ((quantityofpriceasset > CheckAssetBalance))
181181 then throw((("Pool Only has a Liquidity of " + toString(CheckAssetBalance)) + " Tokens. Add Liquidity into Pool."))
182182 else [IntegerEntry(("Total_Swap_Fee_Collected_" + EnterAssetID), NewSumupofUSDCToAssetSwapFee), IntegerEntry(("Total_of_Pair_Txns_" + EnterAssetID), NewTPT), IntegerEntry(((("Balance_of_" + toBase58String(USDCAssetID)) + "_") + EnterAssetID), NewSumupofAssetBalance), IntegerEntry(((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDCAssetID)), NewSumupofUSDCBalance), ScriptTransfer(i.caller, userbalancetoreceive, fromBase58String(EnterAssetID)), ScriptTransfer(CollectFeeAddress, SwapFeetoreceive, fromBase58String(EnterAssetID))]
183183 }
184184
185185
186186
187187 @Callable(i)
188188 func AddLiquidity (EnterAssetID) = {
189189 let calleraddress = toBase58String(i.caller.bytes)
190190 let pmt1 = value(i.payments[0])
191191 let pmt2 = value(i.payments[1])
192192 let checkpairisavailableornot = getString(this, ("Pair_UV_" + EnterAssetID))
193193 let ReissueassetId = fromBase58String(valueOrErrorMessage(getString(this, ("LP_" + EnterAssetID)), "LP Token is Missing or May be not Generated."))
194194 let CheckUSDCBalance = getIntegerValue(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDCAssetID)))
195195 let CheckAssetBalance = getIntegerValue(this, ((("Balance_of_" + toBase58String(USDCAssetID)) + "_") + EnterAssetID))
196196 let decimalsinfo = valueOrErrorMessage(assetInfo(fromBase58String(EnterAssetID)), (("Asset " + EnterAssetID) + " doesn't exist"))
197197 let decimals = decimalsinfo.decimals
198198 let arg1 = CheckUSDCBalance
199199 let arg2 = CheckAssetBalance
200200 let args3 = pow((((arg1 * 1000000) / arg2) * pow(10, 0, decimals, 0, 0, CEILING)), 0, 1, 0, 0, CEILING)
201201 let bothassetsdecimals = (6 + decimals)
202202 let sharedecimals = (bothassetsdecimals / 2)
203203 let quantityofEnterAssetID = fraction(args3, pmt1.amount, pow(10, 0, bothassetsdecimals, 0, 0, CEILING))
204204 let quantityofLPToken1 = pow((fraction(pmt1.amount, 1, pow(10, 0, decimals, 0, 0, CEILING)) * fraction(pmt2.amount, 1, pow(10, 0, 6, 0, 0, CEILING))), 0, 5, 1, sharedecimals, DOWN)
205205 let USDCHoldingInPair = match getInteger(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDCAssetID))) {
206206 case a: Int =>
207207 a
208208 case _ =>
209209 0
210210 }
211211 let NewUSDCHoldingInPair = (USDCHoldingInPair + pmt2.amount)
212212 let AssetHoldingInPair = match getInteger(this, ((("Balance_of_" + toBase58String(USDCAssetID)) + "_") + EnterAssetID)) {
213213 case a: Int =>
214214 a
215215 case _ =>
216216 0
217217 }
218218 let NewAssetHoldingInPair = (AssetHoldingInPair + pmt1.amount)
219219 let LPTokenIssued = match getIntegerValue(this, ("Total_LP_" + EnterAssetID)) {
220220 case a: Int =>
221221 a
222222 case _ =>
223223 0
224224 }
225225 let NewLPTokenIssued = (LPTokenIssued + quantityofLPToken1)
226226 if ((checkpairisavailableornot != EnterAssetID))
227227 then throw("Pair is not available in Whitelisted Asset.")
228228 else if ((EnterAssetID == toBase58String(USDCAssetID)))
229229 then throw("Input can Never be a USDC AssetID. Enter Whitelisted AssetID in input as well as in payment[1] & Attach USDC as an attachment Token in payment[2].")
230230 else if ((size(i.payments) != 2))
231231 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 USDC Token.")
232232 else if ((pmt1.assetId == USDCAssetID))
233233 then throw("You Attached USDC asset in payment[1], please attach only whitelisted Token in payment[1] along with USDC in payment[2].")
234234 else if ((pmt1.assetId != fromBase58String(EnterAssetID)))
235235 then throw("Incorrect asset attached for Liquidity in payment[1], please attach String Asset or Whitelisted Token only.")
236236 else if ((pmt1.assetId != fromBase58String(EnterAssetID)))
237237 then throw("Incorrect asset attached for Liquidity in payment[1], please attach String Asset or Whitelisted Token only.")
238238 else if ((pmt2.assetId != USDCAssetID))
239239 then throw("Wrong Asset Attached in payments[2], Please attach payment[1] = Liquidity Token & payment[2] = USDC Token.")
240240 else if ((5000000 > pmt2.amount))
241241 then throw("please attach atleast 5 USDC in payment[2] & Equivalent worth of Token in payment[1]")
242242 else if ((pmt2.amount != quantityofEnterAssetID))
243243 then throw((((((("Attached payment[2] qty is not matching as per attached payment[1].payment[2] must be as int [" + toString(quantityofEnterAssetID)) + "] or ") + toString(fraction(quantityofEnterAssetID, 1, 1000000))) + ".") + takeRight(toString(quantityofEnterAssetID), 6)) + " USDC."))
244244 else if ((1 > quantityofLPToken1))
245245 then throw((("LP Token Outcome is going below " + toString(sharedecimals)) + " Decimals. Please Attach min. 1 LP token or 5 USDC Atleast."))
246246 else [IntegerEntry(((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDCAssetID)), NewUSDCHoldingInPair), IntegerEntry(((("Balance_of_" + toBase58String(USDCAssetID)) + "_") + EnterAssetID), NewAssetHoldingInPair), IntegerEntry(("Total_LP_" + EnterAssetID), NewLPTokenIssued), Reissue(ReissueassetId, quantityofLPToken1, true), ScriptTransfer(i.caller, quantityofLPToken1, ReissueassetId)]
247247 }
248248
249249
250250
251251 @Callable(i)
252252 func RemoveLiquidity (EnterAssetID) = {
253253 let calleraddress = toBase58String(i.caller.bytes)
254254 let pmt = if ((size(i.payments) == 1))
255255 then i.payments[0]
256256 else throw("No payment attached, Please Attach LP Token as payment[1].")
257257 let checkpairisavailableornot = getString(this, ("Pair_UV_" + EnterAssetID))
258258 let ReissueableassetId = fromBase58String(valueOrErrorMessage(getString(this, ("LP_" + EnterAssetID)), "LP Token is Missing or not Generated."))
259259 let decimalsinfo = valueOrErrorMessage(assetInfo(fromBase58String(EnterAssetID)), (("Asset " + EnterAssetID) + " doesn't exist"))
260260 let decimals = decimalsinfo.decimals
261261 let bothassetsdecimals = (6 + decimals)
262262 let sharedecimals = (bothassetsdecimals / 2)
263263 let CheckTotalLPAmount = getIntegerValue(this, ("Total_LP_" + EnterAssetID))
264264 let UserLPPercentage = pow(fraction(pmt.amount, pow(10, 0, 8, 0, 0, CEILING), CheckTotalLPAmount), 6, 1, 0, 6, CEILING)
265265 let CheckUSDCBalance = getIntegerValue(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDCAssetID)))
266266 let CheckAssetBalance = getIntegerValue(this, ((("Balance_of_" + toBase58String(USDCAssetID)) + "_") + EnterAssetID))
267267 let UserLPWorthUSDC = fraction(CheckUSDCBalance, UserLPPercentage, pow(10, 0, 8, 0, 0, CEILING))
268268 let UserLPWorthAsset = fraction(CheckAssetBalance, UserLPPercentage, pow(10, 0, 8, 0, 0, CEILING))
269269 let USDCHoldingInPair = match getInteger(this, ((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDCAssetID))) {
270270 case a: Int =>
271271 a
272272 case _ =>
273273 0
274274 }
275275 let NewUSDCHoldingInPair = (USDCHoldingInPair - UserLPWorthUSDC)
276276 let AssetHoldingInPair = match getInteger(this, ((("Balance_of_" + toBase58String(USDCAssetID)) + "_") + EnterAssetID)) {
277277 case a: Int =>
278278 a
279279 case _ =>
280280 0
281281 }
282282 let NewAssetHoldingInPair = (AssetHoldingInPair - UserLPWorthAsset)
283283 let LPTokenIssued = match getIntegerValue(this, ("Total_LP_" + EnterAssetID)) {
284284 case a: Int =>
285285 a
286286 case _ =>
287287 0
288288 }
289289 let NewLPTokenIssued = (LPTokenIssued - pmt.amount)
290290 if ((checkpairisavailableornot != EnterAssetID))
291291 then throw("Pair is not available in Whitelist.")
292292 else if ((fromBase58String(EnterAssetID) == USDCAssetID))
293293 then throw("Don't choose USDC AssetID as Input, Only Whitelisted Asset as Input String & Attach LP Tokens as payment[1]")
294294 else if ((pmt.assetId != ReissueableassetId))
295295 then throw("Wrong Asset is attached in payment[1] or LP Token Not Found or Missing.")
296296 else if ((1 > UserLPPercentage))
297297 then throw("Your LP Token amount % is very low to convert.")
298298 else if ((1 > UserLPWorthUSDC))
299299 then throw("Your LP Token conversion amount is very low to convert or less than 0.000001 USDC.")
300300 else if ((1 > UserLPWorthAsset))
301301 then throw("Your LP Token conversion amount is very low to convert or less than fraction value of Token.")
302302 else [IntegerEntry("Withdraw_LP_Percentage", UserLPPercentage), Burn(ReissueableassetId, pmt.amount), IntegerEntry(("Total_LP_" + EnterAssetID), NewLPTokenIssued), IntegerEntry(((("Balance_of_" + EnterAssetID) + "_") + toBase58String(USDCAssetID)), NewUSDCHoldingInPair), IntegerEntry(((("Balance_of_" + toBase58String(USDCAssetID)) + "_") + EnterAssetID), NewAssetHoldingInPair), ScriptTransfer(i.caller, UserLPWorthUSDC, USDCAssetID), ScriptTransfer(i.caller, UserLPWorthAsset, fromBase58String(EnterAssetID))]
303303 }
304304
305305
306306
307307 @Callable(i)
308308 func Del (Key) = [DeleteEntry(Key)]
309309
310310
311311 @Verifier(tx)
312312 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
313313

github/deemru/w8io/169f3d6 
52.97 ms