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