tx · 6y8f86zgbPqT8cPRGDqeHaSwNNkza3zFJN6QTcw11eKr 3N8pVPvAfr79Ysbb4MEwi2Ks7d6LKUXG1iU: -0.03400000 Waves 2022.07.12 00:29 [2135618] smart account 3N8pVPvAfr79Ysbb4MEwi2Ks7d6LKUXG1iU > SELF 0.00000000 Waves
{ "type": 13, "id": "6y8f86zgbPqT8cPRGDqeHaSwNNkza3zFJN6QTcw11eKr", "fee": 3400000, "feeAssetId": null, "timestamp": 1657574839661, "version": 2, "chainId": 84, "sender": "3N8pVPvAfr79Ysbb4MEwi2Ks7d6LKUXG1iU", "senderPublicKey": "GDio3pYFUMSWQ3yen7TJP79nTPaGuPbxjKixvKLuYS8E", "proofs": [ "HnygERJy7Qf9w6QV2wCob9EnoUqML2nSx6PNN2gzaU5ZaSC6dWwEqeYhC94PLKXviLVv3UHGjgF5E9K5gmwrJNZ" ], "script": "base64:AAIFAAAAAAAAAFkIAhILCgkICAgICAgBAQQSAwoBBBIFCgMEBAQSAwoBARIDCgEEEgMKAQESAwoBCBIGCgQICAgEEgUKAwQICBIGCgQECAgBEgQKAggIEgUKAwgIARIECgIICAAAACcAAAAABG1haW4CAAAACm1haW5fYXNzZXQAAAAAAWwCAAAACWxwX2Fzc2V0XwAAAAADYWExAgAAAAZwb29sX18AAAAAAnNhAgAAAA9TVEFLSU5HX0FNT1VOVF8AAAAAAmxhAgAAAA1MRUFTRV9BTU9VTlRfAAAAAAJpeAIAAAADSURfAAAAAAdyYXRlRmVlAgAAABNwZXJjZW50YWdlX3JhdGVfZmVlAAAAAA5kZXBvc2l0X2hlaWdodAIAAAASRGVwb3NpdF9IZWlnaHRfT2ZfAAAAAAJEOAAAAAAABfXhAAAAAAACRDYAAAAAAAAPQkAAAAAAA0QxMAAAAAACVAvkAAEAAAARZ2V0QWRkcmVzc0lmVmFsaWQAAAABAAAAB2FkZHJlc3MJAAQlAAAAAQkBAAAAE3ZhbHVlT3JFcnJvck1lc3NhZ2UAAAACCQAEJgAAAAEFA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G1hdGNoMAIAAAATRXhjaGFuZ2VUcmFuc2FjdGlvbgQAAAABZQUAAAAHJG1hdGNoMAYJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5dk+pyg==", "height": 2135618, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4FU3KLm9ecxTbrRHJSzuo8ZtJrVt6DdNBLtuCoQ3fJkT Next: HvKd74Sswu3iiTHdx8Xf2RMWFkRUCRqh4srD9bXfQE7e Diff:
Old | New | Differences | |
---|---|---|---|
629 | 629 | let bS = ab(((I(T, U) + "_") + T), false) | |
630 | 630 | let bT = ab(((I(T, U) + "_") + U), false) | |
631 | 631 | let bU = getIntegerValue(this, g) | |
632 | - | let bV = toInt(((toBigInt(r.payments[0].amount) * fraction(toBigInt(i), toBigInt(bT), toBigInt(bS))) / toBigInt(i))) | |
633 | - | let bW = toInt(((toBigInt(r.payments[0].amount) * fraction(toBigInt(i), toBigInt(bS), toBigInt(bT))) / toBigInt(i))) | |
634 | - | let bX = if (if ((J == unit)) | |
632 | + | let bV = (toBigInt(r.payments[0].amount) * fraction(toBigInt(i), toBigInt(bT), toBigInt(bS))) | |
633 | + | let bW = toInt(((bV - ((bV / toBigInt(bU)) * toBigInt(100))) / toBigInt(i))) | |
634 | + | let bX = (toBigInt(r.payments[0].amount) * fraction(toBigInt(i), toBigInt(bS), toBigInt(bT))) | |
635 | + | let bY = toInt(((bX - ((bX / toBigInt(bU)) * toBigInt(100))) / toBigInt(i))) | |
636 | + | let bZ = if (if ((J == unit)) | |
635 | 637 | then (T == F) | |
636 | 638 | else false) | |
637 | - | then | |
639 | + | then bW | |
638 | 640 | else if ((J == fromBase58String(T))) | |
639 | - | then | |
640 | - | else | |
641 | - | let | |
641 | + | then bW | |
642 | + | else bY | |
643 | + | let ca = if ((J == unit)) | |
642 | 644 | then F | |
643 | 645 | else if ((J == fromBase58String(T))) | |
644 | 646 | then T | |
645 | 647 | else U | |
646 | - | let | |
648 | + | let cb = if ((J == unit)) | |
647 | 649 | then F | |
648 | 650 | else if ((J == fromBase58String(T))) | |
649 | 651 | then U | |
650 | 652 | else T | |
651 | - | let | |
653 | + | let cc = if ((J == unit)) | |
652 | 654 | then H | |
653 | 655 | else if ((J == fromBase58String(T))) | |
654 | 656 | then fromBase58String(U) | |
679 | 681 | then if (if ((bS > 2)) | |
680 | 682 | then true | |
681 | 683 | else (bT > 2)) | |
682 | - | then [ScriptTransfer(Address(r.caller.bytes), | |
684 | + | then [ScriptTransfer(Address(r.caller.bytes), bZ, cc), IntegerEntry(cb, (p(cb) - bZ)), IntegerEntry(((I(T, U) + "_") + cb), (R(I(T, U), cb) - bZ)), IntegerEntry(((I(T, U) + "_") + ca), (R(I(T, U), ca) + r.payments[0].amount)), IntegerEntry(ca, (p(ca) + r.payments[0].amount)), IntegerEntry(toBase58String(aY), (p(toBase58String(aY)) + r.payments[1].amount))] | |
683 | 685 | else throw("Pool has no liquidity.") | |
684 | 686 | else throw("Swap denied! 0.003 AxAi is required for the swap fee.") | |
685 | 687 | else throw("Invalid rate asset") | |
691 | 693 | } | |
692 | 694 | ||
693 | 695 | ||
694 | - | @Verifier( | |
695 | - | func | |
696 | - | let q = | |
696 | + | @Verifier(cd) | |
697 | + | func ce () = { | |
698 | + | let q = cd | |
697 | 699 | if ($isInstanceOf(q, "Order")) | |
698 | 700 | then { | |
699 | - | let | |
701 | + | let cf = q | |
700 | 702 | true | |
701 | 703 | } | |
702 | 704 | else if ($isInstanceOf(q, "ExchangeTransaction")) | |
703 | 705 | then { | |
704 | - | let | |
706 | + | let cg = q | |
705 | 707 | true | |
706 | 708 | } | |
707 | - | else sigVerify( | |
709 | + | else sigVerify(cd.bodyBytes, cd.proofs[0], cd.senderPublicKey) | |
708 | 710 | } | |
709 | 711 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "main_asset" | |
5 | 5 | ||
6 | 6 | let b = "lp_asset_" | |
7 | 7 | ||
8 | 8 | let c = "pool__" | |
9 | 9 | ||
10 | 10 | let d = "STAKING_AMOUNT_" | |
11 | 11 | ||
12 | 12 | let e = "LEASE_AMOUNT_" | |
13 | 13 | ||
14 | 14 | let f = "ID_" | |
15 | 15 | ||
16 | 16 | let g = "percentage_rate_fee" | |
17 | 17 | ||
18 | 18 | let h = "Deposit_Height_Of_" | |
19 | 19 | ||
20 | 20 | let i = 100000000 | |
21 | 21 | ||
22 | 22 | let j = 1000000 | |
23 | 23 | ||
24 | 24 | let k = 10000000000 | |
25 | 25 | ||
26 | 26 | func l (m) = toString(valueOrErrorMessage(addressFromString(m), (("Can't parse " + m) + " as address"))) | |
27 | 27 | ||
28 | 28 | ||
29 | 29 | func n (o) = toBase58String(valueOrErrorMessage(value(assetInfo(fromBase58String(o))).id, (("Asset Id: " + o) + " is invalid."))) | |
30 | 30 | ||
31 | 31 | ||
32 | 32 | func p (o) = { | |
33 | 33 | let q = getInteger(this, o) | |
34 | 34 | if ($isInstanceOf(q, "Int")) | |
35 | 35 | then { | |
36 | 36 | let r = q | |
37 | 37 | r | |
38 | 38 | } | |
39 | 39 | else 0 | |
40 | 40 | } | |
41 | 41 | ||
42 | 42 | ||
43 | 43 | func s (o) = { | |
44 | 44 | let q = assetInfo(o) | |
45 | 45 | if ($isInstanceOf(q, "Asset")) | |
46 | 46 | then { | |
47 | 47 | let t = q | |
48 | 48 | t.name | |
49 | 49 | } | |
50 | 50 | else throw("Can't find asset") | |
51 | 51 | } | |
52 | 52 | ||
53 | 53 | ||
54 | 54 | let u = "activate" | |
55 | 55 | ||
56 | 56 | let v = "activate_pools" | |
57 | 57 | ||
58 | 58 | let w = "activate_swap" | |
59 | 59 | ||
60 | 60 | let x = "activate_liquidity" | |
61 | 61 | ||
62 | 62 | let y = "block_distribuition" | |
63 | 63 | ||
64 | 64 | let z = "Total_Tokens_Locked_" | |
65 | 65 | ||
66 | 66 | let A = "usdn_asset" | |
67 | 67 | ||
68 | 68 | let B = "usdt_asset" | |
69 | 69 | ||
70 | 70 | let C = "usdc_asset" | |
71 | 71 | ||
72 | 72 | let D = "ngnn_asset" | |
73 | 73 | ||
74 | 74 | let E = "eurn_asset" | |
75 | 75 | ||
76 | 76 | let F = "WAVES" | |
77 | 77 | ||
78 | 78 | let G = "accept_waves" | |
79 | 79 | ||
80 | 80 | let H = unit | |
81 | 81 | ||
82 | 82 | func I (J,K) = (((c + J) + "_") + K) | |
83 | 83 | ||
84 | 84 | ||
85 | 85 | func L (M) = { | |
86 | 86 | let q = getInteger(this, M) | |
87 | 87 | if ($isInstanceOf(q, "Int")) | |
88 | 88 | then { | |
89 | 89 | let r = q | |
90 | 90 | r | |
91 | 91 | } | |
92 | 92 | else false | |
93 | 93 | } | |
94 | 94 | ||
95 | 95 | ||
96 | 96 | func N (m,M) = { | |
97 | 97 | let q = getInteger(this, ((M + "_") + m)) | |
98 | 98 | if ($isInstanceOf(q, "Int")) | |
99 | 99 | then { | |
100 | 100 | let O = q | |
101 | 101 | O | |
102 | 102 | } | |
103 | 103 | else 0 | |
104 | 104 | } | |
105 | 105 | ||
106 | 106 | ||
107 | 107 | func P (m,M,t) = { | |
108 | 108 | let q = getInteger(this, ((((m + "_") + M) + "_") + t)) | |
109 | 109 | if ($isInstanceOf(q, "Int")) | |
110 | 110 | then { | |
111 | 111 | let Q = q | |
112 | 112 | Q | |
113 | 113 | } | |
114 | 114 | else 0 | |
115 | 115 | } | |
116 | 116 | ||
117 | 117 | ||
118 | 118 | func R (M,t) = { | |
119 | 119 | let q = getInteger(this, ((M + "_") + t)) | |
120 | 120 | if ($isInstanceOf(q, "Int")) | |
121 | 121 | then { | |
122 | 122 | let Q = q | |
123 | 123 | Q | |
124 | 124 | } | |
125 | 125 | else 1 | |
126 | 126 | } | |
127 | 127 | ||
128 | 128 | ||
129 | 129 | func S (T,U,m) = (((h + I(T, U)) + "_") + m) | |
130 | 130 | ||
131 | 131 | ||
132 | 132 | func V (m,M) = { | |
133 | 133 | let q = getInteger(this, ((("STAKE_LP_" + m) + "_") + M)) | |
134 | 134 | if ($isInstanceOf(q, "Int")) | |
135 | 135 | then { | |
136 | 136 | let Q = q | |
137 | 137 | Q | |
138 | 138 | } | |
139 | 139 | else 0 | |
140 | 140 | } | |
141 | 141 | ||
142 | 142 | ||
143 | 143 | func W () = { | |
144 | 144 | let q = getString(this, "admin") | |
145 | 145 | if ($isInstanceOf(q, "String")) | |
146 | 146 | then { | |
147 | 147 | let O = q | |
148 | 148 | Address(fromBase58String(O)) | |
149 | 149 | } | |
150 | 150 | else this | |
151 | 151 | } | |
152 | 152 | ||
153 | 153 | ||
154 | 154 | func X (Y,Z,aa) = if (if ((Y == H)) | |
155 | 155 | then (Z == "WAVES") | |
156 | 156 | else false) | |
157 | 157 | then if (aa) | |
158 | 158 | then true | |
159 | 159 | else throw("The smart contract does not currently support Waves.") | |
160 | 160 | else if ((Y == fromBase58String(Z))) | |
161 | 161 | then true | |
162 | 162 | else false | |
163 | 163 | ||
164 | 164 | ||
165 | 165 | func ab (M,ac) = { | |
166 | 166 | let q = getInteger(this, M) | |
167 | 167 | if ($isInstanceOf(q, "Int")) | |
168 | 168 | then { | |
169 | 169 | let Q = q | |
170 | 170 | Q | |
171 | 171 | } | |
172 | 172 | else if (ac) | |
173 | 173 | then (1 * i) | |
174 | 174 | else 1 | |
175 | 175 | } | |
176 | 176 | ||
177 | 177 | ||
178 | 178 | @Callable(r) | |
179 | 179 | func constructor (ad,ae,af,ag,ah,ai,aj,ak,al) = if (if ((r.caller == this)) | |
180 | 180 | then true | |
181 | 181 | else (r.caller == W())) | |
182 | 182 | then { | |
183 | 183 | let am = I(ae, af) | |
184 | 184 | let an = I(ae, ag) | |
185 | 185 | let ao = I(ae, ah) | |
186 | 186 | let ap = I(ae, F) | |
187 | 187 | let aq = I(ae, ad) | |
188 | 188 | let ar = I(ae, ai) | |
189 | 189 | let as = I(ag, af) | |
190 | 190 | let at = I(ag, ah) | |
191 | 191 | let au = I(ag, F) | |
192 | 192 | let av = I(ag, ad) | |
193 | 193 | let aw = I(ag, ai) | |
194 | 194 | let ax = I(af, ah) | |
195 | 195 | let ay = I(af, F) | |
196 | 196 | let az = I(af, ad) | |
197 | 197 | let aA = I(af, ai) | |
198 | 198 | let aB = I(ah, F) | |
199 | 199 | let aC = I(ah, ad) | |
200 | 200 | let aD = I(ah, ai) | |
201 | 201 | let aE = I(ad, F) | |
202 | 202 | let aF = I(ad, ai) | |
203 | 203 | let aG = I(ai, F) | |
204 | 204 | [StringEntry(a, ad), StringEntry(A, ae), StringEntry(C, ag), StringEntry(B, af), StringEntry(D, ah), BooleanEntry(G, al), IntegerEntry(g, aj), BooleanEntry(u, true), BooleanEntry(w, false), BooleanEntry(v, false), BooleanEntry(x, false), IntegerEntry(y, ak), IntegerEntry(am, 1), IntegerEntry(ap, 1), IntegerEntry(an, 1), IntegerEntry(ao, 1), IntegerEntry(aq, 1), IntegerEntry(as, 1), IntegerEntry(at, 1), IntegerEntry(au, 1), IntegerEntry(az, 1), IntegerEntry(ax, 1), IntegerEntry(ay, 1), IntegerEntry(aB, 1), IntegerEntry(aC, 1), IntegerEntry(aE, 1), IntegerEntry(aG, 1), IntegerEntry(aF, 1), IntegerEntry(aD, 1), IntegerEntry(aw, 1), IntegerEntry(ar, 1), IntegerEntry(aA, 1), StringEntry(E, ai)] | |
205 | 205 | } | |
206 | 206 | else throw("Only the Admin itself can invoke this function") | |
207 | 207 | ||
208 | 208 | ||
209 | 209 | ||
210 | 210 | @Callable(r) | |
211 | 211 | func activate (aH) = if (if ((r.caller == this)) | |
212 | 212 | then true | |
213 | 213 | else (r.caller == W())) | |
214 | 214 | then [BooleanEntry(u, aH)] | |
215 | 215 | else throw("Only the Admin itself can invoke this function") | |
216 | 216 | ||
217 | 217 | ||
218 | 218 | ||
219 | 219 | @Callable(r) | |
220 | 220 | func maintenance (aI,aJ,aK) = if (if ((r.caller == this)) | |
221 | 221 | then true | |
222 | 222 | else (r.caller == W())) | |
223 | 223 | then [BooleanEntry(v, aI), BooleanEntry(w, aJ), BooleanEntry(x, aK)] | |
224 | 224 | else throw("Only the Admin itself can invoke this function") | |
225 | 225 | ||
226 | 226 | ||
227 | 227 | ||
228 | 228 | @Callable(r) | |
229 | 229 | func percentualRateFeeSwapEdit (aL) = if (if ((r.caller == this)) | |
230 | 230 | then true | |
231 | 231 | else (r.caller == W())) | |
232 | 232 | then [IntegerEntry(g, aL)] | |
233 | 233 | else throw("Only the Admin itself can invoke this function") | |
234 | 234 | ||
235 | 235 | ||
236 | 236 | ||
237 | 237 | @Callable(r) | |
238 | 238 | func acceptWaves (aM) = if (if ((r.caller == this)) | |
239 | 239 | then true | |
240 | 240 | else (r.caller == W())) | |
241 | 241 | then [BooleanEntry(G, aM)] | |
242 | 242 | else throw("Only the Admin itself can invoke this function") | |
243 | 243 | ||
244 | 244 | ||
245 | 245 | ||
246 | 246 | @Callable(r) | |
247 | 247 | func blockDistribution (aN) = if (if ((r.caller == this)) | |
248 | 248 | then true | |
249 | 249 | else (r.caller == W())) | |
250 | 250 | then [IntegerEntry(y, aN)] | |
251 | 251 | else throw("Only the Admin itself can invoke this function") | |
252 | 252 | ||
253 | 253 | ||
254 | 254 | ||
255 | 255 | @Callable(r) | |
256 | 256 | func addAdmin (m) = if (if ((r.caller == this)) | |
257 | 257 | then true | |
258 | 258 | else (r.caller == W())) | |
259 | 259 | then [StringEntry("admin", m)] | |
260 | 260 | else throw("Only the Admin itself can invoke this function") | |
261 | 261 | ||
262 | 262 | ||
263 | 263 | ||
264 | 264 | @Callable(r) | |
265 | 265 | func lpAssetCreateForPairPool (J,K,aO,aP) = { | |
266 | 266 | let aQ = if ((J == F)) | |
267 | 267 | then F | |
268 | 268 | else s(fromBase58String(J)) | |
269 | 269 | let aR = if ((K == F)) | |
270 | 270 | then F | |
271 | 271 | else s(fromBase58String(K)) | |
272 | 272 | let aS = if (aP) | |
273 | 273 | then aO | |
274 | 274 | else ((aQ + "_") + aR) | |
275 | 275 | let M = L(I(J, K)) | |
276 | 276 | if (if ((r.caller == this)) | |
277 | 277 | then true | |
278 | 278 | else (r.caller == W())) | |
279 | 279 | then if ((M != false)) | |
280 | 280 | then { | |
281 | 281 | let aT = Issue(aS, ((("LP asset for pool liquidity in AxAi Swap pair " + J) + "_") + K), (1 * i), 8, true) | |
282 | 282 | let aU = calculateAssetId(aT) | |
283 | 283 | [StringEntry((b + I(J, K)), toBase58String(aU)), aT] | |
284 | 284 | } | |
285 | 285 | else throw("Invalid Pool Key. Try inverting the assets") | |
286 | 286 | else throw("Only the Admin itself can invoke this function") | |
287 | 287 | } | |
288 | 288 | ||
289 | 289 | ||
290 | 290 | ||
291 | 291 | @Callable(r) | |
292 | 292 | func deposit (aV,T,U) = { | |
293 | 293 | let aW = getBooleanValue(this, u) | |
294 | 294 | let aX = getBooleanValue(this, x) | |
295 | 295 | let aY = getStringValue(this, a) | |
296 | 296 | let aZ = if (aV) | |
297 | 297 | then getStringValue(this, (b + I(T, U))) | |
298 | 298 | else aY | |
299 | 299 | if (aW) | |
300 | 300 | then if (!(aX)) | |
301 | 301 | then if ((r.payments[0].assetId != fromBase58String(aZ))) | |
302 | 302 | then throw((("Invalid asset! Kindly Deposit Only " + aY) + " or valid asset lp")) | |
303 | 303 | else if (!(aV)) | |
304 | 304 | then { | |
305 | 305 | let ba = toBase58String(r.caller.bytes) | |
306 | 306 | let bb = { | |
307 | 307 | let q = getInteger(this, ba) | |
308 | 308 | if ($isInstanceOf(q, "Int")) | |
309 | 309 | then { | |
310 | 310 | let Q = q | |
311 | 311 | Q | |
312 | 312 | } | |
313 | 313 | else 0 | |
314 | 314 | } | |
315 | 315 | let bc = (bb + r.payments[0].amount) | |
316 | 316 | let bd = IntegerEntry(ba, bc) | |
317 | 317 | let be = IntegerEntry((h + ba), height) | |
318 | 318 | let bf = { | |
319 | 319 | let q = getInteger(this, "Total_Tokens_Locked:") | |
320 | 320 | if ($isInstanceOf(q, "Int")) | |
321 | 321 | then { | |
322 | 322 | let Q = q | |
323 | 323 | Q | |
324 | 324 | } | |
325 | 325 | else 0 | |
326 | 326 | } | |
327 | 327 | let bg = (bf + r.payments[0].amount) | |
328 | 328 | let bh = IntegerEntry("Total_Tokens_Locked:", bg) | |
329 | 329 | [bd, be, bh] | |
330 | 330 | } | |
331 | 331 | else { | |
332 | 332 | let bi = I(T, U) | |
333 | 333 | let M = L(bi) | |
334 | 334 | if ((M != false)) | |
335 | 335 | then { | |
336 | 336 | let ba = toBase58String(r.caller.bytes) | |
337 | 337 | let bb = { | |
338 | 338 | let q = getInteger(this, ((("STAKE_LP_" + ba) + "_") + bi)) | |
339 | 339 | if ($isInstanceOf(q, "Int")) | |
340 | 340 | then { | |
341 | 341 | let Q = q | |
342 | 342 | Q | |
343 | 343 | } | |
344 | 344 | else 0 | |
345 | 345 | } | |
346 | 346 | let bc = (bb + r.payments[0].amount) | |
347 | 347 | let bd = IntegerEntry(((("STAKE_LP_" + ba) + "_") + bi), bc) | |
348 | 348 | let be = IntegerEntry(((((h + "_") + ba) + "_") + bi), height) | |
349 | 349 | let bf = { | |
350 | 350 | let q = getInteger(this, ("Total_Tokens_LP_Locked_" + bi)) | |
351 | 351 | if ($isInstanceOf(q, "Int")) | |
352 | 352 | then { | |
353 | 353 | let Q = q | |
354 | 354 | Q | |
355 | 355 | } | |
356 | 356 | else 0 | |
357 | 357 | } | |
358 | 358 | let bg = (bf + r.payments[0].amount) | |
359 | 359 | let bh = IntegerEntry(("Total_Tokens_LP_Locked_" + bi), bg) | |
360 | 360 | [bd, be, bh] | |
361 | 361 | } | |
362 | 362 | else throw("Invalid Pool key.") | |
363 | 363 | } | |
364 | 364 | else throw("liquidity is currently under maintenance.") | |
365 | 365 | else throw("dApp is currently under maintenance.") | |
366 | 366 | } | |
367 | 367 | ||
368 | 368 | ||
369 | 369 | ||
370 | 370 | @Callable(r) | |
371 | 371 | func remove (aV,T,U,bj) = { | |
372 | 372 | let aW = getBooleanValue(this, u) | |
373 | 373 | let aX = getBooleanValue(this, x) | |
374 | 374 | let bk = r.payments[0] | |
375 | 375 | let aY = fromBase58String(getStringValue(this, a)) | |
376 | 376 | if (aW) | |
377 | 377 | then if (!(aX)) | |
378 | 378 | then { | |
379 | 379 | let ba = toBase58String(r.caller.bytes) | |
380 | 380 | let bb = { | |
381 | 381 | let q = if (aV) | |
382 | 382 | then getIntegerValue(this, ((("STAKE_LP_" + ba) + "_") + I(T, U))) | |
383 | 383 | else getIntegerValue(this, ba) | |
384 | 384 | if ($isInstanceOf(q, "Int")) | |
385 | 385 | then { | |
386 | 386 | let Q = q | |
387 | 387 | Q | |
388 | 388 | } | |
389 | 389 | else 0 | |
390 | 390 | } | |
391 | 391 | let bl = if (aV) | |
392 | 392 | then ((((h + "_") + ba) + "_") + I(T, U)) | |
393 | 393 | else (h + ba) | |
394 | 394 | let bf = if (aV) | |
395 | 395 | then getIntegerValue(this, ("Total_Tokens_LP_Locked_" + I(T, U))) | |
396 | 396 | else getIntegerValue(this, "Total_Tokens_Locked:") | |
397 | 397 | let bg = (bf - bj) | |
398 | 398 | let bm = (height - getIntegerValue(this, bl)) | |
399 | 399 | let bn = getIntegerValue(this, y) | |
400 | 400 | let bo = ((bm * bn) * i) | |
401 | 401 | let bp = (bo / (bf / bj)) | |
402 | 402 | if ((0 > bj)) | |
403 | 403 | then throw(if (aV) | |
404 | 404 | then (((("Can't withdraw negative " + T) + "/") + U) + " amount") | |
405 | 405 | else "Can't withdraw negative AxAi amount") | |
406 | 406 | else { | |
407 | 407 | let bc = (bb - bj) | |
408 | 408 | if ((0 > bc)) | |
409 | 409 | then throw(if (aV) | |
410 | 410 | then (((("Not enough Asset Lp " + T) + "/") + U) + " balance") | |
411 | 411 | else "Not enough AxAi balance") | |
412 | 412 | else [IntegerEntry(if (aV) | |
413 | 413 | then ((("STAKE_LP_" + ba) + "_") + I(T, U)) | |
414 | 414 | else ba, bc), IntegerEntry(if (aV) | |
415 | 415 | then ("Total_Tokens_LP_Locked_" + I(T, U)) | |
416 | 416 | else "Total_Tokens_Locked:", bg), ScriptTransfer(r.caller, bj, if (aV) | |
417 | 417 | then fromBase58String(getStringValue(this, (b + I(T, U)))) | |
418 | 418 | else aY), ScriptTransfer(r.caller, bp, aY)] | |
419 | 419 | } | |
420 | 420 | } | |
421 | 421 | else throw("liquidity is currently under maintenance.") | |
422 | 422 | else throw("dApp is currently under maintenance.") | |
423 | 423 | } | |
424 | 424 | ||
425 | 425 | ||
426 | 426 | ||
427 | 427 | @Callable(r) | |
428 | 428 | func addLiquidity (T,U) = { | |
429 | 429 | let aW = getBooleanValue(this, u) | |
430 | 430 | let bq = getBooleanValue(this, v) | |
431 | 431 | let aa = getBooleanValue(this, G) | |
432 | 432 | let M = L(I(T, U)) | |
433 | 433 | let J = r.payments[0].assetId | |
434 | 434 | let K = r.payments[1].assetId | |
435 | 435 | let br = fromBase58String(getStringValue(this, A)) | |
436 | 436 | let bs = fromBase58String(getStringValue(this, C)) | |
437 | 437 | let bt = fromBase58String(getStringValue(this, B)) | |
438 | 438 | let bu = fromBase58String(getStringValue(this, D)) | |
439 | 439 | let bv = fromBase58String(getStringValue(this, E)) | |
440 | 440 | let aY = fromBase58String(getStringValue(this, a)) | |
441 | 441 | let aZ = getStringValue(this, (b + I(T, U))) | |
442 | 442 | let bw = if ((2 > ab(((I(T, U) + "_") + T), false))) | |
443 | 443 | then r.payments[0].amount | |
444 | 444 | else ab(((I(T, U) + "_") + T), false) | |
445 | 445 | let bx = if ((2 > ab(((I(T, U) + "_") + T), false))) | |
446 | 446 | then r.payments[1].amount | |
447 | 447 | else ab(((I(T, U) + "_") + U), false) | |
448 | 448 | let by = ab(aZ, true) | |
449 | 449 | let bz = ((bw + bx) / by) | |
450 | 450 | let bA = (r.payments[0].amount * (bx / bw)) | |
451 | 451 | let bB = if ((r.payments[1].amount == bA)) | |
452 | 452 | then true | |
453 | 453 | else false | |
454 | 454 | if (aW) | |
455 | 455 | then if (!(bq)) | |
456 | 456 | then if (if (if (!((J == K))) | |
457 | 457 | then X(J, T, aa) | |
458 | 458 | else false) | |
459 | 459 | then X(K, U, aa) | |
460 | 460 | else false) | |
461 | 461 | then if (if (if (if (if (if (if (if ((J == br)) | |
462 | 462 | then true | |
463 | 463 | else (J == bs)) | |
464 | 464 | then true | |
465 | 465 | else (J == bt)) | |
466 | 466 | then true | |
467 | 467 | else (J == bu)) | |
468 | 468 | then true | |
469 | 469 | else (J == aY)) | |
470 | 470 | then true | |
471 | 471 | else (J == H)) | |
472 | 472 | then true | |
473 | 473 | else (J == bv)) | |
474 | 474 | then if (if (if (if (if (if ((K == br)) | |
475 | 475 | then true | |
476 | 476 | else (K == bs)) | |
477 | 477 | then true | |
478 | 478 | else (K == bt)) | |
479 | 479 | then true | |
480 | 480 | else (K == bu)) | |
481 | 481 | then true | |
482 | 482 | else (K == aY)) | |
483 | 483 | then true | |
484 | 484 | else (K == H)) | |
485 | 485 | then true | |
486 | 486 | else (K == bv) | |
487 | 487 | else false) | |
488 | 488 | then if ((M != false)) | |
489 | 489 | then if (bB) | |
490 | 490 | then { | |
491 | 491 | let ba = toBase58String(r.caller.bytes) | |
492 | 492 | let bb = N(ba, I(T, U)) | |
493 | 493 | let bC = P(ba, I(T, U), T) | |
494 | 494 | let bD = P(ba, I(T, U), U) | |
495 | 495 | let bE = R(I(T, U), T) | |
496 | 496 | let bF = R(I(T, U), U) | |
497 | 497 | let bG = if ((bw == r.payments[0].amount)) | |
498 | 498 | then (1 * i) | |
499 | 499 | else ((r.payments[0].amount + r.payments[1].amount) / ((bw + bx) / by)) | |
500 | 500 | let bH = (bC + r.payments[0].amount) | |
501 | 501 | let bI = (bD + r.payments[1].amount) | |
502 | 502 | let bJ = (bb + bG) | |
503 | 503 | let bK = (bE + r.payments[0].amount) | |
504 | 504 | let bL = (bF + r.payments[1].amount) | |
505 | 505 | [Reissue(fromBase58String(aZ), bG, true), ScriptTransfer(Address(r.caller.bytes), bG, fromBase58String(aZ)), IntegerEntry(S(T, U, ba), height), IntegerEntry(((((ba + "_") + I(T, U)) + "_") + T), bH), IntegerEntry(((((ba + "_") + I(T, U)) + "_") + U), bI), IntegerEntry(((I(T, U) + "_") + ba), bJ), IntegerEntry(((I(T, U) + "_") + T), bK), IntegerEntry(((I(T, U) + "_") + U), bL), IntegerEntry(T, (p(T) + r.payments[0].amount)), IntegerEntry(U, (p(U) + r.payments[1].amount)), IntegerEntry(aZ, (p(aZ) + bG))] | |
506 | 506 | } | |
507 | 507 | else throw(((((("Payment of invalid 1/1 amounts to the Pool. Try Asset2: {value:" + toString((r.payments[0].amount * (bx / bw)))) + "} Received: ") + toString(r.payments[1].amount)) + " Validate: ") + toString(bB))) | |
508 | 508 | else throw("Invalid Pool Key.") | |
509 | 509 | else throw("Invalid Asset1 or Asset2!") | |
510 | 510 | else throw("Asset1 cannot be equal to Asset2") | |
511 | 511 | else throw("liquidity is currently under maintenance.") | |
512 | 512 | else throw("dApp is currently under maintenance.") | |
513 | 513 | } | |
514 | 514 | ||
515 | 515 | ||
516 | 516 | ||
517 | 517 | @Callable(r) | |
518 | 518 | func removeLiquidity (T,U,bM) = { | |
519 | 519 | let ba = toBase58String(r.caller.bytes) | |
520 | 520 | let aW = getBooleanValue(this, u) | |
521 | 521 | let bq = getBooleanValue(this, v) | |
522 | 522 | let aa = getBooleanValue(this, G) | |
523 | 523 | let bi = I(T, U) | |
524 | 524 | let M = L(bi) | |
525 | 525 | let J = if ((T == F)) | |
526 | 526 | then if (aa) | |
527 | 527 | then H | |
528 | 528 | else throw("The smart contract does not currently support Waves.") | |
529 | 529 | else fromBase58String(T) | |
530 | 530 | let K = if ((U == F)) | |
531 | 531 | then if (aa) | |
532 | 532 | then H | |
533 | 533 | else throw("The smart contract does not currently support Waves.") | |
534 | 534 | else fromBase58String(U) | |
535 | 535 | let br = fromBase58String(getStringValue(this, A)) | |
536 | 536 | let bs = fromBase58String(getStringValue(this, C)) | |
537 | 537 | let bt = fromBase58String(getStringValue(this, B)) | |
538 | 538 | let bu = fromBase58String(getStringValue(this, D)) | |
539 | 539 | let aY = fromBase58String(getStringValue(this, a)) | |
540 | 540 | let bv = fromBase58String(getStringValue(this, E)) | |
541 | 541 | let aZ = getStringValue(this, (b + I(T, U))) | |
542 | 542 | let bb = N(ba, I(T, U)) | |
543 | 543 | let bN = V(ba, bi) | |
544 | 544 | let bO = ab(aZ, true) | |
545 | 545 | let bw = ab(((I(T, U) + "_") + T), false) | |
546 | 546 | let bx = ab(((I(T, U) + "_") + U), false) | |
547 | 547 | if (aW) | |
548 | 548 | then if (!(bq)) | |
549 | 549 | then if (!((T == U))) | |
550 | 550 | then if (if (if (if (if (if (if (if ((J == br)) | |
551 | 551 | then true | |
552 | 552 | else (J == bs)) | |
553 | 553 | then true | |
554 | 554 | else (J == bt)) | |
555 | 555 | then true | |
556 | 556 | else (J == bu)) | |
557 | 557 | then true | |
558 | 558 | else (J == aY)) | |
559 | 559 | then true | |
560 | 560 | else (J == H)) | |
561 | 561 | then true | |
562 | 562 | else (J == bv)) | |
563 | 563 | then if (if (if (if (if (if ((K == br)) | |
564 | 564 | then true | |
565 | 565 | else (K == bs)) | |
566 | 566 | then true | |
567 | 567 | else (K == bt)) | |
568 | 568 | then true | |
569 | 569 | else (K == bu)) | |
570 | 570 | then true | |
571 | 571 | else (K == aY)) | |
572 | 572 | then true | |
573 | 573 | else (K == H)) | |
574 | 574 | then true | |
575 | 575 | else (K == bv) | |
576 | 576 | else false) | |
577 | 577 | then if ((M != false)) | |
578 | 578 | then if (!((bb == 0))) | |
579 | 579 | then if (((bb - bN) >= bM)) | |
580 | 580 | then if (if ((bw > 2)) | |
581 | 581 | then true | |
582 | 582 | else (bx > 2)) | |
583 | 583 | then { | |
584 | 584 | let bP = toInt(((fraction(toBigInt(r.payments[0].amount), toBigInt(i), toBigInt(bO)) * toBigInt(bw)) / toBigInt(i))) | |
585 | 585 | let bQ = toInt(((fraction(toBigInt(r.payments[0].amount), toBigInt(i), toBigInt(bO)) * toBigInt(bx)) / toBigInt(i))) | |
586 | 586 | let bE = R(I(T, U), T) | |
587 | 587 | let bF = R(I(T, U), U) | |
588 | 588 | let bC = P(ba, I(T, U), T) | |
589 | 589 | let bD = P(ba, I(T, U), U) | |
590 | 590 | let bH = (bC - bP) | |
591 | 591 | let bI = (bD - bQ) | |
592 | 592 | let bJ = (bb - bM) | |
593 | 593 | let bK = (bE - bP) | |
594 | 594 | let bL = (bF - bQ) | |
595 | 595 | if ((r.payments[0].assetId == fromBase58String(aZ))) | |
596 | 596 | then if ((bM == r.payments[0].amount)) | |
597 | 597 | then [Burn(fromBase58String(aZ), bM), ScriptTransfer(Address(r.caller.bytes), bP, J), ScriptTransfer(Address(r.caller.bytes), bQ, K), IntegerEntry(S(T, U, ba), height), IntegerEntry(((((ba + "_") + I(T, U)) + "_") + T), bH), IntegerEntry(((((ba + "_") + I(T, U)) + "_") + U), bI), IntegerEntry(((I(T, U) + "_") + ba), bJ), IntegerEntry(((I(T, U) + "_") + T), bK), IntegerEntry(((I(T, U) + "_") + U), bL), IntegerEntry(T, (p(T) - bP)), IntegerEntry(U, (p(U) - bQ)), IntegerEntry(aZ, (p(aZ) - bM))] | |
598 | 598 | else throw(("Withdrawal amount lower than asset lp amount. Your Lp amount available: " + toString(bM))) | |
599 | 599 | else throw("Requires an lp asset as payment to remove locked amounts.") | |
600 | 600 | } | |
601 | 601 | else throw("Pool has no liquidity.") | |
602 | 602 | else throw(("Amount to be withdrawn greater than the amount available for withdrawal. Available: " + toString(bM))) | |
603 | 603 | else throw("You have no locked values in the pool") | |
604 | 604 | else throw("Invalid Pool Key.") | |
605 | 605 | else throw("Invalid Asset1 or Asset2!") | |
606 | 606 | else throw("Asset1 cannot be equal to Asset2") | |
607 | 607 | else throw("liquidity is currently under maintenance.") | |
608 | 608 | else throw("dApp is currently under maintenance.") | |
609 | 609 | } | |
610 | 610 | ||
611 | 611 | ||
612 | 612 | ||
613 | 613 | @Callable(r) | |
614 | 614 | func swap (T,U) = { | |
615 | 615 | let ba = toBase58String(r.caller.bytes) | |
616 | 616 | let aa = getBooleanValue(this, G) | |
617 | 617 | let aW = getBooleanValue(this, u) | |
618 | 618 | let bR = getBooleanValue(this, w) | |
619 | 619 | let bi = I(T, U) | |
620 | 620 | let M = L(bi) | |
621 | 621 | let J = r.payments[0].assetId | |
622 | 622 | let br = fromBase58String(getStringValue(this, A)) | |
623 | 623 | let bs = fromBase58String(getStringValue(this, C)) | |
624 | 624 | let bt = fromBase58String(getStringValue(this, B)) | |
625 | 625 | let bu = fromBase58String(getStringValue(this, D)) | |
626 | 626 | let aY = fromBase58String(getStringValue(this, a)) | |
627 | 627 | let bv = fromBase58String(getStringValue(this, E)) | |
628 | 628 | let aZ = getStringValue(this, (b + I(T, U))) | |
629 | 629 | let bS = ab(((I(T, U) + "_") + T), false) | |
630 | 630 | let bT = ab(((I(T, U) + "_") + U), false) | |
631 | 631 | let bU = getIntegerValue(this, g) | |
632 | - | let bV = toInt(((toBigInt(r.payments[0].amount) * fraction(toBigInt(i), toBigInt(bT), toBigInt(bS))) / toBigInt(i))) | |
633 | - | let bW = toInt(((toBigInt(r.payments[0].amount) * fraction(toBigInt(i), toBigInt(bS), toBigInt(bT))) / toBigInt(i))) | |
634 | - | let bX = if (if ((J == unit)) | |
632 | + | let bV = (toBigInt(r.payments[0].amount) * fraction(toBigInt(i), toBigInt(bT), toBigInt(bS))) | |
633 | + | let bW = toInt(((bV - ((bV / toBigInt(bU)) * toBigInt(100))) / toBigInt(i))) | |
634 | + | let bX = (toBigInt(r.payments[0].amount) * fraction(toBigInt(i), toBigInt(bS), toBigInt(bT))) | |
635 | + | let bY = toInt(((bX - ((bX / toBigInt(bU)) * toBigInt(100))) / toBigInt(i))) | |
636 | + | let bZ = if (if ((J == unit)) | |
635 | 637 | then (T == F) | |
636 | 638 | else false) | |
637 | - | then | |
639 | + | then bW | |
638 | 640 | else if ((J == fromBase58String(T))) | |
639 | - | then | |
640 | - | else | |
641 | - | let | |
641 | + | then bW | |
642 | + | else bY | |
643 | + | let ca = if ((J == unit)) | |
642 | 644 | then F | |
643 | 645 | else if ((J == fromBase58String(T))) | |
644 | 646 | then T | |
645 | 647 | else U | |
646 | - | let | |
648 | + | let cb = if ((J == unit)) | |
647 | 649 | then F | |
648 | 650 | else if ((J == fromBase58String(T))) | |
649 | 651 | then U | |
650 | 652 | else T | |
651 | - | let | |
653 | + | let cc = if ((J == unit)) | |
652 | 654 | then H | |
653 | 655 | else if ((J == fromBase58String(T))) | |
654 | 656 | then fromBase58String(U) | |
655 | 657 | else fromBase58String(T) | |
656 | 658 | if (aW) | |
657 | 659 | then if (!(bR)) | |
658 | 660 | then if (if (!((T == U))) | |
659 | 661 | then if (X(J, T, aa)) | |
660 | 662 | then true | |
661 | 663 | else X(J, U, aa) | |
662 | 664 | else false) | |
663 | 665 | then if (if (if (if (if (if (if ((J == br)) | |
664 | 666 | then true | |
665 | 667 | else (J == bs)) | |
666 | 668 | then true | |
667 | 669 | else (J == bt)) | |
668 | 670 | then true | |
669 | 671 | else (J == bu)) | |
670 | 672 | then true | |
671 | 673 | else (J == aY)) | |
672 | 674 | then true | |
673 | 675 | else (J == bv)) | |
674 | 676 | then true | |
675 | 677 | else (J == H)) | |
676 | 678 | then if ((M != false)) | |
677 | 679 | then if ((r.payments[1].assetId == aY)) | |
678 | 680 | then if ((r.payments[1].amount == 300000)) | |
679 | 681 | then if (if ((bS > 2)) | |
680 | 682 | then true | |
681 | 683 | else (bT > 2)) | |
682 | - | then [ScriptTransfer(Address(r.caller.bytes), | |
684 | + | then [ScriptTransfer(Address(r.caller.bytes), bZ, cc), IntegerEntry(cb, (p(cb) - bZ)), IntegerEntry(((I(T, U) + "_") + cb), (R(I(T, U), cb) - bZ)), IntegerEntry(((I(T, U) + "_") + ca), (R(I(T, U), ca) + r.payments[0].amount)), IntegerEntry(ca, (p(ca) + r.payments[0].amount)), IntegerEntry(toBase58String(aY), (p(toBase58String(aY)) + r.payments[1].amount))] | |
683 | 685 | else throw("Pool has no liquidity.") | |
684 | 686 | else throw("Swap denied! 0.003 AxAi is required for the swap fee.") | |
685 | 687 | else throw("Invalid rate asset") | |
686 | 688 | else throw("Invalid Swap Key.") | |
687 | 689 | else throw("Invalid Asset1 or Asset2!") | |
688 | 690 | else throw("Asset1 cannot be equal to Asset2") | |
689 | 691 | else throw("Swap is currently under maintenance.") | |
690 | 692 | else throw("dApp is currently under maintenance.") | |
691 | 693 | } | |
692 | 694 | ||
693 | 695 | ||
694 | - | @Verifier( | |
695 | - | func | |
696 | - | let q = | |
696 | + | @Verifier(cd) | |
697 | + | func ce () = { | |
698 | + | let q = cd | |
697 | 699 | if ($isInstanceOf(q, "Order")) | |
698 | 700 | then { | |
699 | - | let | |
701 | + | let cf = q | |
700 | 702 | true | |
701 | 703 | } | |
702 | 704 | else if ($isInstanceOf(q, "ExchangeTransaction")) | |
703 | 705 | then { | |
704 | - | let | |
706 | + | let cg = q | |
705 | 707 | true | |
706 | 708 | } | |
707 | - | else sigVerify( | |
709 | + | else sigVerify(cd.bodyBytes, cd.proofs[0], cd.senderPublicKey) | |
708 | 710 | } | |
709 | 711 |
github/deemru/w8io/169f3d6 77.37 ms ◑