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