tx · 9B2mSCgSyfoMx7tRKhXxb4dnDJwzSTznqes1aUkbQkKi 3N5BB6iE58rujeTEkymeLNcdsYF4f6iKoxr: -0.01400000 Waves 2022.04.18 16:44 [2014068] smart account 3N5BB6iE58rujeTEkymeLNcdsYF4f6iKoxr > SELF 0.00000000 Waves
{ "type": 13, "id": "9B2mSCgSyfoMx7tRKhXxb4dnDJwzSTznqes1aUkbQkKi", "fee": 1400000, "feeAssetId": null, "timestamp": 1650289519546, "version": 1, "sender": "3N5BB6iE58rujeTEkymeLNcdsYF4f6iKoxr", "senderPublicKey": "EtZZHS4uqNXY5WPneZ8jY2aA95peXwthJVLzAMxMp379", "proofs": [ "5ihcqpumLi9iG8rUetVYGQtmPGhaQiS1y9RC9NtEH2Bgpd22NkiE7rEgVVxXGYkGvSD4ecUzXmqR44fTzduARqR1" ], "script": "base64:AAIFAAAAAAAAAFkIAhIECgIIGBIFCgMICAgSAwoBCBIDCgEIEgMKAQgSBAoCCAgSBAoCCAgSBAoCCAgSAwoBCBIFCgMICAQSBAoCCAgSBAoCCAQSAwoBGBIDCgEIEgASAwoBCAAAACUAAAAAA1NFUAIAAAACX18AAAAABUVNUFRZAgAAAAAAAAAADnN0YXR1c1ZlcmlmaWVkAAAAAAAAAAACAAAAABBzdGF0dXNVbnZlcmlmaWVkAAAAAAAAAAAAAAAAABZsYWJlbENvbW11bml0eVZlcmlmaWVkAgAAABJDT01NVU5JVFlfVkVSSUZJRUQAAAAADGxhYmVsUG9vbHNMcAIAAAAIUE9PTFNfTFAAAAAADWRlZmF1bHRMYWJlbHMJAARMAAAAAgUAAAAWbGFiZWxDb21tdW5pdHlWZXJpZmllZAkABEwAAAACBQAAAAxsYWJlbFBvb2xzTHAFAAAAA25pbAEAAAAHdGhyb3dQRAAAAAAJAAACAAAAAQIAAAARUGVybWlzc2lvbiBkZW5pZWQBAAAADHRocm93Tm9Bc3NldAAAAAAJAAACAAAAAQIAAAAUQXNzZXQgZG9lc24ndCBleGlzdHMBAAAA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AA25pbAkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAACAAAAAQIAAAAkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAAAAAWkBAAAAEmlzVmVyaWZpZWRSRUFET05MWQAAAAEAAAAHYXNzZXRJZAkABRQAAAACBQAAAANuaWwJAQAAAAppc1ZlcmlmaWVkAAAAAQUAAAAHYXNzZXRJZAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAAD3RhcmdldFB1YmxpY0tleQQAAAAHJG1hdGNoMAkBAAAAFm1hbmFnZXJQdWJsaWNLZXlPclVuaXQAAAAAAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAApCeXRlVmVjdG9yBAAAAAJwawUAAAAHJG1hdGNoMAUAAAACcGsDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABFVuaXQIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkJAAACAAAAAQIAAAALTWF0Y2ggZXJyb3IJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAA90YXJnZXRQdWJsaWNLZXmG8ULi", "chainId": 84, "height": 2014068, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4yF8bE6CetRyZSLWkwneD7EetbHSwoTwc22TqPPNcN8m Next: 7NQzxXX6wEahkfqiLDiRaoqWAfoWkTyeH28MxhdNizHL Diff:
Old | New | Differences | |
---|---|---|---|
347 | 347 | let ai = N(L) | |
348 | 348 | if ((ai == ai)) | |
349 | 349 | then { | |
350 | - | let ao = | |
350 | + | let ao = !(Q(o)) | |
351 | 351 | if ((ao == ao)) | |
352 | 352 | then { | |
353 | - | let ap = !(Q(o)) | |
354 | - | if ((ap == ap)) | |
355 | - | then { | |
356 | - | let aq = if ((an == "")) | |
357 | - | then nil | |
358 | - | else [StringEntry(p(o), an)] | |
359 | - | $Tuple2((([BooleanEntry(n(o), true)] ++ aq) ++ ab(o, S)), ap) | |
360 | - | } | |
361 | - | else throw("Strict value is not equal to itself.") | |
353 | + | let ap = if ((an == "")) | |
354 | + | then nil | |
355 | + | else [StringEntry(p(o), an)] | |
356 | + | $Tuple2((([BooleanEntry(n(o), true)] ++ ap) ++ ab(o, S)), ao) | |
362 | 357 | } | |
363 | 358 | else throw("Strict value is not equal to itself.") | |
364 | 359 | } | |
369 | 364 | ||
370 | 365 | @Callable(L) | |
371 | 366 | func setLogo (o,an) = { | |
372 | - | let | |
367 | + | let aq = [N(L), if (Q(o)) | |
373 | 368 | then true | |
374 | 369 | else i()] | |
375 | - | if (( | |
370 | + | if ((aq == aq)) | |
376 | 371 | then [StringEntry(p(o), an)] | |
377 | 372 | else throw("Strict value is not equal to itself.") | |
378 | 373 | } | |
381 | 376 | ||
382 | 377 | @Callable(L) | |
383 | 378 | func setVerified (o,S) = { | |
384 | - | let | |
379 | + | let aq = [N(L), if (Q(o)) | |
385 | 380 | then true | |
386 | 381 | else i()] | |
387 | - | if (( | |
382 | + | if ((aq == aq)) | |
388 | 383 | then { | |
389 | - | let | |
384 | + | let ar = { | |
390 | 385 | let F = invoke(addressFromStringValue(getStringValue(m())), "priceAssetsREADONLY", nil, nil) | |
391 | 386 | if ($isInstanceOf(F, "List[Any]")) | |
392 | 387 | then { | |
393 | - | let | |
394 | - | let | |
388 | + | let as = F | |
389 | + | let at = if ((size(as) > 0)) | |
395 | 390 | then true | |
396 | 391 | else throw("Invalid price assets") | |
397 | - | if (( | |
398 | - | then | |
392 | + | if ((at == at)) | |
393 | + | then as | |
399 | 394 | else throw("Strict value is not equal to itself.") | |
400 | 395 | } | |
401 | 396 | else throw("Incorrect invoke result") | |
402 | 397 | } | |
403 | - | func | |
404 | - | let | |
405 | - | let F = | |
398 | + | func au (av,aw) = { | |
399 | + | let ax = { | |
400 | + | let F = aw | |
406 | 401 | if ($isInstanceOf(F, "String")) | |
407 | 402 | then { | |
408 | 403 | let G = F | |
410 | 405 | } | |
411 | 406 | else throw("Invalid price asset") | |
412 | 407 | } | |
413 | - | let | |
414 | - | let | |
408 | + | let ay = getString(w(o, ax)) | |
409 | + | let az = if ((ay == unit)) | |
415 | 410 | then nil | |
416 | - | else ab(value( | |
417 | - | ( | |
411 | + | else ab(value(ay), S) | |
412 | + | (av ++ az) | |
418 | 413 | } | |
419 | 414 | ||
420 | - | let | |
421 | - | let | |
422 | - | let | |
423 | - | let | |
424 | - | func | |
425 | - | then | |
426 | - | else | |
415 | + | let aA = { | |
416 | + | let aB = ar | |
417 | + | let aC = size(aB) | |
418 | + | let aD = ab(o, S) | |
419 | + | func aE (aF,aG) = if ((aG >= aC)) | |
420 | + | then aF | |
421 | + | else au(aF, aB[aG]) | |
427 | 422 | ||
428 | - | func | |
429 | - | then | |
423 | + | func aH (aF,aG) = if ((aG >= aC)) | |
424 | + | then aF | |
430 | 425 | else throw("List size exceeds 10") | |
431 | 426 | ||
432 | - | | |
427 | + | aH(aE(aE(aE(aE(aE(aE(aE(aE(aE(aE(aD, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
433 | 428 | } | |
434 | - | $Tuple2( | |
429 | + | $Tuple2(aA, unit) | |
435 | 430 | } | |
436 | 431 | else throw("Strict value is not equal to itself.") | |
437 | 432 | } | |
439 | 434 | ||
440 | 435 | ||
441 | 436 | @Callable(L) | |
442 | - | func setAdmins ( | |
437 | + | func setAdmins (aI) = { | |
443 | 438 | let ai = K(L) | |
444 | 439 | if ((ai == ai)) | |
445 | - | then [StringEntry(l(), makeString( | |
440 | + | then [StringEntry(l(), makeString(aI, a))] | |
446 | 441 | else throw("Strict value is not equal to itself.") | |
447 | 442 | } | |
448 | 443 | ||
449 | 444 | ||
450 | 445 | ||
451 | 446 | @Callable(L) | |
452 | - | func setManager ( | |
447 | + | func setManager (aJ) = { | |
453 | 448 | let ai = K(L) | |
454 | 449 | if ((ai == ai)) | |
455 | 450 | then { | |
456 | - | let | |
457 | - | if (( | |
458 | - | then [StringEntry(k(), | |
451 | + | let aK = fromBase58String(aJ) | |
452 | + | if ((aK == aK)) | |
453 | + | then [StringEntry(k(), aJ)] | |
459 | 454 | else throw("Strict value is not equal to itself.") | |
460 | 455 | } | |
461 | 456 | else throw("Strict value is not equal to itself.") | |
465 | 460 | ||
466 | 461 | @Callable(L) | |
467 | 462 | func confirmManager () = { | |
468 | - | let | |
469 | - | let | |
463 | + | let aL = J() | |
464 | + | let aM = if (isDefined(aL)) | |
470 | 465 | then true | |
471 | 466 | else throw("No pending manager") | |
472 | - | if (( | |
467 | + | if ((aM == aM)) | |
473 | 468 | then { | |
474 | - | let | |
469 | + | let aN = if ((L.callerPublicKey == value(aL))) | |
475 | 470 | then true | |
476 | 471 | else throw("You are not pending manager") | |
477 | - | if (( | |
478 | - | then [StringEntry(j(), toBase58String(value( | |
472 | + | if ((aN == aN)) | |
473 | + | then [StringEntry(j(), toBase58String(value(aL))), DeleteEntry(k())] | |
479 | 474 | else throw("Strict value is not equal to itself.") | |
480 | 475 | } | |
481 | 476 | else throw("Strict value is not equal to itself.") | |
487 | 482 | func isVerifiedREADONLY (o) = $Tuple2(nil, D(o)) | |
488 | 483 | ||
489 | 484 | ||
490 | - | @Verifier( | |
491 | - | func | |
492 | - | let | |
485 | + | @Verifier(aO) | |
486 | + | func aP () = { | |
487 | + | let aQ = { | |
493 | 488 | let F = I() | |
494 | 489 | if ($isInstanceOf(F, "ByteVector")) | |
495 | 490 | then { | |
497 | 492 | M | |
498 | 493 | } | |
499 | 494 | else if ($isInstanceOf(F, "Unit")) | |
500 | - | then | |
495 | + | then aO.senderPublicKey | |
501 | 496 | else throw("Match error") | |
502 | 497 | } | |
503 | - | sigVerify( | |
498 | + | sigVerify(aO.bodyBytes, aO.proofs[0], aQ) | |
504 | 499 | } | |
505 | 500 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "__" | |
5 | 5 | ||
6 | 6 | let b = "" | |
7 | 7 | ||
8 | 8 | let c = 2 | |
9 | 9 | ||
10 | 10 | let d = 0 | |
11 | 11 | ||
12 | 12 | let e = "COMMUNITY_VERIFIED" | |
13 | 13 | ||
14 | 14 | let f = "POOLS_LP" | |
15 | 15 | ||
16 | 16 | let g = [e, f] | |
17 | 17 | ||
18 | 18 | func h () = throw("Permission denied") | |
19 | 19 | ||
20 | 20 | ||
21 | 21 | func i () = throw("Asset doesn't exists") | |
22 | 22 | ||
23 | 23 | ||
24 | 24 | func j () = "%s__managerPublicKey" | |
25 | 25 | ||
26 | 26 | ||
27 | 27 | func k () = "%s__pendingManagerPublicKey" | |
28 | 28 | ||
29 | 29 | ||
30 | 30 | func l () = "%s__adminPubKeys" | |
31 | 31 | ||
32 | 32 | ||
33 | 33 | func m () = "%s__userPoolsContract" | |
34 | 34 | ||
35 | 35 | ||
36 | 36 | func n (o) = (("created_<" + o) + ">") | |
37 | 37 | ||
38 | 38 | ||
39 | 39 | func p (o) = (("logo_<" + o) + ">") | |
40 | 40 | ||
41 | 41 | ||
42 | 42 | func q (o) = (("ticker_<" + o) + ">") | |
43 | 43 | ||
44 | 44 | ||
45 | 45 | func r (o) = (("status_<" + o) + ">") | |
46 | 46 | ||
47 | 47 | ||
48 | 48 | func s (o) = makeString(["%s%s", "pools", o], a) | |
49 | 49 | ||
50 | 50 | ||
51 | 51 | func t (u) = makeString(["%s%s", "ticker2assetId", u], a) | |
52 | 52 | ||
53 | 53 | ||
54 | 54 | func v (o) = makeString(["%s%s", "assetId2ticker", o], a) | |
55 | 55 | ||
56 | 56 | ||
57 | 57 | func w (x,y) = makeString(["%s%s%s", "amountAndPriceAssetsToLpAsset", x, y], a) | |
58 | 58 | ||
59 | 59 | ||
60 | 60 | func z (A) = makeString(["%s%s", "lpAssetToAmountAndPriceAssets", A], a) | |
61 | 61 | ||
62 | 62 | ||
63 | 63 | func B (o) = makeString(["%s%s", "labels", o], a) | |
64 | 64 | ||
65 | 65 | ||
66 | 66 | func C () = makeString(["%s", "labels"], a) | |
67 | 67 | ||
68 | 68 | ||
69 | 69 | func D (o) = (valueOrElse(getInteger(r(o)), d) == c) | |
70 | 70 | ||
71 | 71 | ||
72 | 72 | func E () = { | |
73 | 73 | let F = getString(C()) | |
74 | 74 | if ($isInstanceOf(F, "String")) | |
75 | 75 | then { | |
76 | 76 | let G = F | |
77 | 77 | if ((size(G) == 0)) | |
78 | 78 | then nil | |
79 | 79 | else split(G, a) | |
80 | 80 | } | |
81 | 81 | else nil | |
82 | 82 | } | |
83 | 83 | ||
84 | 84 | ||
85 | 85 | func H (o) = { | |
86 | 86 | let F = getString(B(o)) | |
87 | 87 | if ($isInstanceOf(F, "String")) | |
88 | 88 | then { | |
89 | 89 | let G = F | |
90 | 90 | if ((size(G) == 0)) | |
91 | 91 | then nil | |
92 | 92 | else split(G, a) | |
93 | 93 | } | |
94 | 94 | else nil | |
95 | 95 | } | |
96 | 96 | ||
97 | 97 | ||
98 | 98 | func I () = { | |
99 | 99 | let F = getString(j()) | |
100 | 100 | if ($isInstanceOf(F, "String")) | |
101 | 101 | then { | |
102 | 102 | let G = F | |
103 | 103 | fromBase58String(G) | |
104 | 104 | } | |
105 | 105 | else if ($isInstanceOf(F, "Unit")) | |
106 | 106 | then unit | |
107 | 107 | else throw("Match error") | |
108 | 108 | } | |
109 | 109 | ||
110 | 110 | ||
111 | 111 | func J () = { | |
112 | 112 | let F = getString(k()) | |
113 | 113 | if ($isInstanceOf(F, "String")) | |
114 | 114 | then { | |
115 | 115 | let G = F | |
116 | 116 | fromBase58String(G) | |
117 | 117 | } | |
118 | 118 | else if ($isInstanceOf(F, "Unit")) | |
119 | 119 | then unit | |
120 | 120 | else throw("Match error") | |
121 | 121 | } | |
122 | 122 | ||
123 | 123 | ||
124 | 124 | func K (L) = { | |
125 | 125 | let F = I() | |
126 | 126 | if ($isInstanceOf(F, "ByteVector")) | |
127 | 127 | then { | |
128 | 128 | let M = F | |
129 | 129 | if ((L.callerPublicKey == M)) | |
130 | 130 | then true | |
131 | 131 | else h() | |
132 | 132 | } | |
133 | 133 | else if ($isInstanceOf(F, "Unit")) | |
134 | 134 | then if ((L.caller == this)) | |
135 | 135 | then true | |
136 | 136 | else h() | |
137 | 137 | else throw("Match error") | |
138 | 138 | } | |
139 | 139 | ||
140 | 140 | ||
141 | 141 | func N (L) = { | |
142 | 142 | let O = split(valueOrElse(getString(l()), b), a) | |
143 | 143 | if (containsElement(O, toBase58String(L.callerPublicKey))) | |
144 | 144 | then true | |
145 | 145 | else { | |
146 | 146 | let P = K(L) | |
147 | 147 | if ((P == P)) | |
148 | 148 | then true | |
149 | 149 | else throw("Strict value is not equal to itself.") | |
150 | 150 | } | |
151 | 151 | } | |
152 | 152 | ||
153 | 153 | ||
154 | 154 | func Q (o) = valueOrElse(getBoolean(n(o)), false) | |
155 | 155 | ||
156 | 156 | ||
157 | 157 | func R (S) = if (S) | |
158 | 158 | then c | |
159 | 159 | else d | |
160 | 160 | ||
161 | 161 | ||
162 | 162 | func T (o,U,V) = { | |
163 | 163 | let W = E() | |
164 | 164 | let X = H(o) | |
165 | 165 | let Y = if (containsElement(W, U)) | |
166 | 166 | then true | |
167 | 167 | else throw("Label doesn't exist") | |
168 | 168 | if ((Y == Y)) | |
169 | 169 | then { | |
170 | 170 | let Z = if (containsElement(X, U)) | |
171 | 171 | then if (V) | |
172 | 172 | then throw("Label has already been added") | |
173 | 173 | else X | |
174 | 174 | else (X :+ U) | |
175 | 175 | [StringEntry(B(o), makeString(Z, a))] | |
176 | 176 | } | |
177 | 177 | else throw("Strict value is not equal to itself.") | |
178 | 178 | } | |
179 | 179 | ||
180 | 180 | ||
181 | 181 | func aa (o,U,V) = { | |
182 | 182 | let X = H(o) | |
183 | 183 | let Z = if (containsElement(X, U)) | |
184 | 184 | then removeByIndex(X, value(indexOf(X, U))) | |
185 | 185 | else if (V) | |
186 | 186 | then throw("Label wasn't added") | |
187 | 187 | else X | |
188 | 188 | [StringEntry(B(o), makeString(Z, a))] | |
189 | 189 | } | |
190 | 190 | ||
191 | 191 | ||
192 | 192 | func ab (o,S) = { | |
193 | 193 | let ac = if (S) | |
194 | 194 | then T(o, e, false) | |
195 | 195 | else aa(o, e, false) | |
196 | 196 | ([IntegerEntry(r(o), R(S))] ++ ac) | |
197 | 197 | } | |
198 | 198 | ||
199 | 199 | ||
200 | 200 | func ad (o,u) = { | |
201 | 201 | let ae = { | |
202 | 202 | let af = getString(t(u)) | |
203 | 203 | let ag = if ((u != "")) | |
204 | 204 | then if ((af == unit)) | |
205 | 205 | then true | |
206 | 206 | else (value(af) == o) | |
207 | 207 | else false | |
208 | 208 | if (ag) | |
209 | 209 | then true | |
210 | 210 | else throw("Invalid ticker") | |
211 | 211 | } | |
212 | 212 | if ((ae == ae)) | |
213 | 213 | then [StringEntry(v(o), u), StringEntry(t(u), o)] | |
214 | 214 | else throw("Strict value is not equal to itself.") | |
215 | 215 | } | |
216 | 216 | ||
217 | 217 | ||
218 | 218 | @Callable(L) | |
219 | 219 | func constructor (ah,W) = { | |
220 | 220 | let ai = K(L) | |
221 | 221 | if ((ai == ai)) | |
222 | 222 | then { | |
223 | 223 | let aj = valueOrErrorMessage(addressFromString(ah), "Invalid address") | |
224 | 224 | if ((aj == aj)) | |
225 | 225 | then [StringEntry(m(), ah), StringEntry(C(), makeString((g ++ W), a))] | |
226 | 226 | else throw("Strict value is not equal to itself.") | |
227 | 227 | } | |
228 | 228 | else throw("Strict value is not equal to itself.") | |
229 | 229 | } | |
230 | 230 | ||
231 | 231 | ||
232 | 232 | ||
233 | 233 | @Callable(L) | |
234 | 234 | func addAssetsLink (x,y,A) = { | |
235 | 235 | let ai = N(L) | |
236 | 236 | if ((ai == ai)) | |
237 | 237 | then [StringEntry(w(x, y), A), StringEntry(z(A), makeString([x, y], a))] | |
238 | 238 | else throw("Strict value is not equal to itself.") | |
239 | 239 | } | |
240 | 240 | ||
241 | 241 | ||
242 | 242 | ||
243 | 243 | @Callable(L) | |
244 | 244 | func increaseAssetPoolsNumber (o) = { | |
245 | 245 | let ai = N(L) | |
246 | 246 | if ((ai == ai)) | |
247 | 247 | then { | |
248 | 248 | let ak = s(o) | |
249 | 249 | let al = valueOrElse(getInteger(ak), 0) | |
250 | 250 | [IntegerEntry(ak, (al + 1))] | |
251 | 251 | } | |
252 | 252 | else throw("Strict value is not equal to itself.") | |
253 | 253 | } | |
254 | 254 | ||
255 | 255 | ||
256 | 256 | ||
257 | 257 | @Callable(L) | |
258 | 258 | func createLabel (U) = { | |
259 | 259 | let W = E() | |
260 | 260 | let ai = K(L) | |
261 | 261 | if ((ai == ai)) | |
262 | 262 | then { | |
263 | 263 | let Y = [if (!(contains(U, a))) | |
264 | 264 | then true | |
265 | 265 | else throw("Invalid label name"), if (!(containsElement(W, U))) | |
266 | 266 | then true | |
267 | 267 | else throw("Label exists")] | |
268 | 268 | if ((Y == Y)) | |
269 | 269 | then [StringEntry(C(), makeString((W :+ U), a))] | |
270 | 270 | else throw("Strict value is not equal to itself.") | |
271 | 271 | } | |
272 | 272 | else throw("Strict value is not equal to itself.") | |
273 | 273 | } | |
274 | 274 | ||
275 | 275 | ||
276 | 276 | ||
277 | 277 | @Callable(L) | |
278 | 278 | func dropLabel (U) = { | |
279 | 279 | let W = E() | |
280 | 280 | let ai = K(L) | |
281 | 281 | if ((ai == ai)) | |
282 | 282 | then { | |
283 | 283 | let Y = if (containsElement(W, U)) | |
284 | 284 | then true | |
285 | 285 | else throw("Label doesn't exist") | |
286 | 286 | if ((Y == Y)) | |
287 | 287 | then [StringEntry(C(), makeString(removeByIndex(W, value(indexOf(W, U))), a))] | |
288 | 288 | else throw("Strict value is not equal to itself.") | |
289 | 289 | } | |
290 | 290 | else throw("Strict value is not equal to itself.") | |
291 | 291 | } | |
292 | 292 | ||
293 | 293 | ||
294 | 294 | ||
295 | 295 | @Callable(L) | |
296 | 296 | func addLabel (o,U) = { | |
297 | 297 | let ai = N(L) | |
298 | 298 | if ((ai == ai)) | |
299 | 299 | then T(o, U, true) | |
300 | 300 | else throw("Strict value is not equal to itself.") | |
301 | 301 | } | |
302 | 302 | ||
303 | 303 | ||
304 | 304 | ||
305 | 305 | @Callable(L) | |
306 | 306 | func deleteLabel (o,U) = { | |
307 | 307 | let ai = N(L) | |
308 | 308 | if ((ai == ai)) | |
309 | 309 | then aa(o, U, true) | |
310 | 310 | else throw("Strict value is not equal to itself.") | |
311 | 311 | } | |
312 | 312 | ||
313 | 313 | ||
314 | 314 | ||
315 | 315 | @Callable(L) | |
316 | 316 | func updateTicker (o,u) = { | |
317 | 317 | let ai = N(L) | |
318 | 318 | if ((ai == ai)) | |
319 | 319 | then { | |
320 | 320 | let am = if (Q(o)) | |
321 | 321 | then true | |
322 | 322 | else i() | |
323 | 323 | if ((am == am)) | |
324 | 324 | then ad(o, u) | |
325 | 325 | else throw("Strict value is not equal to itself.") | |
326 | 326 | } | |
327 | 327 | else throw("Strict value is not equal to itself.") | |
328 | 328 | } | |
329 | 329 | ||
330 | 330 | ||
331 | 331 | ||
332 | 332 | @Callable(L) | |
333 | 333 | func deleteTicker (o) = { | |
334 | 334 | let ai = N(L) | |
335 | 335 | if ((ai == ai)) | |
336 | 336 | then { | |
337 | 337 | let u = valueOrErrorMessage(getString(v(o)), "Invalid asset") | |
338 | 338 | [DeleteEntry(v(o)), DeleteEntry(t(u))] | |
339 | 339 | } | |
340 | 340 | else throw("Strict value is not equal to itself.") | |
341 | 341 | } | |
342 | 342 | ||
343 | 343 | ||
344 | 344 | ||
345 | 345 | @Callable(L) | |
346 | 346 | func createOrUpdate (o,an,S) = { | |
347 | 347 | let ai = N(L) | |
348 | 348 | if ((ai == ai)) | |
349 | 349 | then { | |
350 | - | let ao = | |
350 | + | let ao = !(Q(o)) | |
351 | 351 | if ((ao == ao)) | |
352 | 352 | then { | |
353 | - | let ap = !(Q(o)) | |
354 | - | if ((ap == ap)) | |
355 | - | then { | |
356 | - | let aq = if ((an == "")) | |
357 | - | then nil | |
358 | - | else [StringEntry(p(o), an)] | |
359 | - | $Tuple2((([BooleanEntry(n(o), true)] ++ aq) ++ ab(o, S)), ap) | |
360 | - | } | |
361 | - | else throw("Strict value is not equal to itself.") | |
353 | + | let ap = if ((an == "")) | |
354 | + | then nil | |
355 | + | else [StringEntry(p(o), an)] | |
356 | + | $Tuple2((([BooleanEntry(n(o), true)] ++ ap) ++ ab(o, S)), ao) | |
362 | 357 | } | |
363 | 358 | else throw("Strict value is not equal to itself.") | |
364 | 359 | } | |
365 | 360 | else throw("Strict value is not equal to itself.") | |
366 | 361 | } | |
367 | 362 | ||
368 | 363 | ||
369 | 364 | ||
370 | 365 | @Callable(L) | |
371 | 366 | func setLogo (o,an) = { | |
372 | - | let | |
367 | + | let aq = [N(L), if (Q(o)) | |
373 | 368 | then true | |
374 | 369 | else i()] | |
375 | - | if (( | |
370 | + | if ((aq == aq)) | |
376 | 371 | then [StringEntry(p(o), an)] | |
377 | 372 | else throw("Strict value is not equal to itself.") | |
378 | 373 | } | |
379 | 374 | ||
380 | 375 | ||
381 | 376 | ||
382 | 377 | @Callable(L) | |
383 | 378 | func setVerified (o,S) = { | |
384 | - | let | |
379 | + | let aq = [N(L), if (Q(o)) | |
385 | 380 | then true | |
386 | 381 | else i()] | |
387 | - | if (( | |
382 | + | if ((aq == aq)) | |
388 | 383 | then { | |
389 | - | let | |
384 | + | let ar = { | |
390 | 385 | let F = invoke(addressFromStringValue(getStringValue(m())), "priceAssetsREADONLY", nil, nil) | |
391 | 386 | if ($isInstanceOf(F, "List[Any]")) | |
392 | 387 | then { | |
393 | - | let | |
394 | - | let | |
388 | + | let as = F | |
389 | + | let at = if ((size(as) > 0)) | |
395 | 390 | then true | |
396 | 391 | else throw("Invalid price assets") | |
397 | - | if (( | |
398 | - | then | |
392 | + | if ((at == at)) | |
393 | + | then as | |
399 | 394 | else throw("Strict value is not equal to itself.") | |
400 | 395 | } | |
401 | 396 | else throw("Incorrect invoke result") | |
402 | 397 | } | |
403 | - | func | |
404 | - | let | |
405 | - | let F = | |
398 | + | func au (av,aw) = { | |
399 | + | let ax = { | |
400 | + | let F = aw | |
406 | 401 | if ($isInstanceOf(F, "String")) | |
407 | 402 | then { | |
408 | 403 | let G = F | |
409 | 404 | G | |
410 | 405 | } | |
411 | 406 | else throw("Invalid price asset") | |
412 | 407 | } | |
413 | - | let | |
414 | - | let | |
408 | + | let ay = getString(w(o, ax)) | |
409 | + | let az = if ((ay == unit)) | |
415 | 410 | then nil | |
416 | - | else ab(value( | |
417 | - | ( | |
411 | + | else ab(value(ay), S) | |
412 | + | (av ++ az) | |
418 | 413 | } | |
419 | 414 | ||
420 | - | let | |
421 | - | let | |
422 | - | let | |
423 | - | let | |
424 | - | func | |
425 | - | then | |
426 | - | else | |
415 | + | let aA = { | |
416 | + | let aB = ar | |
417 | + | let aC = size(aB) | |
418 | + | let aD = ab(o, S) | |
419 | + | func aE (aF,aG) = if ((aG >= aC)) | |
420 | + | then aF | |
421 | + | else au(aF, aB[aG]) | |
427 | 422 | ||
428 | - | func | |
429 | - | then | |
423 | + | func aH (aF,aG) = if ((aG >= aC)) | |
424 | + | then aF | |
430 | 425 | else throw("List size exceeds 10") | |
431 | 426 | ||
432 | - | | |
427 | + | aH(aE(aE(aE(aE(aE(aE(aE(aE(aE(aE(aD, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
433 | 428 | } | |
434 | - | $Tuple2( | |
429 | + | $Tuple2(aA, unit) | |
435 | 430 | } | |
436 | 431 | else throw("Strict value is not equal to itself.") | |
437 | 432 | } | |
438 | 433 | ||
439 | 434 | ||
440 | 435 | ||
441 | 436 | @Callable(L) | |
442 | - | func setAdmins ( | |
437 | + | func setAdmins (aI) = { | |
443 | 438 | let ai = K(L) | |
444 | 439 | if ((ai == ai)) | |
445 | - | then [StringEntry(l(), makeString( | |
440 | + | then [StringEntry(l(), makeString(aI, a))] | |
446 | 441 | else throw("Strict value is not equal to itself.") | |
447 | 442 | } | |
448 | 443 | ||
449 | 444 | ||
450 | 445 | ||
451 | 446 | @Callable(L) | |
452 | - | func setManager ( | |
447 | + | func setManager (aJ) = { | |
453 | 448 | let ai = K(L) | |
454 | 449 | if ((ai == ai)) | |
455 | 450 | then { | |
456 | - | let | |
457 | - | if (( | |
458 | - | then [StringEntry(k(), | |
451 | + | let aK = fromBase58String(aJ) | |
452 | + | if ((aK == aK)) | |
453 | + | then [StringEntry(k(), aJ)] | |
459 | 454 | else throw("Strict value is not equal to itself.") | |
460 | 455 | } | |
461 | 456 | else throw("Strict value is not equal to itself.") | |
462 | 457 | } | |
463 | 458 | ||
464 | 459 | ||
465 | 460 | ||
466 | 461 | @Callable(L) | |
467 | 462 | func confirmManager () = { | |
468 | - | let | |
469 | - | let | |
463 | + | let aL = J() | |
464 | + | let aM = if (isDefined(aL)) | |
470 | 465 | then true | |
471 | 466 | else throw("No pending manager") | |
472 | - | if (( | |
467 | + | if ((aM == aM)) | |
473 | 468 | then { | |
474 | - | let | |
469 | + | let aN = if ((L.callerPublicKey == value(aL))) | |
475 | 470 | then true | |
476 | 471 | else throw("You are not pending manager") | |
477 | - | if (( | |
478 | - | then [StringEntry(j(), toBase58String(value( | |
472 | + | if ((aN == aN)) | |
473 | + | then [StringEntry(j(), toBase58String(value(aL))), DeleteEntry(k())] | |
479 | 474 | else throw("Strict value is not equal to itself.") | |
480 | 475 | } | |
481 | 476 | else throw("Strict value is not equal to itself.") | |
482 | 477 | } | |
483 | 478 | ||
484 | 479 | ||
485 | 480 | ||
486 | 481 | @Callable(L) | |
487 | 482 | func isVerifiedREADONLY (o) = $Tuple2(nil, D(o)) | |
488 | 483 | ||
489 | 484 | ||
490 | - | @Verifier( | |
491 | - | func | |
492 | - | let | |
485 | + | @Verifier(aO) | |
486 | + | func aP () = { | |
487 | + | let aQ = { | |
493 | 488 | let F = I() | |
494 | 489 | if ($isInstanceOf(F, "ByteVector")) | |
495 | 490 | then { | |
496 | 491 | let M = F | |
497 | 492 | M | |
498 | 493 | } | |
499 | 494 | else if ($isInstanceOf(F, "Unit")) | |
500 | - | then | |
495 | + | then aO.senderPublicKey | |
501 | 496 | else throw("Match error") | |
502 | 497 | } | |
503 | - | sigVerify( | |
498 | + | sigVerify(aO.bodyBytes, aO.proofs[0], aQ) | |
504 | 499 | } | |
505 | 500 |
github/deemru/w8io/169f3d6 84.34 ms ◑