tx · D9DTL56wMz4KpxYu2QYMcRNYE9iNFFfDieJBXenjahhf 3N5Xd7QVQZWntaJwha9Kg42is626GUPjtUW: -0.14000000 Waves 2022.05.04 10:15 [2036629] smart account 3N5Xd7QVQZWntaJwha9Kg42is626GUPjtUW > SELF 0.00000000 Waves
{ "type": 13, "id": "D9DTL56wMz4KpxYu2QYMcRNYE9iNFFfDieJBXenjahhf", "fee": 14000000, "feeAssetId": null, "timestamp": 1651648603755, "version": 2, "chainId": 84, "sender": "3N5Xd7QVQZWntaJwha9Kg42is626GUPjtUW", "senderPublicKey": "DfbjpZJBbZwnUKysUkxCbWTE1ZWuoUb6Y6BZdu5iAE8j", "proofs": [ "3uHbzrGNefu1NTsVvyTiAFgNxB5Bz5RmuUuVXcWjdRKe4oK62ipXyM8BKy6oJqqmv5oco8uguVTcp9JGToWATbLt", "t7o9nVbidQgfKiPYNQKQvUFPNunRZoLfC85oejPFMbNwmGwx1gACL2QhTyMTZiexZdooRqhFCv6t4yeGrwSnGpt" ], "script": "base64:AAIFAAAAAAAAACEIAhIAEgASBAoCAQESABIECgIBARIAEgASABIFCgMEAQgAAABPAAAAAAd2ZXJzaW9uAgAAAAUyLjAuMAAAAAAIa1ZlcnNpb24CAAAAB3ZlcnNpb24AAAAAB2tBY3RpdmUCAAAABmFjdGl2ZQAAAAAJa0Fzc2V0SWRBAgAAAApBX2Fzc2V0X2lkAAAAAAlrQXNzZXRJZEICAAAACkJfYXNzZXRfaWQAAAAACWtCYWxhbmNlQQIAAAAPQV9hc3NldF9iYWxhbmNlAAAAAAlrQmFsYW5jZUICAAAAD0JfYXNzZXRfYmFsYW5jZQAAAAANa1NoYXJlQXNzZXRJZAIAAAAOc2hhcmVfYXNzZXRfaWQAAAAAEWtTaGFyZUFzc2V0U3VwcGx5AgAAABJzaGFyZV9hc3NldF9zdXBwbHkAAAAABGtGZWUCAAAACmNvbW1pc3Npb24AAAAACmtJbnZhcmlhbnQCAAAACWludmFyaWFudAAAAAAGa0NhdXN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WRtaW5zMnN/KQ==", "height": 2036629, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3oNdnKiyuANEpJbMupk5q8pj7NGcrCTzG6KLYQUSQvmv Next: HvBX6rbes7Xe22P7b79zbtoEr41F1zck2pEQyJzGUW7q Diff:
Old | New | Differences | |
---|---|---|---|
21 | 21 | ||
22 | 22 | let j = "commission" | |
23 | 23 | ||
24 | - | let k = " | |
24 | + | let k = "invariant" | |
25 | 25 | ||
26 | - | let l = " | |
26 | + | let l = "shutdown_cause" | |
27 | 27 | ||
28 | - | let m = " | |
28 | + | let m = "staking_usdnnsbt_address" | |
29 | 29 | ||
30 | - | let n = "staking_ | |
30 | + | let n = "staking_eurn_address" | |
31 | 31 | ||
32 | - | let o = " | |
32 | + | let o = "admin_pub_1" | |
33 | 33 | ||
34 | - | let p = "admin_pub_ | |
34 | + | let p = "admin_pub_2" | |
35 | 35 | ||
36 | - | let q = "admin_pub_ | |
36 | + | let q = "admin_pub_3" | |
37 | 37 | ||
38 | - | let r = "admin_pub | |
38 | + | let r = "admin_invoke_pub" | |
39 | 39 | ||
40 | - | let s = | |
40 | + | let s = "money_box_address" | |
41 | 41 | ||
42 | 42 | let t = Address(base58'3NBBWfzZtZtszaXbitTKnrB2xXwv26Bn7H9') | |
43 | 43 | ||
50 | 50 | } | |
51 | 51 | else { | |
52 | 52 | let y = w | |
53 | - | throw(" | |
53 | + | throw((v + "is empty")) | |
54 | 54 | } | |
55 | 55 | } | |
56 | 56 | ||
57 | 57 | ||
58 | - | let z = u( | |
58 | + | let z = u(o) | |
59 | 59 | ||
60 | - | let A = u( | |
60 | + | let A = u(p) | |
61 | 61 | ||
62 | - | let B = u( | |
62 | + | let B = u(q) | |
63 | 63 | ||
64 | - | let C = | |
64 | + | let C = u(r) | |
65 | 65 | ||
66 | - | let D = | |
66 | + | let D = Address(u(s)) | |
67 | 67 | ||
68 | - | let E = Address( | |
68 | + | let E = Address(u(m)) | |
69 | 69 | ||
70 | 70 | let F = base58'8UrfDVd5GreeUwm7uPk7eYz1eMv376kzR52C6sANPkwS' | |
71 | 71 | ||
72 | - | let G = | |
72 | + | let G = [toBase58String(F)] | |
73 | 73 | ||
74 | - | let H = | |
74 | + | let H = getBooleanValue(this, c) | |
75 | 75 | ||
76 | - | let I = | |
76 | + | let I = getStringValue(this, d) | |
77 | 77 | ||
78 | - | let J = | |
78 | + | let J = getStringValue(this, e) | |
79 | 79 | ||
80 | - | let K = getBooleanValue(this, c) | |
80 | + | let K = if ((I == "WAVES")) | |
81 | + | then unit | |
82 | + | else fromBase58String(I) | |
81 | 83 | ||
82 | - | let L = getStringValue(this, d) | |
84 | + | let L = if ((J == "WAVES")) | |
85 | + | then unit | |
86 | + | else fromBase58String(J) | |
83 | 87 | ||
84 | - | let M = getStringValue(this, e) | |
85 | - | ||
86 | - | let N = if ((L == "WAVES")) | |
87 | - | then unit | |
88 | - | else fromBase58String(L) | |
89 | - | ||
90 | - | let O = if ((M == "WAVES")) | |
91 | - | then unit | |
92 | - | else fromBase58String(M) | |
93 | - | ||
94 | - | let P = { | |
95 | - | let w = N | |
88 | + | let M = { | |
89 | + | let w = K | |
96 | 90 | if ($isInstanceOf(w, "ByteVector")) | |
97 | 91 | then { | |
98 | - | let | |
99 | - | value(assetInfo( | |
92 | + | let N = w | |
93 | + | value(assetInfo(N)).name | |
100 | 94 | } | |
101 | 95 | else if ($isInstanceOf(w, "Unit")) | |
102 | 96 | then { | |
103 | - | let | |
97 | + | let O = w | |
104 | 98 | "WAVES" | |
105 | 99 | } | |
106 | 100 | else throw("Match error") | |
107 | 101 | } | |
108 | 102 | ||
109 | - | let | |
110 | - | let w = | |
103 | + | let P = { | |
104 | + | let w = L | |
111 | 105 | if ($isInstanceOf(w, "ByteVector")) | |
112 | 106 | then { | |
113 | - | let | |
114 | - | value(assetInfo( | |
107 | + | let N = w | |
108 | + | value(assetInfo(N)).name | |
115 | 109 | } | |
116 | 110 | else if ($isInstanceOf(w, "Unit")) | |
117 | 111 | then { | |
118 | - | let | |
112 | + | let O = w | |
119 | 113 | "WAVES" | |
120 | 114 | } | |
121 | 115 | else throw("Match error") | |
122 | 116 | } | |
123 | 117 | ||
124 | - | let | |
118 | + | let Q = getIntegerValue(this, f) | |
125 | 119 | ||
126 | - | let | |
120 | + | let R = getIntegerValue(this, g) | |
127 | 121 | ||
128 | - | let | |
122 | + | let S = fromBase58String(getStringValue(this, h)) | |
129 | 123 | ||
130 | - | let | |
124 | + | let T = getIntegerValue(this, i) | |
131 | 125 | ||
132 | - | let | |
126 | + | let U = getIntegerValue(this, k) | |
133 | 127 | ||
134 | - | let | |
128 | + | let V = getIntegerValue(this, j) | |
135 | 129 | ||
136 | - | let | |
130 | + | let W = fraction(V, 40, 100) | |
137 | 131 | ||
138 | - | let aa = 1000000 | |
132 | + | let X = 1000000 | |
133 | + | ||
134 | + | let Y = 1000 | |
135 | + | ||
136 | + | let Z = 100000000 | |
137 | + | ||
138 | + | let aa = 10000000000000000 | |
139 | 139 | ||
140 | 140 | let ab = 1000 | |
141 | 141 | ||
142 | - | let ac = | |
142 | + | let ac = 8 | |
143 | 143 | ||
144 | - | let ad = | |
144 | + | let ad = 50 | |
145 | 145 | ||
146 | - | let ae = | |
146 | + | let ae = 100 | |
147 | 147 | ||
148 | - | let af = | |
148 | + | let af = 90000000 | |
149 | 149 | ||
150 | - | let ag = | |
150 | + | let ag = 110000000 | |
151 | 151 | ||
152 | - | let ah = | |
152 | + | let ah = 50 | |
153 | 153 | ||
154 | - | let ai = | |
154 | + | let ai = 2 | |
155 | 155 | ||
156 | - | let aj = | |
156 | + | let aj = 4600000000000000 | |
157 | 157 | ||
158 | - | let ak = 50 | |
159 | - | ||
160 | - | let al = 2 | |
161 | - | ||
162 | - | let am = 4600000000000000 | |
163 | - | ||
164 | - | func an (ao) = { | |
165 | - | let w = ao | |
158 | + | func ak (al) = { | |
159 | + | let w = al | |
166 | 160 | if ($isInstanceOf(w, "ByteVector")) | |
167 | 161 | then { | |
168 | - | let | |
169 | - | assetBalance(this, | |
162 | + | let N = w | |
163 | + | assetBalance(this, N) | |
170 | 164 | } | |
171 | 165 | else if ($isInstanceOf(w, "Unit")) | |
172 | 166 | then { | |
173 | - | let | |
167 | + | let O = w | |
174 | 168 | wavesBalance(this).available | |
175 | 169 | } | |
176 | 170 | else throw("Match error") | |
177 | 171 | } | |
178 | 172 | ||
179 | 173 | ||
180 | - | func | |
181 | - | let | |
182 | - | let w = | |
174 | + | func am (al) = { | |
175 | + | let an = { | |
176 | + | let w = al | |
183 | 177 | if ($isInstanceOf(w, "ByteVector")) | |
184 | 178 | then { | |
185 | - | let ar = w | |
186 | - | if ((ar == F)) | |
187 | - | then getInteger(I, ((("rpd_balance_" + toBase58String(ar)) + "_") + toString(this))) | |
188 | - | else if ((ar == G)) | |
189 | - | then getInteger(J, ((("%s%s%s__stakingBalance__" + toBase58String(ar)) + "__") + toString(this))) | |
190 | - | else 0 | |
179 | + | let ao = w | |
180 | + | if ((ao == F)) | |
181 | + | then getInteger(E, ((("rpd_balance_" + toBase58String(ao)) + "_") + toString(this))) | |
182 | + | else 0 | |
191 | 183 | } | |
192 | 184 | else if ($isInstanceOf(w, "Unit")) | |
193 | 185 | then 0 | |
194 | 186 | else throw("Match error") | |
195 | 187 | } | |
196 | - | let w = | |
188 | + | let w = an | |
197 | 189 | if ($isInstanceOf(w, "Int")) | |
198 | 190 | then { | |
199 | - | let | |
200 | - | | |
191 | + | let ap = w | |
192 | + | ap | |
201 | 193 | } | |
202 | 194 | else 0 | |
203 | 195 | } | |
204 | 196 | ||
205 | 197 | ||
206 | - | let | |
198 | + | let aq = am(K) | |
207 | 199 | ||
208 | - | let | |
200 | + | let ar = am(L) | |
209 | 201 | ||
210 | - | let | |
202 | + | let as = (Q - aq) | |
211 | 203 | ||
212 | - | let | |
204 | + | let at = (R - ar) | |
213 | 205 | ||
214 | - | let | |
206 | + | let au = (ak(K) + aq) | |
215 | 207 | ||
216 | - | let | |
208 | + | let av = (ak(L) + ar) | |
217 | 209 | ||
218 | - | let | |
219 | - | then ( | |
210 | + | let aw = if ((au >= Q)) | |
211 | + | then (av >= R) | |
220 | 212 | else false | |
221 | 213 | ||
222 | - | func | |
214 | + | func ax (ay,az) = ((fraction(aa, ay, az) + fraction(aa, az, ay)) / 2) | |
223 | 215 | ||
224 | 216 | ||
225 | - | func | |
226 | - | let | |
227 | - | (fraction(( | |
217 | + | func aA (ay,az) = { | |
218 | + | let aB = ax(ay, az) | |
219 | + | (fraction((ay + az), aa, pow(aB, ac, ah, ai, ac, CEILING)) + (2 * fraction(toInt(pow(fraction(toBigInt(ay), toBigInt(az), toBigInt(Z)), 0, toBigInt(5), 1, (ac / 2), DOWN)), pow((aB - aj), ac, ah, ai, ac, DOWN), Z))) | |
228 | 220 | } | |
229 | 221 | ||
230 | 222 | ||
231 | - | func | |
232 | - | let | |
233 | - | let | |
234 | - | let | |
235 | - | let | |
236 | - | func | |
223 | + | func aC (aD,aE,aF,aG) = { | |
224 | + | let aH = (aa - ((aa * 1) / 10000000)) | |
225 | + | let aI = (aD - aE) | |
226 | + | let ay = (Q + aF) | |
227 | + | let az = (R + aF) | |
228 | + | func aJ (aK,aL) = if ((aK._1 == -1)) | |
237 | 229 | then { | |
238 | - | let | |
239 | - | let | |
240 | - | then | |
241 | - | else | |
242 | - | if (( | |
243 | - | then $Tuple2( | |
230 | + | let aM = (aD - (((aL * aI) / 3) / Y)) | |
231 | + | let aN = if ((aG == K)) | |
232 | + | then aA(ay, (R - aM)) | |
233 | + | else aA((Q - aM), az) | |
234 | + | if ((aN > U)) | |
235 | + | then $Tuple2(aM, aN) | |
244 | 236 | else $Tuple2(-1, 0) | |
245 | 237 | } | |
246 | - | else | |
238 | + | else aK | |
247 | 239 | ||
248 | - | let | |
249 | - | if ((0 > | |
240 | + | let aO = aJ($Tuple2(-1, 0), 3000) | |
241 | + | if ((0 > aO._1)) | |
250 | 242 | then throw("Price is worse than minReceived") | |
251 | 243 | else { | |
252 | - | let | |
253 | - | then | |
254 | - | else if (( | |
255 | - | then | |
244 | + | let aP = if ((aG == K)) | |
245 | + | then aA(ay, (R - aD)) | |
246 | + | else if ((aG == L)) | |
247 | + | then aA((Q - aD), az) | |
256 | 248 | else throw("Wrong asset in payment") | |
257 | - | | |
258 | - | then if (( | |
259 | - | then throw(" | |
249 | + | if ((U > aP)) | |
250 | + | then if ((aH >= fraction(aa, U, aP))) | |
251 | + | then throw("The requested price is too not profitable for user") | |
260 | 252 | else { | |
261 | - | let | |
262 | - | let | |
263 | - | let | |
264 | - | let | |
265 | - | func | |
266 | - | then | |
267 | - | else | |
253 | + | let aQ = { | |
254 | + | let aR = [25, 200, 500] | |
255 | + | let aS = size(aR) | |
256 | + | let aT = $Tuple2(-1, 0) | |
257 | + | func aU (aV,aW) = if ((aW >= aS)) | |
258 | + | then aV | |
259 | + | else aJ(aV, aR[aW]) | |
268 | 260 | ||
269 | - | func | |
270 | - | then | |
261 | + | func aX (aV,aW) = if ((aW >= aS)) | |
262 | + | then aV | |
271 | 263 | else throw("List size exceeds 3") | |
272 | 264 | ||
273 | - | | |
265 | + | aX(aU(aU(aU(aT, 0), 1), 2), 3) | |
274 | 266 | } | |
275 | - | if ((0 > | |
276 | - | then | |
277 | - | else | |
267 | + | if ((0 > aQ._1)) | |
268 | + | then aO._1 | |
269 | + | else aQ._1 | |
278 | 270 | } | |
279 | 271 | else { | |
280 | - | let | |
281 | - | let | |
282 | - | let | |
283 | - | let | |
284 | - | func | |
285 | - | then | |
286 | - | else | |
272 | + | let aQ = { | |
273 | + | let aR = [-500, -200, -25] | |
274 | + | let aS = size(aR) | |
275 | + | let aT = $Tuple2(-1, 0) | |
276 | + | func aU (aV,aW) = if ((aW >= aS)) | |
277 | + | then aV | |
278 | + | else aJ(aV, aR[aW]) | |
287 | 279 | ||
288 | - | func | |
289 | - | then | |
280 | + | func aX (aV,aW) = if ((aW >= aS)) | |
281 | + | then aV | |
290 | 282 | else throw("List size exceeds 3") | |
291 | 283 | ||
292 | - | | |
284 | + | aX(aU(aU(aU(aT, 0), 1), 2), 3) | |
293 | 285 | } | |
294 | - | let | |
295 | - | then $Tuple2( | |
296 | - | else | |
297 | - | if (( | |
298 | - | then throw(" | |
299 | - | else | |
286 | + | let aY = if ((0 > aQ._1)) | |
287 | + | then $Tuple2(aD, aP) | |
288 | + | else aQ | |
289 | + | if ((aH >= fraction(aa, U, aY._2))) | |
290 | + | then throw("The requested price is too not profitable for user") | |
291 | + | else aY._1 | |
300 | 292 | } | |
301 | - | aT | |
302 | 293 | } | |
303 | 294 | } | |
304 | 295 | ||
305 | 296 | ||
306 | - | func | |
307 | - | let w = | |
297 | + | func aZ (al) = { | |
298 | + | let w = al | |
308 | 299 | if ($isInstanceOf(w, "ByteVector")) | |
309 | 300 | then { | |
310 | - | let | |
311 | - | let | |
312 | - | let | |
313 | - | $Tuple3( | |
301 | + | let N = w | |
302 | + | let ba = toBase58String(N) | |
303 | + | let bb = valueOrErrorMessage(assetInfo(N), (("Asset " + ba) + " doesn't exist")) | |
304 | + | $Tuple3(ba, bb.name, bb.decimals) | |
314 | 305 | } | |
315 | 306 | else if ($isInstanceOf(w, "Unit")) | |
316 | 307 | then { | |
317 | - | let | |
308 | + | let O = w | |
318 | 309 | $Tuple3("WAVES", "WAVES", 8) | |
319 | 310 | } | |
320 | 311 | else throw("Match error") | |
321 | 312 | } | |
322 | 313 | ||
323 | 314 | ||
324 | - | func | |
315 | + | func bc (bd) = [BooleanEntry(c, false), StringEntry(l, bd)] | |
325 | 316 | ||
326 | 317 | ||
327 | - | func | |
318 | + | func be () = throw("DApp is already active") | |
328 | 319 | ||
329 | 320 | ||
330 | - | func | |
321 | + | func bf () = if (H) | |
331 | 322 | then unit | |
332 | 323 | else throw("DApp is inactive at this moment") | |
333 | 324 | ||
334 | 325 | ||
335 | - | func | |
326 | + | func bg (ap) = if (containsElement([z, A, B], ap.callerPublicKey)) | |
336 | 327 | then unit | |
337 | 328 | else throw("Only admin can call this function") | |
338 | 329 | ||
339 | 330 | ||
340 | - | func | |
331 | + | func bh () = throw(((("Incorrect assets attached. Expected: " + I) + " and ") + J)) | |
341 | 332 | ||
342 | 333 | ||
343 | - | func | |
334 | + | func bi () = throw("One attached payment expected") | |
344 | 335 | ||
345 | 336 | ||
346 | - | func | |
337 | + | func bj (bk,bl,bm) = throw(((((((((("New balance in assets of the DApp is less than threshold " + toString(bk)) + ": ") + toString(bl)) + " ") + M) + ", ") + toString(bm)) + " ") + P)) | |
347 | 338 | ||
348 | 339 | ||
349 | - | func | |
340 | + | func bn () = bc(((((((((((((((("Suspicious state. Actual balances: " + toString(Q)) + " ") + M) + ", ") + toString(R)) + " ") + P) + ". State: ") + toString(ak(K))) + " ") + M) + ", ") + toString(ak(L))) + " ") + P)) | |
350 | 341 | ||
351 | 342 | ||
352 | - | func bs (bt,ao) = if (bt) | |
353 | - | then if ((ao == F)) | |
354 | - | then $Tuple2("lockNeutrino", I) | |
355 | - | else $Tuple2("startStaking", J) | |
356 | - | else if ((ao == F)) | |
357 | - | then $Tuple2("unlockNeutrino", I) | |
358 | - | else $Tuple2("stopStaking", J) | |
343 | + | func bo (bp,al) = if (bp) | |
344 | + | then $Tuple2("lockNeutrino", E) | |
345 | + | else $Tuple2("unlockNeutrino", E) | |
359 | 346 | ||
360 | 347 | ||
361 | - | func | |
348 | + | func bq (bp,br,al) = if (bp) | |
362 | 349 | then { | |
363 | - | let | |
364 | - | let | |
365 | - | let | |
366 | - | $Tuple4( | |
350 | + | let bs = bo(bp, al) | |
351 | + | let bt = bs._1 | |
352 | + | let bu = bs._2 | |
353 | + | $Tuple4(bt, bu, nil, [AttachedPayment(al, br)]) | |
367 | 354 | } | |
368 | 355 | else { | |
369 | - | let | |
370 | - | let | |
371 | - | let | |
372 | - | $Tuple4( | |
356 | + | let bv = bo(bp, al) | |
357 | + | let bt = bv._1 | |
358 | + | let bu = bv._2 | |
359 | + | $Tuple4(bt, bu, [br, toBase58String(al)], nil) | |
373 | 360 | } | |
374 | 361 | ||
375 | 362 | ||
376 | - | @Callable( | |
363 | + | @Callable(ap) | |
377 | 364 | func init () = { | |
378 | - | let bA = $Tuple2(as.payments[0].amount, as.payments[0].assetId) | |
379 | - | let bB = bA._1 | |
380 | - | let bC = bA._2 | |
381 | - | let bD = $Tuple2(as.payments[1].amount, as.payments[1].assetId) | |
382 | - | let bE = bD._1 | |
383 | - | let bF = bD._2 | |
384 | - | let bG = bd(bC) | |
365 | + | let bw = $Tuple2(ap.payments[0].amount, ap.payments[0].assetId) | |
366 | + | let bx = bw._1 | |
367 | + | let by = bw._2 | |
368 | + | let bz = $Tuple2(ap.payments[1].amount, ap.payments[1].assetId) | |
369 | + | let bA = bz._1 | |
370 | + | let bB = bz._2 | |
371 | + | let bC = aZ(by) | |
372 | + | let bD = bC._1 | |
373 | + | let bE = bC._2 | |
374 | + | let bF = bC._3 | |
375 | + | let bG = aZ(bB) | |
385 | 376 | let bH = bG._1 | |
386 | 377 | let bI = bG._2 | |
387 | 378 | let bJ = bG._3 | |
388 | - | let bK = bd(bF) | |
389 | - | let bL = bK._1 | |
390 | - | let bM = bK._2 | |
391 | - | let bN = bK._3 | |
392 | 379 | if (isDefined(getBoolean(this, c))) | |
393 | - | then | |
394 | - | else if (( | |
380 | + | then be() | |
381 | + | else if ((by == bB)) | |
395 | 382 | then throw("Assets must be different") | |
396 | 383 | else { | |
397 | - | let | |
398 | - | let | |
399 | - | let | |
400 | - | let | |
401 | - | let | |
402 | - | let | |
403 | - | let | |
404 | - | let | |
405 | - | then invoke(this, "stakeUnstake", [true, | |
384 | + | let bK = ((("s" + take(bE, 7)) + "_") + take(bI, 7)) | |
385 | + | let bL = ((((("ShareToken of SwopFi protocol for " + bE) + " and ") + bI) + " at address ") + toString(this)) | |
386 | + | let bM = ((bF + bJ) / 2) | |
387 | + | let bN = fraction(pow(bx, bF, 5, 1, bF, DOWN), pow(bA, bJ, 5, 1, bJ, DOWN), pow(10, 0, bM, 0, 0, DOWN)) | |
388 | + | let bO = Issue(bK, bL, bN, bM, true) | |
389 | + | let bP = calculateAssetId(bO) | |
390 | + | let bQ = aA(bx, bA) | |
391 | + | let bR = if (containsElement(G, bD)) | |
392 | + | then invoke(this, "stakeUnstake", [true, bx, bD], nil) | |
406 | 393 | else 0 | |
407 | - | if (( | |
394 | + | if ((bR == bR)) | |
408 | 395 | then { | |
409 | - | let | |
410 | - | then invoke(this, "stakeUnstake", [true, | |
396 | + | let bS = if (containsElement(G, bH)) | |
397 | + | then invoke(this, "stakeUnstake", [true, bA, bH], nil) | |
411 | 398 | else 0 | |
412 | - | if (( | |
413 | - | then [StringEntry(b, a), BooleanEntry(c, true), StringEntry(d, | |
399 | + | if ((bS == bS)) | |
400 | + | then [StringEntry(b, a), BooleanEntry(c, true), StringEntry(d, bD), StringEntry(e, bH), IntegerEntry(f, bx), IntegerEntry(g, bA), IntegerEntry(k, bQ), IntegerEntry(j, getIntegerValue(t, "base_fee_flat")), bO, StringEntry(h, toBase58String(bP)), IntegerEntry(i, bN), ScriptTransfer(ap.caller, bN, bP)] | |
414 | 401 | else throw("Strict value is not equal to itself.") | |
415 | 402 | } | |
416 | 403 | else throw("Strict value is not equal to itself.") | |
419 | 406 | ||
420 | 407 | ||
421 | 408 | ||
422 | - | @Callable( | |
423 | - | func replenishWithTwoTokens () = valueOrElse( | |
424 | - | let | |
425 | - | let | |
426 | - | let | |
427 | - | let | |
428 | - | let | |
429 | - | let | |
430 | - | let | |
431 | - | let | |
432 | - | let | |
433 | - | let | |
434 | - | let | |
435 | - | let | |
436 | - | let | |
409 | + | @Callable(ap) | |
410 | + | func replenishWithTwoTokens () = valueOrElse(bf(), { | |
411 | + | let by = ap.payments[0].assetId | |
412 | + | let bB = ap.payments[1].assetId | |
413 | + | let bT = fraction(Z, ap.payments[0].amount, Q) | |
414 | + | let bU = fraction(Z, ap.payments[1].amount, R) | |
415 | + | let bV = aZ(by) | |
416 | + | let bD = bV._1 | |
417 | + | let bE = bV._2 | |
418 | + | let bF = bV._3 | |
419 | + | let bW = aZ(bB) | |
420 | + | let bH = bW._1 | |
421 | + | let bI = bW._2 | |
422 | + | let bJ = bW._3 | |
423 | + | let bX = if ((bU > bT)) | |
437 | 424 | then { | |
438 | - | let | |
439 | - | $Tuple5( | |
425 | + | let bY = fraction(R, bT, Z, CEILING) | |
426 | + | $Tuple5(ap.payments[0].amount, bY, (ap.payments[1].amount - bY), bB, bT) | |
440 | 427 | } | |
441 | 428 | else { | |
442 | - | let | |
443 | - | $Tuple5( | |
429 | + | let bY = fraction(Q, bU, Z, CEILING) | |
430 | + | $Tuple5(bY, ap.payments[1].amount, (ap.payments[0].amount - bY), by, bU) | |
444 | 431 | } | |
445 | - | let | |
446 | - | let | |
447 | - | let | |
448 | - | let | |
449 | - | let | |
450 | - | let | |
451 | - | if ((size( | |
432 | + | let bx = bX._1 | |
433 | + | let bA = bX._2 | |
434 | + | let bZ = bX._3 | |
435 | + | let ca = bX._4 | |
436 | + | let cb = bX._5 | |
437 | + | let cc = fraction(cb, T, Z) | |
438 | + | if ((size(ap.payments) != 2)) | |
452 | 439 | then throw("Two attached assets expected") | |
453 | - | else if (if (( | |
440 | + | else if (if ((by != K)) | |
454 | 441 | then true | |
455 | - | else ( | |
456 | - | then | |
457 | - | else if (( | |
442 | + | else (bB != L)) | |
443 | + | then bh() | |
444 | + | else if ((cc == 0)) | |
458 | 445 | then throw("Too small amount to replenish") | |
459 | - | else if ((0 > | |
446 | + | else if ((0 > bZ)) | |
460 | 447 | then throw("Change < 0") | |
461 | - | else if (!( | |
462 | - | then ([ScriptTransfer( | |
448 | + | else if (!(aw)) | |
449 | + | then ([ScriptTransfer(ap.caller, bx, by), ScriptTransfer(ap.caller, bA, bB)] ++ bn()) | |
463 | 450 | else { | |
464 | - | let | |
465 | - | then invoke(this, "stakeUnstake", [true, | |
451 | + | let bR = if (containsElement(G, bD)) | |
452 | + | then invoke(this, "stakeUnstake", [true, bx, bD], nil) | |
466 | 453 | else 0 | |
467 | - | if (( | |
454 | + | if ((bR == bR)) | |
468 | 455 | then { | |
469 | - | let | |
470 | - | then invoke(this, "stakeUnstake", [true, | |
456 | + | let bS = if (containsElement(G, bH)) | |
457 | + | then invoke(this, "stakeUnstake", [true, bA, bH], nil) | |
471 | 458 | else 0 | |
472 | - | if (( | |
473 | - | then [IntegerEntry(f, ( | |
459 | + | if ((bS == bS)) | |
460 | + | then [IntegerEntry(f, (Q + bx)), IntegerEntry(g, (R + bA)), IntegerEntry(i, (T + cc)), IntegerEntry(k, aA((Q + bx), (R + bA))), Reissue(S, cc, true), ScriptTransfer(ap.caller, cc, S), ScriptTransfer(ap.caller, bZ, ca)] | |
474 | 461 | else throw("Strict value is not equal to itself.") | |
475 | 462 | } | |
476 | 463 | else throw("Strict value is not equal to itself.") | |
479 | 466 | ||
480 | 467 | ||
481 | 468 | ||
482 | - | @Callable( | |
483 | - | func replenishWithOneToken ( | |
484 | - | let | |
485 | - | let | |
486 | - | let | |
487 | - | let | |
488 | - | let | |
489 | - | let | |
490 | - | let | |
491 | - | let | |
492 | - | let | |
493 | - | let | |
469 | + | @Callable(ap) | |
470 | + | func replenishWithOneToken (cd,ce) = valueOrElse(bf(), { | |
471 | + | let cf = $Tuple2(ap.payments[0].amount, ap.payments[0].assetId) | |
472 | + | let cg = cf._1 | |
473 | + | let ch = cf._2 | |
474 | + | let ci = aZ(ch) | |
475 | + | let cj = ci._1 | |
476 | + | let ck = ci._2 | |
477 | + | let cl = ci._3 | |
478 | + | let cm = 5000000 | |
479 | + | let cn = 50000000 | |
480 | + | let co = if ((cn > cg)) | |
494 | 481 | then 100000 | |
495 | 482 | else 1 | |
496 | - | let | |
497 | - | let | |
498 | - | let | |
499 | - | if (( | |
500 | - | then throw((((("Payment amount " + toString( | |
501 | - | else if ((size( | |
502 | - | then | |
503 | - | else if (!( | |
504 | - | then ([ScriptTransfer( | |
505 | - | else if (if (( | |
506 | - | then ( | |
483 | + | let cp = (Z - ((Z * co) / 10000000)) | |
484 | + | let cq = (Z + ((Z * co) / 10000000)) | |
485 | + | let cr = (Z - ((Z * 1) / 10000000)) | |
486 | + | if ((cm > cg)) | |
487 | + | then throw((((("Payment amount " + toString(cg)) + " does not exceed the minimum amount of ") + toString(cm)) + " tokens")) | |
488 | + | else if ((size(ap.payments) != 1)) | |
489 | + | then bi() | |
490 | + | else if (!(aw)) | |
491 | + | then ([ScriptTransfer(ap.caller, cg, ch)] ++ bn()) | |
492 | + | else if (if ((ch != K)) | |
493 | + | then (ch != L) | |
507 | 494 | else false) | |
508 | - | then | |
495 | + | then bh() | |
509 | 496 | else { | |
510 | - | let cw = if ((cl == N)) | |
511 | - | then $Tuple7((ck - ch), ci, (T + ch), (U - ci), aD((T + ck), U), (T + ck), U) | |
512 | - | else $Tuple7(ci, (ck - ch), (T - ci), (U + ch), aD(T, (U + ck)), T, (U + ck)) | |
513 | - | let cx = cw._1 | |
514 | - | let cy = cw._2 | |
515 | - | let cz = cw._3 | |
516 | - | let cA = cw._4 | |
517 | - | let bU = cw._5 | |
518 | - | let cB = cw._6 | |
519 | - | let cC = cw._7 | |
520 | - | let cD = if ((cl == N)) | |
521 | - | then IntegerEntry(f, cB) | |
522 | - | else IntegerEntry(g, cC) | |
523 | - | let cE = aD(cz, cA) | |
524 | - | let cF = fraction(ac, X, cE) | |
525 | - | let cG = (fraction((ac * ac), cz, cA) / fraction(ac, cx, cy)) | |
526 | - | let cH = fraction((cB + cC), ag, (2 * ah)) | |
527 | - | if (if ((cv >= cF)) | |
497 | + | let cs = if ((ch == K)) | |
498 | + | then $Tuple6((cg - cd), ce, (Q + cd), (R - ce), (Q + cg), R) | |
499 | + | else $Tuple6(ce, (cg - cd), (Q - ce), (R + cd), Q, (R + cg)) | |
500 | + | let ct = cs._1 | |
501 | + | let cu = cs._2 | |
502 | + | let cv = cs._3 | |
503 | + | let cw = cs._4 | |
504 | + | let cx = cs._5 | |
505 | + | let cy = cs._6 | |
506 | + | let cz = aA(cv, cw) | |
507 | + | let cA = (fraction(aa, cv, cw) / fraction(Z, ct, cu)) | |
508 | + | let cB = fraction((cx + cy), ad, (2 * ae)) | |
509 | + | if (if ((cr >= fraction(Z, U, cz))) | |
528 | 510 | then true | |
529 | - | else ( | |
511 | + | else (U > cz)) | |
530 | 512 | then throw("Incorrect virtualSwapTokenPay or virtualSwapTokenGet value") | |
531 | - | else if (if (( | |
513 | + | else if (if ((cp > cA)) | |
532 | 514 | then true | |
533 | - | else ( | |
515 | + | else (cA > cq)) | |
534 | 516 | then throw("Swap with virtualSwapTokenPay and virtualSwapTokenGet is possible, but ratio after virtual swap is incorrect") | |
535 | - | else if (if (( | |
517 | + | else if (if ((cB > cx)) | |
536 | 518 | then true | |
537 | - | else ( | |
538 | - | then | |
519 | + | else (cB > cy)) | |
520 | + | then bj(cB, cx, cy) | |
539 | 521 | else { | |
540 | - | let bV = if (containsElement(H, cn)) | |
541 | - | then invoke(this, "stakeUnstake", [true, ck, cn], nil) | |
522 | + | let bT = fraction(ct, Z, cv) | |
523 | + | let bU = fraction(cu, Z, cw) | |
524 | + | let cc = fraction(min([bT, bU]), T, Z) | |
525 | + | let cC = fraction(cc, (X - (V / 2)), X) | |
526 | + | let cD = fraction(cc, (W / 2), X) | |
527 | + | let cE = fraction(cD, Q, T) | |
528 | + | let cF = fraction(cD, R, T) | |
529 | + | let cG = if ((cj == I)) | |
530 | + | then $Tuple3((cg - cE), cF, J) | |
531 | + | else $Tuple3((cg - cF), cE, I) | |
532 | + | let cH = cG._1 | |
533 | + | let cI = cG._2 | |
534 | + | let cJ = cG._3 | |
535 | + | let bR = if (containsElement(G, cj)) | |
536 | + | then invoke(this, "stakeUnstake", [true, cH, cj], nil) | |
542 | 537 | else 0 | |
543 | - | if (( | |
538 | + | if ((bR == bR)) | |
544 | 539 | then { | |
545 | - | let bX = fraction(cx, ac, cz) | |
546 | - | let bY = fraction(cy, ac, cA) | |
547 | - | let cg = fraction(min([bX, bY]), W, ac) | |
548 | - | [Reissue(V, cg, true), ScriptTransfer(as.caller, cg, V), IntegerEntry(i, (W + cg)), cD, IntegerEntry(l, bU)] | |
540 | + | let bS = if (containsElement(G, cJ)) | |
541 | + | then invoke(this, "stakeUnstake", [false, cI, cJ], nil) | |
542 | + | else 0 | |
543 | + | if ((bS == bS)) | |
544 | + | then [Reissue(S, cC, true), ScriptTransfer(ap.caller, cC, S), ScriptTransfer(D, cE, K), ScriptTransfer(D, cF, L), IntegerEntry(f, (cx - cE)), IntegerEntry(g, (cy - cF)), IntegerEntry(i, (T + cC)), IntegerEntry(k, aA((cx - cE), (cy - cF)))] | |
545 | + | else throw("Strict value is not equal to itself.") | |
549 | 546 | } | |
550 | 547 | else throw("Strict value is not equal to itself.") | |
551 | 548 | } | |
554 | 551 | ||
555 | 552 | ||
556 | 553 | ||
557 | - | @Callable( | |
558 | - | func withdraw () = valueOrElse( | |
559 | - | let | |
560 | - | let | |
561 | - | let | |
562 | - | let | |
563 | - | let | |
564 | - | let | |
565 | - | if ((size( | |
566 | - | then | |
567 | - | else if (( | |
568 | - | then throw(("Incorrect asset attached. Expected: " + toBase58String( | |
569 | - | else if (!( | |
570 | - | then ([ScriptTransfer( | |
554 | + | @Callable(ap) | |
555 | + | func withdraw () = valueOrElse(bf(), { | |
556 | + | let cK = $Tuple2(ap.payments[0].amount, ap.payments[0].assetId) | |
557 | + | let cg = cK._1 | |
558 | + | let ch = cK._2 | |
559 | + | let cL = fraction(cg, Q, T) | |
560 | + | let cM = fraction(cg, R, T) | |
561 | + | let bQ = aA((Q - cL), (R - cM)) | |
562 | + | if ((size(ap.payments) != 1)) | |
563 | + | then bi() | |
564 | + | else if ((ch != S)) | |
565 | + | then throw(("Incorrect asset attached. Expected: " + toBase58String(S))) | |
566 | + | else if (!(aw)) | |
567 | + | then ([ScriptTransfer(ap.caller, cg, ch)] ++ bn()) | |
571 | 568 | else { | |
572 | - | let | |
573 | - | then invoke(this, "stakeUnstake", [false, | |
569 | + | let bR = if (containsElement(G, I)) | |
570 | + | then invoke(this, "stakeUnstake", [false, cL, I], nil) | |
574 | 571 | else 0 | |
575 | - | if (( | |
572 | + | if ((bR == bR)) | |
576 | 573 | then { | |
577 | - | let | |
578 | - | then invoke(this, "stakeUnstake", [false, | |
574 | + | let bS = if (containsElement(G, J)) | |
575 | + | then invoke(this, "stakeUnstake", [false, cM, J], nil) | |
579 | 576 | else 0 | |
580 | - | if (( | |
581 | - | then [IntegerEntry(f, ( | |
577 | + | if ((bS == bS)) | |
578 | + | then [IntegerEntry(f, (Q - cL)), IntegerEntry(g, (R - cM)), IntegerEntry(i, (T - cg)), IntegerEntry(k, bQ), Burn(S, cg), ScriptTransfer(ap.caller, cL, K), ScriptTransfer(ap.caller, cM, L)] | |
582 | 579 | else throw("Strict value is not equal to itself.") | |
583 | 580 | } | |
584 | 581 | else throw("Strict value is not equal to itself.") | |
587 | 584 | ||
588 | 585 | ||
589 | 586 | ||
590 | - | @Callable( | |
591 | - | func exchange ( | |
592 | - | let | |
593 | - | let | |
594 | - | let | |
595 | - | if ((0 >= | |
596 | - | then throw(("Estimated amount must be positive. Actual: " + toString( | |
597 | - | else if (( | |
598 | - | then throw | |
599 | - | else if ((size( | |
600 | - | then | |
601 | - | else if (!( | |
602 | - | then ([ScriptTransfer( | |
603 | - | else if (if (( | |
604 | - | then ( | |
587 | + | @Callable(ap) | |
588 | + | func exchange (cN,cO) = valueOrElse(bf(), { | |
589 | + | let cP = $Tuple2(ap.payments[0].amount, ap.payments[0].assetId) | |
590 | + | let cg = cP._1 | |
591 | + | let ch = cP._2 | |
592 | + | if ((0 >= cN)) | |
593 | + | then throw(("Estimated amount must be positive. Actual: " + toString(cN))) | |
594 | + | else if ((cO > cN)) | |
595 | + | then throw("Minimal amount can't be greater than estimated.") | |
596 | + | else if ((size(ap.payments) != 1)) | |
597 | + | then bi() | |
598 | + | else if (!(aw)) | |
599 | + | then ([ScriptTransfer(ap.caller, cg, ch)] ++ bn()) | |
600 | + | else if (if ((ch != K)) | |
601 | + | then (ch != L) | |
605 | 602 | else false) | |
606 | - | then | |
607 | - | else if ((10000000 > | |
603 | + | then bh() | |
604 | + | else if ((10000000 > cg)) | |
608 | 605 | then throw("Only swap of 10.000000 or more tokens is allowed") | |
609 | - | else if (if (( | |
606 | + | else if (if ((af > fraction(Z, cO, cg))) | |
610 | 607 | then true | |
611 | - | else (fraction( | |
608 | + | else (fraction(Z, cN, cg) > ag)) | |
612 | 609 | then throw("Incorrect args and pmt ratio") | |
613 | 610 | else { | |
614 | - | let cO = if ((cl == N)) | |
615 | - | then O | |
616 | - | else N | |
617 | - | let cP = aF(cL, cM, ck, cl) | |
618 | - | let bv = cP._1 | |
619 | - | let cQ = cP._2 | |
620 | - | let cR = fraction(bv, Z, aa) | |
621 | - | let cS = fraction(bv, (aa - Y), aa) | |
622 | - | let cT = if ((cl == N)) | |
623 | - | then $Tuple2((T + ck), ((U - cS) - cR)) | |
624 | - | else $Tuple2(((T - cS) - cR), (U + ck)) | |
625 | - | let cB = cT._1 | |
626 | - | let cC = cT._2 | |
627 | - | let cH = fraction((cB + cC), ag, (2 * ah)) | |
628 | - | if (if ((cH > cB)) | |
611 | + | let cQ = if ((ch == K)) | |
612 | + | then L | |
613 | + | else K | |
614 | + | let br = aC(cN, cO, cg, ch) | |
615 | + | let cR = fraction(br, W, X) | |
616 | + | let cS = fraction(br, (X - V), X) | |
617 | + | let cT = if ((ch == K)) | |
618 | + | then $Tuple2((Q + cg), ((R - cS) - cR)) | |
619 | + | else $Tuple2(((Q - cS) - cR), (R + cg)) | |
620 | + | let cx = cT._1 | |
621 | + | let cy = cT._2 | |
622 | + | let cB = fraction((cx + cy), ad, (2 * ae)) | |
623 | + | if (if ((cB > cx)) | |
629 | 624 | then true | |
630 | - | else ( | |
631 | - | then | |
625 | + | else (cB > cy)) | |
626 | + | then bj(cB, cx, cy) | |
632 | 627 | else { | |
633 | - | let cU = | |
634 | - | let | |
635 | - | let | |
636 | - | let | |
637 | - | let cV = | |
628 | + | let cU = aZ(ch) | |
629 | + | let cj = cU._1 | |
630 | + | let ck = cU._2 | |
631 | + | let cl = cU._3 | |
632 | + | let cV = aZ(cQ) | |
638 | 633 | let cW = cV._1 | |
639 | 634 | let cX = cV._2 | |
640 | 635 | let cY = cV._3 | |
641 | - | let | |
642 | - | then invoke(this, "stakeUnstake", [true, | |
636 | + | let bR = if (containsElement(G, cj)) | |
637 | + | then invoke(this, "stakeUnstake", [true, cg, cj], nil) | |
643 | 638 | else 0 | |
644 | - | if (( | |
639 | + | if ((bR == bR)) | |
645 | 640 | then { | |
646 | - | let | |
641 | + | let bS = if (containsElement(G, cW)) | |
647 | 642 | then invoke(this, "stakeUnstake", [false, (cS + cR), cW], nil) | |
648 | 643 | else 0 | |
649 | - | if (( | |
650 | - | then [IntegerEntry(f, | |
644 | + | if ((bS == bS)) | |
645 | + | then $Tuple2([IntegerEntry(f, cx), IntegerEntry(g, cy), IntegerEntry(k, aA(cx, cy)), ScriptTransfer(ap.caller, cS, cQ), ScriptTransfer(D, cR, cQ)], $Tuple2(cS, cQ)) | |
651 | 646 | else throw("Strict value is not equal to itself.") | |
652 | 647 | } | |
653 | 648 | else throw("Strict value is not equal to itself.") | |
657 | 652 | ||
658 | 653 | ||
659 | 654 | ||
660 | - | @Callable( | |
661 | - | func shutdown () = valueOrElse( | |
662 | - | then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, | |
663 | - | else | |
655 | + | @Callable(ap) | |
656 | + | func shutdown () = valueOrElse(bg(ap), if (!(H)) | |
657 | + | then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, l), "the cause wasn't specified"))) | |
658 | + | else bc("Paused by admin")) | |
664 | 659 | ||
665 | 660 | ||
666 | 661 | ||
667 | - | @Callable( | |
668 | - | func activate () = valueOrElse( | |
669 | - | then | |
670 | - | else [BooleanEntry(c, true), DeleteEntry( | |
662 | + | @Callable(ap) | |
663 | + | func activate () = valueOrElse(bg(ap), if (H) | |
664 | + | then be() | |
665 | + | else [BooleanEntry(c, true), DeleteEntry(l)]) | |
671 | 666 | ||
672 | 667 | ||
673 | 668 | ||
674 | - | @Callable( | |
675 | - | func takeIntoAccountExtraFunds () = valueOrElse( | |
676 | - | let cZ = ( | |
677 | - | let da = ( | |
678 | - | let | |
679 | - | if (( | |
680 | - | then throw("Only the | |
669 | + | @Callable(ap) | |
670 | + | func takeIntoAccountExtraFunds () = valueOrElse(bf(), { | |
671 | + | let cZ = (au - Q) | |
672 | + | let da = (av - R) | |
673 | + | let cz = aA((Q + cZ), (R + da)) | |
674 | + | if ((ap.caller != D)) | |
675 | + | then throw("Only the money box can call this function") | |
681 | 676 | else if (if ((0 > cZ)) | |
682 | 677 | then true | |
683 | 678 | else (0 > da)) | |
684 | - | then | |
679 | + | then bc("Enroll amount negative") | |
685 | 680 | else if (if ((cZ == 0)) | |
686 | 681 | then (da == 0) | |
687 | 682 | else false) | |
688 | 683 | then throw("No money to take") | |
689 | 684 | else { | |
690 | - | let | |
685 | + | let bR = if (if (containsElement(G, I)) | |
691 | 686 | then (cZ > 0) | |
692 | 687 | else false) | |
693 | - | then invoke(this, "stakeUnstake", [true, cZ, | |
688 | + | then invoke(this, "stakeUnstake", [true, cZ, I], nil) | |
694 | 689 | else 0 | |
695 | - | if (( | |
690 | + | if ((bR == bR)) | |
696 | 691 | then { | |
697 | - | let | |
692 | + | let bS = if (if (containsElement(G, J)) | |
698 | 693 | then (da > 0) | |
699 | 694 | else false) | |
700 | - | then invoke(this, "stakeUnstake", [true, da, | |
695 | + | then invoke(this, "stakeUnstake", [true, da, J], nil) | |
701 | 696 | else 0 | |
702 | - | if (( | |
703 | - | then [IntegerEntry( | |
697 | + | if ((bS == bS)) | |
698 | + | then [IntegerEntry(k, cz), IntegerEntry(f, (Q + cZ)), IntegerEntry(g, (R + da))] | |
704 | 699 | else throw("Strict value is not equal to itself.") | |
705 | 700 | } | |
706 | 701 | else throw("Strict value is not equal to itself.") | |
709 | 704 | ||
710 | 705 | ||
711 | 706 | ||
712 | - | @Callable(as) | |
713 | - | func writeBigIntInvariant () = valueOrElse(bk(as), { | |
714 | - | let cE = aD(T, U) | |
715 | - | [IntegerEntry(l, cE)] | |
716 | - | }) | |
717 | - | ||
718 | - | ||
719 | - | ||
720 | - | @Callable(as) | |
721 | - | func stakeUnstake (bt,bv,db) = if ((as.caller != this)) | |
707 | + | @Callable(ap) | |
708 | + | func stakeUnstake (bp,br,db) = if ((ap.caller != this)) | |
722 | 709 | then throw("Only contract itself can invoke this function") | |
723 | 710 | else { | |
724 | - | let dc = | |
725 | - | let | |
711 | + | let dc = bq(bp, br, fromBase58String(db)) | |
712 | + | let bt = dc._1 | |
726 | 713 | let dd = dc._2 | |
727 | 714 | let de = dc._3 | |
728 | 715 | let df = dc._4 | |
729 | - | let dg = invoke(dd, | |
716 | + | let dg = invoke(dd, bt, de, df) | |
730 | 717 | if ((dg == dg)) | |
731 | 718 | then nil | |
732 | 719 | else throw("Strict value is not equal to itself.") | |
760 | 747 | then true | |
761 | 748 | else sigVerify(dh.bodyBytes, dh.proofs[0], B)) | |
762 | 749 | then true | |
763 | - | else sigVerify(dh.bodyBytes, dh.proofs[0], | |
750 | + | else sigVerify(dh.bodyBytes, dh.proofs[0], C) | |
764 | 751 | if (if (dn) | |
765 | 752 | then do | |
766 | 753 | else false) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "2.0.0" | |
5 | 5 | ||
6 | 6 | let b = "version" | |
7 | 7 | ||
8 | 8 | let c = "active" | |
9 | 9 | ||
10 | 10 | let d = "A_asset_id" | |
11 | 11 | ||
12 | 12 | let e = "B_asset_id" | |
13 | 13 | ||
14 | 14 | let f = "A_asset_balance" | |
15 | 15 | ||
16 | 16 | let g = "B_asset_balance" | |
17 | 17 | ||
18 | 18 | let h = "share_asset_id" | |
19 | 19 | ||
20 | 20 | let i = "share_asset_supply" | |
21 | 21 | ||
22 | 22 | let j = "commission" | |
23 | 23 | ||
24 | - | let k = " | |
24 | + | let k = "invariant" | |
25 | 25 | ||
26 | - | let l = " | |
26 | + | let l = "shutdown_cause" | |
27 | 27 | ||
28 | - | let m = " | |
28 | + | let m = "staking_usdnnsbt_address" | |
29 | 29 | ||
30 | - | let n = "staking_ | |
30 | + | let n = "staking_eurn_address" | |
31 | 31 | ||
32 | - | let o = " | |
32 | + | let o = "admin_pub_1" | |
33 | 33 | ||
34 | - | let p = "admin_pub_ | |
34 | + | let p = "admin_pub_2" | |
35 | 35 | ||
36 | - | let q = "admin_pub_ | |
36 | + | let q = "admin_pub_3" | |
37 | 37 | ||
38 | - | let r = "admin_pub | |
38 | + | let r = "admin_invoke_pub" | |
39 | 39 | ||
40 | - | let s = | |
40 | + | let s = "money_box_address" | |
41 | 41 | ||
42 | 42 | let t = Address(base58'3NBBWfzZtZtszaXbitTKnrB2xXwv26Bn7H9') | |
43 | 43 | ||
44 | 44 | func u (v) = { | |
45 | 45 | let w = getString(t, v) | |
46 | 46 | if ($isInstanceOf(w, "String")) | |
47 | 47 | then { | |
48 | 48 | let x = w | |
49 | 49 | fromBase58String(x) | |
50 | 50 | } | |
51 | 51 | else { | |
52 | 52 | let y = w | |
53 | - | throw(" | |
53 | + | throw((v + "is empty")) | |
54 | 54 | } | |
55 | 55 | } | |
56 | 56 | ||
57 | 57 | ||
58 | - | let z = u( | |
58 | + | let z = u(o) | |
59 | 59 | ||
60 | - | let A = u( | |
60 | + | let A = u(p) | |
61 | 61 | ||
62 | - | let B = u( | |
62 | + | let B = u(q) | |
63 | 63 | ||
64 | - | let C = | |
64 | + | let C = u(r) | |
65 | 65 | ||
66 | - | let D = | |
66 | + | let D = Address(u(s)) | |
67 | 67 | ||
68 | - | let E = Address( | |
68 | + | let E = Address(u(m)) | |
69 | 69 | ||
70 | 70 | let F = base58'8UrfDVd5GreeUwm7uPk7eYz1eMv376kzR52C6sANPkwS' | |
71 | 71 | ||
72 | - | let G = | |
72 | + | let G = [toBase58String(F)] | |
73 | 73 | ||
74 | - | let H = | |
74 | + | let H = getBooleanValue(this, c) | |
75 | 75 | ||
76 | - | let I = | |
76 | + | let I = getStringValue(this, d) | |
77 | 77 | ||
78 | - | let J = | |
78 | + | let J = getStringValue(this, e) | |
79 | 79 | ||
80 | - | let K = getBooleanValue(this, c) | |
80 | + | let K = if ((I == "WAVES")) | |
81 | + | then unit | |
82 | + | else fromBase58String(I) | |
81 | 83 | ||
82 | - | let L = getStringValue(this, d) | |
84 | + | let L = if ((J == "WAVES")) | |
85 | + | then unit | |
86 | + | else fromBase58String(J) | |
83 | 87 | ||
84 | - | let M = getStringValue(this, e) | |
85 | - | ||
86 | - | let N = if ((L == "WAVES")) | |
87 | - | then unit | |
88 | - | else fromBase58String(L) | |
89 | - | ||
90 | - | let O = if ((M == "WAVES")) | |
91 | - | then unit | |
92 | - | else fromBase58String(M) | |
93 | - | ||
94 | - | let P = { | |
95 | - | let w = N | |
88 | + | let M = { | |
89 | + | let w = K | |
96 | 90 | if ($isInstanceOf(w, "ByteVector")) | |
97 | 91 | then { | |
98 | - | let | |
99 | - | value(assetInfo( | |
92 | + | let N = w | |
93 | + | value(assetInfo(N)).name | |
100 | 94 | } | |
101 | 95 | else if ($isInstanceOf(w, "Unit")) | |
102 | 96 | then { | |
103 | - | let | |
97 | + | let O = w | |
104 | 98 | "WAVES" | |
105 | 99 | } | |
106 | 100 | else throw("Match error") | |
107 | 101 | } | |
108 | 102 | ||
109 | - | let | |
110 | - | let w = | |
103 | + | let P = { | |
104 | + | let w = L | |
111 | 105 | if ($isInstanceOf(w, "ByteVector")) | |
112 | 106 | then { | |
113 | - | let | |
114 | - | value(assetInfo( | |
107 | + | let N = w | |
108 | + | value(assetInfo(N)).name | |
115 | 109 | } | |
116 | 110 | else if ($isInstanceOf(w, "Unit")) | |
117 | 111 | then { | |
118 | - | let | |
112 | + | let O = w | |
119 | 113 | "WAVES" | |
120 | 114 | } | |
121 | 115 | else throw("Match error") | |
122 | 116 | } | |
123 | 117 | ||
124 | - | let | |
118 | + | let Q = getIntegerValue(this, f) | |
125 | 119 | ||
126 | - | let | |
120 | + | let R = getIntegerValue(this, g) | |
127 | 121 | ||
128 | - | let | |
122 | + | let S = fromBase58String(getStringValue(this, h)) | |
129 | 123 | ||
130 | - | let | |
124 | + | let T = getIntegerValue(this, i) | |
131 | 125 | ||
132 | - | let | |
126 | + | let U = getIntegerValue(this, k) | |
133 | 127 | ||
134 | - | let | |
128 | + | let V = getIntegerValue(this, j) | |
135 | 129 | ||
136 | - | let | |
130 | + | let W = fraction(V, 40, 100) | |
137 | 131 | ||
138 | - | let aa = 1000000 | |
132 | + | let X = 1000000 | |
133 | + | ||
134 | + | let Y = 1000 | |
135 | + | ||
136 | + | let Z = 100000000 | |
137 | + | ||
138 | + | let aa = 10000000000000000 | |
139 | 139 | ||
140 | 140 | let ab = 1000 | |
141 | 141 | ||
142 | - | let ac = | |
142 | + | let ac = 8 | |
143 | 143 | ||
144 | - | let ad = | |
144 | + | let ad = 50 | |
145 | 145 | ||
146 | - | let ae = | |
146 | + | let ae = 100 | |
147 | 147 | ||
148 | - | let af = | |
148 | + | let af = 90000000 | |
149 | 149 | ||
150 | - | let ag = | |
150 | + | let ag = 110000000 | |
151 | 151 | ||
152 | - | let ah = | |
152 | + | let ah = 50 | |
153 | 153 | ||
154 | - | let ai = | |
154 | + | let ai = 2 | |
155 | 155 | ||
156 | - | let aj = | |
156 | + | let aj = 4600000000000000 | |
157 | 157 | ||
158 | - | let ak = 50 | |
159 | - | ||
160 | - | let al = 2 | |
161 | - | ||
162 | - | let am = 4600000000000000 | |
163 | - | ||
164 | - | func an (ao) = { | |
165 | - | let w = ao | |
158 | + | func ak (al) = { | |
159 | + | let w = al | |
166 | 160 | if ($isInstanceOf(w, "ByteVector")) | |
167 | 161 | then { | |
168 | - | let | |
169 | - | assetBalance(this, | |
162 | + | let N = w | |
163 | + | assetBalance(this, N) | |
170 | 164 | } | |
171 | 165 | else if ($isInstanceOf(w, "Unit")) | |
172 | 166 | then { | |
173 | - | let | |
167 | + | let O = w | |
174 | 168 | wavesBalance(this).available | |
175 | 169 | } | |
176 | 170 | else throw("Match error") | |
177 | 171 | } | |
178 | 172 | ||
179 | 173 | ||
180 | - | func | |
181 | - | let | |
182 | - | let w = | |
174 | + | func am (al) = { | |
175 | + | let an = { | |
176 | + | let w = al | |
183 | 177 | if ($isInstanceOf(w, "ByteVector")) | |
184 | 178 | then { | |
185 | - | let ar = w | |
186 | - | if ((ar == F)) | |
187 | - | then getInteger(I, ((("rpd_balance_" + toBase58String(ar)) + "_") + toString(this))) | |
188 | - | else if ((ar == G)) | |
189 | - | then getInteger(J, ((("%s%s%s__stakingBalance__" + toBase58String(ar)) + "__") + toString(this))) | |
190 | - | else 0 | |
179 | + | let ao = w | |
180 | + | if ((ao == F)) | |
181 | + | then getInteger(E, ((("rpd_balance_" + toBase58String(ao)) + "_") + toString(this))) | |
182 | + | else 0 | |
191 | 183 | } | |
192 | 184 | else if ($isInstanceOf(w, "Unit")) | |
193 | 185 | then 0 | |
194 | 186 | else throw("Match error") | |
195 | 187 | } | |
196 | - | let w = | |
188 | + | let w = an | |
197 | 189 | if ($isInstanceOf(w, "Int")) | |
198 | 190 | then { | |
199 | - | let | |
200 | - | | |
191 | + | let ap = w | |
192 | + | ap | |
201 | 193 | } | |
202 | 194 | else 0 | |
203 | 195 | } | |
204 | 196 | ||
205 | 197 | ||
206 | - | let | |
198 | + | let aq = am(K) | |
207 | 199 | ||
208 | - | let | |
200 | + | let ar = am(L) | |
209 | 201 | ||
210 | - | let | |
202 | + | let as = (Q - aq) | |
211 | 203 | ||
212 | - | let | |
204 | + | let at = (R - ar) | |
213 | 205 | ||
214 | - | let | |
206 | + | let au = (ak(K) + aq) | |
215 | 207 | ||
216 | - | let | |
208 | + | let av = (ak(L) + ar) | |
217 | 209 | ||
218 | - | let | |
219 | - | then ( | |
210 | + | let aw = if ((au >= Q)) | |
211 | + | then (av >= R) | |
220 | 212 | else false | |
221 | 213 | ||
222 | - | func | |
214 | + | func ax (ay,az) = ((fraction(aa, ay, az) + fraction(aa, az, ay)) / 2) | |
223 | 215 | ||
224 | 216 | ||
225 | - | func | |
226 | - | let | |
227 | - | (fraction(( | |
217 | + | func aA (ay,az) = { | |
218 | + | let aB = ax(ay, az) | |
219 | + | (fraction((ay + az), aa, pow(aB, ac, ah, ai, ac, CEILING)) + (2 * fraction(toInt(pow(fraction(toBigInt(ay), toBigInt(az), toBigInt(Z)), 0, toBigInt(5), 1, (ac / 2), DOWN)), pow((aB - aj), ac, ah, ai, ac, DOWN), Z))) | |
228 | 220 | } | |
229 | 221 | ||
230 | 222 | ||
231 | - | func | |
232 | - | let | |
233 | - | let | |
234 | - | let | |
235 | - | let | |
236 | - | func | |
223 | + | func aC (aD,aE,aF,aG) = { | |
224 | + | let aH = (aa - ((aa * 1) / 10000000)) | |
225 | + | let aI = (aD - aE) | |
226 | + | let ay = (Q + aF) | |
227 | + | let az = (R + aF) | |
228 | + | func aJ (aK,aL) = if ((aK._1 == -1)) | |
237 | 229 | then { | |
238 | - | let | |
239 | - | let | |
240 | - | then | |
241 | - | else | |
242 | - | if (( | |
243 | - | then $Tuple2( | |
230 | + | let aM = (aD - (((aL * aI) / 3) / Y)) | |
231 | + | let aN = if ((aG == K)) | |
232 | + | then aA(ay, (R - aM)) | |
233 | + | else aA((Q - aM), az) | |
234 | + | if ((aN > U)) | |
235 | + | then $Tuple2(aM, aN) | |
244 | 236 | else $Tuple2(-1, 0) | |
245 | 237 | } | |
246 | - | else | |
238 | + | else aK | |
247 | 239 | ||
248 | - | let | |
249 | - | if ((0 > | |
240 | + | let aO = aJ($Tuple2(-1, 0), 3000) | |
241 | + | if ((0 > aO._1)) | |
250 | 242 | then throw("Price is worse than minReceived") | |
251 | 243 | else { | |
252 | - | let | |
253 | - | then | |
254 | - | else if (( | |
255 | - | then | |
244 | + | let aP = if ((aG == K)) | |
245 | + | then aA(ay, (R - aD)) | |
246 | + | else if ((aG == L)) | |
247 | + | then aA((Q - aD), az) | |
256 | 248 | else throw("Wrong asset in payment") | |
257 | - | | |
258 | - | then if (( | |
259 | - | then throw(" | |
249 | + | if ((U > aP)) | |
250 | + | then if ((aH >= fraction(aa, U, aP))) | |
251 | + | then throw("The requested price is too not profitable for user") | |
260 | 252 | else { | |
261 | - | let | |
262 | - | let | |
263 | - | let | |
264 | - | let | |
265 | - | func | |
266 | - | then | |
267 | - | else | |
253 | + | let aQ = { | |
254 | + | let aR = [25, 200, 500] | |
255 | + | let aS = size(aR) | |
256 | + | let aT = $Tuple2(-1, 0) | |
257 | + | func aU (aV,aW) = if ((aW >= aS)) | |
258 | + | then aV | |
259 | + | else aJ(aV, aR[aW]) | |
268 | 260 | ||
269 | - | func | |
270 | - | then | |
261 | + | func aX (aV,aW) = if ((aW >= aS)) | |
262 | + | then aV | |
271 | 263 | else throw("List size exceeds 3") | |
272 | 264 | ||
273 | - | | |
265 | + | aX(aU(aU(aU(aT, 0), 1), 2), 3) | |
274 | 266 | } | |
275 | - | if ((0 > | |
276 | - | then | |
277 | - | else | |
267 | + | if ((0 > aQ._1)) | |
268 | + | then aO._1 | |
269 | + | else aQ._1 | |
278 | 270 | } | |
279 | 271 | else { | |
280 | - | let | |
281 | - | let | |
282 | - | let | |
283 | - | let | |
284 | - | func | |
285 | - | then | |
286 | - | else | |
272 | + | let aQ = { | |
273 | + | let aR = [-500, -200, -25] | |
274 | + | let aS = size(aR) | |
275 | + | let aT = $Tuple2(-1, 0) | |
276 | + | func aU (aV,aW) = if ((aW >= aS)) | |
277 | + | then aV | |
278 | + | else aJ(aV, aR[aW]) | |
287 | 279 | ||
288 | - | func | |
289 | - | then | |
280 | + | func aX (aV,aW) = if ((aW >= aS)) | |
281 | + | then aV | |
290 | 282 | else throw("List size exceeds 3") | |
291 | 283 | ||
292 | - | | |
284 | + | aX(aU(aU(aU(aT, 0), 1), 2), 3) | |
293 | 285 | } | |
294 | - | let | |
295 | - | then $Tuple2( | |
296 | - | else | |
297 | - | if (( | |
298 | - | then throw(" | |
299 | - | else | |
286 | + | let aY = if ((0 > aQ._1)) | |
287 | + | then $Tuple2(aD, aP) | |
288 | + | else aQ | |
289 | + | if ((aH >= fraction(aa, U, aY._2))) | |
290 | + | then throw("The requested price is too not profitable for user") | |
291 | + | else aY._1 | |
300 | 292 | } | |
301 | - | aT | |
302 | 293 | } | |
303 | 294 | } | |
304 | 295 | ||
305 | 296 | ||
306 | - | func | |
307 | - | let w = | |
297 | + | func aZ (al) = { | |
298 | + | let w = al | |
308 | 299 | if ($isInstanceOf(w, "ByteVector")) | |
309 | 300 | then { | |
310 | - | let | |
311 | - | let | |
312 | - | let | |
313 | - | $Tuple3( | |
301 | + | let N = w | |
302 | + | let ba = toBase58String(N) | |
303 | + | let bb = valueOrErrorMessage(assetInfo(N), (("Asset " + ba) + " doesn't exist")) | |
304 | + | $Tuple3(ba, bb.name, bb.decimals) | |
314 | 305 | } | |
315 | 306 | else if ($isInstanceOf(w, "Unit")) | |
316 | 307 | then { | |
317 | - | let | |
308 | + | let O = w | |
318 | 309 | $Tuple3("WAVES", "WAVES", 8) | |
319 | 310 | } | |
320 | 311 | else throw("Match error") | |
321 | 312 | } | |
322 | 313 | ||
323 | 314 | ||
324 | - | func | |
315 | + | func bc (bd) = [BooleanEntry(c, false), StringEntry(l, bd)] | |
325 | 316 | ||
326 | 317 | ||
327 | - | func | |
318 | + | func be () = throw("DApp is already active") | |
328 | 319 | ||
329 | 320 | ||
330 | - | func | |
321 | + | func bf () = if (H) | |
331 | 322 | then unit | |
332 | 323 | else throw("DApp is inactive at this moment") | |
333 | 324 | ||
334 | 325 | ||
335 | - | func | |
326 | + | func bg (ap) = if (containsElement([z, A, B], ap.callerPublicKey)) | |
336 | 327 | then unit | |
337 | 328 | else throw("Only admin can call this function") | |
338 | 329 | ||
339 | 330 | ||
340 | - | func | |
331 | + | func bh () = throw(((("Incorrect assets attached. Expected: " + I) + " and ") + J)) | |
341 | 332 | ||
342 | 333 | ||
343 | - | func | |
334 | + | func bi () = throw("One attached payment expected") | |
344 | 335 | ||
345 | 336 | ||
346 | - | func | |
337 | + | func bj (bk,bl,bm) = throw(((((((((("New balance in assets of the DApp is less than threshold " + toString(bk)) + ": ") + toString(bl)) + " ") + M) + ", ") + toString(bm)) + " ") + P)) | |
347 | 338 | ||
348 | 339 | ||
349 | - | func | |
340 | + | func bn () = bc(((((((((((((((("Suspicious state. Actual balances: " + toString(Q)) + " ") + M) + ", ") + toString(R)) + " ") + P) + ". State: ") + toString(ak(K))) + " ") + M) + ", ") + toString(ak(L))) + " ") + P)) | |
350 | 341 | ||
351 | 342 | ||
352 | - | func bs (bt,ao) = if (bt) | |
353 | - | then if ((ao == F)) | |
354 | - | then $Tuple2("lockNeutrino", I) | |
355 | - | else $Tuple2("startStaking", J) | |
356 | - | else if ((ao == F)) | |
357 | - | then $Tuple2("unlockNeutrino", I) | |
358 | - | else $Tuple2("stopStaking", J) | |
343 | + | func bo (bp,al) = if (bp) | |
344 | + | then $Tuple2("lockNeutrino", E) | |
345 | + | else $Tuple2("unlockNeutrino", E) | |
359 | 346 | ||
360 | 347 | ||
361 | - | func | |
348 | + | func bq (bp,br,al) = if (bp) | |
362 | 349 | then { | |
363 | - | let | |
364 | - | let | |
365 | - | let | |
366 | - | $Tuple4( | |
350 | + | let bs = bo(bp, al) | |
351 | + | let bt = bs._1 | |
352 | + | let bu = bs._2 | |
353 | + | $Tuple4(bt, bu, nil, [AttachedPayment(al, br)]) | |
367 | 354 | } | |
368 | 355 | else { | |
369 | - | let | |
370 | - | let | |
371 | - | let | |
372 | - | $Tuple4( | |
356 | + | let bv = bo(bp, al) | |
357 | + | let bt = bv._1 | |
358 | + | let bu = bv._2 | |
359 | + | $Tuple4(bt, bu, [br, toBase58String(al)], nil) | |
373 | 360 | } | |
374 | 361 | ||
375 | 362 | ||
376 | - | @Callable( | |
363 | + | @Callable(ap) | |
377 | 364 | func init () = { | |
378 | - | let bA = $Tuple2(as.payments[0].amount, as.payments[0].assetId) | |
379 | - | let bB = bA._1 | |
380 | - | let bC = bA._2 | |
381 | - | let bD = $Tuple2(as.payments[1].amount, as.payments[1].assetId) | |
382 | - | let bE = bD._1 | |
383 | - | let bF = bD._2 | |
384 | - | let bG = bd(bC) | |
365 | + | let bw = $Tuple2(ap.payments[0].amount, ap.payments[0].assetId) | |
366 | + | let bx = bw._1 | |
367 | + | let by = bw._2 | |
368 | + | let bz = $Tuple2(ap.payments[1].amount, ap.payments[1].assetId) | |
369 | + | let bA = bz._1 | |
370 | + | let bB = bz._2 | |
371 | + | let bC = aZ(by) | |
372 | + | let bD = bC._1 | |
373 | + | let bE = bC._2 | |
374 | + | let bF = bC._3 | |
375 | + | let bG = aZ(bB) | |
385 | 376 | let bH = bG._1 | |
386 | 377 | let bI = bG._2 | |
387 | 378 | let bJ = bG._3 | |
388 | - | let bK = bd(bF) | |
389 | - | let bL = bK._1 | |
390 | - | let bM = bK._2 | |
391 | - | let bN = bK._3 | |
392 | 379 | if (isDefined(getBoolean(this, c))) | |
393 | - | then | |
394 | - | else if (( | |
380 | + | then be() | |
381 | + | else if ((by == bB)) | |
395 | 382 | then throw("Assets must be different") | |
396 | 383 | else { | |
397 | - | let | |
398 | - | let | |
399 | - | let | |
400 | - | let | |
401 | - | let | |
402 | - | let | |
403 | - | let | |
404 | - | let | |
405 | - | then invoke(this, "stakeUnstake", [true, | |
384 | + | let bK = ((("s" + take(bE, 7)) + "_") + take(bI, 7)) | |
385 | + | let bL = ((((("ShareToken of SwopFi protocol for " + bE) + " and ") + bI) + " at address ") + toString(this)) | |
386 | + | let bM = ((bF + bJ) / 2) | |
387 | + | let bN = fraction(pow(bx, bF, 5, 1, bF, DOWN), pow(bA, bJ, 5, 1, bJ, DOWN), pow(10, 0, bM, 0, 0, DOWN)) | |
388 | + | let bO = Issue(bK, bL, bN, bM, true) | |
389 | + | let bP = calculateAssetId(bO) | |
390 | + | let bQ = aA(bx, bA) | |
391 | + | let bR = if (containsElement(G, bD)) | |
392 | + | then invoke(this, "stakeUnstake", [true, bx, bD], nil) | |
406 | 393 | else 0 | |
407 | - | if (( | |
394 | + | if ((bR == bR)) | |
408 | 395 | then { | |
409 | - | let | |
410 | - | then invoke(this, "stakeUnstake", [true, | |
396 | + | let bS = if (containsElement(G, bH)) | |
397 | + | then invoke(this, "stakeUnstake", [true, bA, bH], nil) | |
411 | 398 | else 0 | |
412 | - | if (( | |
413 | - | then [StringEntry(b, a), BooleanEntry(c, true), StringEntry(d, | |
399 | + | if ((bS == bS)) | |
400 | + | then [StringEntry(b, a), BooleanEntry(c, true), StringEntry(d, bD), StringEntry(e, bH), IntegerEntry(f, bx), IntegerEntry(g, bA), IntegerEntry(k, bQ), IntegerEntry(j, getIntegerValue(t, "base_fee_flat")), bO, StringEntry(h, toBase58String(bP)), IntegerEntry(i, bN), ScriptTransfer(ap.caller, bN, bP)] | |
414 | 401 | else throw("Strict value is not equal to itself.") | |
415 | 402 | } | |
416 | 403 | else throw("Strict value is not equal to itself.") | |
417 | 404 | } | |
418 | 405 | } | |
419 | 406 | ||
420 | 407 | ||
421 | 408 | ||
422 | - | @Callable( | |
423 | - | func replenishWithTwoTokens () = valueOrElse( | |
424 | - | let | |
425 | - | let | |
426 | - | let | |
427 | - | let | |
428 | - | let | |
429 | - | let | |
430 | - | let | |
431 | - | let | |
432 | - | let | |
433 | - | let | |
434 | - | let | |
435 | - | let | |
436 | - | let | |
409 | + | @Callable(ap) | |
410 | + | func replenishWithTwoTokens () = valueOrElse(bf(), { | |
411 | + | let by = ap.payments[0].assetId | |
412 | + | let bB = ap.payments[1].assetId | |
413 | + | let bT = fraction(Z, ap.payments[0].amount, Q) | |
414 | + | let bU = fraction(Z, ap.payments[1].amount, R) | |
415 | + | let bV = aZ(by) | |
416 | + | let bD = bV._1 | |
417 | + | let bE = bV._2 | |
418 | + | let bF = bV._3 | |
419 | + | let bW = aZ(bB) | |
420 | + | let bH = bW._1 | |
421 | + | let bI = bW._2 | |
422 | + | let bJ = bW._3 | |
423 | + | let bX = if ((bU > bT)) | |
437 | 424 | then { | |
438 | - | let | |
439 | - | $Tuple5( | |
425 | + | let bY = fraction(R, bT, Z, CEILING) | |
426 | + | $Tuple5(ap.payments[0].amount, bY, (ap.payments[1].amount - bY), bB, bT) | |
440 | 427 | } | |
441 | 428 | else { | |
442 | - | let | |
443 | - | $Tuple5( | |
429 | + | let bY = fraction(Q, bU, Z, CEILING) | |
430 | + | $Tuple5(bY, ap.payments[1].amount, (ap.payments[0].amount - bY), by, bU) | |
444 | 431 | } | |
445 | - | let | |
446 | - | let | |
447 | - | let | |
448 | - | let | |
449 | - | let | |
450 | - | let | |
451 | - | if ((size( | |
432 | + | let bx = bX._1 | |
433 | + | let bA = bX._2 | |
434 | + | let bZ = bX._3 | |
435 | + | let ca = bX._4 | |
436 | + | let cb = bX._5 | |
437 | + | let cc = fraction(cb, T, Z) | |
438 | + | if ((size(ap.payments) != 2)) | |
452 | 439 | then throw("Two attached assets expected") | |
453 | - | else if (if (( | |
440 | + | else if (if ((by != K)) | |
454 | 441 | then true | |
455 | - | else ( | |
456 | - | then | |
457 | - | else if (( | |
442 | + | else (bB != L)) | |
443 | + | then bh() | |
444 | + | else if ((cc == 0)) | |
458 | 445 | then throw("Too small amount to replenish") | |
459 | - | else if ((0 > | |
446 | + | else if ((0 > bZ)) | |
460 | 447 | then throw("Change < 0") | |
461 | - | else if (!( | |
462 | - | then ([ScriptTransfer( | |
448 | + | else if (!(aw)) | |
449 | + | then ([ScriptTransfer(ap.caller, bx, by), ScriptTransfer(ap.caller, bA, bB)] ++ bn()) | |
463 | 450 | else { | |
464 | - | let | |
465 | - | then invoke(this, "stakeUnstake", [true, | |
451 | + | let bR = if (containsElement(G, bD)) | |
452 | + | then invoke(this, "stakeUnstake", [true, bx, bD], nil) | |
466 | 453 | else 0 | |
467 | - | if (( | |
454 | + | if ((bR == bR)) | |
468 | 455 | then { | |
469 | - | let | |
470 | - | then invoke(this, "stakeUnstake", [true, | |
456 | + | let bS = if (containsElement(G, bH)) | |
457 | + | then invoke(this, "stakeUnstake", [true, bA, bH], nil) | |
471 | 458 | else 0 | |
472 | - | if (( | |
473 | - | then [IntegerEntry(f, ( | |
459 | + | if ((bS == bS)) | |
460 | + | then [IntegerEntry(f, (Q + bx)), IntegerEntry(g, (R + bA)), IntegerEntry(i, (T + cc)), IntegerEntry(k, aA((Q + bx), (R + bA))), Reissue(S, cc, true), ScriptTransfer(ap.caller, cc, S), ScriptTransfer(ap.caller, bZ, ca)] | |
474 | 461 | else throw("Strict value is not equal to itself.") | |
475 | 462 | } | |
476 | 463 | else throw("Strict value is not equal to itself.") | |
477 | 464 | } | |
478 | 465 | }) | |
479 | 466 | ||
480 | 467 | ||
481 | 468 | ||
482 | - | @Callable( | |
483 | - | func replenishWithOneToken ( | |
484 | - | let | |
485 | - | let | |
486 | - | let | |
487 | - | let | |
488 | - | let | |
489 | - | let | |
490 | - | let | |
491 | - | let | |
492 | - | let | |
493 | - | let | |
469 | + | @Callable(ap) | |
470 | + | func replenishWithOneToken (cd,ce) = valueOrElse(bf(), { | |
471 | + | let cf = $Tuple2(ap.payments[0].amount, ap.payments[0].assetId) | |
472 | + | let cg = cf._1 | |
473 | + | let ch = cf._2 | |
474 | + | let ci = aZ(ch) | |
475 | + | let cj = ci._1 | |
476 | + | let ck = ci._2 | |
477 | + | let cl = ci._3 | |
478 | + | let cm = 5000000 | |
479 | + | let cn = 50000000 | |
480 | + | let co = if ((cn > cg)) | |
494 | 481 | then 100000 | |
495 | 482 | else 1 | |
496 | - | let | |
497 | - | let | |
498 | - | let | |
499 | - | if (( | |
500 | - | then throw((((("Payment amount " + toString( | |
501 | - | else if ((size( | |
502 | - | then | |
503 | - | else if (!( | |
504 | - | then ([ScriptTransfer( | |
505 | - | else if (if (( | |
506 | - | then ( | |
483 | + | let cp = (Z - ((Z * co) / 10000000)) | |
484 | + | let cq = (Z + ((Z * co) / 10000000)) | |
485 | + | let cr = (Z - ((Z * 1) / 10000000)) | |
486 | + | if ((cm > cg)) | |
487 | + | then throw((((("Payment amount " + toString(cg)) + " does not exceed the minimum amount of ") + toString(cm)) + " tokens")) | |
488 | + | else if ((size(ap.payments) != 1)) | |
489 | + | then bi() | |
490 | + | else if (!(aw)) | |
491 | + | then ([ScriptTransfer(ap.caller, cg, ch)] ++ bn()) | |
492 | + | else if (if ((ch != K)) | |
493 | + | then (ch != L) | |
507 | 494 | else false) | |
508 | - | then | |
495 | + | then bh() | |
509 | 496 | else { | |
510 | - | let cw = if ((cl == N)) | |
511 | - | then $Tuple7((ck - ch), ci, (T + ch), (U - ci), aD((T + ck), U), (T + ck), U) | |
512 | - | else $Tuple7(ci, (ck - ch), (T - ci), (U + ch), aD(T, (U + ck)), T, (U + ck)) | |
513 | - | let cx = cw._1 | |
514 | - | let cy = cw._2 | |
515 | - | let cz = cw._3 | |
516 | - | let cA = cw._4 | |
517 | - | let bU = cw._5 | |
518 | - | let cB = cw._6 | |
519 | - | let cC = cw._7 | |
520 | - | let cD = if ((cl == N)) | |
521 | - | then IntegerEntry(f, cB) | |
522 | - | else IntegerEntry(g, cC) | |
523 | - | let cE = aD(cz, cA) | |
524 | - | let cF = fraction(ac, X, cE) | |
525 | - | let cG = (fraction((ac * ac), cz, cA) / fraction(ac, cx, cy)) | |
526 | - | let cH = fraction((cB + cC), ag, (2 * ah)) | |
527 | - | if (if ((cv >= cF)) | |
497 | + | let cs = if ((ch == K)) | |
498 | + | then $Tuple6((cg - cd), ce, (Q + cd), (R - ce), (Q + cg), R) | |
499 | + | else $Tuple6(ce, (cg - cd), (Q - ce), (R + cd), Q, (R + cg)) | |
500 | + | let ct = cs._1 | |
501 | + | let cu = cs._2 | |
502 | + | let cv = cs._3 | |
503 | + | let cw = cs._4 | |
504 | + | let cx = cs._5 | |
505 | + | let cy = cs._6 | |
506 | + | let cz = aA(cv, cw) | |
507 | + | let cA = (fraction(aa, cv, cw) / fraction(Z, ct, cu)) | |
508 | + | let cB = fraction((cx + cy), ad, (2 * ae)) | |
509 | + | if (if ((cr >= fraction(Z, U, cz))) | |
528 | 510 | then true | |
529 | - | else ( | |
511 | + | else (U > cz)) | |
530 | 512 | then throw("Incorrect virtualSwapTokenPay or virtualSwapTokenGet value") | |
531 | - | else if (if (( | |
513 | + | else if (if ((cp > cA)) | |
532 | 514 | then true | |
533 | - | else ( | |
515 | + | else (cA > cq)) | |
534 | 516 | then throw("Swap with virtualSwapTokenPay and virtualSwapTokenGet is possible, but ratio after virtual swap is incorrect") | |
535 | - | else if (if (( | |
517 | + | else if (if ((cB > cx)) | |
536 | 518 | then true | |
537 | - | else ( | |
538 | - | then | |
519 | + | else (cB > cy)) | |
520 | + | then bj(cB, cx, cy) | |
539 | 521 | else { | |
540 | - | let bV = if (containsElement(H, cn)) | |
541 | - | then invoke(this, "stakeUnstake", [true, ck, cn], nil) | |
522 | + | let bT = fraction(ct, Z, cv) | |
523 | + | let bU = fraction(cu, Z, cw) | |
524 | + | let cc = fraction(min([bT, bU]), T, Z) | |
525 | + | let cC = fraction(cc, (X - (V / 2)), X) | |
526 | + | let cD = fraction(cc, (W / 2), X) | |
527 | + | let cE = fraction(cD, Q, T) | |
528 | + | let cF = fraction(cD, R, T) | |
529 | + | let cG = if ((cj == I)) | |
530 | + | then $Tuple3((cg - cE), cF, J) | |
531 | + | else $Tuple3((cg - cF), cE, I) | |
532 | + | let cH = cG._1 | |
533 | + | let cI = cG._2 | |
534 | + | let cJ = cG._3 | |
535 | + | let bR = if (containsElement(G, cj)) | |
536 | + | then invoke(this, "stakeUnstake", [true, cH, cj], nil) | |
542 | 537 | else 0 | |
543 | - | if (( | |
538 | + | if ((bR == bR)) | |
544 | 539 | then { | |
545 | - | let bX = fraction(cx, ac, cz) | |
546 | - | let bY = fraction(cy, ac, cA) | |
547 | - | let cg = fraction(min([bX, bY]), W, ac) | |
548 | - | [Reissue(V, cg, true), ScriptTransfer(as.caller, cg, V), IntegerEntry(i, (W + cg)), cD, IntegerEntry(l, bU)] | |
540 | + | let bS = if (containsElement(G, cJ)) | |
541 | + | then invoke(this, "stakeUnstake", [false, cI, cJ], nil) | |
542 | + | else 0 | |
543 | + | if ((bS == bS)) | |
544 | + | then [Reissue(S, cC, true), ScriptTransfer(ap.caller, cC, S), ScriptTransfer(D, cE, K), ScriptTransfer(D, cF, L), IntegerEntry(f, (cx - cE)), IntegerEntry(g, (cy - cF)), IntegerEntry(i, (T + cC)), IntegerEntry(k, aA((cx - cE), (cy - cF)))] | |
545 | + | else throw("Strict value is not equal to itself.") | |
549 | 546 | } | |
550 | 547 | else throw("Strict value is not equal to itself.") | |
551 | 548 | } | |
552 | 549 | } | |
553 | 550 | }) | |
554 | 551 | ||
555 | 552 | ||
556 | 553 | ||
557 | - | @Callable( | |
558 | - | func withdraw () = valueOrElse( | |
559 | - | let | |
560 | - | let | |
561 | - | let | |
562 | - | let | |
563 | - | let | |
564 | - | let | |
565 | - | if ((size( | |
566 | - | then | |
567 | - | else if (( | |
568 | - | then throw(("Incorrect asset attached. Expected: " + toBase58String( | |
569 | - | else if (!( | |
570 | - | then ([ScriptTransfer( | |
554 | + | @Callable(ap) | |
555 | + | func withdraw () = valueOrElse(bf(), { | |
556 | + | let cK = $Tuple2(ap.payments[0].amount, ap.payments[0].assetId) | |
557 | + | let cg = cK._1 | |
558 | + | let ch = cK._2 | |
559 | + | let cL = fraction(cg, Q, T) | |
560 | + | let cM = fraction(cg, R, T) | |
561 | + | let bQ = aA((Q - cL), (R - cM)) | |
562 | + | if ((size(ap.payments) != 1)) | |
563 | + | then bi() | |
564 | + | else if ((ch != S)) | |
565 | + | then throw(("Incorrect asset attached. Expected: " + toBase58String(S))) | |
566 | + | else if (!(aw)) | |
567 | + | then ([ScriptTransfer(ap.caller, cg, ch)] ++ bn()) | |
571 | 568 | else { | |
572 | - | let | |
573 | - | then invoke(this, "stakeUnstake", [false, | |
569 | + | let bR = if (containsElement(G, I)) | |
570 | + | then invoke(this, "stakeUnstake", [false, cL, I], nil) | |
574 | 571 | else 0 | |
575 | - | if (( | |
572 | + | if ((bR == bR)) | |
576 | 573 | then { | |
577 | - | let | |
578 | - | then invoke(this, "stakeUnstake", [false, | |
574 | + | let bS = if (containsElement(G, J)) | |
575 | + | then invoke(this, "stakeUnstake", [false, cM, J], nil) | |
579 | 576 | else 0 | |
580 | - | if (( | |
581 | - | then [IntegerEntry(f, ( | |
577 | + | if ((bS == bS)) | |
578 | + | then [IntegerEntry(f, (Q - cL)), IntegerEntry(g, (R - cM)), IntegerEntry(i, (T - cg)), IntegerEntry(k, bQ), Burn(S, cg), ScriptTransfer(ap.caller, cL, K), ScriptTransfer(ap.caller, cM, L)] | |
582 | 579 | else throw("Strict value is not equal to itself.") | |
583 | 580 | } | |
584 | 581 | else throw("Strict value is not equal to itself.") | |
585 | 582 | } | |
586 | 583 | }) | |
587 | 584 | ||
588 | 585 | ||
589 | 586 | ||
590 | - | @Callable( | |
591 | - | func exchange ( | |
592 | - | let | |
593 | - | let | |
594 | - | let | |
595 | - | if ((0 >= | |
596 | - | then throw(("Estimated amount must be positive. Actual: " + toString( | |
597 | - | else if (( | |
598 | - | then throw | |
599 | - | else if ((size( | |
600 | - | then | |
601 | - | else if (!( | |
602 | - | then ([ScriptTransfer( | |
603 | - | else if (if (( | |
604 | - | then ( | |
587 | + | @Callable(ap) | |
588 | + | func exchange (cN,cO) = valueOrElse(bf(), { | |
589 | + | let cP = $Tuple2(ap.payments[0].amount, ap.payments[0].assetId) | |
590 | + | let cg = cP._1 | |
591 | + | let ch = cP._2 | |
592 | + | if ((0 >= cN)) | |
593 | + | then throw(("Estimated amount must be positive. Actual: " + toString(cN))) | |
594 | + | else if ((cO > cN)) | |
595 | + | then throw("Minimal amount can't be greater than estimated.") | |
596 | + | else if ((size(ap.payments) != 1)) | |
597 | + | then bi() | |
598 | + | else if (!(aw)) | |
599 | + | then ([ScriptTransfer(ap.caller, cg, ch)] ++ bn()) | |
600 | + | else if (if ((ch != K)) | |
601 | + | then (ch != L) | |
605 | 602 | else false) | |
606 | - | then | |
607 | - | else if ((10000000 > | |
603 | + | then bh() | |
604 | + | else if ((10000000 > cg)) | |
608 | 605 | then throw("Only swap of 10.000000 or more tokens is allowed") | |
609 | - | else if (if (( | |
606 | + | else if (if ((af > fraction(Z, cO, cg))) | |
610 | 607 | then true | |
611 | - | else (fraction( | |
608 | + | else (fraction(Z, cN, cg) > ag)) | |
612 | 609 | then throw("Incorrect args and pmt ratio") | |
613 | 610 | else { | |
614 | - | let cO = if ((cl == N)) | |
615 | - | then O | |
616 | - | else N | |
617 | - | let cP = aF(cL, cM, ck, cl) | |
618 | - | let bv = cP._1 | |
619 | - | let cQ = cP._2 | |
620 | - | let cR = fraction(bv, Z, aa) | |
621 | - | let cS = fraction(bv, (aa - Y), aa) | |
622 | - | let cT = if ((cl == N)) | |
623 | - | then $Tuple2((T + ck), ((U - cS) - cR)) | |
624 | - | else $Tuple2(((T - cS) - cR), (U + ck)) | |
625 | - | let cB = cT._1 | |
626 | - | let cC = cT._2 | |
627 | - | let cH = fraction((cB + cC), ag, (2 * ah)) | |
628 | - | if (if ((cH > cB)) | |
611 | + | let cQ = if ((ch == K)) | |
612 | + | then L | |
613 | + | else K | |
614 | + | let br = aC(cN, cO, cg, ch) | |
615 | + | let cR = fraction(br, W, X) | |
616 | + | let cS = fraction(br, (X - V), X) | |
617 | + | let cT = if ((ch == K)) | |
618 | + | then $Tuple2((Q + cg), ((R - cS) - cR)) | |
619 | + | else $Tuple2(((Q - cS) - cR), (R + cg)) | |
620 | + | let cx = cT._1 | |
621 | + | let cy = cT._2 | |
622 | + | let cB = fraction((cx + cy), ad, (2 * ae)) | |
623 | + | if (if ((cB > cx)) | |
629 | 624 | then true | |
630 | - | else ( | |
631 | - | then | |
625 | + | else (cB > cy)) | |
626 | + | then bj(cB, cx, cy) | |
632 | 627 | else { | |
633 | - | let cU = | |
634 | - | let | |
635 | - | let | |
636 | - | let | |
637 | - | let cV = | |
628 | + | let cU = aZ(ch) | |
629 | + | let cj = cU._1 | |
630 | + | let ck = cU._2 | |
631 | + | let cl = cU._3 | |
632 | + | let cV = aZ(cQ) | |
638 | 633 | let cW = cV._1 | |
639 | 634 | let cX = cV._2 | |
640 | 635 | let cY = cV._3 | |
641 | - | let | |
642 | - | then invoke(this, "stakeUnstake", [true, | |
636 | + | let bR = if (containsElement(G, cj)) | |
637 | + | then invoke(this, "stakeUnstake", [true, cg, cj], nil) | |
643 | 638 | else 0 | |
644 | - | if (( | |
639 | + | if ((bR == bR)) | |
645 | 640 | then { | |
646 | - | let | |
641 | + | let bS = if (containsElement(G, cW)) | |
647 | 642 | then invoke(this, "stakeUnstake", [false, (cS + cR), cW], nil) | |
648 | 643 | else 0 | |
649 | - | if (( | |
650 | - | then [IntegerEntry(f, | |
644 | + | if ((bS == bS)) | |
645 | + | then $Tuple2([IntegerEntry(f, cx), IntegerEntry(g, cy), IntegerEntry(k, aA(cx, cy)), ScriptTransfer(ap.caller, cS, cQ), ScriptTransfer(D, cR, cQ)], $Tuple2(cS, cQ)) | |
651 | 646 | else throw("Strict value is not equal to itself.") | |
652 | 647 | } | |
653 | 648 | else throw("Strict value is not equal to itself.") | |
654 | 649 | } | |
655 | 650 | } | |
656 | 651 | }) | |
657 | 652 | ||
658 | 653 | ||
659 | 654 | ||
660 | - | @Callable( | |
661 | - | func shutdown () = valueOrElse( | |
662 | - | then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, | |
663 | - | else | |
655 | + | @Callable(ap) | |
656 | + | func shutdown () = valueOrElse(bg(ap), if (!(H)) | |
657 | + | then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, l), "the cause wasn't specified"))) | |
658 | + | else bc("Paused by admin")) | |
664 | 659 | ||
665 | 660 | ||
666 | 661 | ||
667 | - | @Callable( | |
668 | - | func activate () = valueOrElse( | |
669 | - | then | |
670 | - | else [BooleanEntry(c, true), DeleteEntry( | |
662 | + | @Callable(ap) | |
663 | + | func activate () = valueOrElse(bg(ap), if (H) | |
664 | + | then be() | |
665 | + | else [BooleanEntry(c, true), DeleteEntry(l)]) | |
671 | 666 | ||
672 | 667 | ||
673 | 668 | ||
674 | - | @Callable( | |
675 | - | func takeIntoAccountExtraFunds () = valueOrElse( | |
676 | - | let cZ = ( | |
677 | - | let da = ( | |
678 | - | let | |
679 | - | if (( | |
680 | - | then throw("Only the | |
669 | + | @Callable(ap) | |
670 | + | func takeIntoAccountExtraFunds () = valueOrElse(bf(), { | |
671 | + | let cZ = (au - Q) | |
672 | + | let da = (av - R) | |
673 | + | let cz = aA((Q + cZ), (R + da)) | |
674 | + | if ((ap.caller != D)) | |
675 | + | then throw("Only the money box can call this function") | |
681 | 676 | else if (if ((0 > cZ)) | |
682 | 677 | then true | |
683 | 678 | else (0 > da)) | |
684 | - | then | |
679 | + | then bc("Enroll amount negative") | |
685 | 680 | else if (if ((cZ == 0)) | |
686 | 681 | then (da == 0) | |
687 | 682 | else false) | |
688 | 683 | then throw("No money to take") | |
689 | 684 | else { | |
690 | - | let | |
685 | + | let bR = if (if (containsElement(G, I)) | |
691 | 686 | then (cZ > 0) | |
692 | 687 | else false) | |
693 | - | then invoke(this, "stakeUnstake", [true, cZ, | |
688 | + | then invoke(this, "stakeUnstake", [true, cZ, I], nil) | |
694 | 689 | else 0 | |
695 | - | if (( | |
690 | + | if ((bR == bR)) | |
696 | 691 | then { | |
697 | - | let | |
692 | + | let bS = if (if (containsElement(G, J)) | |
698 | 693 | then (da > 0) | |
699 | 694 | else false) | |
700 | - | then invoke(this, "stakeUnstake", [true, da, | |
695 | + | then invoke(this, "stakeUnstake", [true, da, J], nil) | |
701 | 696 | else 0 | |
702 | - | if (( | |
703 | - | then [IntegerEntry( | |
697 | + | if ((bS == bS)) | |
698 | + | then [IntegerEntry(k, cz), IntegerEntry(f, (Q + cZ)), IntegerEntry(g, (R + da))] | |
704 | 699 | else throw("Strict value is not equal to itself.") | |
705 | 700 | } | |
706 | 701 | else throw("Strict value is not equal to itself.") | |
707 | 702 | } | |
708 | 703 | }) | |
709 | 704 | ||
710 | 705 | ||
711 | 706 | ||
712 | - | @Callable(as) | |
713 | - | func writeBigIntInvariant () = valueOrElse(bk(as), { | |
714 | - | let cE = aD(T, U) | |
715 | - | [IntegerEntry(l, cE)] | |
716 | - | }) | |
717 | - | ||
718 | - | ||
719 | - | ||
720 | - | @Callable(as) | |
721 | - | func stakeUnstake (bt,bv,db) = if ((as.caller != this)) | |
707 | + | @Callable(ap) | |
708 | + | func stakeUnstake (bp,br,db) = if ((ap.caller != this)) | |
722 | 709 | then throw("Only contract itself can invoke this function") | |
723 | 710 | else { | |
724 | - | let dc = | |
725 | - | let | |
711 | + | let dc = bq(bp, br, fromBase58String(db)) | |
712 | + | let bt = dc._1 | |
726 | 713 | let dd = dc._2 | |
727 | 714 | let de = dc._3 | |
728 | 715 | let df = dc._4 | |
729 | - | let dg = invoke(dd, | |
716 | + | let dg = invoke(dd, bt, de, df) | |
730 | 717 | if ((dg == dg)) | |
731 | 718 | then nil | |
732 | 719 | else throw("Strict value is not equal to itself.") | |
733 | 720 | } | |
734 | 721 | ||
735 | 722 | ||
736 | 723 | @Verifier(dh) | |
737 | 724 | func di () = { | |
738 | 725 | let dj = { | |
739 | 726 | let dk = if (sigVerify(dh.bodyBytes, dh.proofs[0], z)) | |
740 | 727 | then 1 | |
741 | 728 | else 0 | |
742 | 729 | let dl = if (sigVerify(dh.bodyBytes, dh.proofs[1], A)) | |
743 | 730 | then 1 | |
744 | 731 | else 0 | |
745 | 732 | let dm = if (sigVerify(dh.bodyBytes, dh.proofs[2], B)) | |
746 | 733 | then 1 | |
747 | 734 | else 0 | |
748 | 735 | (((dk + dl) + dm) >= 2) | |
749 | 736 | } | |
750 | 737 | let w = dh | |
751 | 738 | if ($isInstanceOf(w, "InvokeScriptTransaction")) | |
752 | 739 | then { | |
753 | 740 | let dg = w | |
754 | 741 | let dn = if ((dg.dApp == this)) | |
755 | 742 | then (dg.function == "takeIntoAccountExtraFunds") | |
756 | 743 | else false | |
757 | 744 | let do = if (if (if (sigVerify(dh.bodyBytes, dh.proofs[0], z)) | |
758 | 745 | then true | |
759 | 746 | else sigVerify(dh.bodyBytes, dh.proofs[0], A)) | |
760 | 747 | then true | |
761 | 748 | else sigVerify(dh.bodyBytes, dh.proofs[0], B)) | |
762 | 749 | then true | |
763 | - | else sigVerify(dh.bodyBytes, dh.proofs[0], | |
750 | + | else sigVerify(dh.bodyBytes, dh.proofs[0], C) | |
764 | 751 | if (if (dn) | |
765 | 752 | then do | |
766 | 753 | else false) | |
767 | 754 | then true | |
768 | 755 | else dj | |
769 | 756 | } | |
770 | 757 | else dj | |
771 | 758 | } | |
772 | 759 |
github/deemru/w8io/026f985 250.41 ms ◑