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