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