tx · EfkmmYpquZLk6qsP3qYP5MnxXyLuZjmfpKp3N681YRCP 3My4jcWufVEgwTMesfeETVZdHyGGFZ5m7FP: -0.02300000 Waves 2023.03.14 17:19 [2489828] smart account 3My4jcWufVEgwTMesfeETVZdHyGGFZ5m7FP > SELF 0.00000000 Waves
{ "type": 13, "id": "EfkmmYpquZLk6qsP3qYP5MnxXyLuZjmfpKp3N681YRCP", "fee": 2300000, "feeAssetId": null, "timestamp": 1678803607191, "version": 2, "chainId": 84, "sender": "3My4jcWufVEgwTMesfeETVZdHyGGFZ5m7FP", "senderPublicKey": "G91RK9gjQQJYqGVA36j96cX7zMx1NgmT6LF3B398M1ur", "proofs": [ "2kKQv33ndCE68wQS9K7myEztUbfEz4R5GLo5XW6uo32E7Yf7RvhVEGV8hEg3fbkEpHkR91aVC8w2kJ4Tqon7L76P" ], "script": "base64:AAIFAAAAAAAAAEAIAhINCgsICAgICAgBCAEIARIDCgEBEgQKAggIEgUKAwgIBBIECgIICBIDCgEBEgMKAQESBAoCCAgSAwoBCBIAAAAAJAAAAAAJc2VwYXJhdG9yAgAAAAJfXwAAAAAMa2V5RmVlQW1vdW50CQAEuQAAAAIJAARMAAAAAgIAAAACJXMJAARMAAAAAgIAAAADZmVlBQAAAANuaWwFAAAACXNlcGFyYXRvcgAAAAAOa2V5VXNkbkFzc2V0SWQJAAS5AAAAAgkABEwAAAACAgAAAAIlcwkABEwAAAACAgAAAAt1c2RuQXNzZXRJZAUAAAADbmlsBQAAAAlzZXBhcmF0b3IAAAAADmtleUVwb2NoTGVuZ3RoCQAEuQAAAAIJAARMAAAAAgIAAAACJXMJAARMAAAAAgIAAAALZXBvY2hMZW5ndGgFAAAAA25pbAUAAAAJc2VwYXJhdG9yAAAAABFrZXlGaW5hbGl6ZVJld2FyZAkABLkAAAACCQAETAAAAAICAAAAAiVzCQAETAAAAAICAAAADmZpbmFsaXplUmV3YXJkBQAAAANuaWwFAAAACXNlcGFyYXRvcgAAAAAMa2V5V3hBc3Nld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tYW5hZ2VyAwkAAAAAAAACBQAAAAdjaGVja1BNBQAAAAdjaGVja1BNCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAQAAABNrZXlNYW5hZ2VyUHVibGljS2V5AAAAAAkAAlgAAAABCQEAAAAFdmFsdWUAAAABBQAAAAJwbQkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABCQEAAAAaa2V5UGVuZGluZ01hbmFnZXJQdWJsaWNLZXkAAAAABQAAAANuaWwJAAACAAAAAQIAAAAkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuCQAAAgAAAAECAAAAJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAAD3RhcmdldFB1YmxpY0tleQQAAAAHJG1hdGNoMAkBAAAAFm1hbmFnZXJQdWJsaWNLZXlPclVuaXQAAAAAAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAApCeXRlVmVjdG9yBAAAAAJwawUAAAAHJG1hdGNoMAUAAAACcGsDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABFVuaXQIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkJAAACAAAAAQIAAAALTWF0Y2ggZXJyb3IJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAA90YXJnZXRQdWJsaWNLZXlV7N8C", "height": 2489828, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: DFskF8oUYrwdakX5PRSWnuJdAtkhURJk8kdsN5DtCrie Next: 7P2MLKwxfFVKYpVVkAFLmveKdf7Pmwu2xpMjmPXGqSQS 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 = makeString(["%s", "fee"], a) | |
7 | 7 | ||
8 | 8 | let c = makeString(["%s", "usdnAssetId"], a) | |
9 | 9 | ||
10 | 10 | let d = makeString(["%s", "epochLength"], a) | |
11 | 11 | ||
12 | 12 | let e = makeString(["%s", "finalizeReward"], a) | |
13 | 13 | ||
14 | 14 | let f = makeString(["%s", "wxAssetId"], a) | |
15 | 15 | ||
16 | 16 | let g = makeString(["%s", "assetsStoreContract"], a) | |
17 | 17 | ||
18 | 18 | let h = makeString(["%s", "userPoolContract"], a) | |
19 | 19 | ||
20 | 20 | let i = makeString(["%s", "emissionContract"], a) | |
21 | 21 | ||
22 | 22 | let j = makeString(["%s", "boostingContract"], a) | |
23 | 23 | ||
24 | 24 | let k = makeString(["%s", "factoryContract"], a) | |
25 | 25 | ||
26 | 26 | let l = makeString(["%s", "votingEmissionContract"], a) | |
27 | 27 | ||
28 | 28 | let m = makeString(["%s", "votingThreshold"], a) | |
29 | 29 | ||
30 | 30 | func n (o) = valueOrErrorMessage(getString(this, o), (o + " is not defined")) | |
31 | 31 | ||
32 | 32 | ||
33 | 33 | func p (o) = valueOrErrorMessage(getInteger(this, o), (o + " is not defined")) | |
34 | 34 | ||
35 | 35 | ||
36 | 36 | func q (r,s) = makeString(["%s%s%s", "inList", r, s], a) | |
37 | 37 | ||
38 | 38 | ||
39 | 39 | func t (r,s) = makeString(["%s%s%s", "suggestIndex", r, s], a) | |
40 | 40 | ||
41 | 41 | ||
42 | 42 | func u (r,s,v) = makeString(["%s%s%s%d", "startHeight", r, s, toString(v)], a) | |
43 | 43 | ||
44 | 44 | ||
45 | 45 | func w (r,s,v) = makeString(["%s%s%s%d", "votingResult", r, s, toString(v)], a) | |
46 | 46 | ||
47 | 47 | ||
48 | 48 | func x (y,z) = makeString(["%d%d", y, z], a) | |
49 | 49 | ||
50 | 50 | ||
51 | 51 | func A (r,s,v,B) = makeString(["%s%s%s%d%s", "vote", r, s, toString(v), B], a) | |
52 | 52 | ||
53 | 53 | ||
54 | 54 | func C (D,E) = { | |
55 | 55 | let o = if (E) | |
56 | 56 | then makeString(["%d%s", D, "yes"], a) | |
57 | 57 | else makeString(["%d%s", D, "no"], a) | |
58 | 58 | o | |
59 | 59 | } | |
60 | 60 | ||
61 | 61 | ||
62 | 62 | func F (G) = { | |
63 | 63 | let H = G | |
64 | 64 | let r = H._1 | |
65 | 65 | let s = H._2 | |
66 | 66 | makeString(["%s%s%s", "inList", r, s], a) | |
67 | 67 | } | |
68 | 68 | ||
69 | 69 | ||
70 | 70 | func I () = "%s__managerPublicKey" | |
71 | 71 | ||
72 | 72 | ||
73 | 73 | func J () = "%s__pendingManagerPublicKey" | |
74 | 74 | ||
75 | 75 | ||
76 | 76 | let K = addressFromStringValue(n(g)) | |
77 | 77 | ||
78 | 78 | let L = addressFromStringValue(n(j)) | |
79 | 79 | ||
80 | 80 | let M = addressFromStringValue(n(i)) | |
81 | 81 | ||
82 | 82 | let N = addressFromStringValue(n(k)) | |
83 | 83 | ||
84 | 84 | let O = addressFromStringValue(n(h)) | |
85 | 85 | ||
86 | 86 | let P = addressFromStringValue(n(l)) | |
87 | 87 | ||
88 | 88 | func Q () = { | |
89 | 89 | let R = getString(I()) | |
90 | 90 | if ($isInstanceOf(R, "String")) | |
91 | 91 | then { | |
92 | 92 | let S = R | |
93 | 93 | fromBase58String(S) | |
94 | 94 | } | |
95 | 95 | else if ($isInstanceOf(R, "Unit")) | |
96 | 96 | then unit | |
97 | 97 | else throw("Match error") | |
98 | 98 | } | |
99 | 99 | ||
100 | 100 | ||
101 | 101 | func T () = { | |
102 | 102 | let R = getString(J()) | |
103 | 103 | if ($isInstanceOf(R, "String")) | |
104 | 104 | then { | |
105 | 105 | let S = R | |
106 | 106 | fromBase58String(S) | |
107 | 107 | } | |
108 | 108 | else if ($isInstanceOf(R, "Unit")) | |
109 | 109 | then unit | |
110 | 110 | else throw("Match error") | |
111 | 111 | } | |
112 | 112 | ||
113 | 113 | ||
114 | 114 | func U (V) = { | |
115 | 115 | let R = Q() | |
116 | 116 | if ($isInstanceOf(R, "ByteVector")) | |
117 | 117 | then { | |
118 | 118 | let W = R | |
119 | 119 | (V.callerPublicKey == W) | |
120 | 120 | } | |
121 | 121 | else if ($isInstanceOf(R, "Unit")) | |
122 | 122 | then (V.caller == this) | |
123 | 123 | else throw("Match error") | |
124 | 124 | } | |
125 | 125 | ||
126 | 126 | ||
127 | 127 | func X (V) = if (U(V)) | |
128 | 128 | then true | |
129 | 129 | else throw("permission denied") | |
130 | 130 | ||
131 | 131 | ||
132 | 132 | func Y (Z) = { | |
133 | 133 | let R = Z | |
134 | 134 | if ($isInstanceOf(R, "Int")) | |
135 | 135 | then { | |
136 | 136 | let aa = R | |
137 | 137 | aa | |
138 | 138 | } | |
139 | 139 | else throw("failed to cast into Integer") | |
140 | 140 | } | |
141 | 141 | ||
142 | 142 | ||
143 | 143 | @Callable(V) | |
144 | 144 | func constructor (ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al) = { | |
145 | 145 | let am = [X(V), if (isDefined(addressFromString(ab))) | |
146 | 146 | then true | |
147 | 147 | else throw("Invalid asset_store contract address"), if (isDefined(addressFromString(ac))) | |
148 | 148 | then true | |
149 | 149 | else throw("Invalid boosting contract address"), if (isDefined(addressFromString(af))) | |
150 | 150 | then true | |
151 | 151 | else throw("Invalid user_pools contract address"), if (isDefined(addressFromString(ad))) | |
152 | 152 | then true | |
153 | 153 | else throw("Invalid emission contract address"), if (isDefined(addressFromString(ae))) | |
154 | 154 | then true | |
155 | 155 | else throw("Invalid factory contract address"), if ((ah >= 0)) | |
156 | 156 | then true | |
157 | 157 | else throw("Invalid fee amount"), if ((aj > 0)) | |
158 | 158 | then true | |
159 | 159 | else throw("Invalid voting duration"), if ((al >= 0)) | |
160 | 160 | then true | |
161 | 161 | else throw("Invalid finalize reward"), if (isDefined(assetInfo(fromBase58String(ai)))) | |
162 | 162 | then true | |
163 | 163 | else throw("Invalid WX asset ID"), if (isDefined(assetInfo(fromBase58String(ak)))) | |
164 | 164 | then true | |
165 | 165 | else throw("Invalid USDN asset ID")] | |
166 | 166 | if ((am == am)) | |
167 | 167 | then $Tuple2([StringEntry(g, ab), StringEntry(j, ac), StringEntry(i, ad), StringEntry(k, ae), StringEntry(h, af), StringEntry(l, ag), IntegerEntry(b, ah), IntegerEntry(d, aj), IntegerEntry(e, al), StringEntry(f, ai), StringEntry(c, ak)], unit) | |
168 | 168 | else throw("Strict value is not equal to itself.") | |
169 | 169 | } | |
170 | 170 | ||
171 | 171 | ||
172 | 172 | ||
173 | 173 | @Callable(V) | |
174 | 174 | func constructorV2 (an) = { | |
175 | 175 | let am = [X(V), if ((an > 0)) | |
176 | 176 | then true | |
177 | 177 | else throw("invalid threshold")] | |
178 | 178 | if ((am == am)) | |
179 | 179 | then $Tuple2([IntegerEntry(m, an)], unit) | |
180 | 180 | else throw("Strict value is not equal to itself.") | |
181 | 181 | } | |
182 | 182 | ||
183 | 183 | ||
184 | 184 | ||
185 | 185 | @Callable(V) | |
186 | 186 | func suggest (r,s) = { | |
187 | 187 | let G = $Tuple2(r, s) | |
188 | 188 | let ao = value(V.payments[0]) | |
189 | 189 | let ap = if ((r == "WAVES")) | |
190 | 190 | then unit | |
191 | 191 | else { | |
192 | 192 | let aq = valueOrErrorMessage(assetInfo(fromBase58String(r)), "invalid amountAssetId ID") | |
193 | 193 | if ((aq.scripted == false)) | |
194 | 194 | then true | |
195 | 195 | else throw("asset is smart") | |
196 | 196 | } | |
197 | 197 | if ((ap == ap)) | |
198 | 198 | then { | |
199 | 199 | let am = [if ((toBase58String(value(ao.assetId)) == value(getString(f)))) | |
200 | 200 | then true | |
201 | 201 | else throw("invalid fee asset"), if ((ao.amount == value(getInteger(b)))) | |
202 | 202 | then true | |
203 | 203 | else throw("invalid fee amount"), if ((getInteger(q(r, s)) == unit)) | |
204 | 204 | then true | |
205 | 205 | else throw("already in voting list"), if (!(valueOrElse(getBoolean(P, F(G)), false))) | |
206 | 206 | then true | |
207 | 207 | else throw("pool is in emission voting list")] | |
208 | 208 | if ((am == am)) | |
209 | 209 | then { | |
210 | 210 | let ar = { | |
211 | 211 | let R = invoke(O, "statusREADONLY", [r, s], nil) | |
212 | 212 | if ($isInstanceOf(R, "String")) | |
213 | 213 | then { | |
214 | 214 | let S = R | |
215 | 215 | if ((S == "active")) | |
216 | 216 | then true | |
217 | 217 | else throw("user pool is not active") | |
218 | 218 | } | |
219 | 219 | else throw("user pool is not active") | |
220 | 220 | } | |
221 | 221 | if ((ar == ar)) | |
222 | 222 | then { | |
223 | 223 | let as = if (U(V)) | |
224 | 224 | then unit | |
225 | 225 | else { | |
226 | 226 | let at = { | |
227 | 227 | let R = invoke(K, "isVerifiedREADONLY", [r], nil) | |
228 | 228 | if ($isInstanceOf(R, "Boolean")) | |
229 | 229 | then { | |
230 | 230 | let au = R | |
231 | 231 | if (au) | |
232 | 232 | then true | |
233 | 233 | else throw("asset is not verified") | |
234 | 234 | } | |
235 | 235 | else throw("asset is not verified") | |
236 | 236 | } | |
237 | 237 | if ((at == at)) | |
238 | 238 | then unit | |
239 | 239 | else throw("Strict value is not equal to itself.") | |
240 | 240 | } | |
241 | 241 | if ((as == as)) | |
242 | 242 | then { | |
243 | 243 | let av = invoke(M, "burn", nil, [AttachedPayment(ao.assetId, ao.amount)]) | |
244 | 244 | if ((av == av)) | |
245 | 245 | then { | |
246 | 246 | let aw = { | |
247 | 247 | let R = getInteger(t(r, s)) | |
248 | 248 | if ($isInstanceOf(R, "Int")) | |
249 | 249 | then { | |
250 | 250 | let ax = R | |
251 | 251 | (ax + 1) | |
252 | 252 | } | |
253 | 253 | else 0 | |
254 | 254 | } | |
255 | 255 | $Tuple2([IntegerEntry(q(r, s), aw), IntegerEntry(u(r, s, aw), height), StringEntry(w(r, s, aw), x("0", "0")), IntegerEntry(t(r, s), aw)], unit) | |
256 | 256 | } | |
257 | 257 | else throw("Strict value is not equal to itself.") | |
258 | 258 | } | |
259 | 259 | else throw("Strict value is not equal to itself.") | |
260 | 260 | } | |
261 | 261 | else throw("Strict value is not equal to itself.") | |
262 | 262 | } | |
263 | 263 | else throw("Strict value is not equal to itself.") | |
264 | 264 | } | |
265 | 265 | else throw("Strict value is not equal to itself.") | |
266 | 266 | } | |
267 | 267 | ||
268 | 268 | ||
269 | 269 | ||
270 | 270 | @Callable(V) | |
271 | 271 | func vote (r,s,ay) = { | |
272 | 272 | let v = value(getInteger(q(r, s))) | |
273 | 273 | let az = (value(getInteger(u(r, s, v))) + value(getInteger(d))) | |
274 | 274 | let am = [if (isDefined(getInteger(q(r, s)))) | |
275 | 275 | then true | |
276 | 276 | else throw("the token isn't on the voting list"), if ((az > height)) | |
277 | 277 | then true | |
278 | 278 | else throw("too late to vote")] | |
279 | 279 | if ((am == am)) | |
280 | 280 | then { | |
281 | 281 | let D = invoke(L, "getUserGwxAmountAtHeightREADONLY", [toString(V.caller), az], nil) | |
282 | 282 | let aA = if ((Y(D) > 0)) | |
283 | 283 | then true | |
284 | 284 | else throw("you don't have gwx") | |
285 | 285 | if ((aA == aA)) | |
286 | 286 | then { | |
287 | 287 | let E = { | |
288 | 288 | let R = getString(A(r, s, v, toString(V.caller))) | |
289 | 289 | if ($isInstanceOf(R, "String")) | |
290 | 290 | then { | |
291 | 291 | let S = R | |
292 | 292 | let E = split(S, a) | |
293 | 293 | let aB = E[1] | |
294 | 294 | let aC = E[2] | |
295 | 295 | let aD = if (if ((aC == "yes")) | |
296 | 296 | then (ay == true) | |
297 | 297 | else false) | |
298 | 298 | then true | |
299 | 299 | else if ((aC == "no")) | |
300 | 300 | then (ay == false) | |
301 | 301 | else false | |
302 | 302 | let aE = if (aD) | |
303 | 303 | then (Y(D) == parseIntValue(aB)) | |
304 | 304 | else false | |
305 | 305 | let aF = if (if (aD) | |
306 | 306 | then aE | |
307 | 307 | else false) | |
308 | 308 | then throw("you already voted") | |
309 | 309 | else invoke(this, "cancelVote", [r, s], nil) | |
310 | 310 | aF | |
311 | 311 | } | |
312 | 312 | else if ($isInstanceOf(R, "Unit")) | |
313 | 313 | then { | |
314 | 314 | let aG = R | |
315 | 315 | aG | |
316 | 316 | } | |
317 | 317 | else throw("Match error") | |
318 | 318 | } | |
319 | 319 | if ((E == E)) | |
320 | 320 | then { | |
321 | 321 | let aH = split(value(getString(w(r, s, v))), a) | |
322 | 322 | let aI = aH[1] | |
323 | 323 | let aJ = aH[2] | |
324 | 324 | let aK = if (ay) | |
325 | 325 | then { | |
326 | 326 | let aL = (parseIntValue(aI) + Y(D)) | |
327 | 327 | [toString(aL), aJ] | |
328 | 328 | } | |
329 | 329 | else { | |
330 | 330 | let aM = (parseIntValue(aJ) + Y(D)) | |
331 | 331 | [aI, toString(aM)] | |
332 | 332 | } | |
333 | 333 | let aN = A(r, s, v, toString(V.caller)) | |
334 | 334 | let aB = C(toString(Y(D)), ay) | |
335 | 335 | $Tuple2([StringEntry(w(r, s, v), x(aK[0], aK[1])), StringEntry(aN, aB)], unit) | |
336 | 336 | } | |
337 | 337 | else throw("Strict value is not equal to itself.") | |
338 | 338 | } | |
339 | 339 | else throw("Strict value is not equal to itself.") | |
340 | 340 | } | |
341 | 341 | else throw("Strict value is not equal to itself.") | |
342 | 342 | } | |
343 | 343 | ||
344 | 344 | ||
345 | 345 | ||
346 | 346 | @Callable(V) | |
347 | 347 | func cancelVote (r,s) = { | |
348 | 348 | let aO = if ((V.caller == this)) | |
349 | 349 | then toString(V.originCaller) | |
350 | 350 | else toString(V.caller) | |
351 | 351 | let v = value(getInteger(q(r, s))) | |
352 | 352 | let am = [if (isDefined(getString(w(r, s, v)))) | |
353 | 353 | then true | |
354 | 354 | else throw("no vote for assets pair")] | |
355 | 355 | if ((am == am)) | |
356 | 356 | then { | |
357 | 357 | let E = split(value(getString(A(r, s, v, aO))), a) | |
358 | 358 | let aB = E[1] | |
359 | 359 | let aC = E[2] | |
360 | 360 | let aH = split(value(getString(w(r, s, v))), a) | |
361 | 361 | let aI = aH[1] | |
362 | 362 | let aJ = aH[2] | |
363 | 363 | let aP = if ((aC == "yes")) | |
364 | 364 | then { | |
365 | 365 | let aL = (parseIntValue(aI) - parseIntValue(aB)) | |
366 | 366 | $Tuple2([StringEntry(w(r, s, v), x(toString(aL), aJ)), DeleteEntry(A(r, s, v, aO))], unit) | |
367 | 367 | } | |
368 | 368 | else { | |
369 | 369 | let aM = (parseIntValue(aJ) - parseIntValue(aB)) | |
370 | 370 | $Tuple2([StringEntry(w(r, s, v), x(aI, toString(aM))), DeleteEntry(A(r, s, v, aO))], unit) | |
371 | 371 | } | |
372 | 372 | aP | |
373 | 373 | } | |
374 | 374 | else throw("Strict value is not equal to itself.") | |
375 | 375 | } | |
376 | 376 | ||
377 | 377 | ||
378 | 378 | ||
379 | 379 | @Callable(V) | |
380 | 380 | func setFee (aQ) = { | |
381 | 381 | let am = [X(V)] | |
382 | 382 | if ((am == am)) | |
383 | 383 | then [IntegerEntry(b, aQ)] | |
384 | 384 | else throw("Strict value is not equal to itself.") | |
385 | 385 | } | |
386 | 386 | ||
387 | 387 | ||
388 | 388 | ||
389 | 389 | @Callable(V) | |
390 | 390 | func setThreshold (aR) = { | |
391 | 391 | let am = [X(V), if ((aR > 0)) | |
392 | 392 | then true | |
393 | 393 | else throw("invalid threshold")] | |
394 | 394 | if ((am == am)) | |
395 | 395 | then $Tuple2([IntegerEntry(m, aR)], unit) | |
396 | 396 | else throw("Strict value is not equal to itself.") | |
397 | 397 | } | |
398 | 398 | ||
399 | 399 | ||
400 | 400 | ||
401 | 401 | @Callable(V) | |
402 | 402 | func finalize (r,s) = { | |
403 | 403 | let v = value(getInteger(q(r, s))) | |
404 | 404 | let az = (value(getInteger(u(r, s, v))) + value(getInteger(d))) | |
405 | 405 | let am = [if (isDefined(getInteger(q(r, s)))) | |
406 | 406 | then true | |
407 | 407 | else throw("no assets pair"), if ((height >= az)) | |
408 | 408 | then true | |
409 | 409 | else throw("insufficient height for completion")] | |
410 | 410 | if ((am == am)) | |
411 | 411 | then { | |
412 | 412 | let aH = split(value(getString(w(r, s, v))), a) | |
413 | 413 | let aI = parseIntValue(aH[1]) | |
414 | 414 | let aJ = parseIntValue(aH[2]) | |
415 | 415 | let aS = (aI + aJ) | |
416 | 416 | let an = p(m) | |
417 | 417 | let aP = if (if ((aS >= an)) | |
418 | 418 | then (aI > aJ) | |
419 | 419 | else false) | |
420 | 420 | then { | |
421 | 421 | let aT = invoke(N, "setWxEmissionPoolLabel", [r, s], nil) | |
422 | 422 | if ((aT == aT)) | |
423 | 423 | then { | |
424 | 424 | let aU = invoke(P, "create", [r, s], nil) | |
425 | 425 | if ((aU == aU)) | |
426 | 426 | then $Tuple2([DeleteEntry(q(r, s))], unit) | |
427 | 427 | else throw("Strict value is not equal to itself.") | |
428 | 428 | } | |
429 | 429 | else throw("Strict value is not equal to itself.") | |
430 | 430 | } | |
431 | 431 | else $Tuple2([DeleteEntry(q(r, s))], unit) | |
432 | 432 | aP | |
433 | 433 | } | |
434 | 434 | else throw("Strict value is not equal to itself.") | |
435 | 435 | } | |
436 | 436 | ||
437 | 437 | ||
438 | 438 | ||
439 | 439 | @Callable(V) | |
440 | 440 | func setManager (aV) = { | |
441 | 441 | let aW = X(V) | |
442 | 442 | if ((aW == aW)) | |
443 | 443 | then { | |
444 | 444 | let aX = fromBase58String(aV) | |
445 | 445 | if ((aX == aX)) | |
446 | 446 | then [StringEntry(J(), aV)] | |
447 | 447 | else throw("Strict value is not equal to itself.") | |
448 | 448 | } | |
449 | 449 | else throw("Strict value is not equal to itself.") | |
450 | 450 | } | |
451 | 451 | ||
452 | 452 | ||
453 | 453 | ||
454 | 454 | @Callable(V) | |
455 | 455 | func confirmManager () = { | |
456 | 456 | let aY = T() | |
457 | 457 | let aZ = if (isDefined(aY)) | |
458 | 458 | then true | |
459 | 459 | else throw("no pending manager") | |
460 | 460 | if ((aZ == aZ)) | |
461 | 461 | then { | |
462 | 462 | let ba = if ((V.callerPublicKey == value(aY))) | |
463 | 463 | then true | |
464 | 464 | else throw("you are not pending manager") | |
465 | 465 | if ((ba == ba)) | |
466 | 466 | then [StringEntry(I(), toBase58String(value(aY))), DeleteEntry(J())] | |
467 | 467 | else throw("Strict value is not equal to itself.") | |
468 | 468 | } | |
469 | 469 | else throw("Strict value is not equal to itself.") | |
470 | 470 | } | |
471 | 471 | ||
472 | 472 | ||
473 | 473 | @Verifier(bb) | |
474 | 474 | func bc () = { | |
475 | 475 | let bd = { | |
476 | 476 | let R = Q() | |
477 | 477 | if ($isInstanceOf(R, "ByteVector")) | |
478 | 478 | then { | |
479 | 479 | let W = R | |
480 | 480 | W | |
481 | 481 | } | |
482 | 482 | else if ($isInstanceOf(R, "Unit")) | |
483 | 483 | then bb.senderPublicKey | |
484 | 484 | else throw("Match error") | |
485 | 485 | } | |
486 | 486 | sigVerify(bb.bodyBytes, bb.proofs[0], bd) | |
487 | 487 | } | |
488 | 488 |
github/deemru/w8io/169f3d6 78.84 ms ◑