tx · FaCoaLVqEpvGcu53TWPMr2g6vyZgjbin52BzswfvRu3b 3MsMP2pb2p8MDd6Rxb7XEXqqwEhE8ATfyai: -0.02400000 Waves 2023.03.22 16:46 [2501297] smart account 3MsMP2pb2p8MDd6Rxb7XEXqqwEhE8ATfyai > SELF 0.00000000 Waves
{ "type": 13, "id": "FaCoaLVqEpvGcu53TWPMr2g6vyZgjbin52BzswfvRu3b", "fee": 2400000, "feeAssetId": null, "timestamp": 1679492808432, "version": 2, "chainId": 84, "sender": "3MsMP2pb2p8MDd6Rxb7XEXqqwEhE8ATfyai", "senderPublicKey": "2JEaBjtjvMoNGKZmL9QxYefa1VkMJM3vMW8rNvTs9R2H", "proofs": [ "45tPPbPs8ibz6Wg3ENfJKAfX7yGsigftCcC2XP7ziPDySMf2duKJDsVtNUhW5UT9LiLLwCq8SDQkbxHEqjgREXZf" ], "script": "base64:BgLLKAgCEgASBAoCCAgSAwoBCBIKCggICAgICAgIARIDCgEIEgYKBAgICAgSBAoCCBgSAwoBCBIECgIIGBIDCgEIEgASAwoBGBIKCggICAgICAEICBIECgIIARIDCgEBEgMKAQESBAoCCAESBgoECAgICBIECgIICBIECgIICBIECgIICBIDCgEIEgMKAQgSAwoBCBIDCgEIEgQKAggIEgMKAQgSAwoBCBIDCgEIEgQKAggIEgMKAQgSAwoBCCIGU0NBTEU4IgVNVUxUOCIHU0NBTEUxOCIGTVVMVDE4Ig5QT09MV0VJR0hUTVVMVCIOR1dYdmlydHVhbFBPT0wiDGxhYmVsUG9vbHNMcCINZGVmYXVsdFNwcmVhZCILd2F2ZXNTdHJpbmciEWRlY2ltYWxzTXVsdFByaWNlIgNTRVAiBUVNUFRZIgpQb29sQWN0aXZlIg9Qb29sUHV0RGlzYWJsZWQiE1Bvb2xNYXRjaGVyRGlzYWJsZWQiDFBvb2xTaHV0ZG93biISaWR4SW50ZXJuYWxBc3NldElkIg9pZHhSZXN1dEFjdGlvbnMiIGlkeElmQXNzZXRJZENhbGN1bGF0aW9u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AmFhBQFrBAJhaQkAkQMCBQJiVAABBAJhagkAkQMCBQJiVAACBAJjawkAtQkCCQECYUsBCQECYWgCBQJhaQUCYWoFAWsJAJQKAgUDbmlsCQENcGFyc2VJbnRWYWx1ZQEJAJEDAgUCY2sFAXUCYm8BFWdldFBvb2xDb25maWdSRUFET05MWQECYWEEAmJUCQC1CQIJAQJhSwEJAQJhdQEFAmFhBQFrBAJhaQkAkQMCBQJiVAABBAJhagkAkQMCBQJiVAACBAJjawkAtQkCCQECYUsBCQECYWgCBQJhaQUCYWoFAWsJAJQKAgUDbmlsBQJjawJibwEYZ2V0UG9vbENvbmZpZ0J5THBBc3NldElkAQJkYwQCYlQJALUJAgkBAmFLAQkBAmFvAQUCZGMFAWsEAmFpCQCRAwIFAmJUAAEEAmFqCQCRAwIFAmJUAAIEAmNrCQC1CQIJAQJhSwEJAQJhaAIFAmFpBQJhagUBawkAlAoCBQNuaWwFAmNrAmJvARJwb29sRXhpc3RzUkVBRE9OTFkCAmFBAmFCCQCUCgIFA25pbAkBAmNoAgUCYUEFAmFCAmJvARtza2lwT3JkZXJWYWxpZGF0aW9uUkVBRE9OTFkBAmFhCQCUCgIFA25pbAkBC3ZhbHVlT3JFbHNlAgkAoAgBCQECYUcBBQJhYQcCYm8BGmdldENoYW5nZUFtcENvbmZpZ1JFQURPTkxZAQJhYQkAlAoCBQNuaWwCFltkZWxheSwgZGVsdGEsIHRhcmdldF0BAmVGAQJlRwAEAmVIBAJiaAkBAmJqAAMJAAECBQJiaAIKQnl0ZVZlY3RvcgQCYnEFAmJoBQJicQMJAAECBQJiaAIEVW5pdAgFAmVGD3NlbmRlclB1YmxpY0tleQkAAgECC01hdGNoIGVycm9yCQD0AwMIBQJlRglib2R5Qnl0ZXMJAJEDAggFAmVGBnByb29mcwAABQJlSG/azns=", "height": 2501297, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HMyyvawTCG12vQXbqvij9P9ygtiG95LPgoH76n8a4SPg Next: FfFHQ82YeFxjGX8C9bocrt57fCPEkicb9CXg8JJMKaQc Diff:
Old | New | Differences | |
---|---|---|---|
910 | 910 | ||
911 | 911 | ||
912 | 912 | @Callable(bo) | |
913 | - | func getChangeAmpConfigREADONLY (aa) = $Tuple2(nil, | |
913 | + | func getChangeAmpConfigREADONLY (aa) = $Tuple2(nil, "[delay, delta, target]") | |
914 | 914 | ||
915 | 915 | ||
916 | 916 | @Verifier(eF) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = 8 | |
5 | 5 | ||
6 | 6 | let b = 100000000 | |
7 | 7 | ||
8 | 8 | let c = 18 | |
9 | 9 | ||
10 | 10 | let d = toBigInt(1000000000000000000) | |
11 | 11 | ||
12 | 12 | let e = b | |
13 | 13 | ||
14 | 14 | let f = "GWXvirtualPOOL" | |
15 | 15 | ||
16 | 16 | let g = "POOLS_LP" | |
17 | 17 | ||
18 | 18 | let h = 2000000 | |
19 | 19 | ||
20 | 20 | let i = "WAVES" | |
21 | 21 | ||
22 | 22 | let j = ((100 * 1000) * 1000) | |
23 | 23 | ||
24 | 24 | let k = "__" | |
25 | 25 | ||
26 | 26 | let l = "" | |
27 | 27 | ||
28 | 28 | let m = 1 | |
29 | 29 | ||
30 | 30 | let n = 2 | |
31 | 31 | ||
32 | 32 | let o = 3 | |
33 | 33 | ||
34 | 34 | let p = 4 | |
35 | 35 | ||
36 | 36 | let q = 1 | |
37 | 37 | ||
38 | 38 | let r = 2 | |
39 | 39 | ||
40 | 40 | let s = 3 | |
41 | 41 | ||
42 | 42 | let t = 1 | |
43 | 43 | ||
44 | 44 | let u = 2 | |
45 | 45 | ||
46 | 46 | let v = 3 | |
47 | 47 | ||
48 | 48 | let w = 4 | |
49 | 49 | ||
50 | 50 | let x = 5 | |
51 | 51 | ||
52 | 52 | let y = 6 | |
53 | 53 | ||
54 | 54 | let z = 7 | |
55 | 55 | ||
56 | 56 | let A = 8 | |
57 | 57 | ||
58 | 58 | let B = 9 | |
59 | 59 | ||
60 | 60 | let C = 10 | |
61 | 61 | ||
62 | 62 | let D = 11 | |
63 | 63 | ||
64 | 64 | let E = "WX_EMISSION" | |
65 | 65 | ||
66 | 66 | let F = [E] | |
67 | 67 | ||
68 | 68 | func G () = "%s__allowedLpScriptHash" | |
69 | 69 | ||
70 | 70 | ||
71 | 71 | func H () = "%s__allowedLpStableScriptHash" | |
72 | 72 | ||
73 | 73 | ||
74 | 74 | func I () = "%s__allowedLpStableAddonScriptHash" | |
75 | 75 | ||
76 | 76 | ||
77 | 77 | func J () = "%s__swapContract" | |
78 | 78 | ||
79 | 79 | ||
80 | 80 | func K () = "%s__factoryConfig" | |
81 | 81 | ||
82 | 82 | ||
83 | 83 | func L () = "%s__lpTokensList" | |
84 | 84 | ||
85 | 85 | ||
86 | 86 | func M () = "%s%s__pool__scriptHash" | |
87 | 87 | ||
88 | 88 | ||
89 | 89 | func N () = "%s%s__matcher__publicKey" | |
90 | 90 | ||
91 | 91 | ||
92 | 92 | func O () = "%s__legacyFactoryContract" | |
93 | 93 | ||
94 | 94 | ||
95 | 95 | func P () = "%s__legacyPools" | |
96 | 96 | ||
97 | 97 | ||
98 | 98 | func Q () = "%s__managerPublicKey" | |
99 | 99 | ||
100 | 100 | ||
101 | 101 | func R () = "%s__pendingManagerPublicKey" | |
102 | 102 | ||
103 | 103 | ||
104 | 104 | func S () = "%s__adminPubKeys" | |
105 | 105 | ||
106 | 106 | ||
107 | 107 | func T () = "%s__assetsStoreContract" | |
108 | 108 | ||
109 | 109 | ||
110 | 110 | func U () = "%s__votingEmissionContract" | |
111 | 111 | ||
112 | 112 | ||
113 | 113 | func V () = makeString(["%s", "priceAssets"], k) | |
114 | 114 | ||
115 | 115 | ||
116 | 116 | func W () = "%s__priceDecimals" | |
117 | 117 | ||
118 | 118 | ||
119 | 119 | func X () = "%s__shutdown" | |
120 | 120 | ||
121 | 121 | ||
122 | 122 | func Y () = "%s__nextInternalAssetId" | |
123 | 123 | ||
124 | 124 | ||
125 | 125 | func Z (aa) = ("%s%s__poolWeight__" + aa) | |
126 | 126 | ||
127 | 127 | ||
128 | 128 | func ab (aa,ac) = ((("%s%s__poolWeight__" + aa) + "__") + toString(ac)) | |
129 | 129 | ||
130 | 130 | ||
131 | 131 | func ad (ae) = ("%s%s%d__mappings__internal2baseAssetId__" + toString(ae)) | |
132 | 132 | ||
133 | 133 | ||
134 | 134 | func af (ag) = ("%s%s%s__mappings__baseAsset2internalId__" + ag) | |
135 | 135 | ||
136 | 136 | ||
137 | 137 | func ah (ai,aj) = (((("%d%d%s__" + ai) + "__") + aj) + "__config") | |
138 | 138 | ||
139 | 139 | ||
140 | 140 | func ak (al) = { | |
141 | 141 | let am = al | |
142 | 142 | let ai = am._1 | |
143 | 143 | let aj = am._2 | |
144 | 144 | makeString(["%d%d%s", toString(ai), toString(aj), "oneTokenOperationsDisabled"], k) | |
145 | 145 | } | |
146 | 146 | ||
147 | 147 | ||
148 | 148 | func an () = makeString(["%s", "oneTokenOperationsDisabled"], k) | |
149 | 149 | ||
150 | 150 | ||
151 | 151 | func ao (ap) = (("%s%s%s__" + ap) + "__mappings__lpAsset2Pool") | |
152 | 152 | ||
153 | 153 | ||
154 | 154 | func aq (ar,as) = (((("%d%d%s%s__" + ar) + "__") + as) + "__mappings__PoolAssets2LpAsset") | |
155 | 155 | ||
156 | 156 | ||
157 | 157 | func at (aa) = ("%s%s__spread__" + aa) | |
158 | 158 | ||
159 | 159 | ||
160 | 160 | func au (av) = (("%s%s%s__" + av) + "__mappings__poolContract2PoolAssets") | |
161 | 161 | ||
162 | 162 | ||
163 | 163 | func aw (ar,as) = (((("%d%d%s%s__" + toString(ar)) + "__") + toString(as)) + "__mappings__poolAssets2PoolContract") | |
164 | 164 | ||
165 | 165 | ||
166 | 166 | func ax (av) = (("%s%s%s__" + av) + "__mappings__poolContract2LpAsset") | |
167 | 167 | ||
168 | 168 | ||
169 | 169 | func ay (ap) = (("%s%s%s__" + ap) + "__mappings__lpAsset2PoolContract") | |
170 | 170 | ||
171 | 171 | ||
172 | 172 | func az (aA,aB) = ((("%s%s%s__wxEmission__" + aA) + "__") + aB) | |
173 | 173 | ||
174 | 174 | ||
175 | 175 | func aC (aa) = ("%s%s__inFee__" + aa) | |
176 | 176 | ||
177 | 177 | ||
178 | 178 | func aD () = "%s__inFeeDefault" | |
179 | 179 | ||
180 | 180 | ||
181 | 181 | func aE (aa) = ("%s%s__outFee__" + aa) | |
182 | 182 | ||
183 | 183 | ||
184 | 184 | func aF () = "%s__outFeeDefault" | |
185 | 185 | ||
186 | 186 | ||
187 | 187 | func aG (aa) = ("%s%s__skipOrderValidation__" + aa) | |
188 | 188 | ||
189 | 189 | ||
190 | 190 | func aH (aa) = ("%s%s__changeAmpDelay__" + aa) | |
191 | 191 | ||
192 | 192 | ||
193 | 193 | func aI (aa) = ("%s%s__changeAmpDelta__" + aa) | |
194 | 194 | ||
195 | 195 | ||
196 | 196 | func aJ (aa) = ("%s%s__changeAmpTarget__" + aa) | |
197 | 197 | ||
198 | 198 | ||
199 | 199 | func aK (aL) = valueOrErrorMessage(getString(this, aL), ("No data for this.key=" + aL)) | |
200 | 200 | ||
201 | 201 | ||
202 | 202 | func aM (aL) = valueOrErrorMessage(getBoolean(this, aL), ("No data for this.key=" + aL)) | |
203 | 203 | ||
204 | 204 | ||
205 | 205 | func aN (aL) = valueOrErrorMessage(getInteger(this, aL), ("No data for this.key=" + aL)) | |
206 | 206 | ||
207 | 207 | ||
208 | 208 | func aO (aP) = if ((aP == i)) | |
209 | 209 | then unit | |
210 | 210 | else fromBase58String(aP) | |
211 | 211 | ||
212 | 212 | ||
213 | 213 | let aQ = 1 | |
214 | 214 | ||
215 | 215 | let aR = 2 | |
216 | 216 | ||
217 | 217 | let aS = 3 | |
218 | 218 | ||
219 | 219 | let aT = 4 | |
220 | 220 | ||
221 | 221 | let aU = 5 | |
222 | 222 | ||
223 | 223 | let aV = 6 | |
224 | 224 | ||
225 | 225 | let aW = 7 | |
226 | 226 | ||
227 | 227 | let aX = 8 | |
228 | 228 | ||
229 | 229 | let aY = 9 | |
230 | 230 | ||
231 | 231 | let aZ = 10 | |
232 | 232 | ||
233 | 233 | let ba = 11 | |
234 | 234 | ||
235 | 235 | func bb (bc) = addressFromStringValue(bc[aR]) | |
236 | 236 | ||
237 | 237 | ||
238 | 238 | func bd (bc) = addressFromStringValue(bc[aU]) | |
239 | 239 | ||
240 | 240 | ||
241 | 241 | func be (bc) = addressFromStringValue(bc[aQ]) | |
242 | 242 | ||
243 | 243 | ||
244 | 244 | func bf (bc) = addressFromStringValue(bc[aZ]) | |
245 | 245 | ||
246 | 246 | ||
247 | 247 | func bg () = { | |
248 | 248 | let bh = getString(V()) | |
249 | 249 | if ($isInstanceOf(bh, "String")) | |
250 | 250 | then { | |
251 | 251 | let bi = bh | |
252 | 252 | if ((size(bi) == 0)) | |
253 | 253 | then nil | |
254 | 254 | else split(bi, k) | |
255 | 255 | } | |
256 | 256 | else nil | |
257 | 257 | } | |
258 | 258 | ||
259 | 259 | ||
260 | 260 | func bj () = { | |
261 | 261 | let bh = getString(Q()) | |
262 | 262 | if ($isInstanceOf(bh, "String")) | |
263 | 263 | then { | |
264 | 264 | let bi = bh | |
265 | 265 | fromBase58String(bi) | |
266 | 266 | } | |
267 | 267 | else if ($isInstanceOf(bh, "Unit")) | |
268 | 268 | then unit | |
269 | 269 | else throw("Match error") | |
270 | 270 | } | |
271 | 271 | ||
272 | 272 | ||
273 | 273 | func bk () = { | |
274 | 274 | let bh = getString(R()) | |
275 | 275 | if ($isInstanceOf(bh, "String")) | |
276 | 276 | then { | |
277 | 277 | let bi = bh | |
278 | 278 | fromBase58String(bi) | |
279 | 279 | } | |
280 | 280 | else if ($isInstanceOf(bh, "Unit")) | |
281 | 281 | then unit | |
282 | 282 | else throw("Match error") | |
283 | 283 | } | |
284 | 284 | ||
285 | 285 | ||
286 | 286 | let bl = throw("Permission denied") | |
287 | 287 | ||
288 | 288 | let bm = throw("Test error here") | |
289 | 289 | ||
290 | 290 | func bn (bo) = if ((bo.caller == this)) | |
291 | 291 | then true | |
292 | 292 | else bl | |
293 | 293 | ||
294 | 294 | ||
295 | 295 | func bp (bo) = { | |
296 | 296 | let bh = bj() | |
297 | 297 | if ($isInstanceOf(bh, "ByteVector")) | |
298 | 298 | then { | |
299 | 299 | let bq = bh | |
300 | 300 | if ((bo.callerPublicKey == bq)) | |
301 | 301 | then true | |
302 | 302 | else bl | |
303 | 303 | } | |
304 | 304 | else if ($isInstanceOf(bh, "Unit")) | |
305 | 305 | then bn(bo) | |
306 | 306 | else throw("Match error") | |
307 | 307 | } | |
308 | 308 | ||
309 | 309 | ||
310 | 310 | func br (bs,bt,bu,bv,bw,bx,by,bz,bA,bB,bC) = makeString(["%s%s%s%s%s%s%s%s%s%s%s", bs, bt, bu, bv, bw, bx, by, bz, bA, bB, bC], k) | |
311 | 311 | ||
312 | 312 | ||
313 | 313 | func bD (bs,bt,bu,bv,bw,bx,by) = makeString(["%s%s%s%s%s%s", bs, bt, bu, bv, bw, bx, by], k) | |
314 | 314 | ||
315 | 315 | ||
316 | 316 | func bE (aa,bF,bG,bH,bI,bJ,bK,bL,bM,bN,bO) = makeString(["%s%d%s%s%s%d%d%d%d%d%s", aa, bF, bG, bH, bI, toString(bJ), toString(bK), toString(bL), toString(bM), toString(bN), bO], k) | |
317 | 317 | ||
318 | 318 | ||
319 | 319 | func bP (bQ,bR) = makeString(["%d%d", toString(bQ), toString(bR)], k) | |
320 | 320 | ||
321 | 321 | ||
322 | 322 | func bS (aa) = { | |
323 | 323 | let bT = split(aK(au(aa)), k) | |
324 | 324 | let ai = bT[1] | |
325 | 325 | let aj = bT[2] | |
326 | 326 | split(aK(ah(ai, aj)), k) | |
327 | 327 | } | |
328 | 328 | ||
329 | 329 | ||
330 | 330 | func bU (bV,bW) = { | |
331 | 331 | let bX = valueOrElse(getInteger(this, af(bV)), 0) | |
332 | 332 | let bY = valueOrElse(getInteger(this, Y()), 0) | |
333 | 333 | let bZ = if ((bX == 0)) | |
334 | 334 | then { | |
335 | 335 | let ca = (bY + bW) | |
336 | 336 | $Tuple3(ca, [IntegerEntry(Y(), ca), IntegerEntry(af(bV), ca), StringEntry(ad(ca), bV)], true) | |
337 | 337 | } | |
338 | 338 | else $Tuple3(bX, nil, false) | |
339 | 339 | bZ | |
340 | 340 | } | |
341 | 341 | ||
342 | 342 | ||
343 | 343 | func cb (bo) = { | |
344 | 344 | let cc = split(valueOrElse(getString(S()), l), k) | |
345 | 345 | if (containsElement(cc, toBase58String(bo.callerPublicKey))) | |
346 | 346 | then true | |
347 | 347 | else { | |
348 | 348 | let cd = bp(bo) | |
349 | 349 | if ((cd == cd)) | |
350 | 350 | then true | |
351 | 351 | else throw("Strict value is not equal to itself.") | |
352 | 352 | } | |
353 | 353 | } | |
354 | 354 | ||
355 | 355 | ||
356 | 356 | func ce (aL,cf,cg) = valueOrElse(getInteger(this, aL), valueOrElse(getInteger(this, cf), cg)) | |
357 | 357 | ||
358 | 358 | ||
359 | 359 | func ch (aA,aB) = { | |
360 | 360 | let ai = getInteger(af(aA)) | |
361 | 361 | let aj = getInteger(af(aB)) | |
362 | 362 | if (if ((ai == unit)) | |
363 | 363 | then true | |
364 | 364 | else (aj == unit)) | |
365 | 365 | then false | |
366 | 366 | else { | |
367 | 367 | let ci = toString(value(ai)) | |
368 | 368 | let cj = toString(value(aj)) | |
369 | 369 | let ck = getString(ah(ci, cj)) | |
370 | 370 | let cl = getString(ah(cj, ci)) | |
371 | 371 | let cm = if ((ck != unit)) | |
372 | 372 | then true | |
373 | 373 | else (cl != unit) | |
374 | 374 | cm | |
375 | 375 | } | |
376 | 376 | } | |
377 | 377 | ||
378 | 378 | ||
379 | 379 | @Callable(bo) | |
380 | 380 | func getSwapContractREADONLY () = $Tuple2(nil, aK(J())) | |
381 | 381 | ||
382 | 382 | ||
383 | 383 | ||
384 | 384 | @Callable(bo) | |
385 | 385 | func getLpAssetFromPoolAssetsREADONLY (cn,co) = if (if ((cn == "8LQW8f7P5d5PZM7GtZEBgaqRPGSzS3DfPuiXrURJ4AJS")) | |
386 | 386 | then (co == "WAVES") | |
387 | 387 | else false) | |
388 | 388 | then $Tuple2(nil, unit) | |
389 | 389 | else { | |
390 | 390 | let cp = value(getInteger(this, af(cn))) | |
391 | 391 | let cq = value(getInteger(this, af(co))) | |
392 | 392 | let cr = getString(this, aq(toString(cp), toString(cq))) | |
393 | 393 | let cs = if ((cr == unit)) | |
394 | 394 | then unit | |
395 | 395 | else drop(value(cr), 4) | |
396 | 396 | $Tuple2(nil, cs) | |
397 | 397 | } | |
398 | 398 | ||
399 | 399 | ||
400 | 400 | ||
401 | 401 | @Callable(bo) | |
402 | 402 | func getPoolAddressFromLpAssetREADONLY (ct) = $Tuple2(nil, valueOrElse(getString(this, ay(ct)), "")) | |
403 | 403 | ||
404 | 404 | ||
405 | 405 | ||
406 | 406 | @Callable(bo) | |
407 | 407 | func constructor (cu,cv,bu,bv,bw,bx,cw,cx) = { | |
408 | 408 | let cy = bp(bo) | |
409 | 409 | if ((cy == cy)) | |
410 | 410 | then [StringEntry(K(), bD(cu, cv, bu, bv, bw, bx, cw)), IntegerEntry(W(), cx)] | |
411 | 411 | else throw("Strict value is not equal to itself.") | |
412 | 412 | } | |
413 | 413 | ||
414 | 414 | ||
415 | 415 | ||
416 | 416 | @Callable(bo) | |
417 | 417 | func constructorV2 (cz) = { | |
418 | 418 | let cy = bp(bo) | |
419 | 419 | if ((cy == cy)) | |
420 | 420 | then { | |
421 | 421 | let cA = addressFromPublicKey(fromBase58String(cz)) | |
422 | 422 | if ((cA == cA)) | |
423 | 423 | then [StringEntry(N(), cz)] | |
424 | 424 | else throw("Strict value is not equal to itself.") | |
425 | 425 | } | |
426 | 426 | else throw("Strict value is not equal to itself.") | |
427 | 427 | } | |
428 | 428 | ||
429 | 429 | ||
430 | 430 | ||
431 | 431 | @Callable(bo) | |
432 | 432 | func constructorV3 (bz,bA,bB,bC) = { | |
433 | 433 | let cy = bp(bo) | |
434 | 434 | if ((cy == cy)) | |
435 | 435 | then { | |
436 | 436 | let bc = split(aK(K()), k) | |
437 | 437 | [StringEntry(K(), br(bc[1], bc[2], bc[3], bc[4], bc[5], bc[6], bc[7], bz, bA, bB, bC))] | |
438 | 438 | } | |
439 | 439 | else throw("Strict value is not equal to itself.") | |
440 | 440 | } | |
441 | 441 | ||
442 | 442 | ||
443 | 443 | ||
444 | 444 | @Callable(bo) | |
445 | 445 | func constructorV4 (cB,cC) = { | |
446 | 446 | let cy = bp(bo) | |
447 | 447 | if ((cy == cy)) | |
448 | 448 | then [StringEntry(O(), cB), StringEntry(P(), makeString(cC, k))] | |
449 | 449 | else throw("Strict value is not equal to itself.") | |
450 | 450 | } | |
451 | 451 | ||
452 | 452 | ||
453 | 453 | ||
454 | 454 | @Callable(bo) | |
455 | 455 | func constructorV5 (cD) = { | |
456 | 456 | let cy = bp(bo) | |
457 | 457 | if ((cy == cy)) | |
458 | 458 | then [StringEntry(T(), cD)] | |
459 | 459 | else throw("Strict value is not equal to itself.") | |
460 | 460 | } | |
461 | 461 | ||
462 | 462 | ||
463 | 463 | ||
464 | 464 | @Callable(bo) | |
465 | 465 | func constructorV6 (cE,cF) = { | |
466 | 466 | let cG = [bp(bo), if ((addressFromString(cE) != unit)) | |
467 | 467 | then true | |
468 | 468 | else "invalid voting emission contract address"] | |
469 | 469 | if ((cG == cG)) | |
470 | 470 | then [StringEntry(U(), cE), StringEntry(V(), makeString(cF, k))] | |
471 | 471 | else throw("Strict value is not equal to itself.") | |
472 | 472 | } | |
473 | 473 | ||
474 | 474 | ||
475 | 475 | ||
476 | 476 | @Callable(bo) | |
477 | 477 | func setManager (cH) = { | |
478 | 478 | let cy = bp(bo) | |
479 | 479 | if ((cy == cy)) | |
480 | 480 | then { | |
481 | 481 | let cI = fromBase58String(cH) | |
482 | 482 | if ((cI == cI)) | |
483 | 483 | then [StringEntry(R(), cH)] | |
484 | 484 | else throw("Strict value is not equal to itself.") | |
485 | 485 | } | |
486 | 486 | else throw("Strict value is not equal to itself.") | |
487 | 487 | } | |
488 | 488 | ||
489 | 489 | ||
490 | 490 | ||
491 | 491 | @Callable(bo) | |
492 | 492 | func confirmManager () = { | |
493 | 493 | let cJ = bk() | |
494 | 494 | let cK = if (isDefined(cJ)) | |
495 | 495 | then true | |
496 | 496 | else throw("No pending manager") | |
497 | 497 | if ((cK == cK)) | |
498 | 498 | then { | |
499 | 499 | let cL = if ((bo.callerPublicKey == value(cJ))) | |
500 | 500 | then true | |
501 | 501 | else throw("You are not pending manager") | |
502 | 502 | if ((cL == cL)) | |
503 | 503 | then [StringEntry(Q(), toBase58String(value(cJ))), DeleteEntry(R())] | |
504 | 504 | else throw("Strict value is not equal to itself.") | |
505 | 505 | } | |
506 | 506 | else throw("Strict value is not equal to itself.") | |
507 | 507 | } | |
508 | 508 | ||
509 | 509 | ||
510 | 510 | ||
511 | 511 | @Callable(bo) | |
512 | 512 | func setAdmins (cM) = { | |
513 | 513 | let cy = bp(bo) | |
514 | 514 | if ((cy == cy)) | |
515 | 515 | then [StringEntry(S(), makeString(cM, k))] | |
516 | 516 | else throw("Strict value is not equal to itself.") | |
517 | 517 | } | |
518 | 518 | ||
519 | 519 | ||
520 | 520 | ||
521 | 521 | @Callable(bo) | |
522 | 522 | func activateNewPool (aa,bH,bI,cN,cO,cP,bO,cQ) = { | |
523 | 523 | let cy = cb(bo) | |
524 | 524 | if ((cy == cy)) | |
525 | 525 | then if (isDefined(getString(au(aa)))) | |
526 | 526 | then throw((("Pool address " + aa) + " already registered.")) | |
527 | 527 | else { | |
528 | 528 | let cR = bU(bH, 1) | |
529 | 529 | let cS = cR._1 | |
530 | 530 | let cT = bU(bI, if (cR._3) | |
531 | 531 | then 2 | |
532 | 532 | else 1) | |
533 | 533 | let cU = cT._1 | |
534 | 534 | let cV = valueOrErrorMessage(scriptHash(addressFromStringValue(aa)), ("No script has been found on pool account " + aa)) | |
535 | 535 | let cW = getBinaryValue(M()) | |
536 | 536 | let cX = ch(bH, bI) | |
537 | 537 | if (cX) | |
538 | 538 | then throw((((("Pool " + bH) + "/") + bI) + " has already been activated.")) | |
539 | 539 | else { | |
540 | 540 | let cY = value(getString(this, ah(toString(cS), toString(cU)))) | |
541 | 541 | let cZ = if ((bH == "WAVES")) | |
542 | 542 | then j | |
543 | 543 | else pow(10, 0, value(assetInfo(fromBase58String(bH))).decimals, 0, 0, DOWN) | |
544 | 544 | let da = if ((bI == "WAVES")) | |
545 | 545 | then j | |
546 | 546 | else pow(10, 0, value(assetInfo(fromBase58String(bI))).decimals, 0, 0, DOWN) | |
547 | 547 | let db = Issue(cN, cO, 1, 8, true) | |
548 | 548 | let bG = calculateAssetId(db) | |
549 | 549 | let dc = toBase58String(bG) | |
550 | 550 | let dd = invoke(addressFromStringValue(aa), "activate", [bH, bI], nil) | |
551 | 551 | if ((dd == dd)) | |
552 | 552 | then if ((dd != "success")) | |
553 | 553 | then throw("Pool initialisation error happened.") | |
554 | 554 | else { | |
555 | 555 | let cD = addressFromStringValue(aK(T())) | |
556 | 556 | let de = invoke(cD, "createOrUpdate", [dc, cN, false], nil) | |
557 | 557 | if ((de == de)) | |
558 | 558 | then { | |
559 | 559 | let df = invoke(cD, "addLabel", [dc, g], nil) | |
560 | 560 | if ((df == df)) | |
561 | 561 | then { | |
562 | 562 | let dg = invoke(cD, "setLogo", [dc, cQ], nil) | |
563 | 563 | if ((dg == dg)) | |
564 | 564 | then { | |
565 | 565 | let dh = invoke(cD, "addAssetsLink", [bH, bI, dc], nil) | |
566 | 566 | if ((dh == dh)) | |
567 | 567 | then { | |
568 | 568 | let di = invoke(cD, "increaseAssetPoolsNumber", [bH], nil) | |
569 | 569 | if ((di == di)) | |
570 | 570 | then $Tuple2(((cR._2 ++ cT._2) ++ [db, Burn(bG, 1), StringEntry(ah(toString(cS), toString(cU)), bE(aa, toString(m), dc, bH, bI, cZ, da, cS, cU, j, bO)), StringEntry(ao(dc), bP(cS, cU)), StringEntry(aq(toString(cS), toString(cU)), ("%s__" + dc)), StringEntry(au(aa), bP(cS, cU)), StringEntry(aw(cS, cU), aa), StringEntry(ay(dc), aa), StringEntry(ax(aa), dc), IntegerEntry(Z(aa), cP), IntegerEntry(at(aa), h)]), dc) | |
571 | 571 | else throw("Strict value is not equal to itself.") | |
572 | 572 | } | |
573 | 573 | else throw("Strict value is not equal to itself.") | |
574 | 574 | } | |
575 | 575 | else throw("Strict value is not equal to itself.") | |
576 | 576 | } | |
577 | 577 | else throw("Strict value is not equal to itself.") | |
578 | 578 | } | |
579 | 579 | else throw("Strict value is not equal to itself.") | |
580 | 580 | } | |
581 | 581 | else throw("Strict value is not equal to itself.") | |
582 | 582 | } | |
583 | 583 | } | |
584 | 584 | else throw("Strict value is not equal to itself.") | |
585 | 585 | } | |
586 | 586 | ||
587 | 587 | ||
588 | 588 | ||
589 | 589 | @Callable(bo) | |
590 | 590 | func managePool (aa,dj) = { | |
591 | 591 | let cy = bp(bo) | |
592 | 592 | if ((cy == cy)) | |
593 | 593 | then { | |
594 | 594 | let dk = bS(aa) | |
595 | 595 | let bF = dk[u] | |
596 | 596 | let dc = dk[v] | |
597 | 597 | let bH = dk[w] | |
598 | 598 | let bI = dk[x] | |
599 | 599 | let cZ = parseIntValue(dk[y]) | |
600 | 600 | let da = parseIntValue(dk[z]) | |
601 | 601 | let cS = parseIntValue(dk[A]) | |
602 | 602 | let cU = parseIntValue(dk[B]) | |
603 | 603 | let dl = parseIntValue(dk[C]) | |
604 | 604 | let bO = dk[D] | |
605 | 605 | [StringEntry(ah(toString(cS), toString(cU)), bE(aa, toString(dj), dc, bH, bI, cZ, da, cS, cU, dl, bO))] | |
606 | 606 | } | |
607 | 607 | else throw("Strict value is not equal to itself.") | |
608 | 608 | } | |
609 | 609 | ||
610 | 610 | ||
611 | 611 | ||
612 | 612 | @Callable(bo) | |
613 | 613 | func emit (dm) = { | |
614 | 614 | let dn = bo.caller | |
615 | 615 | let do = bo.originCaller | |
616 | 616 | let dp = valueOrErrorMessage(getString(ax(toString(dn))), "Invalid LP address called me.") | |
617 | 617 | let dq = fromBase58String(dp) | |
618 | 618 | let cC = split(valueOrElse(getString(P()), l), k) | |
619 | 619 | let cB = addressFromStringValue(valueOrErrorMessage(getString(O()), "Legacy factory contract does not exists.")) | |
620 | 620 | if ((0 >= dm)) | |
621 | 621 | then nil | |
622 | 622 | else if (containsElement(cC, toString(dn))) | |
623 | 623 | then $Tuple2(nil, cB) | |
624 | 624 | else $Tuple2([Reissue(dq, dm, true), ScriptTransfer(bo.caller, dm, dq)], "success") | |
625 | 625 | } | |
626 | 626 | ||
627 | 627 | ||
628 | 628 | ||
629 | 629 | @Callable(bo) | |
630 | 630 | func burn (dr) = { | |
631 | 631 | let dn = bo.caller | |
632 | 632 | let do = bo.originCaller | |
633 | 633 | let ds = value(bo.payments[0]) | |
634 | 634 | let dt = value(ds.amount) | |
635 | 635 | let du = toBase58String(value(ds.assetId)) | |
636 | 636 | let dv = valueOrErrorMessage(getString(ax(toString(dn))), "Invalid LP address called me.") | |
637 | 637 | if ((du != dv)) | |
638 | 638 | then throw("Invalid asset passed.") | |
639 | 639 | else if ((dr != dt)) | |
640 | 640 | then throw("Invalid amount passed.") | |
641 | 641 | else { | |
642 | 642 | let dq = fromBase58String(dv) | |
643 | 643 | $Tuple2([Burn(dq, dr)], "success") | |
644 | 644 | } | |
645 | 645 | } | |
646 | 646 | ||
647 | 647 | ||
648 | 648 | ||
649 | 649 | @Callable(bo) | |
650 | 650 | func modifyWeight (bG,dw) = { | |
651 | 651 | let cy = if ((toBase58String(bo.caller.bytes) == valueOrElse(getString(this, U()), ""))) | |
652 | 652 | then true | |
653 | 653 | else bp(bo) | |
654 | 654 | if ((cy == cy)) | |
655 | 655 | then { | |
656 | 656 | let av = aK(ay(bG)) | |
657 | 657 | let dx = Z(av) | |
658 | 658 | let dy = Z(f) | |
659 | 659 | let dz = valueOrElse(getInteger(dy), 0) | |
660 | 660 | let cP = valueOrElse(getInteger(dx), 0) | |
661 | 661 | let dA = dw | |
662 | 662 | let bc = split(aK(K()), k) | |
663 | 663 | let cu = be(bc) | |
664 | 664 | let dB = invoke(cu, "onModifyWeight", [bG, av], nil) | |
665 | 665 | if ((dB == dB)) | |
666 | 666 | then { | |
667 | 667 | let dC = if ((dz == 0)) | |
668 | 668 | then nil | |
669 | 669 | else [IntegerEntry(dy, 0)] | |
670 | 670 | let dD = ab(av, 0) | |
671 | 671 | let dE = getInteger(dD) | |
672 | 672 | let dF = if ((dE == unit)) | |
673 | 673 | then nil | |
674 | 674 | else [DeleteEntry(dD)] | |
675 | 675 | (([IntegerEntry(dx, dA)] ++ dC) ++ dF) | |
676 | 676 | } | |
677 | 677 | else throw("Strict value is not equal to itself.") | |
678 | 678 | } | |
679 | 679 | else throw("Strict value is not equal to itself.") | |
680 | 680 | } | |
681 | 681 | ||
682 | 682 | ||
683 | 683 | ||
684 | 684 | @Callable(bo) | |
685 | 685 | func modifyWeights (dG,dH,dI,dJ) = { | |
686 | 686 | let cy = bp(bo) | |
687 | 687 | if ((cy == cy)) | |
688 | 688 | then { | |
689 | 689 | let dK = ((5 * e) / 100) | |
690 | 690 | let dL = ((5 * e) / 100) | |
691 | 691 | let dM = ((5 * e) / 100) | |
692 | 692 | let bc = split(aK(K()), k) | |
693 | 693 | let dN = be(bc) | |
694 | 694 | let dO = bf(bc) | |
695 | 695 | let dP = Z(dG) | |
696 | 696 | let dQ = Z(dH) | |
697 | 697 | let dR = Z(dI) | |
698 | 698 | let dS = Z(dJ) | |
699 | 699 | let dT = aN(dP) | |
700 | 700 | let dU = aN(dQ) | |
701 | 701 | let dV = (dT - dM) | |
702 | 702 | let dW = (dU - dM) | |
703 | 703 | if ((0 >= dV)) | |
704 | 704 | then throw(("invalid btcWeightNew: " + toString(dV))) | |
705 | 705 | else if ((0 >= dW)) | |
706 | 706 | then throw(("invalid ethWeightNew: " + toString(dW))) | |
707 | 707 | else { | |
708 | 708 | let dX = aK(ax(dG)) | |
709 | 709 | let dY = aK(ax(dH)) | |
710 | 710 | let dZ = aK(ax(dI)) | |
711 | 711 | let ea = aK(ax(dJ)) | |
712 | 712 | let eb = invoke(dN, "onModifyWeight", [dX, dG], nil) | |
713 | 713 | if ((eb == eb)) | |
714 | 714 | then { | |
715 | 715 | let ec = invoke(dN, "onModifyWeight", [dY, dH], nil) | |
716 | 716 | if ((ec == ec)) | |
717 | 717 | then { | |
718 | 718 | let ed = invoke(dN, "onModifyWeight", [dZ, dI], nil) | |
719 | 719 | if ((ed == ed)) | |
720 | 720 | then { | |
721 | 721 | let ee = invoke(dN, "onModifyWeight", [ea, dJ], nil) | |
722 | 722 | if ((ee == ee)) | |
723 | 723 | then [IntegerEntry(dP, dV), IntegerEntry(dQ, dW), IntegerEntry(dR, dK), IntegerEntry(dS, dL), IntegerEntry(ab(dG, 0), dT), IntegerEntry(ab(dH, 0), dU), IntegerEntry(ab(dI, 0), dK), IntegerEntry(ab(dJ, 0), dL)] | |
724 | 724 | else throw("Strict value is not equal to itself.") | |
725 | 725 | } | |
726 | 726 | else throw("Strict value is not equal to itself.") | |
727 | 727 | } | |
728 | 728 | else throw("Strict value is not equal to itself.") | |
729 | 729 | } | |
730 | 730 | else throw("Strict value is not equal to itself.") | |
731 | 731 | } | |
732 | 732 | } | |
733 | 733 | else throw("Strict value is not equal to itself.") | |
734 | 734 | } | |
735 | 735 | ||
736 | 736 | ||
737 | 737 | ||
738 | 738 | @Callable(bo) | |
739 | 739 | func checkWxEmissionPoolLabel (aA,aB) = { | |
740 | 740 | let ef = { | |
741 | 741 | let bh = getBoolean(az(aA, aB)) | |
742 | 742 | if ($isInstanceOf(bh, "Boolean")) | |
743 | 743 | then { | |
744 | 744 | let eg = bh | |
745 | 745 | eg | |
746 | 746 | } | |
747 | 747 | else false | |
748 | 748 | } | |
749 | 749 | $Tuple2(nil, ef) | |
750 | 750 | } | |
751 | 751 | ||
752 | 752 | ||
753 | 753 | ||
754 | 754 | @Callable(bo) | |
755 | 755 | func setWxEmissionPoolLabel (aA,aB) = { | |
756 | 756 | let cy = cb(bo) | |
757 | 757 | if ((cy == cy)) | |
758 | 758 | then $Tuple2([BooleanEntry(az(aA, aB), true)], unit) | |
759 | 759 | else throw("Strict value is not equal to itself.") | |
760 | 760 | } | |
761 | 761 | ||
762 | 762 | ||
763 | 763 | ||
764 | 764 | @Callable(bo) | |
765 | 765 | func deleteWxEmissionPoolLabel (aA,aB) = { | |
766 | 766 | let cy = if (bn(bo)) | |
767 | 767 | then true | |
768 | 768 | else cb(bo) | |
769 | 769 | if ((cy == cy)) | |
770 | 770 | then $Tuple2([DeleteEntry(az(aA, aB))], unit) | |
771 | 771 | else throw("Strict value is not equal to itself.") | |
772 | 772 | } | |
773 | 773 | ||
774 | 774 | ||
775 | 775 | ||
776 | 776 | @Callable(bo) | |
777 | 777 | func onVerificationLoss (eh) = { | |
778 | 778 | let cy = if ((toBase58String(bo.caller.bytes) == valueOrElse(getString(this, T()), ""))) | |
779 | 779 | then true | |
780 | 780 | else bp(bo) | |
781 | 781 | if ((cy == cy)) | |
782 | 782 | then { | |
783 | 783 | let cF = bg() | |
784 | 784 | let ei = if ((size(cF) > 0)) | |
785 | 785 | then true | |
786 | 786 | else throw("invalid price assets") | |
787 | 787 | if ((ei == ei)) | |
788 | 788 | then { | |
789 | 789 | func ej (ek,el) = { | |
790 | 790 | let em = invoke(this, "deleteWxEmissionPoolLabel", [eh, el], nil) | |
791 | 791 | if ((em == em)) | |
792 | 792 | then unit | |
793 | 793 | else throw("Strict value is not equal to itself.") | |
794 | 794 | } | |
795 | 795 | ||
796 | 796 | let en = { | |
797 | 797 | let eo = cF | |
798 | 798 | let ep = size(eo) | |
799 | 799 | let eq = unit | |
800 | 800 | func er (es,et) = if ((et >= ep)) | |
801 | 801 | then es | |
802 | 802 | else ej(es, eo[et]) | |
803 | 803 | ||
804 | 804 | func eu (es,et) = if ((et >= ep)) | |
805 | 805 | then es | |
806 | 806 | else throw("List size exceeds 2") | |
807 | 807 | ||
808 | 808 | eu(er(er(eq, 0), 1), 2) | |
809 | 809 | } | |
810 | 810 | if ((en == en)) | |
811 | 811 | then $Tuple2(nil, unit) | |
812 | 812 | else throw("Strict value is not equal to itself.") | |
813 | 813 | } | |
814 | 814 | else throw("Strict value is not equal to itself.") | |
815 | 815 | } | |
816 | 816 | else throw("Strict value is not equal to itself.") | |
817 | 817 | } | |
818 | 818 | ||
819 | 819 | ||
820 | 820 | ||
821 | 821 | @Callable(bo) | |
822 | 822 | func isPoolOneTokenOperationsDisabledREADONLY (aa) = { | |
823 | 823 | let dk = bS(aa) | |
824 | 824 | let al = $Tuple2(parseIntValue(dk[A]), parseIntValue(dk[B])) | |
825 | 825 | let ev = valueOrElse(getBoolean(ak(al)), false) | |
826 | 826 | let ew = valueOrElse(getBoolean(an()), false) | |
827 | 827 | $Tuple2(nil, if (ew) | |
828 | 828 | then true | |
829 | 829 | else ev) | |
830 | 830 | } | |
831 | 831 | ||
832 | 832 | ||
833 | 833 | ||
834 | 834 | @Callable(bo) | |
835 | 835 | func getInFeeREADONLY (aa) = { | |
836 | 836 | let ex = ce(aC(aa), aD(), 0) | |
837 | 837 | $Tuple2(nil, ex) | |
838 | 838 | } | |
839 | 839 | ||
840 | 840 | ||
841 | 841 | ||
842 | 842 | @Callable(bo) | |
843 | 843 | func getOutFeeREADONLY (aa) = { | |
844 | 844 | let ex = ce(aE(aa), aF(), fraction(10, b, 10000)) | |
845 | 845 | $Tuple2(nil, ex) | |
846 | 846 | } | |
847 | 847 | ||
848 | 848 | ||
849 | 849 | ||
850 | 850 | @Callable(bo) | |
851 | 851 | func poolInfoREADONLY (ey,ez) = { | |
852 | 852 | let eA = getInteger(this, af(ey)) | |
853 | 853 | let eB = getInteger(this, af(ez)) | |
854 | 854 | let eC = getString(this, aw(value(eA), value(eB))) | |
855 | 855 | let eD = getString(this, ax(value(eC))) | |
856 | 856 | let cX = if (if (isDefined(eA)) | |
857 | 857 | then isDefined(eB) | |
858 | 858 | else false) | |
859 | 859 | then isDefined(eC) | |
860 | 860 | else false | |
861 | 861 | let eE = if (cX) | |
862 | 862 | then $Tuple2(addressFromStringValue(value(eC)), aO(value(eD))) | |
863 | 863 | else unit | |
864 | 864 | $Tuple2(nil, eE) | |
865 | 865 | } | |
866 | 866 | ||
867 | 867 | ||
868 | 868 | ||
869 | 869 | @Callable(bo) | |
870 | 870 | func getPoolStatusREADONLY (aa) = { | |
871 | 871 | let bT = split(aK(au(aa)), k) | |
872 | 872 | let ai = bT[1] | |
873 | 873 | let aj = bT[2] | |
874 | 874 | let ck = split(aK(ah(ai, aj)), k) | |
875 | 875 | $Tuple2(nil, parseIntValue(ck[u])) | |
876 | 876 | } | |
877 | 877 | ||
878 | 878 | ||
879 | 879 | ||
880 | 880 | @Callable(bo) | |
881 | 881 | func getPoolConfigREADONLY (aa) = { | |
882 | 882 | let bT = split(aK(au(aa)), k) | |
883 | 883 | let ai = bT[1] | |
884 | 884 | let aj = bT[2] | |
885 | 885 | let ck = split(aK(ah(ai, aj)), k) | |
886 | 886 | $Tuple2(nil, ck) | |
887 | 887 | } | |
888 | 888 | ||
889 | 889 | ||
890 | 890 | ||
891 | 891 | @Callable(bo) | |
892 | 892 | func getPoolConfigByLpAssetId (dc) = { | |
893 | 893 | let bT = split(aK(ao(dc)), k) | |
894 | 894 | let ai = bT[1] | |
895 | 895 | let aj = bT[2] | |
896 | 896 | let ck = split(aK(ah(ai, aj)), k) | |
897 | 897 | $Tuple2(nil, ck) | |
898 | 898 | } | |
899 | 899 | ||
900 | 900 | ||
901 | 901 | ||
902 | 902 | @Callable(bo) | |
903 | 903 | func poolExistsREADONLY (aA,aB) = $Tuple2(nil, ch(aA, aB)) | |
904 | 904 | ||
905 | 905 | ||
906 | 906 | ||
907 | 907 | @Callable(bo) | |
908 | 908 | func skipOrderValidationREADONLY (aa) = $Tuple2(nil, valueOrElse(getBoolean(aG(aa)), false)) | |
909 | 909 | ||
910 | 910 | ||
911 | 911 | ||
912 | 912 | @Callable(bo) | |
913 | - | func getChangeAmpConfigREADONLY (aa) = $Tuple2(nil, | |
913 | + | func getChangeAmpConfigREADONLY (aa) = $Tuple2(nil, "[delay, delta, target]") | |
914 | 914 | ||
915 | 915 | ||
916 | 916 | @Verifier(eF) | |
917 | 917 | func eG () = { | |
918 | 918 | let eH = { | |
919 | 919 | let bh = bj() | |
920 | 920 | if ($isInstanceOf(bh, "ByteVector")) | |
921 | 921 | then { | |
922 | 922 | let bq = bh | |
923 | 923 | bq | |
924 | 924 | } | |
925 | 925 | else if ($isInstanceOf(bh, "Unit")) | |
926 | 926 | then eF.senderPublicKey | |
927 | 927 | else throw("Match error") | |
928 | 928 | } | |
929 | 929 | sigVerify(eF.bodyBytes, eF.proofs[0], eH) | |
930 | 930 | } | |
931 | 931 |
github/deemru/w8io/026f985 86.11 ms ◑