tx · 9yHg7mVrAhuHGePxNYczqCJqC2z3fRGSQs7tcm28s6w3

3MsVsEgTUxTm6ETYkHGaqMhMhiY2Nb3yDN5:  -0.01600000 Waves

2023.09.19 15:28 [2762263] smart account 3MsVsEgTUxTm6ETYkHGaqMhMhiY2Nb3yDN5 > SELF 0.00000000 Waves

{ "type": 13, "id": "9yHg7mVrAhuHGePxNYczqCJqC2z3fRGSQs7tcm28s6w3", "fee": 1600000, "feeAssetId": null, "timestamp": 1695126587776, "version": 2, "chainId": 84, "sender": "3MsVsEgTUxTm6ETYkHGaqMhMhiY2Nb3yDN5", "senderPublicKey": "2LmNyaN5YAXdg9C5vsXcTLU66hsW2KUNPsN7KcHBYhUo", "proofs": [ "Kquw9XUo2WE149KJWj41dUHxa1EzgbYkJbwSybTw8xYQrfyWSgNjpzECyVgzWaCHRsgsJXSFbbCdPFZ7e17YV3s" ], "script": "base64:BgIlCAISAwoBCBIDCgEIEgMKAQgSAwoBCBIDCgEIEgMKAQgSAwoBCAQADmRBcHBTaW5jZVN0YXJ0AICRjMKqMQALVVNEQ0Fzc2V0SUQBIERHMcoh3/bynCbIVv74Z6l9nvez8AyJBUgJkDUU6U3/ABFDb2xsZWN0RmVlQWRkcmVzcwkApwgBASBSg9mgi9eQkjsz5eBARHIbc7Hg/F4fmB0sxZ6ySMfiIAEJY291bnRkYXlzAAQHVFNfRGlmZgkAZQIIBQlsYXN0QmxvY2sJdGltZXN0YW1wBQ5kQXBwU2luY2VTdGFydAQJZGF5bnVtYmVyCQBrAwABBQdUU19EaWZmAIC4mSkFCWRheW51bWJlcgcBaQEMUmVnaXN0ZXJQYWlyAQxFbnRlckFzc2V0SUQEBHBtdDEJAQV2YWx1ZQEJAJEDAggFAWkIcGF5bWVudHMAAAQEcG10MgkBBXZhbHVlAQkAkQMCCAUBaQhwYXltZW50cwABBApjdXJyZW50S2V5CQDYBAEICAUBaQZjYWxsZXIFYnl0ZXMEBVdBVkVTCQEBIQEJAQlpc0RlZmluZWQBCA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GmhZaVx9bNGNa5yqv5EpQTaNnr6m22YkMGJc8V9rC9 Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let a = base58'5bXgvADuVoFdhtF5uKZAEiVdAo7ZCWw151L4yyf1PiES'
4+let a = 1695040080000
55
6-let b = addressFromPublicKey(base58'6Z73KxcX3sugpiStpSRXxKxTmWqCaLVwFeM6kwyiKVDR')
6+let b = base58'5bXgvADuVoFdhtF5uKZAEiVdAo7ZCWw151L4yyf1PiES'
77
8-@Callable(c)
9-func RegisterPair (d) = {
10- let e = value(c.payments[0])
11- let f = value(c.payments[1])
12- let g = toBase58String(c.caller.bytes)
13- let h = !(isDefined(f.assetId))
14- let i = getString(this, ("Pair_UV_" + d))
15- let j = fromBase58String(d)
16- let k = valueOrErrorMessage(assetInfo(fromBase58String(d)), (("Asset " + d) + " doesn't exist"))
17- if ((i == d))
8+let c = addressFromPublicKey(base58'6Z73KxcX3sugpiStpSRXxKxTmWqCaLVwFeM6kwyiKVDR')
9+
10+func d () = {
11+ let e = (lastBlock.timestamp - a)
12+ let f = fraction(1, e, 86400000)
13+ f
14+ }
15+
16+
17+@Callable(g)
18+func RegisterPair (h) = {
19+ let i = value(g.payments[0])
20+ let j = value(g.payments[1])
21+ let k = toBase58String(g.caller.bytes)
22+ let l = !(isDefined(j.assetId))
23+ let m = getString(this, ("Pair_UV_" + h))
24+ let n = fromBase58String(h)
25+ let o = valueOrErrorMessage(assetInfo(fromBase58String(h)), (("Asset " + h) + " doesn't exist"))
26+ if ((m == h))
1827 then throw("Pair Already Exist in List.")
19- else if ((size(c.payments) != 2))
28+ else if ((size(g.payments) != 2))
2029 then throw("Two attached assets expected as payment. Kindly Attach payment1 = WAVES Token & payment2 = Token you want to List.")
21- else if (isDefined(e.assetId))
30+ else if (isDefined(i.assetId))
2231 then throw("Incorrect asset attached for Collateral, please attach WAVES only.")
23- else if ((e.amount != 10000000))
24- then throw((((("You attached only " + toString(fraction(e.amount, 1, 100000000))) + ".") + toString(fraction(e.amount, 1, 10000000))) + " WAVES for Listing in payment[1], please attach 10 WAVES."))
25- else if ((f.assetId != j))
32+ else if ((i.amount != 10000000))
33+ then throw((((("You attached only " + toString(fraction(i.amount, 1, 100000000))) + ".") + toString(fraction(i.amount, 1, 10000000))) + " WAVES for Listing in payment[1], please attach 10 WAVES."))
34+ else if ((j.assetId != n))
2635 then throw("Input String & Attached AssetID in payment2 is not matching.")
27- else if ((h == true))
36+ else if ((l == true))
2837 then throw("You Attached WAVES Asset ID for Listing, please attach Tokens You want to list in payment[2].")
29- else [StringEntry(("Pair_UV_" + d), d), IntegerEntry(("Listing_Fee_" + d), e.amount), ScriptTransfer(b, e.amount, unit), IntegerEntry(((("Balance_of_" + d) + "_") + toBase58String(a)), 0), IntegerEntry(((("Balance_of_" + toBase58String(a)) + "_") + d), 0), IntegerEntry(("Total_of_Pair_Txns_" + d), 0), IntegerEntry(((("Total_Swap_Fee_Collected_" + d) + "_") + toBase58String(a)), 0), IntegerEntry(("Total_Swap_Fee_Collected_" + d), 0)]
38+ else [StringEntry(("Pair_UV_" + h), h), IntegerEntry(("Listing_Fee_" + h), i.amount), ScriptTransfer(c, i.amount, unit), IntegerEntry(((("Balance_of_" + h) + "_") + toBase58String(b)), 0), IntegerEntry(((("Balance_of_" + toBase58String(b)) + "_") + h), 0), IntegerEntry(("Total_of_Pair_Txns_" + h), 0), IntegerEntry(((("Total_Swap_Fee_Collected_" + h) + "_") + toBase58String(b)), 0), IntegerEntry(("Total_Swap_Fee_Collected_" + h), 0), IntegerEntry((toString(d()) + "_Day_Volume"), 0)]
3039 }
3140
3241
3342
34-@Callable(c)
35-func IssueLPToken (d) = {
36- let l = valueOrErrorMessage(getString(this, "LP_Admin_Rights"), "LP Admin Rights are Not Included into Smart Contract. Deploy Admin Rights First.")
37- let m = toBase58String(c.caller.bytes)
38- let n = valueOrErrorMessage(getString(this, ("Pair_UV_" + d)), "Asset not Found in Whitelisted Token")
39- let k = valueOrErrorMessage(assetInfo(fromBase58String(d)), (("Asset " + d) + " doesn't exist"))
40- let o = k.name
41- let p = k.decimals
42- let q = (1 * pow(10, 0, fraction((p + 6), 1, 2), 0, 0, CEILING))
43- let r = Issue((("LP-" + take(o, 8)) + "-USDC"), (((("LP-" + o) + "-USDC") + " is a Liquidity Provider Token Issued Against ") + d), q, fraction((p + 6), 1, 2), true)
44- let s = calculateAssetId(r)
45- if ((l != m))
46- then throw((("Your are not allowded to Issue LP Token. Only " + l) + " can issue the LP Token."))
47- else if ((n != d))
43+@Callable(g)
44+func IssueLPToken (h) = {
45+ let p = valueOrErrorMessage(getString(this, "LP_Admin_Rights"), "LP Admin Rights are Not Included into Smart Contract. Deploy Admin Rights First.")
46+ let q = toBase58String(g.caller.bytes)
47+ let r = valueOrErrorMessage(getString(this, ("Pair_UV_" + h)), "Asset not Found in Whitelisted Token")
48+ let o = valueOrErrorMessage(assetInfo(fromBase58String(h)), (("Asset " + h) + " doesn't exist"))
49+ let s = o.name
50+ let t = o.decimals
51+ let u = (1 * pow(10, 0, fraction((t + 6), 1, 2), 0, 0, CEILING))
52+ let v = Issue((("LP-" + take(s, 8)) + "-USDC"), (((("LP-" + s) + "-USDC") + " is a Liquidity Provider Token Issued Against ") + h), u, fraction((t + 6), 1, 2), true)
53+ let w = calculateAssetId(v)
54+ if ((p != q))
55+ then throw((("Your are not allowded to Issue LP Token. Only " + p) + " can issue the LP Token."))
56+ else if ((r != h))
4857 then throw("Pair is not available in List.")
49- else [r, StringEntry(("LP_" + d), toBase58String(s)), IntegerEntry(("Total_LP_" + d), q)]
58+ else [v, StringEntry(("LP_" + h), toBase58String(w)), IntegerEntry(("Total_LP_" + h), u)]
5059 }
5160
5261
5362
54-@Callable(c)
55-func SwapAssetToUSDCPairEntry (d) = {
56- let m = toBase58String(c.caller.bytes)
57- let t = if ((size(c.payments) == 1))
58- then c.payments[0]
63+@Callable(g)
64+func SwapAssetToUSDCPairEntry (h) = {
65+ let q = toBase58String(g.caller.bytes)
66+ let x = if ((size(g.payments) == 1))
67+ then g.payments[0]
5968 else throw("Whitelisted Token is required as Attached payment[1].")
60- let n = getString(this, ("Pair_UV_" + d))
61- let u = getIntegerValue(this, ((("Balance_of_" + d) + "_") + toBase58String(a)))
62- let v = getIntegerValue(this, ((("Balance_of_" + toBase58String(a)) + "_") + d))
63- let w = fraction(u, v, (v + t.amount))
64- let x = (u - w)
65- let y = 3
66- let z = ((x * y) / 1000)
67- let A = ((x - z) - z)
68- let B = {
69- let C = getInteger(this, ((("Total_Swap_Fee_Collected_" + d) + "_") + toBase58String(a)))
70- if ($isInstanceOf(C, "Int"))
69+ let r = getString(this, ("Pair_UV_" + h))
70+ let y = getIntegerValue(this, ((("Balance_of_" + h) + "_") + toBase58String(b)))
71+ let z = getIntegerValue(this, ((("Balance_of_" + toBase58String(b)) + "_") + h))
72+ let A = fraction(y, z, (z + x.amount))
73+ let B = (y - A)
74+ let C = 3
75+ let D = ((B * C) / 1000)
76+ let E = ((B - D) - D)
77+ let F = {
78+ let G = getInteger(this, ((("Total_Swap_Fee_Collected_" + h) + "_") + toBase58String(b)))
79+ if ($isInstanceOf(G, "Int"))
7180 then {
72- let D = C
73- D
81+ let H = G
82+ H
7483 }
7584 else 0
7685 }
77- let E = ((B + z) + z)
78- let F = {
79- let C = getInteger(this, ((("Balance_of_" + toBase58String(a)) + "_") + d))
80- if ($isInstanceOf(C, "Int"))
86+ let I = ((F + D) + D)
87+ let J = {
88+ let G = getInteger(this, ((("Balance_of_" + toBase58String(b)) + "_") + h))
89+ if ($isInstanceOf(G, "Int"))
8190 then {
82- let D = C
83- D
91+ let H = G
92+ H
8493 }
8594 else 0
8695 }
87- let G = (v + t.amount)
88- let H = {
89- let C = getInteger(this, ((("Balance_of_" + d) + "_") + toBase58String(a)))
90- if ($isInstanceOf(C, "Int"))
96+ let K = (z + x.amount)
97+ let L = {
98+ let G = getInteger(this, ((("Balance_of_" + h) + "_") + toBase58String(b)))
99+ if ($isInstanceOf(G, "Int"))
91100 then {
92- let D = C
93- D
101+ let H = G
102+ H
94103 }
95104 else 0
96105 }
97- let I = ((u - x) + z)
98- let J = {
99- let C = getIntegerValue(this, ("Total_of_Pair_Txns_" + d))
100- if ($isInstanceOf(C, "Int"))
106+ let M = ((y - B) + D)
107+ let N = {
108+ let G = getIntegerValue(this, ("Total_of_Pair_Txns_" + h))
109+ if ($isInstanceOf(G, "Int"))
101110 then {
102- let D = C
103- D
111+ let H = G
112+ H
104113 }
105114 else 0
106115 }
107- let K = (J + 1)
108- if ((d == toBase58String(a)))
116+ let O = (N + 1)
117+ if ((h == toBase58String(b)))
109118 then throw("Input can Never be a USDC AssetID. Enter Whitelisted AssetID in input & Attach Whitelisted Asset as an attachment Token in payment[1].")
110- else if ((n != d))
119+ else if ((r != h))
111120 then throw("Pair is not available in Whitelisted Asset.")
112- else if ((t.assetId == a))
121+ else if ((x.assetId == b))
113122 then throw("You can't Attach USDC as an Attached Payment. Only Whitelisted Tokens are accepted.")
114- else if ((t.assetId != fromBase58String(d)))
115- then throw(("Incorrect asset attached, please attach or send " + d))
116- else if ((u == 0))
123+ else if ((x.assetId != fromBase58String(h)))
124+ then throw(("Incorrect asset attached, please attach or send " + h))
125+ else if ((y == 0))
117126 then throw("Swap Pair Need to Add Liquidity first into Pool. Only After that Pair will be activated for Swapping.")
118- else if ((v == 0))
127+ else if ((z == 0))
119128 then throw("Swap Pair Need to Add Liquidity first into Pool. Only After that Pair will be activated for Swapping.")
120- else if ((100000 > x))
121- then throw((("Your Attached Asset Amount is very low. Attach More " + d) + " Tokens to Claim the minimum Amount of 0.1 dollar atleast."))
122- else if ((x > u))
123- then throw((("Pool Only has a Liquidity of " + toString((u / pow(10, 0, 6, 0, 0, CEILING)))) + " USDC. Add Liquidity into Pool."))
124- else [IntegerEntry(((("Total_Swap_Fee_Collected_" + d) + "_") + toBase58String(a)), E), IntegerEntry(("Total_of_Pair_Txns_" + d), K), IntegerEntry(((("Balance_of_" + toBase58String(a)) + "_") + d), G), IntegerEntry(((("Balance_of_" + d) + "_") + toBase58String(a)), I), ScriptTransfer(c.caller, A, a), ScriptTransfer(b, z, a)]
129+ else if ((100000 > B))
130+ then throw((("Your Attached Asset Amount is very low. Attach More " + h) + " Tokens to Claim the minimum Amount of 0.1 dollar atleast."))
131+ else if ((B > y))
132+ then throw((("Pool Only has a Liquidity of " + toString((y / pow(10, 0, 6, 0, 0, CEILING)))) + " USDC. Add Liquidity into Pool."))
133+ else [IntegerEntry(((("Total_Swap_Fee_Collected_" + h) + "_") + toBase58String(b)), I), IntegerEntry(("Total_of_Pair_Txns_" + h), O), IntegerEntry(((("Balance_of_" + toBase58String(b)) + "_") + h), K), IntegerEntry(((("Balance_of_" + h) + "_") + toBase58String(b)), M), ScriptTransfer(g.caller, E, b), ScriptTransfer(c, D, b)]
125134 }
126135
127136
128137
129-@Callable(c)
130-func SwapUSDCToAssetPairEntry (d) = {
131- let m = toBase58String(c.caller.bytes)
132- let t = if ((size(c.payments) == 1))
133- then c.payments[0]
134- else throw((("Only " + toBase58String(a)) + " USDC Token is required as an Attached payment[1]."))
135- let u = getIntegerValue(this, ((("Balance_of_" + d) + "_") + toBase58String(a)))
136- let v = getIntegerValue(this, ((("Balance_of_" + toBase58String(a)) + "_") + d))
137- let L = fraction(u, v, (u + t.amount))
138- let x = (v - L)
139- let n = getString(this, ("Pair_UV_" + d))
140- let y = 3
141- let z = ((x * y) / 1000)
142- let A = ((x - z) - z)
143- let M = {
144- let C = getInteger(this, ("Total_Swap_Fee_Collected_" + d))
145- if ($isInstanceOf(C, "Int"))
138+@Callable(g)
139+func SwapUSDCToAssetPairEntry (h) = {
140+ let q = toBase58String(g.caller.bytes)
141+ let x = if ((size(g.payments) == 1))
142+ then g.payments[0]
143+ else throw((("Only " + toBase58String(b)) + " USDC Token is required as an Attached payment[1]."))
144+ let y = getIntegerValue(this, ((("Balance_of_" + h) + "_") + toBase58String(b)))
145+ let z = getIntegerValue(this, ((("Balance_of_" + toBase58String(b)) + "_") + h))
146+ let P = fraction(y, z, (y + x.amount))
147+ let B = (z - P)
148+ let r = getString(this, ("Pair_UV_" + h))
149+ let C = 3
150+ let D = ((B * C) / 1000)
151+ let E = ((B - D) - D)
152+ let Q = {
153+ let G = getInteger(this, ("Total_Swap_Fee_Collected_" + h))
154+ if ($isInstanceOf(G, "Int"))
146155 then {
147- let D = C
148- D
156+ let H = G
157+ H
149158 }
150159 else 0
151160 }
152- let N = ((M + z) + z)
153- let F = {
154- let C = getInteger(this, ((("Balance_of_" + toBase58String(a)) + "_") + d))
155- if ($isInstanceOf(C, "Int"))
161+ let R = ((Q + D) + D)
162+ let J = {
163+ let G = getInteger(this, ((("Balance_of_" + toBase58String(b)) + "_") + h))
164+ if ($isInstanceOf(G, "Int"))
156165 then {
157- let D = C
158- D
166+ let H = G
167+ H
159168 }
160169 else 0
161170 }
162- let G = ((v - x) + z)
163- let H = {
164- let C = getInteger(this, ((("Balance_of_" + d) + "_") + toBase58String(a)))
165- if ($isInstanceOf(C, "Int"))
171+ let K = ((z - B) + D)
172+ let L = {
173+ let G = getInteger(this, ((("Balance_of_" + h) + "_") + toBase58String(b)))
174+ if ($isInstanceOf(G, "Int"))
166175 then {
167- let D = C
168- D
176+ let H = G
177+ H
169178 }
170179 else 0
171180 }
172- let I = (u + t.amount)
173- let J = {
174- let C = getIntegerValue(this, ("Total_of_Pair_Txns_" + d))
175- if ($isInstanceOf(C, "Int"))
181+ let M = (y + x.amount)
182+ let N = {
183+ let G = getIntegerValue(this, ("Total_of_Pair_Txns_" + h))
184+ if ($isInstanceOf(G, "Int"))
176185 then {
177- let D = C
178- D
186+ let H = G
187+ H
179188 }
180189 else 0
181190 }
182- let K = (J + 1)
183- if ((n != d))
191+ let O = (N + 1)
192+ if ((r != h))
184193 then throw("Pair is not available in Whitelisted Asset.")
185- else if ((d == toBase58String(a)))
194+ else if ((h == toBase58String(b)))
186195 then throw("Input can Never be a USDC AssetID. Enter Whitelisted AssetID in input & Attach USDC as an attachment Token in payment[1].")
187- else if ((t.assetId != a))
196+ else if ((x.assetId != b))
188197 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.")
189- else if ((100000 > t.amount))
198+ else if ((100000 > x.amount))
190199 then throw("Your Attached USDC Amount is very low. Attach Atleast 0.1 USDC to Claim the minimum Tokens.")
191- else if ((u == 0))
200+ else if ((y == 0))
192201 then throw("Swap Pair Need to Add Liquidity first into Pool. Only After that Pair will be activated for Swapping.")
193- else if ((v == 0))
202+ else if ((z == 0))
194203 then throw("Swap Pair Need to Add Liquidity first into Pool. Only After that Pair will be activated for Swapping.")
195- else if ((x > v))
196- then throw((("Pool Only has a Liquidity of " + toString(v)) + " Tokens. Add Liquidity into Pool."))
197- else [IntegerEntry(("Total_Swap_Fee_Collected_" + d), N), IntegerEntry(("Total_of_Pair_Txns_" + d), K), IntegerEntry(((("Balance_of_" + toBase58String(a)) + "_") + d), G), IntegerEntry(((("Balance_of_" + d) + "_") + toBase58String(a)), I), ScriptTransfer(c.caller, A, fromBase58String(d)), ScriptTransfer(b, z, fromBase58String(d))]
204+ else if ((B > z))
205+ then throw((("Pool Only has a Liquidity of " + toString(z)) + " Tokens. Add Liquidity into Pool."))
206+ else [IntegerEntry(("Total_Swap_Fee_Collected_" + h), R), IntegerEntry(("Total_of_Pair_Txns_" + h), O), IntegerEntry(((("Balance_of_" + toBase58String(b)) + "_") + h), K), IntegerEntry(((("Balance_of_" + h) + "_") + toBase58String(b)), M), ScriptTransfer(g.caller, E, fromBase58String(h)), ScriptTransfer(c, D, fromBase58String(h))]
198207 }
199208
200209
201210
202-@Callable(c)
203-func AddLiquidity (d) = {
204- let m = toBase58String(c.caller.bytes)
205- let e = value(c.payments[0])
206- let f = value(c.payments[1])
207- let n = getString(this, ("Pair_UV_" + d))
208- let O = fromBase58String(valueOrErrorMessage(getString(this, ("LP_" + d)), "LP Token is Missing or May be not Generated."))
209- let u = getIntegerValue(this, ((("Balance_of_" + d) + "_") + toBase58String(a)))
210- let v = getIntegerValue(this, ((("Balance_of_" + toBase58String(a)) + "_") + d))
211- let P = valueOrErrorMessage(assetInfo(fromBase58String(d)), (("Asset " + d) + " doesn't exist"))
212- let p = P.decimals
213- let Q = u
214- let R = v
215- let S = pow((((Q * 1000000) / R) * pow(10, 0, p, 0, 0, CEILING)), 0, 1, 0, 0, CEILING)
216- let T = (6 + p)
217- let U = (T / 2)
218- let V = fraction(S, e.amount, pow(10, 0, T, 0, 0, CEILING))
219- let W = pow((fraction(e.amount, 1, pow(10, 0, p, 0, 0, CEILING)) * fraction(f.amount, 1, pow(10, 0, 6, 0, 0, CEILING))), 0, 5, 1, U, DOWN)
220- let X = {
221- let C = getInteger(this, ((("Balance_of_" + d) + "_") + toBase58String(a)))
222- if ($isInstanceOf(C, "Int"))
211+@Callable(g)
212+func AddLiquidity (h) = {
213+ let q = toBase58String(g.caller.bytes)
214+ let i = value(g.payments[0])
215+ let j = value(g.payments[1])
216+ let r = getString(this, ("Pair_UV_" + h))
217+ let S = fromBase58String(valueOrErrorMessage(getString(this, ("LP_" + h)), "LP Token is Missing or May be not Generated."))
218+ let y = getIntegerValue(this, ((("Balance_of_" + h) + "_") + toBase58String(b)))
219+ let z = getIntegerValue(this, ((("Balance_of_" + toBase58String(b)) + "_") + h))
220+ let T = valueOrErrorMessage(assetInfo(fromBase58String(h)), (("Asset " + h) + " doesn't exist"))
221+ let t = T.decimals
222+ let U = y
223+ let V = z
224+ let W = pow((((U * 1000000) / V) * pow(10, 0, t, 0, 0, CEILING)), 0, 1, 0, 0, CEILING)
225+ let X = (6 + t)
226+ let Y = (X / 2)
227+ let Z = fraction(W, i.amount, pow(10, 0, X, 0, 0, CEILING))
228+ let aa = pow((fraction(i.amount, 1, pow(10, 0, t, 0, 0, CEILING)) * fraction(j.amount, 1, pow(10, 0, 6, 0, 0, CEILING))), 0, 5, 1, Y, DOWN)
229+ let ab = {
230+ let G = getInteger(this, ((("Balance_of_" + h) + "_") + toBase58String(b)))
231+ if ($isInstanceOf(G, "Int"))
223232 then {
224- let D = C
225- D
233+ let H = G
234+ H
226235 }
227236 else 0
228237 }
229- let Y = (X + f.amount)
230- let Z = {
231- let C = getInteger(this, ((("Balance_of_" + toBase58String(a)) + "_") + d))
232- if ($isInstanceOf(C, "Int"))
238+ let ac = (ab + j.amount)
239+ let ad = {
240+ let G = getInteger(this, ((("Balance_of_" + toBase58String(b)) + "_") + h))
241+ if ($isInstanceOf(G, "Int"))
233242 then {
234- let D = C
235- D
243+ let H = G
244+ H
236245 }
237246 else 0
238247 }
239- let aa = (Z + e.amount)
240- let ab = {
241- let C = getIntegerValue(this, ("Total_LP_" + d))
242- if ($isInstanceOf(C, "Int"))
248+ let ae = (ad + i.amount)
249+ let af = {
250+ let G = getIntegerValue(this, ("Total_LP_" + h))
251+ if ($isInstanceOf(G, "Int"))
243252 then {
244- let D = C
245- D
253+ let H = G
254+ H
246255 }
247256 else 0
248257 }
249- let ac = (ab + W)
250- if ((n != d))
258+ let ag = (af + aa)
259+ if ((r != h))
251260 then throw("Pair is not available in Whitelisted Asset.")
252- else if ((d == toBase58String(a)))
261+ else if ((h == toBase58String(b)))
253262 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].")
254- else if ((size(c.payments) != 2))
263+ else if ((size(g.payments) != 2))
255264 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.")
256- else if ((e.assetId == a))
265+ else if ((i.assetId == b))
257266 then throw("You Attached USDC asset in payment[1], please attach only whitelisted Token in payment[1] along with USDC in payment[2].")
258- else if ((e.assetId != fromBase58String(d)))
267+ else if ((i.assetId != fromBase58String(h)))
259268 then throw("Incorrect asset attached for Liquidity in payment[1], please attach String Asset or Whitelisted Token only.")
260- else if ((e.assetId != fromBase58String(d)))
269+ else if ((i.assetId != fromBase58String(h)))
261270 then throw("Incorrect asset attached for Liquidity in payment[1], please attach String Asset or Whitelisted Token only.")
262- else if ((f.assetId != a))
271+ else if ((j.assetId != b))
263272 then throw("Wrong Asset Attached in payments[2], Please attach payment[1] = Liquidity Token & payment[2] = USDC Token.")
264- else if ((5000000 > f.amount))
273+ else if ((5000000 > j.amount))
265274 then throw("please attach atleast 5 USDC in payment[2] & Equivalent worth of Token in payment[1]")
266- else if ((f.amount != V))
267- then throw((((((("Attached payment[2] qty is not matching as per attached payment[1].payment[2] must be as int [" + toString(V)) + "] or ") + toString(fraction(V, 1, 1000000))) + ".") + takeRight(toString(V), 6)) + " USDC."))
268- else if ((1 > W))
269- then throw((("LP Token Outcome is going below " + toString(U)) + " Decimals. Please Attach min. 1 LP token or 5 USDC Atleast."))
270- else [IntegerEntry(((("Balance_of_" + d) + "_") + toBase58String(a)), Y), IntegerEntry(((("Balance_of_" + toBase58String(a)) + "_") + d), aa), IntegerEntry(("Total_LP_" + d), ac), Reissue(O, W, true), ScriptTransfer(c.caller, W, O)]
275+ else if ((j.amount != Z))
276+ then throw((((((("Attached payment[2] qty is not matching as per attached payment[1].payment[2] must be as int [" + toString(Z)) + "] or ") + toString(fraction(Z, 1, 1000000))) + ".") + takeRight(toString(Z), 6)) + " USDC."))
277+ else if ((1 > aa))
278+ then throw((("LP Token Outcome is going below " + toString(Y)) + " Decimals. Please Attach min. 1 LP token or 5 USDC Atleast."))
279+ else [IntegerEntry(((("Balance_of_" + h) + "_") + toBase58String(b)), ac), IntegerEntry(((("Balance_of_" + toBase58String(b)) + "_") + h), ae), IntegerEntry(("Total_LP_" + h), ag), Reissue(S, aa, true), ScriptTransfer(g.caller, aa, S)]
271280 }
272281
273282
274283
275-@Callable(c)
276-func RemoveLiquidity (d) = {
277- let m = toBase58String(c.caller.bytes)
278- let t = if ((size(c.payments) == 1))
279- then c.payments[0]
284+@Callable(g)
285+func RemoveLiquidity (h) = {
286+ let q = toBase58String(g.caller.bytes)
287+ let x = if ((size(g.payments) == 1))
288+ then g.payments[0]
280289 else throw("No payment attached, Please Attach LP Token as payment[1].")
281- let n = getString(this, ("Pair_UV_" + d))
282- let ad = fromBase58String(valueOrErrorMessage(getString(this, ("LP_" + d)), "LP Token is Missing or not Generated."))
283- let P = valueOrErrorMessage(assetInfo(fromBase58String(d)), (("Asset " + d) + " doesn't exist"))
284- let p = P.decimals
285- let T = (6 + p)
286- let U = (T / 2)
287- let ae = getIntegerValue(this, ("Total_LP_" + d))
288- let af = pow(fraction(t.amount, pow(10, 0, 8, 0, 0, CEILING), ae), 6, 1, 0, 6, CEILING)
289- let u = getIntegerValue(this, ((("Balance_of_" + d) + "_") + toBase58String(a)))
290- let v = getIntegerValue(this, ((("Balance_of_" + toBase58String(a)) + "_") + d))
291- let ag = fraction(u, af, pow(10, 0, 8, 0, 0, CEILING))
292- let ah = fraction(v, af, pow(10, 0, 8, 0, 0, CEILING))
293- let X = {
294- let C = getInteger(this, ((("Balance_of_" + d) + "_") + toBase58String(a)))
295- if ($isInstanceOf(C, "Int"))
290+ let r = getString(this, ("Pair_UV_" + h))
291+ let ah = fromBase58String(valueOrErrorMessage(getString(this, ("LP_" + h)), "LP Token is Missing or not Generated."))
292+ let T = valueOrErrorMessage(assetInfo(fromBase58String(h)), (("Asset " + h) + " doesn't exist"))
293+ let t = T.decimals
294+ let X = (6 + t)
295+ let Y = (X / 2)
296+ let ai = getIntegerValue(this, ("Total_LP_" + h))
297+ let aj = pow(fraction(x.amount, pow(10, 0, 8, 0, 0, CEILING), ai), 6, 1, 0, 6, CEILING)
298+ let y = getIntegerValue(this, ((("Balance_of_" + h) + "_") + toBase58String(b)))
299+ let z = getIntegerValue(this, ((("Balance_of_" + toBase58String(b)) + "_") + h))
300+ let ak = fraction(y, aj, pow(10, 0, 8, 0, 0, CEILING))
301+ let al = fraction(z, aj, pow(10, 0, 8, 0, 0, CEILING))
302+ let ab = {
303+ let G = getInteger(this, ((("Balance_of_" + h) + "_") + toBase58String(b)))
304+ if ($isInstanceOf(G, "Int"))
296305 then {
297- let D = C
298- D
306+ let H = G
307+ H
299308 }
300309 else 0
301310 }
302- let Y = (X - ag)
303- let Z = {
304- let C = getInteger(this, ((("Balance_of_" + toBase58String(a)) + "_") + d))
305- if ($isInstanceOf(C, "Int"))
311+ let ac = (ab - ak)
312+ let ad = {
313+ let G = getInteger(this, ((("Balance_of_" + toBase58String(b)) + "_") + h))
314+ if ($isInstanceOf(G, "Int"))
306315 then {
307- let D = C
308- D
316+ let H = G
317+ H
309318 }
310319 else 0
311320 }
312- let aa = (Z - ah)
313- let ab = {
314- let C = getIntegerValue(this, ("Total_LP_" + d))
315- if ($isInstanceOf(C, "Int"))
321+ let ae = (ad - al)
322+ let af = {
323+ let G = getIntegerValue(this, ("Total_LP_" + h))
324+ if ($isInstanceOf(G, "Int"))
316325 then {
317- let D = C
318- D
326+ let H = G
327+ H
319328 }
320329 else 0
321330 }
322- let ac = (ab - t.amount)
323- if ((n != d))
331+ let ag = (af - x.amount)
332+ if ((r != h))
324333 then throw("Pair is not available in Whitelist.")
325- else if ((fromBase58String(d) == a))
334+ else if ((fromBase58String(h) == b))
326335 then throw("Don't choose USDC AssetID as Input, Only Whitelisted Asset as Input String & Attach LP Tokens as payment[1]")
327- else if ((t.assetId != ad))
336+ else if ((x.assetId != ah))
328337 then throw("Wrong Asset is attached in payment[1] or LP Token Not Found or Missing.")
329- else if ((1 > af))
338+ else if ((1 > aj))
330339 then throw("Your LP Token amount % is very low to convert.")
331- else if ((1 > ag))
340+ else if ((1 > ak))
332341 then throw("Your LP Token conversion amount is very low to convert or less than 0.000001 USDC.")
333- else if ((1 > ah))
342+ else if ((1 > al))
334343 then throw("Your LP Token conversion amount is very low to convert or less than fraction value of Token.")
335- else [IntegerEntry("Withdraw_LP_Percentage", af), Burn(ad, t.amount), IntegerEntry(("Total_LP_" + d), ac), IntegerEntry(((("Balance_of_" + d) + "_") + toBase58String(a)), Y), IntegerEntry(((("Balance_of_" + toBase58String(a)) + "_") + d), aa), ScriptTransfer(c.caller, ag, a), ScriptTransfer(c.caller, ah, fromBase58String(d))]
344+ else [IntegerEntry("Withdraw_LP_Percentage", aj), Burn(ah, x.amount), IntegerEntry(("Total_LP_" + h), ag), IntegerEntry(((("Balance_of_" + h) + "_") + toBase58String(b)), ac), IntegerEntry(((("Balance_of_" + toBase58String(b)) + "_") + h), ae), ScriptTransfer(g.caller, ak, b), ScriptTransfer(g.caller, al, fromBase58String(h))]
336345 }
337346
338347
339348
340-@Callable(c)
341-func Del (ai) = [DeleteEntry(ai)]
349+@Callable(g)
350+func Del (am) = [DeleteEntry(am)]
342351
343352
344-@Verifier(aj)
345-func ak () = sigVerify(aj.bodyBytes, aj.proofs[0], aj.senderPublicKey)
353+@Verifier(an)
354+func ao () = sigVerify(an.bodyBytes, an.proofs[0], an.senderPublicKey)
346355

github/deemru/w8io/169f3d6 
153.23 ms