tx · 22iAgtg8xCHx5adVyxLGAv5tWQKJ682BjqeSoN2eYzLL 3NCCbzmJYurqgXL9bh85G7gzASswGVjkfRU: -0.01400000 Waves 2024.03.22 15:25 [3029240] smart account 3NCCbzmJYurqgXL9bh85G7gzASswGVjkfRU > SELF 0.00000000 Waves
{ "type": 13, "id": "22iAgtg8xCHx5adVyxLGAv5tWQKJ682BjqeSoN2eYzLL", "fee": 1400000, "feeAssetId": null, "timestamp": 1711110362964, "version": 2, "chainId": 84, "sender": "3NCCbzmJYurqgXL9bh85G7gzASswGVjkfRU", "senderPublicKey": "7dYS4cBUtMS3qg16og5S9C9U6ygyVxgTqhJGoYcsuYzr", "proofs": [ "3YBR4ANHWXMAw5YpYibrh6sA5bM4udGAy5NBvyTnqCoEBNinTcqH3vbkTQmQddBPjALvyeoNH1shNSbg6M2dHxBb" ], "script": "base64:BwJPCAISBgoECAgICBIICgYICAgICAgSCQoHCAgBCAgBCBIICgYICAEICAgSCAoGCAgBCAgIEgUKAwEICBIFCgMBCAgSABIAEgMKAQgSAwoBCD4ACVNFUEFSQVRPUgICX18ADEtFWV9NVUxUSVNJRwIITVVMVElTSUcACktFWV9TVEFUVVMCBlNUQVRVUwAIS0VZX0lOSVQCBElOSVQACktFWV9QQVVTRUQCBlBBVVNFRAAKS0VZX1BBVVNFUgIGUEFVU0VSAAxLRVlfRVhFQ1VUT1ICCEVYRUNVVE9SABNLRVlfQ0FMTEVSX0NPTlRSQUNUAg9DQUxMRVJfQ09OVFJBQ1QAD0tFWV9XQVZFU19WQVVMVAILV0FWRVNfVkFVTFQAE0tFWV9BQ0NPVU5UX1NUT1JBR0UCD0FDQ09VTlRfU1RPUkFHRQAJS0VZX0NIQUlOAgVDSEFJTgASS0VZX0FTU0VUX0NVUlJFTkNZAg5BU1NFVF9DVVJSRU5DWQASS0VZX0FTU0VUX1JFU0VSVkVTAg5BU1NFVF9SRVNFUlZFUwAVS0VZX0NVUlJFTkNZX1JFU0VSVkVTAhFDVVJSRU5D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mluZwQIbXVsdGlzaWcFByRtYXRjaDAJAQt2YWx1ZU9yRWxzZQIJAJsIAgkBEUBleHRyTmF0aXZlKDEwNjIpAQUIbXVsdGlzaWcJALkJAgkAzAgCBQpLRVlfU1RBVFVTCQDMCAIJAKUIAQUEdGhpcwkAzAgCCQDYBAEIBQJ0eAJpZAUDbmlsBQlTRVBBUkFUT1IHCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAACAUCdHgPc2VuZGVyUHVibGljS2V5JVk0yw==", "height": 3029240, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: CLk4CVvdQTVRU3ieWRkRFxpCDa1h1QrAJPCPCMGJaSTo Next: none Diff:
Old | New | Differences | |
---|---|---|---|
23 | 23 | ||
24 | 24 | let k = "CHAIN" | |
25 | 25 | ||
26 | - | let l = "ASSET_ | |
26 | + | let l = "ASSET_CURRENCY" | |
27 | 27 | ||
28 | 28 | let m = "ASSET_RESERVES" | |
29 | 29 | ||
30 | - | let n = " | |
30 | + | let n = "CURRENCY_RESERVES" | |
31 | 31 | ||
32 | 32 | let o = "deposit" | |
33 | 33 | ||
416 | 416 | else false) | |
417 | 417 | then E(ai, "addAsset: invalid asset") | |
418 | 418 | else false) | |
419 | - | then E(ak, "addAsset: invalid | |
419 | + | then E(ak, "addAsset: invalid currency") | |
420 | 420 | else false) | |
421 | 421 | then aD(S, ai, "addAsset: already exists") | |
422 | 422 | else false |
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 = "MULTISIG" | |
7 | 7 | ||
8 | 8 | let c = "STATUS" | |
9 | 9 | ||
10 | 10 | let d = "INIT" | |
11 | 11 | ||
12 | 12 | let e = "PAUSED" | |
13 | 13 | ||
14 | 14 | let f = "PAUSER" | |
15 | 15 | ||
16 | 16 | let g = "EXECUTOR" | |
17 | 17 | ||
18 | 18 | let h = "CALLER_CONTRACT" | |
19 | 19 | ||
20 | 20 | let i = "WAVES_VAULT" | |
21 | 21 | ||
22 | 22 | let j = "ACCOUNT_STORAGE" | |
23 | 23 | ||
24 | 24 | let k = "CHAIN" | |
25 | 25 | ||
26 | - | let l = "ASSET_ | |
26 | + | let l = "ASSET_CURRENCY" | |
27 | 27 | ||
28 | 28 | let m = "ASSET_RESERVES" | |
29 | 29 | ||
30 | - | let n = " | |
30 | + | let n = "CURRENCY_RESERVES" | |
31 | 31 | ||
32 | 32 | let o = "deposit" | |
33 | 33 | ||
34 | 34 | let p = "WAVES" | |
35 | 35 | ||
36 | 36 | let q = "SPOT" | |
37 | 37 | ||
38 | 38 | let r = 9223372036854775807 | |
39 | 39 | ||
40 | 40 | let s = toBigInt(0) | |
41 | 41 | ||
42 | 42 | let t = toBigInt(1) | |
43 | 43 | ||
44 | 44 | func u (v,w) = { | |
45 | 45 | let x = addressFromString(v) | |
46 | 46 | if ($isInstanceOf(x, "Address")) | |
47 | 47 | then { | |
48 | 48 | let y = x | |
49 | 49 | true | |
50 | 50 | } | |
51 | 51 | else throw(w) | |
52 | 52 | } | |
53 | 53 | ||
54 | 54 | ||
55 | 55 | func z (A,B,C,w) = if (if ((B > A)) | |
56 | 56 | then true | |
57 | 57 | else (A > C)) | |
58 | 58 | then throw(w) | |
59 | 59 | else true | |
60 | 60 | ||
61 | 61 | ||
62 | 62 | func D (A,B,w) = if ((B > A)) | |
63 | 63 | then throw(w) | |
64 | 64 | else true | |
65 | 65 | ||
66 | 66 | ||
67 | 67 | func E (A,w) = if (if ((0 >= size(A))) | |
68 | 68 | then true | |
69 | 69 | else contains(A, a)) | |
70 | 70 | then throw(w) | |
71 | 71 | else true | |
72 | 72 | ||
73 | 73 | ||
74 | 74 | func F () = { | |
75 | 75 | let x = getBoolean(d) | |
76 | 76 | if ($isInstanceOf(x, "Boolean")) | |
77 | 77 | then { | |
78 | 78 | let y = x | |
79 | 79 | y | |
80 | 80 | } | |
81 | 81 | else false | |
82 | 82 | } | |
83 | 83 | ||
84 | 84 | ||
85 | 85 | func G (H) = [BooleanEntry(d, H)] | |
86 | 86 | ||
87 | 87 | ||
88 | 88 | func I () = { | |
89 | 89 | let x = getBoolean(e) | |
90 | 90 | if ($isInstanceOf(x, "Boolean")) | |
91 | 91 | then { | |
92 | 92 | let y = x | |
93 | 93 | y | |
94 | 94 | } | |
95 | 95 | else false | |
96 | 96 | } | |
97 | 97 | ||
98 | 98 | ||
99 | 99 | func J (K) = [BooleanEntry(e, K)] | |
100 | 100 | ||
101 | 101 | ||
102 | 102 | func L () = { | |
103 | 103 | let x = getString(f) | |
104 | 104 | if ($isInstanceOf(x, "String")) | |
105 | 105 | then { | |
106 | 106 | let y = x | |
107 | 107 | addressFromStringValue(y) | |
108 | 108 | } | |
109 | 109 | else Address(base58'') | |
110 | 110 | } | |
111 | 111 | ||
112 | 112 | ||
113 | 113 | func M (N) = [StringEntry(f, toString(N))] | |
114 | 114 | ||
115 | 115 | ||
116 | 116 | func O () = { | |
117 | 117 | let x = getString(b) | |
118 | 118 | if ($isInstanceOf(x, "String")) | |
119 | 119 | then { | |
120 | 120 | let y = x | |
121 | 121 | addressFromStringValue(y) | |
122 | 122 | } | |
123 | 123 | else Address(base58'') | |
124 | 124 | } | |
125 | 125 | ||
126 | 126 | ||
127 | 127 | func P (Q) = [StringEntry(b, toString(Q))] | |
128 | 128 | ||
129 | 129 | ||
130 | 130 | func R (S) = { | |
131 | 131 | let x = getString(makeString([h, toString(S)], a)) | |
132 | 132 | if ($isInstanceOf(x, "String")) | |
133 | 133 | then { | |
134 | 134 | let y = x | |
135 | 135 | y | |
136 | 136 | } | |
137 | 137 | else "" | |
138 | 138 | } | |
139 | 139 | ||
140 | 140 | ||
141 | 141 | func T (S,U) = [StringEntry(makeString([h, toString(S)], a), U)] | |
142 | 142 | ||
143 | 143 | ||
144 | 144 | func V () = { | |
145 | 145 | let x = getString(g) | |
146 | 146 | if ($isInstanceOf(x, "String")) | |
147 | 147 | then { | |
148 | 148 | let y = x | |
149 | 149 | addressFromStringValue(y) | |
150 | 150 | } | |
151 | 151 | else Address(base58'') | |
152 | 152 | } | |
153 | 153 | ||
154 | 154 | ||
155 | 155 | func W (X) = [StringEntry(g, toString(X))] | |
156 | 156 | ||
157 | 157 | ||
158 | 158 | func Y () = { | |
159 | 159 | let x = getString(j) | |
160 | 160 | if ($isInstanceOf(x, "String")) | |
161 | 161 | then { | |
162 | 162 | let y = x | |
163 | 163 | addressFromStringValue(y) | |
164 | 164 | } | |
165 | 165 | else Address(base58'') | |
166 | 166 | } | |
167 | 167 | ||
168 | 168 | ||
169 | 169 | func Z (aa) = [StringEntry(j, toString(aa))] | |
170 | 170 | ||
171 | 171 | ||
172 | 172 | func ab () = { | |
173 | 173 | let x = getString(i) | |
174 | 174 | if ($isInstanceOf(x, "String")) | |
175 | 175 | then { | |
176 | 176 | let y = x | |
177 | 177 | addressFromStringValue(y) | |
178 | 178 | } | |
179 | 179 | else Address(base58'') | |
180 | 180 | } | |
181 | 181 | ||
182 | 182 | ||
183 | 183 | func ac (ad) = [StringEntry(i, toString(ad))] | |
184 | 184 | ||
185 | 185 | ||
186 | 186 | func ae (S) = { | |
187 | 187 | let x = getString(makeString([k, toString(S)], a)) | |
188 | 188 | if ($isInstanceOf(x, "String")) | |
189 | 189 | then { | |
190 | 190 | let y = x | |
191 | 191 | y | |
192 | 192 | } | |
193 | 193 | else "" | |
194 | 194 | } | |
195 | 195 | ||
196 | 196 | ||
197 | 197 | func af (S,ag) = [StringEntry(makeString([k, toString(S)], a), ag)] | |
198 | 198 | ||
199 | 199 | ||
200 | 200 | func ah (S,ai) = { | |
201 | 201 | let x = getString(makeString([l, toString(S), ai], a)) | |
202 | 202 | if ($isInstanceOf(x, "String")) | |
203 | 203 | then { | |
204 | 204 | let y = x | |
205 | 205 | y | |
206 | 206 | } | |
207 | 207 | else "" | |
208 | 208 | } | |
209 | 209 | ||
210 | 210 | ||
211 | 211 | func aj (S,ai,ak) = [StringEntry(makeString([l, toString(S), ai], a), ak)] | |
212 | 212 | ||
213 | 213 | ||
214 | 214 | func al (S,ai) = { | |
215 | 215 | let x = getString(makeString([m, toString(S), ai], a)) | |
216 | 216 | if ($isInstanceOf(x, "String")) | |
217 | 217 | then { | |
218 | 218 | let y = x | |
219 | 219 | parseBigIntValue(y) | |
220 | 220 | } | |
221 | 221 | else s | |
222 | 222 | } | |
223 | 223 | ||
224 | 224 | ||
225 | 225 | func am (S,ai,an) = [StringEntry(makeString([m, toString(S), ai], a), toString(an))] | |
226 | 226 | ||
227 | 227 | ||
228 | 228 | func ao (ak) = { | |
229 | 229 | let x = getString(makeString([n, ak], a)) | |
230 | 230 | if ($isInstanceOf(x, "String")) | |
231 | 231 | then { | |
232 | 232 | let y = x | |
233 | 233 | parseBigIntValue(y) | |
234 | 234 | } | |
235 | 235 | else s | |
236 | 236 | } | |
237 | 237 | ||
238 | 238 | ||
239 | 239 | func ap (ak,an) = [StringEntry(makeString([n, ak], a), toString(an))] | |
240 | 240 | ||
241 | 241 | ||
242 | 242 | func aq (ar) = if ((ar != this)) | |
243 | 243 | then throw("_onlyThisContract: revert") | |
244 | 244 | else true | |
245 | 245 | ||
246 | 246 | ||
247 | 247 | func as () = if ((O() == Address(base58''))) | |
248 | 248 | then throw("_whenMultisigSet: revert") | |
249 | 249 | else true | |
250 | 250 | ||
251 | 251 | ||
252 | 252 | func at () = if (F()) | |
253 | 253 | then throw("_whenNotInitialized: revert") | |
254 | 254 | else true | |
255 | 255 | ||
256 | 256 | ||
257 | 257 | func au () = if (!(F())) | |
258 | 258 | then throw("_whenInitialized: revert") | |
259 | 259 | else true | |
260 | 260 | ||
261 | 261 | ||
262 | 262 | func av () = if (I()) | |
263 | 263 | then throw("_whenNotPaused: revert") | |
264 | 264 | else true | |
265 | 265 | ||
266 | 266 | ||
267 | 267 | func aw () = if (!(I())) | |
268 | 268 | then throw("_whenPaused: revert") | |
269 | 269 | else true | |
270 | 270 | ||
271 | 271 | ||
272 | 272 | func ax (ar) = if ((ar != L())) | |
273 | 273 | then throw("_onlyPauser: revert") | |
274 | 274 | else true | |
275 | 275 | ||
276 | 276 | ||
277 | 277 | func ay (A,w) = if ((A != V())) | |
278 | 278 | then throw(w) | |
279 | 279 | else true | |
280 | 280 | ||
281 | 281 | ||
282 | 282 | func az (S,U,w) = if ((R(S) != U)) | |
283 | 283 | then throw(w) | |
284 | 284 | else true | |
285 | 285 | ||
286 | 286 | ||
287 | 287 | func aA (S,w) = if ((0 >= size(ae(S)))) | |
288 | 288 | then throw(w) | |
289 | 289 | else true | |
290 | 290 | ||
291 | 291 | ||
292 | 292 | func aB (S,w) = if ((size(ae(S)) > 0)) | |
293 | 293 | then throw(w) | |
294 | 294 | else true | |
295 | 295 | ||
296 | 296 | ||
297 | 297 | func aC (S,ai,w) = if ((0 >= size(ah(S, ai)))) | |
298 | 298 | then throw(w) | |
299 | 299 | else true | |
300 | 300 | ||
301 | 301 | ||
302 | 302 | func aD (S,ai,w) = if ((size(ah(S, ai)) > 0)) | |
303 | 303 | then throw(w) | |
304 | 304 | else true | |
305 | 305 | ||
306 | 306 | ||
307 | 307 | func aE (aF,w) = if ((ab() != aF)) | |
308 | 308 | then throw(w) | |
309 | 309 | else true | |
310 | 310 | ||
311 | 311 | ||
312 | 312 | @Callable(aG) | |
313 | 313 | func init (X,N,aa,ad) = { | |
314 | 314 | let aH = if (if (if (if (if (if (aq(aG.caller)) | |
315 | 315 | then at() | |
316 | 316 | else false) | |
317 | 317 | then as() | |
318 | 318 | else false) | |
319 | 319 | then u(X, "init: invalid executor") | |
320 | 320 | else false) | |
321 | 321 | then u(N, "init: invalid pauser") | |
322 | 322 | else false) | |
323 | 323 | then u(aa, "init: invalid accountStorage") | |
324 | 324 | else false) | |
325 | 325 | then u(ad, "init: invalid wavesVault") | |
326 | 326 | else false | |
327 | 327 | if ((aH == aH)) | |
328 | 328 | then $Tuple2(((((G(true) ++ W(addressFromStringValue(X))) ++ M(addressFromStringValue(N))) ++ Z(addressFromStringValue(aa))) ++ ac(addressFromStringValue(ad))), unit) | |
329 | 329 | else throw("Strict value is not equal to itself.") | |
330 | 330 | } | |
331 | 331 | ||
332 | 332 | ||
333 | 333 | ||
334 | 334 | @Callable(aG) | |
335 | 335 | func deposit (U,aI,aJ,S,ai,aK) = { | |
336 | 336 | let aL = valueOrErrorMessage(parseInt(S), "deposit: chainId not int") | |
337 | 337 | let aM = valueOrErrorMessage(parseBigInt(aK), "deposit: amount not int") | |
338 | 338 | let aH = if (if (if (if (if (if (au()) | |
339 | 339 | then av() | |
340 | 340 | else false) | |
341 | 341 | then aA(aL, "deposit: invalid chainId") | |
342 | 342 | else false) | |
343 | 343 | then E(aI, "deposit: invalid from") | |
344 | 344 | else false) | |
345 | 345 | then E(aJ, "deposit: invalid to") | |
346 | 346 | else false) | |
347 | 347 | then aC(aL, ai, "deposit: invalid asset") | |
348 | 348 | else false) | |
349 | 349 | then D(aM, s, "deposit: invalid amount") | |
350 | 350 | else false | |
351 | 351 | if ((aH == aH)) | |
352 | 352 | then { | |
353 | 353 | let aN = if ((ae(aL) == p)) | |
354 | 354 | then aE(aG.caller, "deposit: invalid waves vault") | |
355 | 355 | else if (ay(aG.caller, "deposit: invalid executor")) | |
356 | 356 | then az(aL, U, "deposit: invalid caller contract") | |
357 | 357 | else false | |
358 | 358 | if ((aN == aN)) | |
359 | 359 | then { | |
360 | 360 | let aO = (al(aL, ai) + aM) | |
361 | 361 | let aP = ah(aL, ai) | |
362 | 362 | let aQ = (ao(aP) + aM) | |
363 | 363 | let aR = invoke(Y(), o, [aJ, q, aP, aK], nil) | |
364 | 364 | if ((aR == aR)) | |
365 | 365 | then $Tuple2((am(aL, ai, aO) ++ ap(aP, aQ)), unit) | |
366 | 366 | else throw("Strict value is not equal to itself.") | |
367 | 367 | } | |
368 | 368 | else throw("Strict value is not equal to itself.") | |
369 | 369 | } | |
370 | 370 | else throw("Strict value is not equal to itself.") | |
371 | 371 | } | |
372 | 372 | ||
373 | 373 | ||
374 | 374 | ||
375 | 375 | @Callable(aG) | |
376 | 376 | func withdraw (aI,aJ,S,ai,aK,aS,aT) = $Tuple2(nil, unit) | |
377 | 377 | ||
378 | 378 | ||
379 | 379 | ||
380 | 380 | @Callable(aG) | |
381 | 381 | func requestWithdrawal (aI,aJ,S,ai,aK,aT) = $Tuple2(nil, unit) | |
382 | 382 | ||
383 | 383 | ||
384 | 384 | ||
385 | 385 | @Callable(aG) | |
386 | 386 | func executeWithdrawal (aI,aJ,S,ai,aK,aT) = $Tuple2(nil, unit) | |
387 | 387 | ||
388 | 388 | ||
389 | 389 | ||
390 | 390 | @Callable(aG) | |
391 | 391 | func addChain (S,ag,U) = { | |
392 | 392 | let aH = if (if (if (if (if (aq(aG.caller)) | |
393 | 393 | then au() | |
394 | 394 | else false) | |
395 | 395 | then z(S, 0, r, "addChain: invalid chainId") | |
396 | 396 | else false) | |
397 | 397 | then E(ag, "addChain: invalid name") | |
398 | 398 | else false) | |
399 | 399 | then E(U, "addChain: invalid callerContract") | |
400 | 400 | else false) | |
401 | 401 | then aB(S, "addChain: already exists") | |
402 | 402 | else false | |
403 | 403 | if ((aH == aH)) | |
404 | 404 | then $Tuple2((af(S, ag) ++ T(S, U)), unit) | |
405 | 405 | else throw("Strict value is not equal to itself.") | |
406 | 406 | } | |
407 | 407 | ||
408 | 408 | ||
409 | 409 | ||
410 | 410 | @Callable(aG) | |
411 | 411 | func addAsset (S,ai,ak) = { | |
412 | 412 | let aH = if (if (if (if (if (aq(aG.caller)) | |
413 | 413 | then au() | |
414 | 414 | else false) | |
415 | 415 | then aA(S, "addAsset: invalid chainId") | |
416 | 416 | else false) | |
417 | 417 | then E(ai, "addAsset: invalid asset") | |
418 | 418 | else false) | |
419 | - | then E(ak, "addAsset: invalid | |
419 | + | then E(ak, "addAsset: invalid currency") | |
420 | 420 | else false) | |
421 | 421 | then aD(S, ai, "addAsset: already exists") | |
422 | 422 | else false | |
423 | 423 | if ((aH == aH)) | |
424 | 424 | then $Tuple2(aj(S, ai, ak), unit) | |
425 | 425 | else throw("Strict value is not equal to itself.") | |
426 | 426 | } | |
427 | 427 | ||
428 | 428 | ||
429 | 429 | ||
430 | 430 | @Callable(aG) | |
431 | 431 | func pause () = { | |
432 | 432 | let aH = if (if (ax(aG.caller)) | |
433 | 433 | then au() | |
434 | 434 | else false) | |
435 | 435 | then av() | |
436 | 436 | else false | |
437 | 437 | if ((aH == aH)) | |
438 | 438 | then $Tuple2(J(true), unit) | |
439 | 439 | else throw("Strict value is not equal to itself.") | |
440 | 440 | } | |
441 | 441 | ||
442 | 442 | ||
443 | 443 | ||
444 | 444 | @Callable(aG) | |
445 | 445 | func unpause () = { | |
446 | 446 | let aH = if (if (ax(aG.caller)) | |
447 | 447 | then au() | |
448 | 448 | else false) | |
449 | 449 | then aw() | |
450 | 450 | else false | |
451 | 451 | if ((aH == aH)) | |
452 | 452 | then $Tuple2(J(false), unit) | |
453 | 453 | else throw("Strict value is not equal to itself.") | |
454 | 454 | } | |
455 | 455 | ||
456 | 456 | ||
457 | 457 | ||
458 | 458 | @Callable(aG) | |
459 | 459 | func updatePauser (N) = { | |
460 | 460 | let aH = if (if (aq(aG.caller)) | |
461 | 461 | then au() | |
462 | 462 | else false) | |
463 | 463 | then u(N, "updatePauser: invalid pauser") | |
464 | 464 | else false | |
465 | 465 | if ((aH == aH)) | |
466 | 466 | then $Tuple2(M(addressFromStringValue(N)), unit) | |
467 | 467 | else throw("Strict value is not equal to itself.") | |
468 | 468 | } | |
469 | 469 | ||
470 | 470 | ||
471 | 471 | ||
472 | 472 | @Callable(aG) | |
473 | 473 | func setMultisig (Q) = { | |
474 | 474 | let aH = if (aq(aG.caller)) | |
475 | 475 | then u(Q, "setMultisig: invalid multisig") | |
476 | 476 | else false | |
477 | 477 | if ((aH == aH)) | |
478 | 478 | then $Tuple2(P(addressFromStringValue(Q)), unit) | |
479 | 479 | else throw("Strict value is not equal to itself.") | |
480 | 480 | } | |
481 | 481 | ||
482 | 482 | ||
483 | 483 | @Verifier(aU) | |
484 | 484 | func aV () = { | |
485 | 485 | let x = getString(b) | |
486 | 486 | if ($isInstanceOf(x, "String")) | |
487 | 487 | then { | |
488 | 488 | let aW = x | |
489 | 489 | valueOrElse(getBoolean(addressFromStringValue(aW), makeString([c, toString(this), toBase58String(aU.id)], a)), false) | |
490 | 490 | } | |
491 | 491 | else sigVerify(aU.bodyBytes, aU.proofs[0], aU.senderPublicKey) | |
492 | 492 | } | |
493 | 493 |
github/deemru/w8io/169f3d6 46.46 ms ◑