tx · E51beKMKJg6Wqhz7d2MpvHZmePW5epPNJJdhyujREhVS 3N7cP8YCeBzv7e7Z1Gm8J7r371K5vZUrtk7: -0.02500000 Waves 2022.07.06 09:08 [2127446] smart account 3N7cP8YCeBzv7e7Z1Gm8J7r371K5vZUrtk7 > SELF 0.00000000 Waves
{ "type": 13, "id": "E51beKMKJg6Wqhz7d2MpvHZmePW5epPNJJdhyujREhVS", "fee": 2500000, "feeAssetId": null, "timestamp": 1657087749025, "version": 2, "chainId": 84, "sender": "3N7cP8YCeBzv7e7Z1Gm8J7r371K5vZUrtk7", "senderPublicKey": "2nPT1a7eSYaAtLcmXZXFzeztzzRFpmy1YRiqNo4Uh6Sg", "proofs": [ "2SEZLRdG7ZbKiATXWqaWTroLhdsvuNUUuyXGjmLJfNh2pTWk7sfvtnbCpVJgi9D1Z99667AfgD5pxdt6UsSnEqFf" ], "script": "base64:AAIFAAAAAAAAAB4IAhIDCgEEEgUKAwgBARIAEgASAwoBARIFCgMEAQgAAABRAAAAAAd2ZXJzaW9uAgAAAAUyLjAuMAAAAAAIa1ZlcnNpb24CAAAAB3ZlcnNpb24AAAAAB2tBY3RpdmUCAAAABmFjdGl2ZQAAAAAHa0Fzc2V0cwIAAAAJYXNzZXRfaWRzAAAAAA1rQXNzZXRCYWxhbmNlAgAAAA5fYXNzZXRfYmFsYW5jZQAAAAANa1NoYXJlQXNzZXRJZAIAAAAOc2hhcmVfYXNzZXRfaWQAAAAAEWtTaGFyZUFzc2V0U3VwcGx5AgAAABJzaGFyZV9hc3NldF9zdXBwbHkAAAAABGtGZWUCAAAACmNvbW1pc3Npb24AAAAACmtJbnZhcmlhbnQCAAAACWludmFyaWFudAAAAAAGa0NhdXNlAgAAAA5zaHV0ZG93bl9jYXVzZQAAAAAMa1VTRE5BZGRyZXNzAgAAABhzdGFraW5nX3VzZG5uc2J0X2FkZHJlc3MAAAAADGtFVVJOQWRkcmVzcwIAAAAUc3Rha2luZ19ldXJuX2FkZHJlc3MAAAAACmt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AnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAABFhZG1pblB1YktleUludm9rZQMDBQAAABNjYWxsVGFrZUludG9BY2NvdW50BQAAAA1zaWduZWRCeUFkbWluBwYFAAAAE211bHRpU2lnbmVkQnlBZG1pbnMFAAAAE211bHRpU2lnbmVkQnlBZG1pbnMbWd5z", "height": 2127446, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Ba5Q5YQKWYGxKr359parmbYphEGFLaBsoHbB5F7GmUCy Next: none Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | - | let a = | |
4 | + | let a = "2.0.0" | |
5 | 5 | ||
6 | - | func b (c) = { | |
7 | - | func d (e,f) = { | |
8 | - | let g = e | |
9 | - | let h = g._1 | |
10 | - | let i = g._2 | |
11 | - | $Tuple2((h :+ f.amount), (i :+ f.assetId)) | |
12 | - | } | |
6 | + | let b = "version" | |
13 | 7 | ||
14 | - | let j = c | |
15 | - | let k = size(j) | |
16 | - | let l = $Tuple2(nil, nil) | |
17 | - | func m (n,o) = if ((o >= k)) | |
18 | - | then n | |
19 | - | else d(n, j[o]) | |
8 | + | let c = "active" | |
20 | 9 | ||
21 | - | func p (n,o) = if ((o >= k)) | |
22 | - | then n | |
23 | - | else throw("List size exceeds 10") | |
10 | + | let d = "asset_ids" | |
24 | 11 | ||
25 | - | p(m(m(m(m(m(m(m(m(m(m(l, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
12 | + | let e = "_asset_balance" | |
13 | + | ||
14 | + | let f = "share_asset_id" | |
15 | + | ||
16 | + | let g = "share_asset_supply" | |
17 | + | ||
18 | + | let h = "commission" | |
19 | + | ||
20 | + | let i = "invariant" | |
21 | + | ||
22 | + | let j = "shutdown_cause" | |
23 | + | ||
24 | + | let k = "staking_usdnnsbt_address" | |
25 | + | ||
26 | + | let l = "staking_eurn_address" | |
27 | + | ||
28 | + | let m = "discounts" | |
29 | + | ||
30 | + | let n = "discount_values" | |
31 | + | ||
32 | + | let o = "_SWOP_amount" | |
33 | + | ||
34 | + | let p = "first_harvest" | |
35 | + | ||
36 | + | let q = "first_harvest_height" | |
37 | + | ||
38 | + | let r = "share_limit_on_first_harvest" | |
39 | + | ||
40 | + | let s = "base_period" | |
41 | + | ||
42 | + | let t = "period_length" | |
43 | + | ||
44 | + | let u = "start_height" | |
45 | + | ||
46 | + | let v = "admin_pub_1" | |
47 | + | ||
48 | + | let w = "admin_pub_2" | |
49 | + | ||
50 | + | let x = "admin_pub_3" | |
51 | + | ||
52 | + | let y = "admin_invoke_pub" | |
53 | + | ||
54 | + | let z = "money_box_address" | |
55 | + | ||
56 | + | let A = "governance_address" | |
57 | + | ||
58 | + | let B = "voting_address" | |
59 | + | ||
60 | + | let C = Address(base58'3PEbqViERCoKnmcSULh6n2aiMvUdSQdCsom') | |
61 | + | ||
62 | + | func D (E) = { | |
63 | + | let F = getString(C, E) | |
64 | + | if ($isInstanceOf(F, "String")) | |
65 | + | then { | |
66 | + | let G = F | |
67 | + | fromBase58String(G) | |
68 | + | } | |
69 | + | else { | |
70 | + | let H = F | |
71 | + | throw((E + "is empty")) | |
72 | + | } | |
26 | 73 | } | |
27 | 74 | ||
28 | 75 | ||
29 | - | func q (r) = { | |
30 | - | func s (t,u) = { | |
31 | - | let v = u | |
32 | - | if (if ($isInstanceOf(v, "Issue")) | |
33 | - | then true | |
34 | - | else if ($isInstanceOf(v, "Burn")) | |
35 | - | then true | |
36 | - | else if ($isInstanceOf(v, "Reissue")) | |
37 | - | then true | |
38 | - | else if ($isInstanceOf(v, "ScriptTransfer")) | |
39 | - | then true | |
40 | - | else if ($isInstanceOf(v, "BinaryEntry")) | |
41 | - | then true | |
42 | - | else if ($isInstanceOf(v, "BooleanEntry")) | |
43 | - | then true | |
44 | - | else if ($isInstanceOf(v, "StringEntry")) | |
45 | - | then true | |
46 | - | else $isInstanceOf(v, "IntegerEntry")) | |
76 | + | let I = D(v) | |
77 | + | ||
78 | + | let J = D(w) | |
79 | + | ||
80 | + | let K = D(x) | |
81 | + | ||
82 | + | let L = D(y) | |
83 | + | ||
84 | + | let M = Address(D(z)) | |
85 | + | ||
86 | + | let N = Address(D(A)) | |
87 | + | ||
88 | + | let O = Address(D(k)) | |
89 | + | ||
90 | + | let P = Address(D(B)) | |
91 | + | ||
92 | + | let Q = base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p' | |
93 | + | ||
94 | + | let R = [toBase58String(Q)] | |
95 | + | ||
96 | + | let S = valueOrErrorMessage(getInteger(P, s), "Empty kBasePeriod") | |
97 | + | ||
98 | + | let T = valueOrErrorMessage(getInteger(P, u), "Empty kStartHeight") | |
99 | + | ||
100 | + | let U = valueOrErrorMessage(getInteger(P, t), "Empty kPeriodLength") | |
101 | + | ||
102 | + | let V = ((S + ((height - T) / U)) + 3) | |
103 | + | ||
104 | + | let W = getBooleanValue(this, c) | |
105 | + | ||
106 | + | let X = getIntegerValue(this, g) | |
107 | + | ||
108 | + | let Y = fromBase58String(getStringValue(this, f)) | |
109 | + | ||
110 | + | let Z = getString(this, d) | |
111 | + | ||
112 | + | let aa = getIntegerValue(this, h) | |
113 | + | ||
114 | + | let ab = fraction(aa, 40, 100) | |
115 | + | ||
116 | + | let ac = 1000000 | |
117 | + | ||
118 | + | let ad = 1000 | |
119 | + | ||
120 | + | let ae = 100000000 | |
121 | + | ||
122 | + | let af = 10000000000000000 | |
123 | + | ||
124 | + | let ag = 1000 | |
125 | + | ||
126 | + | let ah = 8 | |
127 | + | ||
128 | + | let ai = 50 | |
129 | + | ||
130 | + | let aj = 100 | |
131 | + | ||
132 | + | let ak = 90000000 | |
133 | + | ||
134 | + | let al = 110000000 | |
135 | + | ||
136 | + | let am = 50 | |
137 | + | ||
138 | + | let an = 2 | |
139 | + | ||
140 | + | let ao = 4600000000000000 | |
141 | + | ||
142 | + | func ap (aq) = { | |
143 | + | let F = aq | |
144 | + | if ($isInstanceOf(F, "ByteVector")) | |
145 | + | then { | |
146 | + | let ar = F | |
147 | + | assetBalance(this, ar) | |
148 | + | } | |
149 | + | else if ($isInstanceOf(F, "Unit")) | |
47 | 150 | then { | |
48 | - | let | |
49 | - | ( | |
151 | + | let as = F | |
152 | + | wavesBalance(this).available | |
50 | 153 | } | |
51 | - | else t | |
52 | - | } | |
53 | - | ||
54 | - | let j = r | |
55 | - | let k = size(j) | |
56 | - | let l = nil | |
57 | - | func m (n,o) = if ((o >= k)) | |
58 | - | then n | |
59 | - | else s(n, j[o]) | |
60 | - | ||
61 | - | func p (n,o) = if ((o >= k)) | |
62 | - | then n | |
63 | - | else throw("List size exceeds 10") | |
64 | - | ||
65 | - | p(m(m(m(m(m(m(m(m(m(m(l, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
154 | + | else throw("Match error") | |
66 | 155 | } | |
67 | 156 | ||
68 | 157 | ||
69 | - | @Callable(x) | |
70 | - | func call (y) = { | |
71 | - | let z = b(x.payments) | |
72 | - | let h = z._1 | |
73 | - | let i = z._2 | |
74 | - | let A = { | |
75 | - | let B = invoke(a, y, [x.caller.bytes, h, i], nil) | |
76 | - | if ($isInstanceOf(B, "List[Any]")) | |
77 | - | then B | |
78 | - | else throw("Couldn't cast Any to List[Any]") | |
158 | + | func at (aq) = { | |
159 | + | let au = { | |
160 | + | let F = aq | |
161 | + | if ($isInstanceOf(F, "ByteVector")) | |
162 | + | then { | |
163 | + | let av = F | |
164 | + | if ((av == Q)) | |
165 | + | then getInteger(O, ((("rpd_balance_" + toBase58String(av)) + "_") + toString(this))) | |
166 | + | else 0 | |
167 | + | } | |
168 | + | else if ($isInstanceOf(F, "Unit")) | |
169 | + | then 0 | |
170 | + | else throw("Match error") | |
79 | 171 | } | |
80 | - | if ((A == A)) | |
81 | - | then q(A) | |
82 | - | else throw("Strict value is not equal to itself.") | |
172 | + | let F = au | |
173 | + | if ($isInstanceOf(F, "Int")) | |
174 | + | then { | |
175 | + | let aw = F | |
176 | + | aw | |
177 | + | } | |
178 | + | else 0 | |
83 | 179 | } | |
84 | 180 | ||
85 | 181 | ||
86 | - | @Verifier(C) | |
87 | - | func D () = sigVerify(C.bodyBytes, C.proofs[0], C.senderPublicKey) | |
182 | + | func ax (ay,az) = ((fraction(af, ay, az) + fraction(af, az, ay)) / 2) | |
183 | + | ||
184 | + | ||
185 | + | func aA (ay,az) = { | |
186 | + | let aB = ax(ay, az) | |
187 | + | (fraction((ay + az), af, pow(aB, ah, am, an, ah, CEILING)) + (2 * fraction(toInt(pow(fraction(toBigInt(ay), toBigInt(az), toBigInt(ae)), 0, toBigInt(5), 1, (ah / 2), DOWN)), pow((aB - ao), ah, am, an, ah, DOWN), ae))) | |
188 | + | } | |
189 | + | ||
190 | + | ||
191 | + | func aC (aD,aE,aF,aG,aH,aI) = { | |
192 | + | let aJ = (af - ((af * 1) / 10000000)) | |
193 | + | let aK = (aG - aH) | |
194 | + | func aL (aM,aN) = if ((aM._1 == -1)) | |
195 | + | then { | |
196 | + | let aO = (aG - (((aN * aK) / 3) / ad)) | |
197 | + | let aP = aA(aD, (aE - aO)) | |
198 | + | if ((aP > aF)) | |
199 | + | then $Tuple2(aO, aP) | |
200 | + | else $Tuple2(-1, 0) | |
201 | + | } | |
202 | + | else aM | |
203 | + | ||
204 | + | let aQ = aL($Tuple2(-1, 0), 3000) | |
205 | + | if ((0 > aQ._1)) | |
206 | + | then throw("Price is worse than minReceived") | |
207 | + | else { | |
208 | + | let aR = aA(aD, (aE - aG)) | |
209 | + | if ((aF > aR)) | |
210 | + | then if ((aJ >= fraction(af, aF, aR))) | |
211 | + | then throw("The requested price is too not profitable for user") | |
212 | + | else { | |
213 | + | let aS = { | |
214 | + | let aT = [25, 200, 500] | |
215 | + | let aU = size(aT) | |
216 | + | let aV = $Tuple2(-1, 0) | |
217 | + | func aW (aX,aY) = if ((aY >= aU)) | |
218 | + | then aX | |
219 | + | else aL(aX, aT[aY]) | |
220 | + | ||
221 | + | func aZ (aX,aY) = if ((aY >= aU)) | |
222 | + | then aX | |
223 | + | else throw("List size exceeds 3") | |
224 | + | ||
225 | + | aZ(aW(aW(aW(aV, 0), 1), 2), 3) | |
226 | + | } | |
227 | + | if ((0 > aS._1)) | |
228 | + | then aQ._1 | |
229 | + | else aS._1 | |
230 | + | } | |
231 | + | else { | |
232 | + | let aS = { | |
233 | + | let aT = [-500, -200, -25] | |
234 | + | let aU = size(aT) | |
235 | + | let aV = $Tuple2(-1, 0) | |
236 | + | func aW (aX,aY) = if ((aY >= aU)) | |
237 | + | then aX | |
238 | + | else aL(aX, aT[aY]) | |
239 | + | ||
240 | + | func aZ (aX,aY) = if ((aY >= aU)) | |
241 | + | then aX | |
242 | + | else throw("List size exceeds 3") | |
243 | + | ||
244 | + | aZ(aW(aW(aW(aV, 0), 1), 2), 3) | |
245 | + | } | |
246 | + | let ba = if ((0 > aS._1)) | |
247 | + | then $Tuple2(aG, aR) | |
248 | + | else aS | |
249 | + | if ((aJ >= fraction(af, aF, ba._2))) | |
250 | + | then throw("The requested price is too not profitable for user") | |
251 | + | else ba._1 | |
252 | + | } | |
253 | + | } | |
254 | + | } | |
255 | + | ||
256 | + | ||
257 | + | func bb (aq) = { | |
258 | + | let F = aq | |
259 | + | if ($isInstanceOf(F, "ByteVector")) | |
260 | + | then { | |
261 | + | let ar = F | |
262 | + | let bc = toBase58String(ar) | |
263 | + | let bd = valueOrErrorMessage(assetInfo(ar), (("Asset " + bc) + " doesn't exist")) | |
264 | + | $Tuple3(bc, bd.name, bd.decimals) | |
265 | + | } | |
266 | + | else if ($isInstanceOf(F, "Unit")) | |
267 | + | then { | |
268 | + | let as = F | |
269 | + | $Tuple3("WAVES", "WAVES", 8) | |
270 | + | } | |
271 | + | else throw("Match error") | |
272 | + | } | |
273 | + | ||
274 | + | ||
275 | + | func be (bf) = [BooleanEntry(c, false), StringEntry(j, bf)] | |
276 | + | ||
277 | + | ||
278 | + | func bg () = throw("DApp is already active") | |
279 | + | ||
280 | + | ||
281 | + | func bh () = if (W) | |
282 | + | then unit | |
283 | + | else throw("DApp is inactive at this moment") | |
284 | + | ||
285 | + | ||
286 | + | func bi (aw) = if (containsElement([I, J, K], aw.callerPublicKey)) | |
287 | + | then unit | |
288 | + | else throw("Only admin can call this function") | |
289 | + | ||
290 | + | ||
291 | + | func bj () = throw("Incorrect assets attached.") | |
292 | + | ||
293 | + | ||
294 | + | func bk () = throw("One attached payment expected") | |
295 | + | ||
296 | + | ||
297 | + | func bl (bm,bn,bo,bp,bq) = throw(((((((((("New balance in assets of the DApp is less than threshold " + toString(bm)) + ": ") + toString(bn)) + " ") + toBase58String(bp)) + ", ") + toString(bo)) + " ") + toBase58String(bq))) | |
298 | + | ||
299 | + | ||
300 | + | func br (bs,bp,bt,bq) = be(((((((((((((((("Suspicious state. Actual balances: " + toString(bs)) + " ") + toBase58String(bp)) + ", ") + toString(bt)) + " ") + toBase58String(bq)) + ". State: ") + toString(ap(bp))) + " ") + toBase58String(bp)) + ", ") + toString(ap(bq))) + " ") + toBase58String(bq))) | |
301 | + | ||
302 | + | ||
303 | + | func bu (bv,aq) = if (bv) | |
304 | + | then $Tuple2("lockNeutrino", O) | |
305 | + | else $Tuple2("unlockNeutrino", O) | |
306 | + | ||
307 | + | ||
308 | + | func bw (bv,bx,aq) = if (bv) | |
309 | + | then { | |
310 | + | let by = bu(bv, aq) | |
311 | + | let bz = by._1 | |
312 | + | let bA = by._2 | |
313 | + | $Tuple4(bz, bA, nil, [AttachedPayment(aq, bx)]) | |
314 | + | } | |
315 | + | else { | |
316 | + | let bB = bu(bv, aq) | |
317 | + | let bz = bB._1 | |
318 | + | let bA = bB._2 | |
319 | + | $Tuple4(bz, bA, [bx, toBase58String(aq)], nil) | |
320 | + | } | |
321 | + | ||
322 | + | ||
323 | + | func bC (bD) = { | |
324 | + | let bE = valueOrElse(getInteger(N, (toString(bD) + o)), 0) | |
325 | + | let bF = split(getStringValue(C, n), ",") | |
326 | + | let bG = split(getStringValue(C, m), ",") | |
327 | + | if (if ((bE >= parseIntValue(bF[0]))) | |
328 | + | then (parseIntValue(bF[1]) > bE) | |
329 | + | else false) | |
330 | + | then (ac - parseIntValue(bG[0])) | |
331 | + | else if (if ((bE >= parseIntValue(bF[1]))) | |
332 | + | then (parseIntValue(bF[2]) > bE) | |
333 | + | else false) | |
334 | + | then (ac - parseIntValue(bG[1])) | |
335 | + | else if (if ((bE >= parseIntValue(bF[2]))) | |
336 | + | then (parseIntValue(bF[3]) > bE) | |
337 | + | else false) | |
338 | + | then (ac - parseIntValue(bG[2])) | |
339 | + | else if (if ((bE >= parseIntValue(bF[3]))) | |
340 | + | then (parseIntValue(bF[4]) > bE) | |
341 | + | else false) | |
342 | + | then (ac - parseIntValue(bG[3])) | |
343 | + | else if ((bE >= parseIntValue(bF[4]))) | |
344 | + | then (ac - parseIntValue(bG[4])) | |
345 | + | else ac | |
346 | + | } | |
347 | + | ||
348 | + | ||
349 | + | func bH (bp,bq) = { | |
350 | + | let bs = getIntegerValue(this, (toBase58String(bp) + e)) | |
351 | + | let bt = getIntegerValue(this, (toBase58String(bq) + e)) | |
352 | + | let bI = at(bp) | |
353 | + | let bJ = at(bq) | |
354 | + | let bK = (ap(bp) + bI) | |
355 | + | let bL = (ap(bq) + bJ) | |
356 | + | $Tuple4(bs, bt, bK, bL) | |
357 | + | } | |
358 | + | ||
359 | + | ||
360 | + | @Callable(aw) | |
361 | + | func init (bM) = if (isDefined(getBoolean(this, c))) | |
362 | + | then bg() | |
363 | + | else { | |
364 | + | func bN (aM,bO) = { | |
365 | + | let bP = aM | |
366 | + | let bQ = bP._1 | |
367 | + | let bR = bP._2 | |
368 | + | let bS = bP._3 | |
369 | + | let bT = $Tuple2(bO.amount, toBase58String(value(bO.assetId))) | |
370 | + | let bx = bT._1 | |
371 | + | let aq = bT._2 | |
372 | + | let bv = if (containsElement(R, aq)) | |
373 | + | then invoke(this, "stakeUnstake", [true, bx, aq], nil) | |
374 | + | else 0 | |
375 | + | if ((bv == bv)) | |
376 | + | then if (contains(bR, aq)) | |
377 | + | then throw("Assets must be different") | |
378 | + | else $Tuple3((bQ :+ IntegerEntry((aq + e), bx)), if ((size(bR) == 0)) | |
379 | + | then aq | |
380 | + | else ((bR + ",") + aq), (bS + bx)) | |
381 | + | else throw("Strict value is not equal to itself.") | |
382 | + | } | |
383 | + | ||
384 | + | let bU = { | |
385 | + | let aT = aw.payments | |
386 | + | let aU = size(aT) | |
387 | + | let aV = $Tuple3(nil, "", 0) | |
388 | + | func aW (aX,aY) = if ((aY >= aU)) | |
389 | + | then aX | |
390 | + | else bN(aX, aT[aY]) | |
391 | + | ||
392 | + | func aZ (aX,aY) = if ((aY >= aU)) | |
393 | + | then aX | |
394 | + | else throw("List size exceeds 10") | |
395 | + | ||
396 | + | aZ(aW(aW(aW(aW(aW(aW(aW(aW(aW(aW(aV, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
397 | + | } | |
398 | + | let bV = bU._1 | |
399 | + | let bR = bU._2 | |
400 | + | let bS = bU._3 | |
401 | + | let bW = "s_Multi_USD" | |
402 | + | let bX = ("ShareToken of SwopFi protocol for MultiStable USD pool at address " + toString(this)) | |
403 | + | let bY = 6 | |
404 | + | let bZ = bS | |
405 | + | let ca = Issue(bW, bX, bZ, bY, true) | |
406 | + | let cb = calculateAssetId(ca) | |
407 | + | let cc = ([StringEntry(b, a), BooleanEntry(c, true), StringEntry(d, bR), IntegerEntry(h, getIntegerValue(C, "base_fee_flat")), ca, StringEntry(f, toBase58String(cb)), IntegerEntry(g, bZ), ScriptTransfer(aw.caller, bZ, cb)] ++ bV) | |
408 | + | if (bM) | |
409 | + | then (cc ++ [BooleanEntry(p, bM), IntegerEntry(q, (T + (V * U)))]) | |
410 | + | else cc | |
411 | + | } | |
412 | + | ||
413 | + | ||
414 | + | ||
415 | + | @Callable(aw) | |
416 | + | func exchange (cd,ce,cf) = { | |
417 | + | let cg = $Tuple2(aw.payments[0].amount, aw.payments[0].assetId) | |
418 | + | let ch = cg._1 | |
419 | + | let ci = cg._2 | |
420 | + | let cj = bH(value(ci), fromBase58String(cd)) | |
421 | + | let aD = cj._1 | |
422 | + | let aE = cj._2 | |
423 | + | let ck = cj._3 | |
424 | + | let cl = cj._4 | |
425 | + | let cm = toBase58String(value(ci)) | |
426 | + | if ((0 >= ce)) | |
427 | + | then throw(("Estimated amount must be positive. Actual: " + toString(ce))) | |
428 | + | else if ((cf > ce)) | |
429 | + | then throw("Minimal amount can't be greater than estimated.") | |
430 | + | else if ((size(aw.payments) != 1)) | |
431 | + | then bk() | |
432 | + | else if (!(if ((aD > ck)) | |
433 | + | then true | |
434 | + | else (aE > cl))) | |
435 | + | then ([ScriptTransfer(aw.caller, ch, ci)] ++ br(aD, value(ci), aE, fromBase58String(cd))) | |
436 | + | else if (if (!(contains(value(Z), cm))) | |
437 | + | then true | |
438 | + | else !(contains(value(Z), cd))) | |
439 | + | then bj() | |
440 | + | else if ((10000000 > ch)) | |
441 | + | then throw("Only swap of 10.000000 or more tokens is allowed") | |
442 | + | else if (if ((ak > fraction(ae, cf, ch))) | |
443 | + | then true | |
444 | + | else (fraction(ae, ce, ch) > al)) | |
445 | + | then throw("Incorrect args and pmt ratio") | |
446 | + | else { | |
447 | + | let aF = aA(aD, aE) | |
448 | + | let bx = aC(aD, aE, aF, ce, cf, ch) | |
449 | + | let cn = bC(aw.originCaller) | |
450 | + | let co = fraction(bx, fraction(ab, cn, ac, CEILING), ac) | |
451 | + | let cp = fraction(bx, (ac - fraction(aa, cn, ac, CEILING)), ac) | |
452 | + | let cq = $Tuple2((aD + ch), ((aE - cp) - co)) | |
453 | + | let cr = cq._1 | |
454 | + | let cs = cq._2 | |
455 | + | let ct = fraction((cr + cs), ai, (2 * aj)) | |
456 | + | if (if ((ct > cr)) | |
457 | + | then true | |
458 | + | else (ct > cs)) | |
459 | + | then bl(ct, cr, cs, value(ci), fromBase58String(cd)) | |
460 | + | else { | |
461 | + | let cu = if (containsElement(R, cm)) | |
462 | + | then invoke(this, "stakeUnstake", [true, ch, cm], nil) | |
463 | + | else 0 | |
464 | + | if ((cu == cu)) | |
465 | + | then { | |
466 | + | let cv = if (containsElement(R, cd)) | |
467 | + | then invoke(this, "stakeUnstake", [false, (cp + co), cd], nil) | |
468 | + | else 0 | |
469 | + | if ((cv == cv)) | |
470 | + | then $Tuple2([IntegerEntry((cm + e), cr), IntegerEntry((cd + e), cs), ScriptTransfer(aw.caller, cp, fromBase58String(cd)), ScriptTransfer(M, co, fromBase58String(cd))], $Tuple2(cp, fromBase58String(cd))) | |
471 | + | else throw("Strict value is not equal to itself.") | |
472 | + | } | |
473 | + | else throw("Strict value is not equal to itself.") | |
474 | + | } | |
475 | + | } | |
476 | + | } | |
477 | + | ||
478 | + | ||
479 | + | ||
480 | + | @Callable(aw) | |
481 | + | func shutdown () = valueOrElse(bi(aw), if (!(W)) | |
482 | + | then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, j), "the cause wasn't specified"))) | |
483 | + | else be("Paused by admin")) | |
484 | + | ||
485 | + | ||
486 | + | ||
487 | + | @Callable(aw) | |
488 | + | func activate () = valueOrElse(bi(aw), if (W) | |
489 | + | then bg() | |
490 | + | else [BooleanEntry(c, true), DeleteEntry(j)]) | |
491 | + | ||
492 | + | ||
493 | + | ||
494 | + | @Callable(aw) | |
495 | + | func keepLimitForFirstHarvest (cw) = valueOrElse(bh(), valueOrElse(bi(aw), [IntegerEntry(r, cw)])) | |
496 | + | ||
497 | + | ||
498 | + | ||
499 | + | @Callable(aw) | |
500 | + | func stakeUnstake (bv,bx,cx) = if ((aw.caller != this)) | |
501 | + | then throw("Only contract itself can invoke this function") | |
502 | + | else { | |
503 | + | let cy = bw(bv, bx, fromBase58String(cx)) | |
504 | + | let bz = cy._1 | |
505 | + | let cz = cy._2 | |
506 | + | let cA = cy._3 | |
507 | + | let cB = cy._4 | |
508 | + | let cC = invoke(cz, bz, cA, cB) | |
509 | + | if ((cC == cC)) | |
510 | + | then nil | |
511 | + | else throw("Strict value is not equal to itself.") | |
512 | + | } | |
513 | + | ||
514 | + | ||
515 | + | @Verifier(cD) | |
516 | + | func cE () = { | |
517 | + | let cF = { | |
518 | + | let cG = if (sigVerify(cD.bodyBytes, cD.proofs[0], I)) | |
519 | + | then 1 | |
520 | + | else 0 | |
521 | + | let cH = if (sigVerify(cD.bodyBytes, cD.proofs[1], J)) | |
522 | + | then 1 | |
523 | + | else 0 | |
524 | + | let cI = if (sigVerify(cD.bodyBytes, cD.proofs[2], K)) | |
525 | + | then 1 | |
526 | + | else 0 | |
527 | + | (((cG + cH) + cI) >= 2) | |
528 | + | } | |
529 | + | let F = cD | |
530 | + | if ($isInstanceOf(F, "InvokeScriptTransaction")) | |
531 | + | then { | |
532 | + | let cC = F | |
533 | + | let cJ = if ((cC.dApp == this)) | |
534 | + | then (cC.function == "takeIntoAccountExtraFunds") | |
535 | + | else false | |
536 | + | let cK = if (if (if (sigVerify(cD.bodyBytes, cD.proofs[0], I)) | |
537 | + | then true | |
538 | + | else sigVerify(cD.bodyBytes, cD.proofs[0], J)) | |
539 | + | then true | |
540 | + | else sigVerify(cD.bodyBytes, cD.proofs[0], K)) | |
541 | + | then true | |
542 | + | else sigVerify(cD.bodyBytes, cD.proofs[0], L) | |
543 | + | if (if (cJ) | |
544 | + | then cK | |
545 | + | else false) | |
546 | + | then true | |
547 | + | else cF | |
548 | + | } | |
549 | + | else cF | |
550 | + | } | |
88 | 551 |
github/deemru/w8io/169f3d6 54.08 ms ◑