tx · GJa8VtEX2JZNAYaAQbiLYVBCereUjXvF9w4bggD1Vq2 3N8H9S5aWuvovFgoDQgnSfZGeKbEzCnT7zw: -0.01900000 Waves 2023.02.20 10:54 [2457689] smart account 3N8H9S5aWuvovFgoDQgnSfZGeKbEzCnT7zw > SELF 0.00000000 Waves
{ "type": 13, "id": "GJa8VtEX2JZNAYaAQbiLYVBCereUjXvF9w4bggD1Vq2", "fee": 1900000, "feeAssetId": null, "timestamp": 1676879698099, "version": 1, "sender": "3N8H9S5aWuvovFgoDQgnSfZGeKbEzCnT7zw", "senderPublicKey": "BWniYo2Ww9n9zcnVsusQAU234bA1wMgBCZjdKiSDVUQA", "proofs": [ "4D3btB2mS87xMYp1CwmCvdXk6YvJYvMzEcWy49UABNwUq6NtvV6FinhaXxhP3Rjxsuta9UfxJrZKzxSbTuAG3yu2" ], "script": "base64:AAIFAAAAAAAAAGMIAhIECgIIGBIDCgEIEgUKAwgICBIDCgEIEgMKAQgSAwoBCBIECgIICBIECgIICBIECgIICBIDCgEIEgUKAwgIBBIECgIICBIECgIIBBIDCgEIEgMKARgSAwoBCBIAEgMKAQgAAAApAAAAAANTRVACAAAAAl9fAAAAAAVFTVBUWQIAAAAAAAAAAA5zdGF0dXNWZXJpZmllZAAAAAAAAAAAAgAAAAAQc3RhdHVzVW52ZXJpZmllZAAAAAAAAAAAAAAAAAAWbGFiZWxDb21tdW5pdHlWZXJpZmllZAIAAAASQ09NTVVOSVRZX1ZFUklGSUVEAAAAAAxsYWJlbFBvb2xzTHACAAAACFBPT0xTX0xQAAAAAA1kZWZhdWx0TGFiZWxzCQAETAAAAAIFAAAAFmxhYmVsQ29tbXVuaXR5VmVyaWZpZWQJAARMAAAAAgUAAAAMbGFiZWxQb29sc0xwBQAAAANuaWwBAAAAB3Rocm93UEQAAAAACQAAAgAAAAECAAAAEVBlcm1pc3Npb24gZGVuaWVkAQAAAAx0aHJvd05vQXNzZXQAAAAACQAAAgAAAAECAAAAFEFzc2V0IGRvZXNu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FET05MWQAAAAEAAAAHYXNzZXRJZAkABRQAAAACBQAAAANuaWwJAQAAAAppc1ZlcmlmaWVkAAAAAQUAAAAHYXNzZXRJZAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAAD3RhcmdldFB1YmxpY0tleQQAAAAHJG1hdGNoMAkBAAAAFm1hbmFnZXJQdWJsaWNLZXlPclVuaXQAAAAAAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAApCeXRlVmVjdG9yBAAAAAJwawUAAAAHJG1hdGNoMAUAAAACcGsDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABFVuaXQIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkJAAACAAAAAQIAAAALTWF0Y2ggZXJyb3IJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAA90YXJnZXRQdWJsaWNLZXn97ltr", "chainId": 84, "height": 2457689, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2dvPNAoNgVXFF8zLWAwaSTnYjasvsWDrVsuBcnw4fCkh Next: TAE3Ux2PYv2faUAheAZeCVa1onSEVQTNUZA6LatWbTL Full:
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 () = "%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 | 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 = Y(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 { | |
425 | 425 | let aE = if ((aA == "")) | |
426 | 426 | then DeleteEntry(q(p)) | |
427 | 427 | else StringEntry(q(p), aA) | |
428 | 428 | [aE] | |
429 | 429 | } | |
430 | 430 | else throw("Strict value is not equal to itself.") | |
431 | 431 | } | |
432 | 432 | ||
433 | 433 | ||
434 | 434 | ||
435 | 435 | @Callable(W) | |
436 | 436 | func setVerified (p,ad) = { | |
437 | 437 | let aD = [Y(W), if (ab(p)) | |
438 | 438 | then true | |
439 | 439 | else i()] | |
440 | 440 | if ((aD == aD)) | |
441 | 441 | then { | |
442 | 442 | let aF = if (!(ad)) | |
443 | 443 | then { | |
444 | 444 | let av = valueOrErrorMessage(addressFromString(M(this, n())), "invalid factory contract address") | |
445 | 445 | invoke(av, "onVerificationLoss", [p], nil) | |
446 | 446 | } | |
447 | 447 | else unit | |
448 | 448 | if ((aF == aF)) | |
449 | 449 | then $Tuple2(am(p, ad), unit) | |
450 | 450 | else throw("Strict value is not equal to itself.") | |
451 | 451 | } | |
452 | 452 | else throw("Strict value is not equal to itself.") | |
453 | 453 | } | |
454 | 454 | ||
455 | 455 | ||
456 | 456 | ||
457 | 457 | @Callable(W) | |
458 | 458 | func onEliminate (p) = { | |
459 | 459 | let aG = valueOrElse(getInteger(t(p)), 0) | |
460 | 460 | let aH = if ((aG > 0)) | |
461 | 461 | then nil | |
462 | 462 | else [DeleteEntry(q(p))] | |
463 | 463 | $Tuple2(aH, unit) | |
464 | 464 | } | |
465 | 465 | ||
466 | 466 | ||
467 | 467 | ||
468 | 468 | @Callable(W) | |
469 | 469 | func setAdmins (aI) = { | |
470 | 470 | let at = V(W) | |
471 | 471 | if ((at == at)) | |
472 | 472 | then [StringEntry(l(), makeString(aI, a))] | |
473 | 473 | else throw("Strict value is not equal to itself.") | |
474 | 474 | } | |
475 | 475 | ||
476 | 476 | ||
477 | 477 | ||
478 | 478 | @Callable(W) | |
479 | 479 | func setManager (aJ) = { | |
480 | 480 | let at = V(W) | |
481 | 481 | if ((at == at)) | |
482 | 482 | then { | |
483 | 483 | let aK = fromBase58String(aJ) | |
484 | 484 | if ((aK == aK)) | |
485 | 485 | then [StringEntry(k(), aJ)] | |
486 | 486 | else throw("Strict value is not equal to itself.") | |
487 | 487 | } | |
488 | 488 | else throw("Strict value is not equal to itself.") | |
489 | 489 | } | |
490 | 490 | ||
491 | 491 | ||
492 | 492 | ||
493 | 493 | @Callable(W) | |
494 | 494 | func confirmManager () = { | |
495 | 495 | let aL = U() | |
496 | 496 | let aM = if (isDefined(aL)) | |
497 | 497 | then true | |
498 | 498 | else throw("No pending manager") | |
499 | 499 | if ((aM == aM)) | |
500 | 500 | then { | |
501 | 501 | let aN = if ((W.callerPublicKey == value(aL))) | |
502 | 502 | then true | |
503 | 503 | else throw("You are not pending manager") | |
504 | 504 | if ((aN == aN)) | |
505 | 505 | then [StringEntry(j(), toBase58String(value(aL))), DeleteEntry(k())] | |
506 | 506 | else throw("Strict value is not equal to itself.") | |
507 | 507 | } | |
508 | 508 | else throw("Strict value is not equal to itself.") | |
509 | 509 | } | |
510 | 510 | ||
511 | 511 | ||
512 | 512 | ||
513 | 513 | @Callable(W) | |
514 | 514 | func isVerifiedREADONLY (p) = $Tuple2(nil, P(p)) | |
515 | 515 | ||
516 | 516 | ||
517 | 517 | @Verifier(aO) | |
518 | 518 | func aP () = { | |
519 | 519 | let aQ = { | |
520 | 520 | let J = T() | |
521 | 521 | if ($isInstanceOf(J, "ByteVector")) | |
522 | 522 | then { | |
523 | 523 | let X = J | |
524 | 524 | X | |
525 | 525 | } | |
526 | 526 | else if ($isInstanceOf(J, "Unit")) | |
527 | 527 | then aO.senderPublicKey | |
528 | 528 | else throw("Match error") | |
529 | 529 | } | |
530 | 530 | sigVerify(aO.bodyBytes, aO.proofs[0], aQ) | |
531 | 531 | } | |
532 | 532 |
github/deemru/w8io/026f985 58.02 ms ◑