tx · EGRT3VpZwHPhzpumNhr7SzX7snBJMfa4rkaQFmHAeQrE 3N543hU44PUZ7WRHcfMkAw5LqFswAAaVHgM: -0.01700000 Waves 2023.09.29 18:01 [2776865] smart account 3N543hU44PUZ7WRHcfMkAw5LqFswAAaVHgM > SELF 0.00000000 Waves
{ "type": 13, "id": "EGRT3VpZwHPhzpumNhr7SzX7snBJMfa4rkaQFmHAeQrE", "fee": 1700000, "feeAssetId": null, "timestamp": 1695999699441, "version": 2, "chainId": 84, "sender": "3N543hU44PUZ7WRHcfMkAw5LqFswAAaVHgM", "senderPublicKey": "77iKzLEpg6rZvwvKZsPi7h1LBp9vgnDVRm44GdvNaVLQ", "proofs": [ "4GS6qrhGkto3ArF8iqSf4fhhGpvSWoGz3Uf94t3GEqBYerBUgTAEiRFYtBYjAPu5mycranGE9DRLgwB6SpwmosCS" ], "script": "base64:BgIbCAISAwoBCBIDCgEIEgMKAQgSAwoBCBIDCgEICQAHVmVyc2lvbgIFMS4wLjAADmRBcHBTaW5jZVN0YXJ0AMD394yqMQALbGlzdGluZ19mZWUAgL/WBgAJa2V5MW93bmVyCQCnCAEBIC/MI9BPmHcpgjiz5B78lMslen9dOa5R2YaEtWjFpqZ7AAlrZXkyb3duZXIJAKcIAQEgg5XQHCRf0R38aPOY+n+4hhhB0YUiROU26xolJsRPOToACFRyZWFzdXJ5CQCnCAEBIM5I33N6c2d5KKDAZ8tN4OBxB27+QPlqeRoX3O6huCQBAApYVE5Bc3NldElEBQR1bml0AAxXQVZFU0Fzc2V0SUQCBVdBVkVTAQljb3VudGRheXMABAdUU19EaWZmCQBlAggFCWxhc3RCbG9jawl0aW1lc3RhbXAFDmRBcHBTaW5jZVN0YXJ0BAlkYXludW1iZXIJAGsDAAEFB1RTX0RpZmYAgLiZKQUJZGF5bnVtYmVyBQFpAQxSZWdpc3RlclBhaXIBDEVudGVyQXNzZXRJRAQEcG10MQkBBXZhbHVlAQkAkQMCCAUBaQhwYXltZW50cwAABARwbXQyCQEF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wUMV0FWRVNBc3NldElEBRNOZXdYVE5Ib2xkaW5nSW5QYWlyCQDMCAIJAQxJbnRlZ2VyRW50cnkCCQCsAgIJAKwCAgkArAICAgtCYWxhbmNlX29mXwUMV0FWRVNBc3NldElEAgFfBQxFbnRlckFzc2V0SUQFFU5ld0Fzc2V0SG9sZGluZ0luUGFpcgkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDCAUBaQZjYWxsZXIFDlVzZXJMUFdvcnRoWFROBQpYVE5Bc3NldElECQDMCAIJAQ5TY3JpcHRUcmFuc2ZlcgMIBQFpBmNhbGxlcgUQVXNlckxQV29ydGhBc3NldAkA2QQBBQxFbnRlckFzc2V0SUQFA25pbAECdHgBBnZlcmlmeQAJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAIBQJ0eA9zZW5kZXJQdWJsaWNLZXmXc3/0", "height": 2776865, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2VXptw4jHC6CXr9dARLsmvJk7eMR9ZnwQCyD5rkHu27A Next: 7GnUigXAQUtEk9azBmpoo75mcdepLmTE1MrPT4Dds5ZK Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "1.0.0" | |
5 | 5 | ||
6 | 6 | let b = 1694928600000 | |
7 | 7 | ||
8 | 8 | let c = 14000000 | |
9 | 9 | ||
10 | 10 | let d = addressFromPublicKey(base58'4Dahqn4MYNrieo9AX8qLWNCseBQNc9skQY81h4DFoote') | |
11 | 11 | ||
12 | 12 | let e = addressFromPublicKey(base58'9reuR7oatpieAycZqM1CMtmp15c9r3WPhF5ENMNepNcH') | |
13 | 13 | ||
14 | 14 | let f = addressFromPublicKey(base58'EtFSDsn89XfmXQvuQXPQMbLDbaAZ1YWYZHksptpQH4gp') | |
15 | 15 | ||
16 | 16 | let g = unit | |
17 | 17 | ||
18 | 18 | let h = "WAVES" | |
19 | 19 | ||
20 | 20 | func i () = { | |
21 | 21 | let j = (lastBlock.timestamp - b) | |
22 | 22 | let k = fraction(1, j, 86400000) | |
23 | 23 | k | |
24 | 24 | } | |
25 | 25 | ||
26 | 26 | ||
27 | 27 | @Callable(l) | |
28 | 28 | func RegisterPair (m) = { | |
29 | 29 | let n = value(l.payments[0]) | |
30 | 30 | let o = value(l.payments[1]) | |
31 | 31 | let p = value(l.payments[2]) | |
32 | 32 | let q = toBase58String(l.caller.bytes) | |
33 | 33 | let r = !(isDefined(o.assetId)) | |
34 | 34 | let s = getString(this, ("Pair_UV_" + m)) | |
35 | 35 | let t = fromBase58String(m) | |
36 | 36 | let u = valueOrErrorMessage(assetInfo(fromBase58String(m)), (("Asset " + m) + " doesn't exist")) | |
37 | 37 | let v = u.name | |
38 | 38 | let w = u.decimals | |
39 | 39 | let x = pow(10, 0, w, 0, 0, CEILING) | |
40 | 40 | let y = pow(10, 0, 8, 0, 0, CEILING) | |
41 | 41 | let z = fraction(n.amount, x, o.amount) | |
42 | 42 | let A = fraction((w + 8), 1, 2) | |
43 | 43 | let B = (1 * pow(10, 0, A, 0, 0, CEILING)) | |
44 | 44 | let C = fraction(n.amount, o.amount, B) | |
45 | 45 | let D = sqrt(C, A, A, CEILING) | |
46 | 46 | let E = Issue((("LP-" + take(v, 8)) + "-WAVES"), (((("LP-" + v) + "-WAVES") + " is a Liquidity Provider Token Issued Against ") + m), D, A, true) | |
47 | 47 | let F = calculateAssetId(E) | |
48 | 48 | if ((s == m)) | |
49 | 49 | then throw("Pair Already Exist in List.") | |
50 | 50 | else if ((size(l.payments) != 3)) | |
51 | 51 | then throw((("Two attached assets expected as payment. Kindly Attach payment1 = WAVES Token Amount & payment2 = Token you want to List & payment3 = [" + toString(c)) + "/10^8] Waves as Listing Fee.")) | |
52 | 52 | else if (isDefined(n.assetId)) | |
53 | 53 | then throw("Incorrect asset attached as payment[1], please attach WAVES only.") | |
54 | 54 | else if ((10000000 > n.amount)) | |
55 | 55 | then throw("Attached payment[1] amount is less than 0.1 WAVES, please attach 0.1 WAVES Minimum.") | |
56 | 56 | else if ((o.assetId != t)) | |
57 | 57 | then throw("Input String & Attached AssetID in payment2 is not matching.") | |
58 | 58 | else if ((p.amount != c)) | |
59 | 59 | then throw((("Attached payment[3] amount has to be exact [" + toString(c)) + "/10^8] WAVES.")) | |
60 | 60 | else if ((r == true)) | |
61 | 61 | then throw("You Attached WAVES Asset ID for Listing, please attach Tokens You want to list in payment[2].") | |
62 | 62 | else if ((100 > z)) | |
63 | 63 | then throw("LP Token Outcome is going below 100 in Fractional. Please Attach more tokens amount in payment[1] and payment[2].") | |
64 | 64 | else if ((1 > D)) | |
65 | 65 | then throw("LP Token Outcome is going below 1 in Fractional. Please Attach more amount in payment[1] and payment[2].") | |
66 | 66 | else [StringEntry(("Pair_UV_" + m), m), IntegerEntry(("Listing_Fee_" + m), p.amount), IntegerEntry(((("Balance_of_" + m) + "_") + h), n.amount), IntegerEntry(((("Balance_of_" + h) + "_") + m), o.amount), IntegerEntry(("Total_of_Pair_Txns_" + m), 0), IntegerEntry(((("Total_Swap_Fee_Collected_" + m) + "_") + h), 0), IntegerEntry(("Total_Swap_Fee_Collected_" + m), 0), E, ScriptTransfer(l.caller, D, F), ScriptTransfer(d, fraction(c, 1, 2), unit), ScriptTransfer(e, fraction(c, 1, 2), unit), StringEntry(("LP_" + m), toBase58String(F)), IntegerEntry(("Total_LP_" + m), D)] | |
67 | 67 | } | |
68 | 68 | ||
69 | 69 | ||
70 | 70 | ||
71 | 71 | @Callable(l) | |
72 | 72 | func SwapAssetToXTNPairEntry (m) = { | |
73 | 73 | let G = toBase58String(l.caller.bytes) | |
74 | 74 | let H = if ((size(l.payments) == 1)) | |
75 | 75 | then l.payments[0] | |
76 | 76 | else throw("Whitelisted Token is required as Attached payment[1].") | |
77 | 77 | let I = getString(this, ("Pair_UV_" + m)) | |
78 | 78 | let J = getIntegerValue(this, ((("Balance_of_" + m) + "_") + h)) | |
79 | 79 | let K = getIntegerValue(this, ((("Balance_of_" + h) + "_") + m)) | |
80 | 80 | let L = fraction(J, K, (K + H.amount)) | |
81 | 81 | let M = (J - L) | |
82 | 82 | let N = 5 | |
83 | 83 | let O = i() | |
84 | 84 | let P = ((M * N) / 1000) | |
85 | 85 | let Q = ((M - P) - P) | |
86 | 86 | let R = { | |
87 | 87 | let S = getInteger(this, ((("Total_Swap_Fee_Collected_" + m) + "_") + h)) | |
88 | 88 | if ($isInstanceOf(S, "Int")) | |
89 | 89 | then { | |
90 | 90 | let T = S | |
91 | 91 | T | |
92 | 92 | } | |
93 | 93 | else 0 | |
94 | 94 | } | |
95 | 95 | let U = ((R + P) + P) | |
96 | 96 | let V = { | |
97 | 97 | let S = getInteger(this, ((("Balance_of_" + h) + "_") + m)) | |
98 | 98 | if ($isInstanceOf(S, "Int")) | |
99 | 99 | then { | |
100 | 100 | let T = S | |
101 | 101 | T | |
102 | 102 | } | |
103 | 103 | else 0 | |
104 | 104 | } | |
105 | 105 | let W = (K + H.amount) | |
106 | 106 | let X = { | |
107 | 107 | let S = getInteger(this, ((("Balance_of_" + m) + "_") + h)) | |
108 | 108 | if ($isInstanceOf(S, "Int")) | |
109 | 109 | then { | |
110 | 110 | let T = S | |
111 | 111 | T | |
112 | 112 | } | |
113 | 113 | else 0 | |
114 | 114 | } | |
115 | 115 | let Y = ((J - M) + P) | |
116 | 116 | let Z = { | |
117 | 117 | let S = getIntegerValue(this, ("Total_of_Pair_Txns_" + m)) | |
118 | 118 | if ($isInstanceOf(S, "Int")) | |
119 | 119 | then { | |
120 | 120 | let T = S | |
121 | 121 | T | |
122 | 122 | } | |
123 | 123 | else 0 | |
124 | 124 | } | |
125 | 125 | let aa = (Z + 1) | |
126 | 126 | if ((m == h)) | |
127 | 127 | then throw("Input can Never be a XTN AssetID. Enter Whitelisted AssetID in input & Attach Whitelisted Asset as an attachment Token in payment[1].") | |
128 | 128 | else if ((I != m)) | |
129 | 129 | then throw("Pair is not available in Whitelisted Asset.") | |
130 | 130 | else if ((H.assetId == g)) | |
131 | 131 | then throw("You can't Attach XTN as an Attached Payment. Only Whitelisted Tokens are accepted.") | |
132 | 132 | else if ((H.assetId != fromBase58String(m))) | |
133 | 133 | then throw(("Incorrect asset attached, please attach or send " + m)) | |
134 | 134 | else if ((J == 0)) | |
135 | 135 | then throw("Swap Pair Need to Add Liquidity first into Pool. Only After that Pair will be activated for Swapping.") | |
136 | 136 | else if ((K == 0)) | |
137 | 137 | then throw("Swap Pair Need to Add Liquidity first into Pool. Only After that Pair will be activated for Swapping.") | |
138 | 138 | else if ((100000 > M)) | |
139 | 139 | then throw((("Your Attached Asset Amount is very low. Attach More " + m) + " Tokens to Claim the minimum Amount of 0.1 dollar atleast.")) | |
140 | 140 | else if ((M > J)) | |
141 | 141 | then throw((("Pool Only has a Liquidity of " + toString((J / pow(10, 0, 6, 0, 0, CEILING)))) + " XTN. Add Liquidity into Pool.")) | |
142 | 142 | else [IntegerEntry(((("Total_Swap_Fee_Collected_" + m) + "_") + h), U), IntegerEntry("Current_Day", O), IntegerEntry(("Total_of_Pair_Txns_" + m), aa), IntegerEntry(((("Balance_of_" + h) + "_") + m), W), IntegerEntry(((("Balance_of_" + m) + "_") + h), Y), ScriptTransfer(l.caller, Q, g), ScriptTransfer(d, fraction(P, 1, 3), g), ScriptTransfer(e, fraction(P, 1, 3), g), ScriptTransfer(f, fraction(P, 1, 3), g)] | |
143 | 143 | } | |
144 | 144 | ||
145 | 145 | ||
146 | 146 | ||
147 | 147 | @Callable(l) | |
148 | 148 | func SwapXTNToAssetPairEntry (m) = { | |
149 | 149 | let G = toBase58String(l.caller.bytes) | |
150 | 150 | let H = if ((size(l.payments) == 1)) | |
151 | 151 | then l.payments[0] | |
152 | 152 | else throw((("Only " + h) + " Token is required as an Attached payment[1].")) | |
153 | 153 | let J = getIntegerValue(this, ((("Balance_of_" + m) + "_") + h)) | |
154 | 154 | let K = getIntegerValue(this, ((("Balance_of_" + h) + "_") + m)) | |
155 | 155 | let ab = fraction(J, K, (J + H.amount)) | |
156 | 156 | let M = (K - ab) | |
157 | 157 | let I = getString(this, ("Pair_UV_" + m)) | |
158 | 158 | let N = 5 | |
159 | 159 | let O = i() | |
160 | 160 | let P = ((M * N) / 1000) | |
161 | 161 | let Q = ((M - P) - P) | |
162 | 162 | let ac = { | |
163 | 163 | let S = getInteger(this, ("Total_Swap_Fee_Collected_" + m)) | |
164 | 164 | if ($isInstanceOf(S, "Int")) | |
165 | 165 | then { | |
166 | 166 | let T = S | |
167 | 167 | T | |
168 | 168 | } | |
169 | 169 | else 0 | |
170 | 170 | } | |
171 | 171 | let ad = ((ac + P) + P) | |
172 | 172 | let V = { | |
173 | 173 | let S = getInteger(this, ((("Balance_of_" + h) + "_") + m)) | |
174 | 174 | if ($isInstanceOf(S, "Int")) | |
175 | 175 | then { | |
176 | 176 | let T = S | |
177 | 177 | T | |
178 | 178 | } | |
179 | 179 | else 0 | |
180 | 180 | } | |
181 | 181 | let W = ((K - M) + P) | |
182 | 182 | let X = { | |
183 | 183 | let S = getInteger(this, ((("Balance_of_" + m) + "_") + h)) | |
184 | 184 | if ($isInstanceOf(S, "Int")) | |
185 | 185 | then { | |
186 | 186 | let T = S | |
187 | 187 | T | |
188 | 188 | } | |
189 | 189 | else 0 | |
190 | 190 | } | |
191 | 191 | let Y = (J + H.amount) | |
192 | 192 | let Z = { | |
193 | 193 | let S = getIntegerValue(this, ("Total_of_Pair_Txns_" + m)) | |
194 | 194 | if ($isInstanceOf(S, "Int")) | |
195 | 195 | then { | |
196 | 196 | let T = S | |
197 | 197 | T | |
198 | 198 | } | |
199 | 199 | else 0 | |
200 | 200 | } | |
201 | 201 | let aa = (Z + 1) | |
202 | 202 | if ((I != m)) | |
203 | 203 | then throw("Pair is not available in Whitelisted Asset.") | |
204 | 204 | else if ((m == h)) | |
205 | 205 | then throw("Input can Never be a XTN AssetID. Enter Whitelisted AssetID in input & Attach XTN as an attachment Token in payment[1].") | |
206 | 206 | else if ((H.assetId != g)) | |
207 | 207 | then throw((("You can Attach " + h) + " as an Attached Payment[1] to Swap XTN To Required Token. Any other asset else than XTN will be rejected.")) | |
208 | 208 | else if ((100000 > H.amount)) | |
209 | 209 | then throw("Your Attached XTN Amount is very low. Attach Atleast 0.1 XTN to Claim the minimum Tokens.") | |
210 | 210 | else if ((J == 0)) | |
211 | 211 | then throw("Swap Pair Need to Add Liquidity first into Pool. Only After that Pair will be activated for Swapping.") | |
212 | 212 | else if ((K == 0)) | |
213 | 213 | then throw("Swap Pair Need to Add Liquidity first into Pool. Only After that Pair will be activated for Swapping.") | |
214 | 214 | else if ((M > K)) | |
215 | 215 | then throw((("Pool Only has a Liquidity of " + toString(K)) + " Tokens. Add Liquidity into Pool.")) | |
216 | 216 | else [IntegerEntry(("Total_Swap_Fee_Collected_" + m), ad), IntegerEntry("Current_Day", O), IntegerEntry(("Total_of_Pair_Txns_" + m), aa), IntegerEntry(((("Balance_of_" + h) + "_") + m), W), IntegerEntry(((("Balance_of_" + m) + "_") + h), Y), ScriptTransfer(l.caller, Q, fromBase58String(m)), ScriptTransfer(d, fraction(P, 1, 3), fromBase58String(m)), ScriptTransfer(e, fraction(P, 1, 3), fromBase58String(m)), ScriptTransfer(f, fraction(P, 1, 3), fromBase58String(m))] | |
217 | 217 | } | |
218 | 218 | ||
219 | 219 | ||
220 | 220 | ||
221 | 221 | @Callable(l) | |
222 | 222 | func AddLiquidity (m) = { | |
223 | 223 | let G = toBase58String(l.caller.bytes) | |
224 | 224 | let n = value(l.payments[0]) | |
225 | 225 | let o = value(l.payments[1]) | |
226 | 226 | let I = getString(this, ("Pair_UV_" + m)) | |
227 | 227 | let ae = fromBase58String(valueOrErrorMessage(getString(this, ("LP_" + m)), "LP Token is Missing or May be not Generated.")) | |
228 | 228 | let J = getIntegerValue(this, ((("Balance_of_" + m) + "_") + h)) | |
229 | 229 | let K = getIntegerValue(this, ((("Balance_of_" + h) + "_") + m)) | |
230 | 230 | let af = valueOrErrorMessage(assetInfo(fromBase58String(m)), (("Asset " + m) + " doesn't exist")) | |
231 | 231 | let w = af.decimals | |
232 | 232 | let A = fraction((w + 6), 1, 2) | |
233 | 233 | let B = (1 * pow(10, 0, A, 0, 0, CEILING)) | |
234 | 234 | let C = fraction(n.amount, o.amount, B) | |
235 | 235 | let D = sqrt(C, A, A, CEILING) | |
236 | 236 | let x = pow(10, 0, w, 0, 0, CEILING) | |
237 | 237 | let y = pow(10, 0, 8, 0, 0, CEILING) | |
238 | 238 | let z = fraction(J, x, K) | |
239 | 239 | let ag = fraction(n.amount, z, 1) | |
240 | 240 | let ah = fraction(ag, 1, x) | |
241 | 241 | let ai = ah | |
242 | 242 | let aj = { | |
243 | 243 | let S = getInteger(this, ((("Balance_of_" + m) + "_") + h)) | |
244 | 244 | if ($isInstanceOf(S, "Int")) | |
245 | 245 | then { | |
246 | 246 | let T = S | |
247 | 247 | T | |
248 | 248 | } | |
249 | 249 | else 0 | |
250 | 250 | } | |
251 | 251 | let ak = (aj + o.amount) | |
252 | 252 | let al = { | |
253 | 253 | let S = getInteger(this, ((("Balance_of_" + h) + "_") + m)) | |
254 | 254 | if ($isInstanceOf(S, "Int")) | |
255 | 255 | then { | |
256 | 256 | let T = S | |
257 | 257 | T | |
258 | 258 | } | |
259 | 259 | else 0 | |
260 | 260 | } | |
261 | 261 | let am = (al + n.amount) | |
262 | 262 | let an = { | |
263 | 263 | let S = getIntegerValue(this, ("Total_LP_" + m)) | |
264 | 264 | if ($isInstanceOf(S, "Int")) | |
265 | 265 | then { | |
266 | 266 | let T = S | |
267 | 267 | T | |
268 | 268 | } | |
269 | 269 | else 0 | |
270 | 270 | } | |
271 | 271 | let ao = (an + D) | |
272 | 272 | if ((I != m)) | |
273 | 273 | then throw("Pair is not available in Whitelisted Asset.") | |
274 | 274 | else if ((m == h)) | |
275 | 275 | then throw("Input can Never be a WAVES AssetID. Enter Whitelisted AssetID in input as well as in payment[1] & Attach XTN as an attachment Token in payment[2].") | |
276 | 276 | else if ((size(l.payments) != 2)) | |
277 | 277 | then throw("Two attached assets are expected in payment. Kindly Attach payment1 = Token you want to add for Liquidity & payment2 = Amount of XTN Token.") | |
278 | 278 | else if ((n.assetId == g)) | |
279 | 279 | then throw("You Attached XTN asset in payment[1], please attach only whitelisted Token in payment[1] along with XTN in payment[2].") | |
280 | 280 | else if ((n.assetId != fromBase58String(m))) | |
281 | 281 | then throw("Incorrect asset attached for Liquidity in payment[1], please attach String Asset or Whitelisted Token only.") | |
282 | 282 | else if ((o.assetId != g)) | |
283 | 283 | then throw("Wrong Asset Attached in payments[2], Please attach payment[1] = Liquidity Token & payment[2] = XTN Token.") | |
284 | 284 | else if ((100000 > o.amount)) | |
285 | 285 | then throw("please attach atleast 0.1 XTN in payment[2] & Equivalent worth of Token in payment[1]") | |
286 | 286 | else if ((o.amount != ai)) | |
287 | 287 | then throw((("Attached payment[2] qty is not matching as per attached payment[1].payment[2] must be as int [" + toString(ai)) + "]/10^6 XTN.")) | |
288 | 288 | else if ((1 > z)) | |
289 | 289 | then throw("Token Price Outcome is going below 1 in Fractional.") | |
290 | 290 | else if ((1 > D)) | |
291 | 291 | then throw("LP Token Outcome is going below 1 in Fractional. Please Attach more amount.") | |
292 | 292 | else [IntegerEntry(((("Balance_of_" + m) + "_") + h), ak), IntegerEntry(((("Balance_of_" + h) + "_") + m), am), IntegerEntry(("Total_LP_" + m), ao), IntegerEntry("Token_Price", z), IntegerEntry("User_XTN_Deposit_Amount", ai), Reissue(ae, D, true), ScriptTransfer(l.caller, D, ae)] | |
293 | 293 | } | |
294 | 294 | ||
295 | 295 | ||
296 | 296 | ||
297 | 297 | @Callable(l) | |
298 | 298 | func RemoveLiquidity (m) = { | |
299 | 299 | let G = toBase58String(l.caller.bytes) | |
300 | 300 | let H = if ((size(l.payments) == 1)) | |
301 | 301 | then l.payments[0] | |
302 | 302 | else throw("No payment attached, Please Attach LP Token as payment[1].") | |
303 | 303 | let I = getString(this, ("Pair_UV_" + m)) | |
304 | 304 | let ap = fromBase58String(valueOrErrorMessage(getString(this, ("LP_" + m)), "LP Token is Missing or not Generated.")) | |
305 | 305 | let af = valueOrErrorMessage(assetInfo(fromBase58String(m)), (("Asset " + m) + " doesn't exist")) | |
306 | 306 | let w = af.decimals | |
307 | 307 | let aq = (6 + w) | |
308 | 308 | let ar = (aq / 2) | |
309 | 309 | let as = getIntegerValue(this, ("Total_LP_" + m)) | |
310 | 310 | let at = pow(fraction(H.amount, pow(10, 0, 8, 0, 0, CEILING), as), 6, 1, 0, 6, CEILING) | |
311 | 311 | let J = getIntegerValue(this, ((("Balance_of_" + m) + "_") + h)) | |
312 | 312 | let K = getIntegerValue(this, ((("Balance_of_" + h) + "_") + m)) | |
313 | 313 | let au = fraction(J, at, pow(10, 0, 8, 0, 0, CEILING)) | |
314 | 314 | let av = fraction(K, at, pow(10, 0, 8, 0, 0, CEILING)) | |
315 | 315 | let aj = { | |
316 | 316 | let S = getInteger(this, ((("Balance_of_" + m) + "_") + h)) | |
317 | 317 | if ($isInstanceOf(S, "Int")) | |
318 | 318 | then { | |
319 | 319 | let T = S | |
320 | 320 | T | |
321 | 321 | } | |
322 | 322 | else 0 | |
323 | 323 | } | |
324 | 324 | let ak = (aj - au) | |
325 | 325 | let al = { | |
326 | 326 | let S = getInteger(this, ((("Balance_of_" + h) + "_") + m)) | |
327 | 327 | if ($isInstanceOf(S, "Int")) | |
328 | 328 | then { | |
329 | 329 | let T = S | |
330 | 330 | T | |
331 | 331 | } | |
332 | 332 | else 0 | |
333 | 333 | } | |
334 | 334 | let am = (al - av) | |
335 | 335 | let an = { | |
336 | 336 | let S = getIntegerValue(this, ("Total_LP_" + m)) | |
337 | 337 | if ($isInstanceOf(S, "Int")) | |
338 | 338 | then { | |
339 | 339 | let T = S | |
340 | 340 | T | |
341 | 341 | } | |
342 | 342 | else 0 | |
343 | 343 | } | |
344 | 344 | let ao = (an - H.amount) | |
345 | 345 | if ((I != m)) | |
346 | 346 | then throw("Pair is not available in Whitelist.") | |
347 | 347 | else if ((m == h)) | |
348 | 348 | then throw("Don't choose WAVES AssetID as Input, Only Whitelisted Asset as Input String & Attach LP Tokens as payment[1]") | |
349 | 349 | else if ((H.assetId != ap)) | |
350 | 350 | then throw("Wrong Asset is attached in payment[1] or LP Token Not Found or Missing.") | |
351 | 351 | else if ((1 > at)) | |
352 | 352 | then throw("Your LP Token amount % is very low to convert.") | |
353 | 353 | else if ((1 > au)) | |
354 | 354 | then throw("Your LP Token conversion amount is very low to convert or less than 0.000001 XTN.") | |
355 | 355 | else if ((1 > av)) | |
356 | 356 | then throw("Your LP Token conversion amount is very low to convert or less than fraction value of Token.") | |
357 | 357 | else [IntegerEntry("Withdraw_LP_Percentage", at), Burn(ap, H.amount), IntegerEntry(("Total_LP_" + m), ao), IntegerEntry(((("Balance_of_" + m) + "_") + h), ak), IntegerEntry(((("Balance_of_" + h) + "_") + m), am), ScriptTransfer(l.caller, au, g), ScriptTransfer(l.caller, av, fromBase58String(m))] | |
358 | 358 | } | |
359 | 359 | ||
360 | 360 | ||
361 | 361 | @Verifier(aw) | |
362 | 362 | func ax () = sigVerify(aw.bodyBytes, aw.proofs[0], aw.senderPublicKey) | |
363 | 363 |
github/deemru/w8io/169f3d6 59.49 ms ◑![]()