tx · Fj2mFmLqwAtdwRV3wmtwdXrHzddcjAT7BzBLxp9G9C94 3MxbSjgfYsiDBaQjS12aeuL655CCnLBgbA6: -0.01000000 Waves 2021.10.15 18:53 [1747592] smart account 3MxbSjgfYsiDBaQjS12aeuL655CCnLBgbA6 > SELF 0.00000000 Waves
{ "type": 13, "id": "Fj2mFmLqwAtdwRV3wmtwdXrHzddcjAT7BzBLxp9G9C94", "fee": 1000000, "feeAssetId": null, "timestamp": 1634313234995, "version": 2, "chainId": 84, "sender": "3MxbSjgfYsiDBaQjS12aeuL655CCnLBgbA6", "senderPublicKey": "5Eq7ps2K5ivuwPzzJvnTdLT5FhsFpjDgsAiYZa9zdAfh", "proofs": [ "KVHzWoQ1pkK2Nrv163ug5xc8qAsjmzYzffi5ie3X5XXYbMqL1N8DzTHcijEkZS8SLmEshfZuk4CAdwJcJPW4xP6" ], "script": "base64:AAIFAAAAAAAAACAIAhIAEgASBQoDCAEIEgYKBAgBCAISABIAEgUKAwgBAQAAAGsBAAAADmdldE51bWJlckJ5S2V5AAAAAQAAAANrZXkJAQAAAAt2YWx1ZU9yRWxzZQAAAAIJAAQaAAAAAgUAAAAEdGhpcwUAAAADa2V5AAAAAAAAAAAAAQAAAA5nZXRTdHJpbmdCeUtleQAAAAEAAAADa2V5CQEAAAALdmFsdWVPckVsc2UAAAACCQAEHQAAAAIFAAAABHRoaXMFAAAAA2tleQIAAAAAAQAAAAxnZXRCb29sQnlLZXkAAAABAAAAA2tleQkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABBsAAAACBQAAAAR0aGlzBQAAAANrZXkHAQAAABhnZXROdW1iZXJCeUFkZHJlc3NBbmRLZXkAAAACAAAAB2FkZHJlc3MAAAADa2V5CQEAAAALdmFsdWVPckVsc2UAAAACCQAEGgAAAAIJAQAAABFAZXh0ck5hdGl2ZSgxMDYyKQAAAAEFAAAAB2FkZHJlc3MFAAAAA2tleQAAAAAAAAAAAAEAAAAYZ2V0U3RyaW5nQnlBZGRyZX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AAAgMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACQACWQAAAAEJAAGRAAAAAgUAAAAQcHViS2V5QWRtaW5zTGlzdAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAABCQACWQAAAAEJAAGRAAAAAgUAAAAQcHViS2V5QWRtaW5zTGlzdAAAAAAAAAAAAQAAAAAAAAAAAQAAAAAAAAAAAAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAACCQACWQAAAAEJAAGRAAAAAgUAAAAQcHViS2V5QWRtaW5zTGlzdAAAAAAAAAAAAgAAAAAAAAAAAQAAAAAAAAAAAAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAADCQACWQAAAAEJAAGRAAAAAgUAAAAQcHViS2V5QWRtaW5zTGlzdAAAAAAAAAAAAwAAAAAAAAAAAgAAAAAAAAAAAAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAFVNwb25zb3JGZWVUcmFuc2FjdGlvbgQAAAAJc3BvbnNvclR4BQAAAAckbWF0Y2gwAwkBAAAAG2NoZWNrSXNWYWxpZE1pblNwb25zb3JlZEZlZQAAAAEFAAAACXNwb25zb3JUeAkAAGcAAAACBQAAAAVjb3VudAAAAAAAAAAAAwcJAABnAAAAAgUAAAAFY291bnQAAAAAAAAAAAOc7g79", "height": 1747592, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 5 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | func a (b) = valueOrElse(getInteger(this, b), 0) | |
5 | + | ||
6 | + | ||
7 | + | func c (b) = valueOrElse(getString(this, b), "") | |
8 | + | ||
9 | + | ||
10 | + | func d (b) = valueOrElse(getBoolean(this, b), false) | |
11 | + | ||
12 | + | ||
13 | + | func e (f,b) = valueOrElse(getInteger(addressFromStringValue(f), b), 0) | |
14 | + | ||
15 | + | ||
16 | + | func g (f,b) = valueOrElse(getString(addressFromStringValue(f), b), "") | |
17 | + | ||
18 | + | ||
19 | + | func h (f,b) = valueOrElse(getBoolean(addressFromStringValue(f), b), false) | |
20 | + | ||
21 | + | ||
22 | + | let i = ["GFmKZ2naZFRoCvNbwKAQVGmLb1uBeWGDgFabdGBuZiuy", "GmJXRyhRA79g8yUGgKBAVdnFfQFDMjQG98b1MmLDh5kk", "CFhbV6h41hVjbGHudGtS3fYUv7QAKRxFQzKNtx4B5PqP", "Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK"] | |
23 | + | ||
24 | + | let j = "__" | |
25 | + | ||
26 | + | let k = 100000000 | |
27 | + | ||
28 | + | let l = 1000000 | |
29 | + | ||
30 | + | let m = 1000000 | |
31 | + | ||
32 | + | let n = 20000 | |
33 | + | ||
34 | + | let o = 0 | |
35 | + | ||
36 | + | let p = 1 | |
37 | + | ||
38 | + | let q = 2 | |
39 | + | ||
40 | + | let r = "neutrino_asset_id" | |
41 | + | ||
42 | + | let s = "bond_asset_id" | |
43 | + | ||
44 | + | let t = "auction_contract" | |
45 | + | ||
46 | + | let u = "liquidation_contract" | |
47 | + | ||
48 | + | let v = "rpd_contract" | |
49 | + | ||
50 | + | let w = "control_contract" | |
51 | + | ||
52 | + | let x = "balance_waves_lock_interval" | |
53 | + | ||
54 | + | let y = "balance_neutrino_lock_interval" | |
55 | + | ||
56 | + | let z = "min_waves_swap_amount" | |
57 | + | ||
58 | + | let A = "min_neutrino_swap_amount" | |
59 | + | ||
60 | + | let B = "node_oracle_provider" | |
61 | + | ||
62 | + | let C = "neutrinoOut_swap_feePart" | |
63 | + | ||
64 | + | let D = "wavesOut_swap_feePart" | |
65 | + | ||
66 | + | let E = "fees_manager_address" | |
67 | + | ||
68 | + | let F = "rand_rsa_public" | |
69 | + | ||
70 | + | let G = "price" | |
71 | + | ||
72 | + | let H = "price_index" | |
73 | + | ||
74 | + | let I = "is_blocked" | |
75 | + | ||
76 | + | func J (K) = ((G + "_") + toString(K)) | |
77 | + | ||
78 | + | ||
79 | + | func L (M) = ((H + "_") + toString(M)) | |
80 | + | ||
81 | + | ||
82 | + | func N (O) = addressFromStringValue(c(makeString(["%s%d%s", "lease", toString(O), "nodeAddress"], j))) | |
83 | + | ||
84 | + | ||
85 | + | func P () = valueOrElse(getInteger(this, makeString(["%s%s", "lease", "sponsorshipWavesReserve"], j)), (1000 * k)) | |
86 | + | ||
87 | + | ||
88 | + | func Q (R) = ("balance_unlock_block_" + R) | |
89 | + | ||
90 | + | ||
91 | + | func S (T) = makeString(["%s%d%s", "lease", toString(T), "id"], j) | |
92 | + | ||
93 | + | ||
94 | + | func U (T) = makeString(["%s%d%s", "lease", toString(T), "amount"], j) | |
95 | + | ||
96 | + | ||
97 | + | func V (W) = (("min_" + W) + "_swap_amount") | |
98 | + | ||
99 | + | ||
100 | + | func X (W) = ("balance_lock_" + W) | |
101 | + | ||
102 | + | ||
103 | + | func Y (W,R) = makeString(["balance_lock", W, R], "_") | |
104 | + | ||
105 | + | ||
106 | + | func Z (W) = (("balance_" + W) + "_lock_interval") | |
107 | + | ||
108 | + | ||
109 | + | func aa (W) = (("balance_" + W) + "_lock_interval_minimum") | |
110 | + | ||
111 | + | ||
112 | + | func ab (W) = (W + "Out_swap_feePart") | |
113 | + | ||
114 | + | ||
115 | + | func ac (W) = valueOrElse(getInteger(this, V(W)), 0) | |
116 | + | ||
117 | + | ||
118 | + | func ad (W) = valueOrElse(getInteger(this, X(W)), 0) | |
119 | + | ||
120 | + | ||
121 | + | func ae (W,R) = valueOrElse(getInteger(this, Y(W, R)), 0) | |
122 | + | ||
123 | + | ||
124 | + | func af (W) = valueOrElse(getInteger(this, Z(W)), 1440) | |
125 | + | ||
126 | + | ||
127 | + | func ag (W) = valueOrElse(getInteger(this, aa(W)), 60) | |
128 | + | ||
129 | + | ||
130 | + | func ah () = valueOrErrorMessage(addressFromString(valueOrErrorMessage(getString(this, E), (E + " is not specified"))), (E + " invalid address format")) | |
131 | + | ||
132 | + | ||
133 | + | func ai (aj,ak) = fraction(fraction(aj, m, ak), k, l) | |
134 | + | ||
135 | + | ||
136 | + | func al (aj,ak) = fraction(fraction(aj, ak, m), l, k) | |
137 | + | ||
138 | + | ||
139 | + | func am (aj,ak) = al(aj, ak) | |
140 | + | ||
141 | + | ||
142 | + | func an (ao) = split(ao, ",") | |
143 | + | ||
144 | + | ||
145 | + | func ap (W,aq) = throw(((("The specified amount in " + W) + " swap is less than the required minimum of ") + toString(aq))) | |
146 | + | ||
147 | + | ||
148 | + | func ar () = throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles") | |
149 | + | ||
150 | + | ||
151 | + | func as (M,at,au,av,aw) = throw(((((((((("invalid price history index: index=" + toString(M)) + " priceIndex=") + toString(at)) + " indexHeight=") + toString(au)) + " unlockHeight=") + toString(av)) + " prevIndexHeight=") + toString(aw))) | |
152 | + | ||
153 | + | ||
154 | + | let ax = c(u) | |
155 | + | ||
156 | + | let ay = fromBase58String(c(r)) | |
157 | + | ||
158 | + | let az = c(t) | |
159 | + | ||
160 | + | let aA = c(v) | |
161 | + | ||
162 | + | let aB = c(w) | |
163 | + | ||
164 | + | let at = e(aB, H) | |
165 | + | ||
166 | + | let aC = h(aB, I) | |
167 | + | ||
168 | + | let aD = fromBase58String(c(B)) | |
169 | + | ||
170 | + | let aE = fromBase58String("6nSpVyNH7yM69eg446wrQR94ipbbcmZMU1ENPwanC97g") | |
171 | + | ||
172 | + | let aF = fromBase58String("975akZBfnMj513U7MZaHKzQrmsEx5aE3wdWKTrHBhbjF") | |
173 | + | ||
174 | + | let aG = fromBase64String(valueOrErrorMessage(getString(this, F), "RSA public key has not been specified")) | |
175 | + | ||
176 | + | let aH = this | |
177 | + | ||
178 | + | let aI = e(aB, G) | |
179 | + | ||
180 | + | let aJ = ad("neutrino") | |
181 | + | ||
182 | + | let aK = ad("waves") | |
183 | + | ||
184 | + | let aL = (wavesBalance(aH).regular - aK) | |
185 | + | ||
186 | + | let aM = (((aJ + value(assetInfo(ay)).quantity) - assetBalance(aH, ay)) - assetBalance(addressFromStringValue(ax), ay)) | |
187 | + | ||
188 | + | let aN = (al(aL, aI) - aM) | |
189 | + | ||
190 | + | let aO = (aM - al(aL, aI)) | |
191 | + | ||
192 | + | func aP (aQ) = { | |
193 | + | let aR = 100000 | |
194 | + | let aS = 1000 | |
195 | + | let aT = al(aR, aI) | |
196 | + | let aU = (aT * 2) | |
197 | + | let aV = fraction(aT, aS, 100) | |
198 | + | let aW = value(aQ.minSponsoredAssetFee) | |
199 | + | if (if ((aW >= aU)) | |
200 | + | then (aV >= aW) | |
201 | + | else false) | |
202 | + | then (aQ.assetId == ay) | |
203 | + | else false | |
204 | + | } | |
205 | + | ||
206 | + | ||
207 | + | func aX (K) = e(aB, J(K)) | |
208 | + | ||
209 | + | ||
210 | + | func aY (M) = e(aB, L(M)) | |
211 | + | ||
212 | + | ||
213 | + | let aZ = 1 | |
214 | + | ||
215 | + | let ba = 2 | |
216 | + | ||
217 | + | let bb = 3 | |
218 | + | ||
219 | + | let bc = 4 | |
220 | + | ||
221 | + | let bd = 5 | |
222 | + | ||
223 | + | let be = 6 | |
224 | + | ||
225 | + | let bf = 7 | |
226 | + | ||
227 | + | let bg = 8 | |
228 | + | ||
229 | + | let bh = 9 | |
230 | + | ||
231 | + | let bi = 10 | |
232 | + | ||
233 | + | let bj = 11 | |
234 | + | ||
235 | + | let bk = 12 | |
236 | + | ||
237 | + | let bl = 13 | |
238 | + | ||
239 | + | let bm = 14 | |
240 | + | ||
241 | + | func bn (bo,bp) = makeString(["%s%s", bo, bp], j) | |
242 | + | ||
243 | + | ||
244 | + | func bq (W,br,bs,ak,bt,bu,bv,bw,bx,by,bz,bA,M,bB) = makeString(["%s%s%d%d%d%d%d%d%d%d%d%d%d%s", W, br, bs, ak, bt, bu, bv, bw, bx, by, bz, bA, M, bB], j) | |
245 | + | ||
246 | + | ||
247 | + | func bC (W,bD,bz) = bq(W, "PENDING", toString(bD), "0", "0", "0", toString(height), toString(lastBlock.timestamp), "0", "0", toString(bz), "0", "0", "NULL") | |
248 | + | ||
249 | + | ||
250 | + | func bE (bF,ak,bt,bu,bA,M,bB) = bq(bF[aZ], "FINISHED", bF[bb], toString(ak), toString(bt), toString(bu), bF[bf], bF[bg], toString(height), toString(lastBlock.timestamp), bF[bj], toString(bA), toString(M), bB) | |
251 | + | ||
252 | + | ||
253 | + | func bG (bo,bH) = { | |
254 | + | let bI = bn(bo, bH) | |
255 | + | split(valueOrErrorMessage(getString(this, bI), ("no swap data for " + bI)), j) | |
256 | + | } | |
257 | + | ||
258 | + | ||
259 | + | func bJ (bK,bL) = { | |
260 | + | let bM = fraction(bK, bL, l) | |
261 | + | [(bK - bM), bM, bK] | |
262 | + | } | |
263 | + | ||
264 | + | ||
265 | + | func bN (bp,bO,W,bv) = { | |
266 | + | let bP = rsaVerify_16Kb(SHA256, toBytes(bp), bO, aG) | |
267 | + | if (!(bP)) | |
268 | + | then throw("invalid RSA signature") | |
269 | + | else { | |
270 | + | let bQ = af(W) | |
271 | + | let bR = ag(W) | |
272 | + | let bS = (toInt(sha256_16Kb(bO)) % (bQ - bR)) | |
273 | + | let bT = (bR + (if ((0 > bS)) | |
274 | + | then -(bS) | |
275 | + | else bS)) | |
276 | + | (bv + bT) | |
277 | + | } | |
278 | + | } | |
279 | + | ||
280 | + | ||
281 | + | func bU (bV) = if ((0 > bV)) | |
282 | + | then -(bV) | |
283 | + | else bV | |
284 | + | ||
285 | + | ||
286 | + | func bW (bX) = { | |
287 | + | let bY = ((wavesBalance(aH).available - bX) - P()) | |
288 | + | let bZ = a(U(0)) | |
289 | + | let ca = a(U(1)) | |
290 | + | let cb = (bY + bZ) | |
291 | + | let cc = (bY + ca) | |
292 | + | if (if ((cb > 0)) | |
293 | + | then true | |
294 | + | else (cc > 0)) | |
295 | + | then { | |
296 | + | let cd = bU((cb - ca)) | |
297 | + | let ce = bU((cc - bZ)) | |
298 | + | if ((ce >= cd)) | |
299 | + | then $Tuple2(0, cb) | |
300 | + | else $Tuple2(1, cc) | |
301 | + | } | |
302 | + | else $Tuple2(-1, 0) | |
303 | + | } | |
304 | + | ||
305 | + | ||
306 | + | func cf (bX) = { | |
307 | + | let cg = bW(bX) | |
308 | + | let T = cg._1 | |
309 | + | let ch = cg._2 | |
310 | + | if ((ch > 0)) | |
311 | + | then { | |
312 | + | let ci = S(T) | |
313 | + | let cj = getBinary(this, ci) | |
314 | + | let ck = if (isDefined(cj)) | |
315 | + | then [LeaseCancel(value(cj))] | |
316 | + | else nil | |
317 | + | let cl = U(T) | |
318 | + | let cm = Lease(N(T), ch) | |
319 | + | (ck ++ [cm, BinaryEntry(ci, calculateLeaseId(cm)), IntegerEntry(U(T), ch)]) | |
320 | + | } | |
321 | + | else nil | |
322 | + | } | |
323 | + | ||
324 | + | ||
325 | + | func cn (W,co) = { | |
326 | + | let cp = value(co.payments[0]) | |
327 | + | let cq = toString(co.caller) | |
328 | + | let cr = toBase58String(co.transactionId) | |
329 | + | let aq = ac(W) | |
330 | + | let cs = ad(W) | |
331 | + | let ct = ae(W, cq) | |
332 | + | let cu = af(W) | |
333 | + | let bz = (height + cu) | |
334 | + | if ((aq > cp.amount)) | |
335 | + | then ap(W, aq) | |
336 | + | else if (aC) | |
337 | + | then ar() | |
338 | + | else { | |
339 | + | let cv = if ((W == "waves")) | |
340 | + | then cf(0) | |
341 | + | else nil | |
342 | + | $Tuple2(([IntegerEntry(Y(W, cq), (ct + cp.amount)), IntegerEntry(Q(cq), (height + cu)), IntegerEntry(X(W), (cs + cp.amount)), StringEntry(bn(cq, cr), bC(W, cp.amount, bz))] ++ cv), unit) | |
343 | + | } | |
344 | + | } | |
345 | + | ||
346 | + | ||
347 | + | func cw (cq,M,bH,cx,co) = { | |
348 | + | let bo = addressFromStringValue(cq) | |
349 | + | let cy = ah() | |
350 | + | let bF = bG(cq, bH) | |
351 | + | let bz = parseIntValue(bF[bj]) | |
352 | + | let W = bF[aZ] | |
353 | + | let bs = parseIntValue(bF[bb]) | |
354 | + | let cz = bF[ba] | |
355 | + | let bv = parseIntValue(bF[bf]) | |
356 | + | let cA = valueOrElse(getInteger(this, ab(W)), n) | |
357 | + | let cs = ad(W) | |
358 | + | let ct = ae(W, cq) | |
359 | + | let av = { | |
360 | + | let cB = cx | |
361 | + | if ($isInstanceOf(cB, "ByteVector")) | |
362 | + | then { | |
363 | + | let bO = cB | |
364 | + | bN(bH, bO, W, bv) | |
365 | + | } | |
366 | + | else if ($isInstanceOf(cB, "Unit")) | |
367 | + | then bz | |
368 | + | else throw("Match error") | |
369 | + | } | |
370 | + | let au = aY(M) | |
371 | + | let aw = aY((M - 1)) | |
372 | + | let cC = aX(au) | |
373 | + | let cD = if ((W == "waves")) | |
374 | + | then $Tuple2(al(bs, cC), ay) | |
375 | + | else if ((W == "neutrino")) | |
376 | + | then $Tuple2(ai(bs, cC), unit) | |
377 | + | else throw(("Unsupported swap type " + W)) | |
378 | + | let cE = bJ(cD._1, cA) | |
379 | + | let bt = cE[o] | |
380 | + | let bu = cE[p] | |
381 | + | if (aC) | |
382 | + | then ar() | |
383 | + | else if ((cz != "PENDING")) | |
384 | + | then throw("swap has been already processed") | |
385 | + | else if ((av > height)) | |
386 | + | then throw((("please wait for: " + toString(av)) + " block height to withdraw funds")) | |
387 | + | else if (if (if ((M > at)) | |
388 | + | then true | |
389 | + | else (av > au)) | |
390 | + | then true | |
391 | + | else if ((aw != 0)) | |
392 | + | then (aw >= av) | |
393 | + | else false) | |
394 | + | then as(M, at, au, av, aw) | |
395 | + | else if ((0 >= cE[q])) | |
396 | + | then throw("balance equals zero") | |
397 | + | else if (if ((0 > cA)) | |
398 | + | then true | |
399 | + | else (cA >= l)) | |
400 | + | then throw(((("invalid outFeePart config for " + W) + " swap: outFeePart=") + toString(cA))) | |
401 | + | else { | |
402 | + | let cv = if (if ((W == "neutrino")) | |
403 | + | then (cD._1 > 0) | |
404 | + | else false) | |
405 | + | then cf(cD._1) | |
406 | + | else nil | |
407 | + | $Tuple2((cv ++ [IntegerEntry(Y(W, cq), (ct - bs)), IntegerEntry(X(W), (cs - bs)), ScriptTransfer(bo, bt, cD._2), ScriptTransfer(cy, bu, cD._2), StringEntry(bn(cq, bH), bE(bF, cC, bt, bu, av, M, toBase58String(co.transactionId)))]), unit) | |
408 | + | } | |
409 | + | } | |
410 | + | ||
411 | + | ||
412 | + | @Callable(co) | |
413 | + | func swapWavesToNeutrino () = { | |
414 | + | let cp = value(co.payments[0]) | |
415 | + | if (isDefined(cp.assetId)) | |
416 | + | then throw("Only Waves token is allowed for swapping.") | |
417 | + | else cn("waves", co) | |
418 | + | } | |
419 | + | ||
420 | + | ||
421 | + | ||
422 | + | @Callable(co) | |
423 | + | func swapNeutrinoToWaves () = { | |
424 | + | let cp = value(co.payments[0]) | |
425 | + | if ((cp.assetId != ay)) | |
426 | + | then throw("Only appropriate Neutrino tokens are allowed for swapping.") | |
427 | + | else cn("neutrino", co) | |
428 | + | } | |
429 | + | ||
430 | + | ||
431 | + | ||
432 | + | @Callable(co) | |
433 | + | func withdraw (cq,M,bH) = cw(cq, M, bH, unit, co) | |
434 | + | ||
435 | + | ||
436 | + | ||
437 | + | @Callable(co) | |
438 | + | func withdrawRand (cq,M,bH,bO) = cw(cq, M, bH, bO, co) | |
439 | + | ||
440 | + | ||
441 | + | ||
442 | + | @Callable(co) | |
443 | + | func transferToAuction () = { | |
444 | + | let cF = (aM - assetBalance(addressFromStringValue(az), aE)) | |
445 | + | let cG = (aN - assetBalance(addressFromStringValue(ax), ay)) | |
446 | + | if (aC) | |
447 | + | then throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles") | |
448 | + | else if ((cF > (1 * l))) | |
449 | + | then [ScriptTransfer(addressFromStringValue(az), cF, aE)] | |
450 | + | else if ((cG >= (1 * l))) | |
451 | + | then [ScriptTransfer(addressFromStringValue(ax), cG, ay)] | |
452 | + | else throw(((((((("bond were generated or do not need it. Deficit:" + toString(cF)) + "|") + toString(0)) + ". Surplus:") + toString(cG)) + "|") + toString(aN))) | |
453 | + | } | |
454 | + | ||
455 | + | ||
456 | + | ||
457 | + | @Callable(co) | |
458 | + | func acceptWaves () = if ((co.caller != addressFromStringValue(az))) | |
459 | + | then throw("Currently only auction contract is allowed to call") | |
460 | + | else $Tuple2(cf(0), "success") | |
461 | + | ||
462 | + | ||
463 | + | ||
464 | + | @Callable(co) | |
465 | + | func migrateActiveLeasings (cH,cI,T) = if ((co.callerPublicKey != aD)) | |
466 | + | then throw("not authorized") | |
467 | + | else { | |
468 | + | let cJ = U(T) | |
469 | + | let cK = ((wavesBalance(aH).available + cI) - P()) | |
470 | + | let cL = a(cJ) | |
471 | + | let ch = (cL + cK) | |
472 | + | let cM = S(T) | |
473 | + | let cN = getBinary(this, cM) | |
474 | + | let cO = if (isDefined(cN)) | |
475 | + | then [LeaseCancel(value(cN))] | |
476 | + | else nil | |
477 | + | let cm = Lease(N(T), ch) | |
478 | + | (cO ++ [LeaseCancel(fromBase58String(cH)), cm, BinaryEntry(cM, calculateLeaseId(cm)), IntegerEntry(cJ, ch)]) | |
479 | + | } | |
480 | + | ||
481 | + | ||
482 | + | @Verifier(aQ) | |
483 | + | func cP () = { | |
484 | + | let cQ = toBase58String(aQ.id) | |
485 | + | let cR = ((((if (sigVerify(aQ.bodyBytes, aQ.proofs[0], fromBase58String(i[0]))) | |
486 | + | then 1 | |
487 | + | else 0) + (if (sigVerify(aQ.bodyBytes, aQ.proofs[1], fromBase58String(i[1]))) | |
488 | + | then 1 | |
489 | + | else 0)) + (if (sigVerify(aQ.bodyBytes, aQ.proofs[2], fromBase58String(i[2]))) | |
490 | + | then 1 | |
491 | + | else 0)) + (if (sigVerify(aQ.bodyBytes, aQ.proofs[3], fromBase58String(i[3]))) | |
492 | + | then 2 | |
493 | + | else 0)) | |
494 | + | let cB = aQ | |
495 | + | if ($isInstanceOf(cB, "SponsorFeeTransaction")) | |
496 | + | then { | |
497 | + | let cS = cB | |
498 | + | if (aP(cS)) | |
499 | + | then (cR >= 3) | |
500 | + | else false | |
501 | + | } | |
502 | + | else (cR >= 3) | |
503 | + | } | |
504 | + |
github/deemru/w8io/026f985 41.51 ms ◑