tx · 9R9bHgYLUM8y4VnDoLJWivceefE4eaeEZU5Gprj5UsgD 3N3c8hF3E1qiSZ27uH3XZvtWSso9QFckZUb: -0.02800000 Waves 2024.08.05 15:40 [3225489] smart account 3N3c8hF3E1qiSZ27uH3XZvtWSso9QFckZUb > SELF 0.00000000 Waves
{ "type": 13, "id": "9R9bHgYLUM8y4VnDoLJWivceefE4eaeEZU5Gprj5UsgD", "fee": 2800000, "feeAssetId": null, "timestamp": 1722861633000, "version": 1, "sender": "3N3c8hF3E1qiSZ27uH3XZvtWSso9QFckZUb", "senderPublicKey": "9Dkh2UiuYRqFTQrAXgJJbJuG3Q6VDPhiYHrsdfQx42Zx", "proofs": [ "3FfFb41RXDDb3etpXW5Bqnf5A6ZLo7mxxigges49ppukBxFhqrfkHo5cyB49E3Evv5q4sdJcyGVescHTAUgWFdiF" ], "script": "base64:BwJhCAISAwoBCBIECgICGBIECgICGBIECgICGBIECgICGBIECgICGBIECgICGBIECgICGBIECgICGBIECgICGBIECgICGBIECgICGBIECgICGBIECgICGBIECgICGBIECgICGGAACXNlcGFyYXRvcgICX18AB2NoYWluSWQJAMkBAgkAygECCAUEdGhpcwVieXRlcwABAAEACGNoYWluSWRXAQFXABBjb250cmFjdEZpbGVuYW1lAhdmdXR1cmVzX2NhbGN1bGF0b3IucmlkZQAFbXVsdDgAgMLXLwAMbXVsdDE4QmlnSW50CQC2AgEAgICQu7rWrfANAA13YXZlc0RlY2ltYWxzAAgADHVzZHREZWNpbWFscwAGAAt3YXZlc1N0cmluZwIFV0FWRVMADXF1ZXVlSXRlbVNpemUAIAAEYmlnMAkAtgIBAAAACklOREVYX0xJU1QJAMwIAgAACQDMCAIAAQkAzAgCAAIJAMwIAgADCQDMCAIABAkAzAgCAAUJAMwIAgAGCQDMCAIABwkAzAgCAAgJAMwIAgAJCQDMCAIACgkAzAgCAAsJAMwIAgAMCQDMCAIADQkAzAgCAA4JAMwIAgAPCQDMCAIAEAkAzAgCABEJAMwIAgASCQDMCAIA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XkbGoiC", "chainId": 84, "height": 3225489, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: DCFYBRJjig5dgHv27KYVfvuN9wBKLx6GNXvdj9We582b Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 7 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | let a = "__" | |
5 | + | ||
6 | + | let b = take(drop(this.bytes, 1), 1) | |
7 | + | ||
8 | + | let c = base58'2W' | |
9 | + | ||
10 | + | let d = "futures_calculator.ride" | |
11 | + | ||
12 | + | let e = 100000000 | |
13 | + | ||
14 | + | let f = toBigInt(1000000000000000000) | |
15 | + | ||
16 | + | let g = 8 | |
17 | + | ||
18 | + | let h = 6 | |
19 | + | ||
20 | + | let i = "WAVES" | |
21 | + | ||
22 | + | let j = 32 | |
23 | + | ||
24 | + | let k = toBigInt(0) | |
25 | + | ||
26 | + | let l = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19] | |
27 | + | ||
28 | + | let m = "%s__multisig" | |
29 | + | ||
30 | + | func n (o,p) = makeString(["%s__status", o, p], a) | |
31 | + | ||
32 | + | ||
33 | + | let q = "%s__shutdown" | |
34 | + | ||
35 | + | let r = "%s__publicKeys" | |
36 | + | ||
37 | + | let s = "%s__matcherPublicKey" | |
38 | + | ||
39 | + | func t (u,v) = fraction(toBigInt(u), f, toBigInt(v)) | |
40 | + | ||
41 | + | ||
42 | + | func w (x,y) = toInt(fraction(x, toBigInt(y), f)) | |
43 | + | ||
44 | + | ||
45 | + | func z (A) = isDefined(addressFromString(A)) | |
46 | + | ||
47 | + | ||
48 | + | func B (C) = ((d + ": ") + C) | |
49 | + | ||
50 | + | ||
51 | + | func D (C) = throw(B(C)) | |
52 | + | ||
53 | + | ||
54 | + | func E (F,C) = if ((F >= 0)) | |
55 | + | then F | |
56 | + | else D((C + " value should be positive")) | |
57 | + | ||
58 | + | ||
59 | + | func G (H) = if ((H == i)) | |
60 | + | then unit | |
61 | + | else fromBase58String(H) | |
62 | + | ||
63 | + | ||
64 | + | func I (H) = if ((H == unit)) | |
65 | + | then i | |
66 | + | else toBase58String(value(H)) | |
67 | + | ||
68 | + | ||
69 | + | func J (K) = valueOrErrorMessage(assetInfo(K), B("invalid asset info")) | |
70 | + | ||
71 | + | ||
72 | + | func L (K) = { | |
73 | + | let M = K | |
74 | + | if ($isInstanceOf(M, "Unit")) | |
75 | + | then g | |
76 | + | else if ($isInstanceOf(M, "ByteVector")) | |
77 | + | then { | |
78 | + | let K = M | |
79 | + | J(K).decimals | |
80 | + | } | |
81 | + | else throw("Match error") | |
82 | + | } | |
83 | + | ||
84 | + | ||
85 | + | func N (K,A) = { | |
86 | + | let M = K | |
87 | + | if ($isInstanceOf(M, "Unit")) | |
88 | + | then wavesBalance(A).available | |
89 | + | else if ($isInstanceOf(M, "ByteVector")) | |
90 | + | then { | |
91 | + | let K = M | |
92 | + | assetBalance(A, K) | |
93 | + | } | |
94 | + | else throw("Match error") | |
95 | + | } | |
96 | + | ||
97 | + | ||
98 | + | func O (P) = pow(10, 0, P, 0, 0, DOWN) | |
99 | + | ||
100 | + | ||
101 | + | func Q (K) = O(L(K)) | |
102 | + | ||
103 | + | ||
104 | + | let R = "%s__factoryAddress" | |
105 | + | ||
106 | + | let S = { | |
107 | + | let M = getString(this, R) | |
108 | + | if ($isInstanceOf(M, "String")) | |
109 | + | then { | |
110 | + | let C = M | |
111 | + | addressFromString(C) | |
112 | + | } | |
113 | + | else if ($isInstanceOf(M, "Unit")) | |
114 | + | then unit | |
115 | + | else throw("Match error") | |
116 | + | } | |
117 | + | ||
118 | + | let T = valueOrErrorMessage(S, B("invalid factory address")) | |
119 | + | ||
120 | + | let U = "%s__usdtAssetId" | |
121 | + | ||
122 | + | let V = { | |
123 | + | let M = getString(T, U) | |
124 | + | if ($isInstanceOf(M, "String")) | |
125 | + | then { | |
126 | + | let C = M | |
127 | + | G(C) | |
128 | + | } | |
129 | + | else if ($isInstanceOf(M, "Unit")) | |
130 | + | then unit | |
131 | + | else throw("Match error") | |
132 | + | } | |
133 | + | ||
134 | + | let W = valueOrErrorMessage(V, B("invalid usdt asset id")) | |
135 | + | ||
136 | + | let X = "%s__calculatorAddress" | |
137 | + | ||
138 | + | let Y = valueOrElse(getBoolean(T, q), false) | |
139 | + | ||
140 | + | func Z (aa,A) = if ((aa == A)) | |
141 | + | then true | |
142 | + | else D("permission denied") | |
143 | + | ||
144 | + | ||
145 | + | func ab (aa) = Z(aa, this) | |
146 | + | ||
147 | + | ||
148 | + | func ac (aa) = Z(aa, T) | |
149 | + | ||
150 | + | ||
151 | + | func ad (ae) = { | |
152 | + | let af = addressFromStringValue(getStringValue(T, m)) | |
153 | + | let ag = split(getStringValue(af, r), a) | |
154 | + | if (containsElement(ag, toBase58String(ae))) | |
155 | + | then true | |
156 | + | else D("not allowed") | |
157 | + | } | |
158 | + | ||
159 | + | ||
160 | + | let ah = "%s__accountScript" | |
161 | + | ||
162 | + | func ai () = valueOrErrorMessage(getBinary(T, ah), B("account script is not set")) | |
163 | + | ||
164 | + | ||
165 | + | let aj = "%s__rewardAmount" | |
166 | + | ||
167 | + | func ak () = valueOrErrorMessage(getInteger(T, aj), B("reward amount is not set")) | |
168 | + | ||
169 | + | ||
170 | + | let al = "%s__accountsLimit" | |
171 | + | ||
172 | + | let am = 20 | |
173 | + | ||
174 | + | func an () = valueOrElse(getInteger(T, al), am) | |
175 | + | ||
176 | + | ||
177 | + | func ao (ap) = makeString(["%s%s", "deposited", toString(ap)], a) | |
178 | + | ||
179 | + | ||
180 | + | func aq (ap) = getInteger(T, ao(ap)) | |
181 | + | ||
182 | + | ||
183 | + | func ar (ap,K) = makeString(["%s%s%s", "credit", toString(ap), I(K)], a) | |
184 | + | ||
185 | + | ||
186 | + | func as (ap,K) = getInteger(T, ar(ap, K)) | |
187 | + | ||
188 | + | ||
189 | + | func at (ap) = makeString(["%s%s", "leverage", toString(ap)], a) | |
190 | + | ||
191 | + | ||
192 | + | func au (av) = makeString(["%s%s", "requestLeverage", toBase58String(av)], a) | |
193 | + | ||
194 | + | ||
195 | + | func aw (ax) = makeString(["%s%s", "syntheticAssetId", I(ax)], a) | |
196 | + | ||
197 | + | ||
198 | + | func ay (az) = makeString(["%s%s", "baseAssetId", I(az)], a) | |
199 | + | ||
200 | + | ||
201 | + | let aA = 0 | |
202 | + | ||
203 | + | let aB = 1 | |
204 | + | ||
205 | + | func aC (av) = makeString(["%s%s", toBase58String(av), "status"], a) | |
206 | + | ||
207 | + | ||
208 | + | func aD (ap) = makeString(["%s%s", toString(ap), "creatorPublicKey"], a) | |
209 | + | ||
210 | + | ||
211 | + | func aE (av) = makeString(["%s%s", toBase58String(av), "ownerPublicKey"], a) | |
212 | + | ||
213 | + | ||
214 | + | func aF (av) = makeString(["%s%s", toBase58String(av), "amountAssetId"], a) | |
215 | + | ||
216 | + | ||
217 | + | func aG (av) = makeString(["%s%s", toBase58String(av), "priceAssetId"], a) | |
218 | + | ||
219 | + | ||
220 | + | func aH (av) = makeString(["%s%s", toBase58String(av), "requestIdToAccountPublicKey"], a) | |
221 | + | ||
222 | + | ||
223 | + | func aI (ap) = makeString(["%s%s", toString(ap), "accountAddressToRequestId"], a) | |
224 | + | ||
225 | + | ||
226 | + | func aJ () = makeString(["%s", "requestsQueue"], a) | |
227 | + | ||
228 | + | ||
229 | + | func aK () = valueOrElse(getBinary(T, aJ()), base58'') | |
230 | + | ||
231 | + | ||
232 | + | func aL () = makeString(["%s", "accountsQueue"], a) | |
233 | + | ||
234 | + | ||
235 | + | func aM () = valueOrElse(getBinary(T, aL()), base58'') | |
236 | + | ||
237 | + | ||
238 | + | func aN (aO) = makeString(["%s%s", "requests", toString(aO)], a) | |
239 | + | ||
240 | + | ||
241 | + | func aP (aO) = valueOrElse(getBinary(T, aN(aO)), base58'') | |
242 | + | ||
243 | + | ||
244 | + | func aQ (aR,aS) = makeString(["%s%s%s", I(aR), I(aS), "pairAllowed"], a) | |
245 | + | ||
246 | + | ||
247 | + | func aT (aR,aS) = valueOrElse(getBoolean(T, aQ(aR, aS)), false) | |
248 | + | ||
249 | + | ||
250 | + | func aU (K) = makeString(["%s", I(K)], a) | |
251 | + | ||
252 | + | ||
253 | + | func aV (aR,aS) = makeString(["%s%s%s", I(aR), I(aS), "pairSettingPrices"], a) | |
254 | + | ||
255 | + | ||
256 | + | func aW (aR,aS) = { | |
257 | + | let M = getString(T, aV(aR, aS)) | |
258 | + | if ($isInstanceOf(M, "String")) | |
259 | + | then { | |
260 | + | let C = M | |
261 | + | split(C, a) | |
262 | + | } | |
263 | + | else nil | |
264 | + | } | |
265 | + | ||
266 | + | ||
267 | + | func aX (aR,aS,aY) = makeString(["%s%s%d%s", I(aR), I(aS), aY, "settings"], a) | |
268 | + | ||
269 | + | ||
270 | + | func aZ (K) = { | |
271 | + | let ba = fromBase58String(valueOrErrorMessage(getString(T, s), B("invalid matcher public key"))) | |
272 | + | let bb = addressFromPublicKey(ba) | |
273 | + | let bc = valueOrErrorMessage(getInteger(bb, aU(K)), B(("invalid price, assetId = " + I(K)))) | |
274 | + | bc | |
275 | + | } | |
276 | + | ||
277 | + | ||
278 | + | func bd (be,bf,bg) = (fraction(be, bg, f) + bf) | |
279 | + | ||
280 | + | ||
281 | + | func bh (bi,bj,bg) = (fraction(bi, bg, f) + bj) | |
282 | + | ||
283 | + | ||
284 | + | func bk (bl,bm) = (bl - bm) | |
285 | + | ||
286 | + | ||
287 | + | func bn (bo,bp,bm) = (fraction(bo, bp, f) - bm) | |
288 | + | ||
289 | + | ||
290 | + | func bq (br,bs) = if ((br > k)) | |
291 | + | then (br - bs) | |
292 | + | else k | |
293 | + | ||
294 | + | ||
295 | + | func bt (br,bs) = if ((br > k)) | |
296 | + | then (bs - br) | |
297 | + | else k | |
298 | + | ||
299 | + | ||
300 | + | func bu (bv,bw) = if ((bw > k)) | |
301 | + | then max([k, fraction(bv, f, bw)]) | |
302 | + | else k | |
303 | + | ||
304 | + | ||
305 | + | func bx (bv,bw) = if ((bw > k)) | |
306 | + | then max([k, fraction(bw, f, bv)]) | |
307 | + | else k | |
308 | + | ||
309 | + | ||
310 | + | func by (bz,bA,bg,bB) = fraction((fraction(bz, bg, f) + bA), bB, f) | |
311 | + | ||
312 | + | ||
313 | + | func bC (bD,bB,bE) = fraction(bD, bE, bB) | |
314 | + | ||
315 | + | ||
316 | + | func bF (bo,bG,bz,bA,bH,bI) = { | |
317 | + | let bJ = if ((bz > k)) | |
318 | + | then (((bo - bG) / bz) + bH) | |
319 | + | else k | |
320 | + | let bK = if ((bA > k)) | |
321 | + | then (bI - ((bo - bG) / (bz / bI))) | |
322 | + | else k | |
323 | + | (bJ + bK) | |
324 | + | } | |
325 | + | ||
326 | + | ||
327 | + | func bL (ap) = { | |
328 | + | let av = fromBase58String(valueOrErrorMessage(getString(T, aI(ap)), B("invalid account address: request id is undefined"))) | |
329 | + | av | |
330 | + | } | |
331 | + | ||
332 | + | ||
333 | + | func bM (ap) = { | |
334 | + | let av = bL(ap) | |
335 | + | let aR = G(valueOrErrorMessage(getString(T, aF(av)), B("invalid amount asset id"))) | |
336 | + | let aS = G(valueOrErrorMessage(getString(T, aG(av)), B("invalid amount price id"))) | |
337 | + | $Tuple2(aR, aS) | |
338 | + | } | |
339 | + | ||
340 | + | ||
341 | + | func bN (ap) = { | |
342 | + | let av = bL(ap) | |
343 | + | let bO = valueOrErrorMessage(getBinary(T, aE(av)), B("invalid amount asset id")) | |
344 | + | bO | |
345 | + | } | |
346 | + | ||
347 | + | ||
348 | + | func bP (ap) = { | |
349 | + | let bQ = bM(ap) | |
350 | + | let aR = bQ._1 | |
351 | + | let aS = bQ._2 | |
352 | + | let bp = valueOrErrorMessage(getInteger(T, at(ap)), B("leverage should be defined")) | |
353 | + | let av = bL(ap) | |
354 | + | let bR = valueOrErrorMessage(getBinary(T, aH(av)), "kRequestIdToAccountPublicKey not found") | |
355 | + | let bS = valueOrElse(aq(ap), 0) | |
356 | + | let bg = t(aZ(aR), Q(aS)) | |
357 | + | let be = valueOrElse(getInteger(T, ar(ap, aR)), 0) | |
358 | + | let bf = valueOrElse(getInteger(T, ar(ap, aS)), 0) | |
359 | + | let bT = valueOrErrorMessage(getInteger(T, aC(av)), ("status not found. RequestId = " + toBase58String(av))) | |
360 | + | let bU = getString(T, aw(aR)) | |
361 | + | let bV = { | |
362 | + | let M = bU | |
363 | + | if ($isInstanceOf(M, "String")) | |
364 | + | then { | |
365 | + | let C = M | |
366 | + | N(G(C), ap) | |
367 | + | } | |
368 | + | else 0 | |
369 | + | } | |
370 | + | let bW = getString(T, aw(aS)) | |
371 | + | let bX = { | |
372 | + | let M = bW | |
373 | + | if ($isInstanceOf(M, "String")) | |
374 | + | then { | |
375 | + | let C = M | |
376 | + | N(G(C), ap) | |
377 | + | } | |
378 | + | else 0 | |
379 | + | } | |
380 | + | $Tuple12(I(aR), I(aS), toString(ap), toBase58String(bR), bp, toBase58String(av), bS, be, bf, bV, bX, bT) | |
381 | + | } | |
382 | + | ||
383 | + | ||
384 | + | func bY (ae,bZ,ca) = { | |
385 | + | let cb = ca.payments[0] | |
386 | + | let ap = valueOrErrorMessage(addressFromString(bZ[0]), B("invalid account address")) | |
387 | + | let cc = [if (!(Y)) | |
388 | + | then true | |
389 | + | else D("not allowed"), ac(ca.caller), if ((size(ca.payments) == 1)) | |
390 | + | then true | |
391 | + | else D("1 payment is required"), if ((cb.assetId == W)) | |
392 | + | then true | |
393 | + | else D("invalid asset"), if ((getInteger(T, aC(bL(ap))) == aB)) | |
394 | + | then true | |
395 | + | else D("account is not ready")] | |
396 | + | if ((cc == cc)) | |
397 | + | then { | |
398 | + | let cd = [ScriptTransfer(ap, cb.amount, cb.assetId)] | |
399 | + | let ce = [invoke(T, "integerEntry", [ao(ap), (valueOrElse(aq(ap), 0) + cb.amount)], nil)] | |
400 | + | $Tuple2(cd, ce) | |
401 | + | } | |
402 | + | else throw("Strict value is not equal to itself.") | |
403 | + | } | |
404 | + | ||
405 | + | ||
406 | + | func cf (ae,bZ,ca) = { | |
407 | + | let ap = valueOrErrorMessage(addressFromString(bZ[0]), B("invalid account address")) | |
408 | + | let cg = G(bZ[1]) | |
409 | + | let ch = E(valueOrErrorMessage(parseInt(bZ[2]), B("invalid requested amount")), "requested amount") | |
410 | + | let ci = bN(ap) | |
411 | + | let cj = addressFromPublicKey(ae) | |
412 | + | let cc = [if (!(Y)) | |
413 | + | then true | |
414 | + | else D("not allowed"), ac(ca.caller), if ((ae == ci)) | |
415 | + | then true | |
416 | + | else D("can be called by account owner only")] | |
417 | + | if ((cc == cc)) | |
418 | + | then { | |
419 | + | let aR = bM(ap)._1 | |
420 | + | let bS = t(valueOrElse(aq(ap), 0), Q(W)) | |
421 | + | let bg = t(aZ(aR), Q(W)) | |
422 | + | let be = t(valueOrElse(getInteger(T, ar(ap, aR)), 0), Q(aR)) | |
423 | + | let bf = t(valueOrElse(getInteger(T, ar(ap, W)), 0), Q(W)) | |
424 | + | let bm = bd(be, bf, bg) | |
425 | + | let bp = t(valueOrErrorMessage(getInteger(T, at(ap)), B("leverage should be defined")), 1) | |
426 | + | let ck = bn(bS, bp, bm) | |
427 | + | let cl = if ((cg == aR)) | |
428 | + | then w(fraction(ck, f, bg), Q(aR)) | |
429 | + | else if ((cg == W)) | |
430 | + | then w(ck, Q(W)) | |
431 | + | else D("invalid requested asset id") | |
432 | + | let az = G(valueOrErrorMessage(getString(T, aw(cg)), B("synthetic asset for requested asset is undefined"))) | |
433 | + | let cm = if ((cl >= ch)) | |
434 | + | then ch | |
435 | + | else D(("credit available = " + toString(cl))) | |
436 | + | let ce = [invoke(T, "integerEntry", [ar(ap, cg), (valueOrElse(as(ap, cg), 0) + cm)], nil), invoke(T, "transferAsset", [ap, cm, az], nil)] | |
437 | + | $Tuple2(nil, [ce, cl]) | |
438 | + | } | |
439 | + | else throw("Strict value is not equal to itself.") | |
440 | + | } | |
441 | + | ||
442 | + | ||
443 | + | @Callable(ca) | |
444 | + | func init (cn) = { | |
445 | + | let co = ab(ca.caller) | |
446 | + | if ((co == co)) | |
447 | + | then $Tuple2([StringEntry(R, cn)], unit) | |
448 | + | else throw("Strict value is not equal to itself.") | |
449 | + | } | |
450 | + | ||
451 | + | ||
452 | + | ||
453 | + | @Callable(ca) | |
454 | + | func requestAccount (ae,bZ) = { | |
455 | + | let cc = [if (!(Y)) | |
456 | + | then true | |
457 | + | else D("not allowed"), ac(ca.caller)] | |
458 | + | if ((cc == cc)) | |
459 | + | then { | |
460 | + | let cp = bZ[0] | |
461 | + | let cq = bZ[1] | |
462 | + | let bp = valueOrErrorMessage(parseInt(bZ[2]), B("invalid leverage")) | |
463 | + | let cj = addressFromPublicKey(ae) | |
464 | + | let av = sha256(((cj.bytes + fromBase58String(cp)) + fromBase58String(cq))) | |
465 | + | let aR = G(cp) | |
466 | + | let aS = G(cq) | |
467 | + | let cr = (size(aN(cj)) / j) | |
468 | + | let cs = [if ((size(ca.payments) == 1)) | |
469 | + | then true | |
470 | + | else D("1 payment is required"), if ((ca.payments[0].assetId == unit)) | |
471 | + | then true | |
472 | + | else D("invalid asset"), if ((ca.payments[0].amount == ak())) | |
473 | + | then true | |
474 | + | else D("invalid amount"), if (aT(aR, aS)) | |
475 | + | then true | |
476 | + | else D("pair is not allowed"), if ((getInteger(T, aC(av)) == unit)) | |
477 | + | then true | |
478 | + | else D("account is already exists"), if ((an() > cr)) | |
479 | + | then true | |
480 | + | else D(("accounts limit is " + toString(an())))] | |
481 | + | if ((cs == cs)) | |
482 | + | then { | |
483 | + | let ct = if ((size(aM()) == 0)) | |
484 | + | then $Tuple2([ScriptTransfer(T, ak(), unit)], [invoke(T, "integerEntry", [aC(av), aA], nil), invoke(T, "binaryEntry", [aJ(), (aK() + av)], nil), invoke(T, "integerEntry", [au(av), bp], nil)]) | |
485 | + | else { | |
486 | + | let bR = take(aM(), j) | |
487 | + | let ap = addressFromPublicKey(bR) | |
488 | + | let cu = addressFromPublicKey(valueOrErrorMessage(getBinary(T, aD(ap)), B("invalid creator public key"))) | |
489 | + | $Tuple2([ScriptTransfer(cu, ak(), unit)], [invoke(T, "binaryEntry", [aL(), drop(aM(), j)], nil), invoke(T, "integerEntry", [aC(av), aB], nil), invoke(T, "binaryEntry", [aH(av), bR], nil), invoke(T, "stringEntry", [aI(ap), toBase58String(av)], nil), invoke(T, "integerEntry", [at(ap), bp], nil)]) | |
490 | + | } | |
491 | + | let cd = ct._1 | |
492 | + | let ce = ct._2 | |
493 | + | $Tuple2(cd, (ce ++ [invoke(T, "binaryEntry", [aE(av), ae], nil), invoke(T, "binaryEntry", [aN(cj), (aP(cj) + av)], nil), invoke(T, "stringEntry", [aF(av), cp], nil), invoke(T, "stringEntry", [aG(av), cq], nil)])) | |
494 | + | } | |
495 | + | else throw("Strict value is not equal to itself.") | |
496 | + | } | |
497 | + | else throw("Strict value is not equal to itself.") | |
498 | + | } | |
499 | + | ||
500 | + | ||
501 | + | ||
502 | + | @Callable(ca) | |
503 | + | func addAccount (ae,bZ) = { | |
504 | + | let cc = [if (!(Y)) | |
505 | + | then true | |
506 | + | else D("not allowed"), ac(ca.caller)] | |
507 | + | if ((cc == cc)) | |
508 | + | then { | |
509 | + | let cv = fromBase58String(bZ[0]) | |
510 | + | let bR = ae | |
511 | + | let ap = addressFromPublicKey(ae) | |
512 | + | let cu = addressFromPublicKey(cv) | |
513 | + | let cs = [if ((getBinary(T, aD(ap)) == unit)) | |
514 | + | then true | |
515 | + | else D("account is already exists"), if ({ | |
516 | + | let M = scriptHash(ap) | |
517 | + | if ($isInstanceOf(M, "ByteVector")) | |
518 | + | then { | |
519 | + | let cw = M | |
520 | + | (cw == blake2b256_32Kb(ai())) | |
521 | + | } | |
522 | + | else false | |
523 | + | }) | |
524 | + | then true | |
525 | + | else D("invalid script")] | |
526 | + | if ((cs == cs)) | |
527 | + | then { | |
528 | + | let cx = if ((size(aK()) == 0)) | |
529 | + | then $Tuple2(nil, [invoke(T, "binaryEntry", [aL(), (aM() + bR)], nil)]) | |
530 | + | else { | |
531 | + | let av = take(aK(), j) | |
532 | + | let bp = valueOrErrorMessage(getInteger(T, au(av)), B("request's leverage is undefined")) | |
533 | + | $Tuple2(nil, [invoke(T, "integerEntry", [aC(av), aB], nil), invoke(T, "binaryEntry", [aH(av), bR], nil), invoke(T, "binaryEntry", [aJ(), drop(aK(), j)], nil), invoke(T, "stringEntry", [aI(ap), toBase58String(av)], nil), invoke(T, "transferWaves", [cu.bytes, ak()], nil), invoke(T, "integerEntry", [at(ap), bp], nil)]) | |
534 | + | } | |
535 | + | let cd = cx._1 | |
536 | + | let ce = cx._2 | |
537 | + | $Tuple2(cd, (ce ++ [invoke(T, "binaryEntry", [aD(ap), cv], nil)])) | |
538 | + | } | |
539 | + | else throw("Strict value is not equal to itself.") | |
540 | + | } | |
541 | + | else throw("Strict value is not equal to itself.") | |
542 | + | } | |
543 | + | ||
544 | + | ||
545 | + | ||
546 | + | @Callable(ca) | |
547 | + | func withdraw (ae,bZ) = { | |
548 | + | let cs = [if (!(Y)) | |
549 | + | then true | |
550 | + | else D("not allowed"), ac(ca.caller)] | |
551 | + | if ((cs == cs)) | |
552 | + | then { | |
553 | + | let cj = addressFromPublicKey(ae) | |
554 | + | let ap = valueOrErrorMessage(addressFromString(bZ[0]), B("invalid account address")) | |
555 | + | let cy = valueOrErrorMessage(parseInt(bZ[1]), B("invalid amount")) | |
556 | + | let K = G(bZ[2]) | |
557 | + | let cz = [invoke(ap, "transferAsset", [cj.bytes, cy, K], nil)] | |
558 | + | $Tuple2(nil, cz) | |
559 | + | } | |
560 | + | else throw("Strict value is not equal to itself.") | |
561 | + | } | |
562 | + | ||
563 | + | ||
564 | + | ||
565 | + | @Callable(ca) | |
566 | + | func deposit (ae,bZ) = { | |
567 | + | let cA = bY(ae, bZ, ca) | |
568 | + | let cd = cA._1 | |
569 | + | let ce = cA._2 | |
570 | + | $Tuple2(cd, ce) | |
571 | + | } | |
572 | + | ||
573 | + | ||
574 | + | ||
575 | + | @Callable(ca) | |
576 | + | func borrow (ae,bZ) = { | |
577 | + | let cB = cf(ae, bZ, ca) | |
578 | + | let cd = cB._1 | |
579 | + | let ce = cB._2 | |
580 | + | $Tuple2(cd, ce) | |
581 | + | } | |
582 | + | ||
583 | + | ||
584 | + | ||
585 | + | @Callable(ca) | |
586 | + | func depositAndBorrow (ae,bZ) = { | |
587 | + | let ap = bZ[0] | |
588 | + | let cC = bY(ae, [ap], ca) | |
589 | + | let cD = cC._1 | |
590 | + | let cE = cC._2 | |
591 | + | let cF = cf(ae, bZ, ca) | |
592 | + | let cG = cF._1 | |
593 | + | let cH = cF._2 | |
594 | + | $Tuple2((cD ++ cG), (cE ++ cH)) | |
595 | + | } | |
596 | + | ||
597 | + | ||
598 | + | ||
599 | + | @Callable(ca) | |
600 | + | func repay (ae,bZ) = { | |
601 | + | let cc = [if (!(Y)) | |
602 | + | then true | |
603 | + | else D("not allowed"), ac(ca.caller)] | |
604 | + | if ((cc == cc)) | |
605 | + | then $Tuple2(nil, unit) | |
606 | + | else throw("Strict value is not equal to itself.") | |
607 | + | } | |
608 | + | ||
609 | + | ||
610 | + | ||
611 | + | @Callable(ca) | |
612 | + | func setPairAllowance (ae,bZ) = { | |
613 | + | let cc = [if (!(Y)) | |
614 | + | then true | |
615 | + | else D("not allowed"), ac(ca.caller), ad(ae)] | |
616 | + | if ((cc == cc)) | |
617 | + | then { | |
618 | + | let cp = bZ[0] | |
619 | + | let cq = bZ[1] | |
620 | + | let cI = bZ[2] | |
621 | + | let aR = G(cp) | |
622 | + | let aS = G(cq) | |
623 | + | let cJ = (cI == "true") | |
624 | + | let cz = [invoke(T, "booleanEntry", [aQ(aR, aS), cJ], nil)] | |
625 | + | $Tuple2(nil, cz) | |
626 | + | } | |
627 | + | else throw("Strict value is not equal to itself.") | |
628 | + | } | |
629 | + | ||
630 | + | ||
631 | + | ||
632 | + | @Callable(ca) | |
633 | + | func addSyntheticAsset (ae,bZ) = { | |
634 | + | let ax = G(bZ[0]) | |
635 | + | let az = G(bZ[1]) | |
636 | + | let cc = [if (!(Y)) | |
637 | + | then true | |
638 | + | else D("not allowed"), ac(ca.caller), ad(ae), if ((getString(T, aw(ax)) == unit)) | |
639 | + | then true | |
640 | + | else D("invalid base asset"), if ((getString(T, ay(az)) == unit)) | |
641 | + | then true | |
642 | + | else D("invalid synthetic asset")] | |
643 | + | if ((cc == cc)) | |
644 | + | then { | |
645 | + | let cz = [invoke(T, "stringEntry", [aw(ax), I(az)], nil), invoke(T, "stringEntry", [ay(az), I(ax)], nil)] | |
646 | + | $Tuple2(nil, cz) | |
647 | + | } | |
648 | + | else throw("Strict value is not equal to itself.") | |
649 | + | } | |
650 | + | ||
651 | + | ||
652 | + | ||
653 | + | @Callable(ca) | |
654 | + | func doShutdown (ae,bZ) = { | |
655 | + | let cs = [ac(ca.caller), ad(ae)] | |
656 | + | if ((cs == cs)) | |
657 | + | then { | |
658 | + | let cz = [invoke(T, "booleanEntry", [q, true], nil)] | |
659 | + | $Tuple2(nil, cz) | |
660 | + | } | |
661 | + | else throw("Strict value is not equal to itself.") | |
662 | + | } | |
663 | + | ||
664 | + | ||
665 | + | ||
666 | + | @Callable(ca) | |
667 | + | func getAccountInfoREADONLY (ae,bZ) = { | |
668 | + | let cs = [ac(ca.caller)] | |
669 | + | if ((cs == cs)) | |
670 | + | then { | |
671 | + | let ap = valueOrErrorMessage(addressFromString(bZ[0]), B("invalid account address")) | |
672 | + | let cK = bP(ap) | |
673 | + | $Tuple2(nil, cK) | |
674 | + | } | |
675 | + | else throw("Strict value is not equal to itself.") | |
676 | + | } | |
677 | + | ||
678 | + | ||
679 | + | ||
680 | + | @Callable(ca) | |
681 | + | func getUserInfoREADONLY (ae,bZ) = { | |
682 | + | let cs = [ac(ca.caller)] | |
683 | + | if ((cs == cs)) | |
684 | + | then { | |
685 | + | let cj = valueOrErrorMessage(addressFromString(bZ[0]), B("invalid user address")) | |
686 | + | let cL = valueOrElse(getBinary(T, aN(cj)), base58'') | |
687 | + | let cr = (size(cL) / j) | |
688 | + | func cM (cN,cO) = { | |
689 | + | let cP = cN | |
690 | + | let cQ = cP._1 | |
691 | + | let cR = cP._2 | |
692 | + | let cS = cP._3 | |
693 | + | if ((cS > cO)) | |
694 | + | then { | |
695 | + | let av = take(cR, j) | |
696 | + | let cT = drop(cR, j) | |
697 | + | let bR = valueOrErrorMessage(getBinary(T, aH(av)), "kRequestIdToAccountPublicKey not found") | |
698 | + | let ap = addressFromPublicKey(bR) | |
699 | + | let cK = bP(ap) | |
700 | + | $Tuple3((cQ :+ cK), cT, cS) | |
701 | + | } | |
702 | + | else cN | |
703 | + | } | |
704 | + | ||
705 | + | let cU = { | |
706 | + | let cV = l | |
707 | + | let cW = size(cV) | |
708 | + | let cX = $Tuple3(nil, cL, cr) | |
709 | + | func cY (cZ,da) = if ((da >= cW)) | |
710 | + | then cZ | |
711 | + | else cM(cZ, cV[da]) | |
712 | + | ||
713 | + | func db (cZ,da) = if ((da >= cW)) | |
714 | + | then cZ | |
715 | + | else throw("List size exceeds 20") | |
716 | + | ||
717 | + | db(cY(cY(cY(cY(cY(cY(cY(cY(cY(cY(cY(cY(cY(cY(cY(cY(cY(cY(cY(cY(cX, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20) | |
718 | + | } | |
719 | + | let cQ = cU._1 | |
720 | + | let dc = cU._2 | |
721 | + | let dd = cU._3 | |
722 | + | $Tuple2(nil, cQ) | |
723 | + | } | |
724 | + | else throw("Strict value is not equal to itself.") | |
725 | + | } | |
726 | + | ||
727 | + | ||
728 | + | ||
729 | + | @Callable(ca) | |
730 | + | func getPairSettingsInfoREADONLY (ae,bZ) = { | |
731 | + | let de = G(bZ[0]) | |
732 | + | let df = G(bZ[1]) | |
733 | + | let dg = aW(de, df) | |
734 | + | func dh (cN,di) = { | |
735 | + | let dj = aX(de, df, di) | |
736 | + | let dk = getStringValue(T, dj) | |
737 | + | let dl = split(dk, a) | |
738 | + | let bc = parseInt(di) | |
739 | + | let dm = parseInt(dl[1]) | |
740 | + | let dn = parseInt(dl[2]) | |
741 | + | let do = parseInt(dl[3]) | |
742 | + | (cN :+ $Tuple4(bc, dm, dn, do)) | |
743 | + | } | |
744 | + | ||
745 | + | let cK = { | |
746 | + | let cV = dg | |
747 | + | let cW = size(cV) | |
748 | + | let cX = nil | |
749 | + | func cY (cZ,da) = if ((da >= cW)) | |
750 | + | then cZ | |
751 | + | else dh(cZ, cV[da]) | |
752 | + | ||
753 | + | func db (cZ,da) = if ((da >= cW)) | |
754 | + | then cZ | |
755 | + | else throw("List size exceeds 20") | |
756 | + | ||
757 | + | db(cY(cY(cY(cY(cY(cY(cY(cY(cY(cY(cY(cY(cY(cY(cY(cY(cY(cY(cY(cY(cX, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20) | |
758 | + | } | |
759 | + | $Tuple2(nil, cK) | |
760 | + | } | |
761 | + | ||
762 | + | ||
763 | + | ||
764 | + | @Callable(ca) | |
765 | + | func editPairSettings (ae,bZ) = { | |
766 | + | let cs = [ac(ca.caller)] | |
767 | + | if ((cs == cs)) | |
768 | + | then { | |
769 | + | let de = G(bZ[0]) | |
770 | + | let df = G(bZ[1]) | |
771 | + | let bc = bZ[2] | |
772 | + | let dm = bZ[3] | |
773 | + | let dn = bZ[4] | |
774 | + | let do = bZ[5] | |
775 | + | let dp = aV(de, df) | |
776 | + | let dj = aX(de, df, bc) | |
777 | + | let dg = aW(de, df) | |
778 | + | let dq = { | |
779 | + | let M = indexOf(dg, bc) | |
780 | + | if ($isInstanceOf(M, "Int")) | |
781 | + | then { | |
782 | + | let dr = M | |
783 | + | dg | |
784 | + | } | |
785 | + | else (dg :+ bc) | |
786 | + | } | |
787 | + | let ds = [valueOrErrorMessage(parseInt(bc), B("price value is not an Int")), valueOrErrorMessage(dm, B("maxLeverage value is not an Int")), valueOrErrorMessage(dn, B("initialMargin value is not an Int")), valueOrErrorMessage(do, B("maintenanceMargin value is not an Int")), if ((20 >= size(dq))) | |
788 | + | then true | |
789 | + | else D("exceeded max prices list size (20)")] | |
790 | + | if ((ds == ds)) | |
791 | + | then { | |
792 | + | let dt = makeString(["%s%s%s", dm, dn, do], a) | |
793 | + | let cz = [invoke(T, "stringEntry", [aV(de, df), makeString(dq, a)], nil), invoke(T, "stringEntry", [aX(de, df, bc), dt], nil)] | |
794 | + | $Tuple2(nil, cz) | |
795 | + | } | |
796 | + | else throw("Strict value is not equal to itself.") | |
797 | + | } | |
798 | + | else throw("Strict value is not equal to itself.") | |
799 | + | } | |
800 | + | ||
801 | + | ||
802 | + | ||
803 | + | @Callable(ca) | |
804 | + | func deletePairSettings (ae,bZ) = { | |
805 | + | let cs = [ac(ca.caller)] | |
806 | + | if ((cs == cs)) | |
807 | + | then { | |
808 | + | let de = G(bZ[0]) | |
809 | + | let df = G(bZ[1]) | |
810 | + | let bc = bZ[2] | |
811 | + | let dj = aX(de, df, bc) | |
812 | + | let dp = aV(de, df) | |
813 | + | let dg = aW(de, df) | |
814 | + | let dq = { | |
815 | + | let M = indexOf(dg, bc) | |
816 | + | if ($isInstanceOf(M, "Int")) | |
817 | + | then { | |
818 | + | let dr = M | |
819 | + | removeByIndex(dg, dr) | |
820 | + | } | |
821 | + | else dg | |
822 | + | } | |
823 | + | let cz = [invoke(T, "deleteEntry", [dj], nil), if ((size(dq) == 0)) | |
824 | + | then invoke(T, "deleteEntry", [aV(de, df)], nil) | |
825 | + | else invoke(T, "stringEntry", [aV(de, df), makeString(dq, a)], nil)] | |
826 | + | $Tuple2(nil, cz) | |
827 | + | } | |
828 | + | else throw("Strict value is not equal to itself.") | |
829 | + | } | |
830 | + | ||
831 | + | ||
832 | + | @Verifier(du) | |
833 | + | func dv () = if (if (isDefined(S)) | |
834 | + | then isDefined(getString(T, m)) | |
835 | + | else false) | |
836 | + | then { | |
837 | + | let M = getString(T, m) | |
838 | + | if ($isInstanceOf(M, "String")) | |
839 | + | then { | |
840 | + | let af = M | |
841 | + | let dw = n(toString(this), toBase58String(du.id)) | |
842 | + | let bT = valueOrElse(getBoolean(addressFromStringValue(af), dw), false) | |
843 | + | bT | |
844 | + | } | |
845 | + | else false | |
846 | + | } | |
847 | + | else sigVerify(du.bodyBytes, du.proofs[0], du.senderPublicKey) | |
848 | + |
github/deemru/w8io/026f985 48.94 ms ◑