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