tx · ysGhs6RRNT7Pviy1geShijGAp1tUAo77ZChyUg33sxx 3MuS6qVvhBR6wSynFRdcE3fVqmGBjoc7Hhx: -0.01600000 Waves 2023.08.18 12:45 [2715873] smart account 3MuS6qVvhBR6wSynFRdcE3fVqmGBjoc7Hhx > SELF 0.00000000 Waves
{ "type": 13, "id": "ysGhs6RRNT7Pviy1geShijGAp1tUAo77ZChyUg33sxx", "fee": 1600000, "feeAssetId": null, "timestamp": 1692351925677, "version": 1, "sender": "3MuS6qVvhBR6wSynFRdcE3fVqmGBjoc7Hhx", "senderPublicKey": "62CHk4MqTdq3LqeUycy7TPnpvwrjgerSa2FqAY2EafXn", "proofs": [ "2nr6zaE7dKmjmEgsWZ3pmL8zGqicVFHecTBSNePNwF1NoeXAz4rHZ1togdEt11TGwNy6UBC7i8qX8aCBxdzcEC1j" ], "script": "base64:BwKLAQgCEgQKAggIEgQKAggBEgQKAggEEgQKAggCEgMKAQgSAwoBARIDCgEBEgUKAwIBAhIFCgMCGBgSBAoCAgESBAoCAgESBgoEAQEBARIGCgQBAQEBEgASABIDCgEIEgMKARgSABIAEgMKAQgSABIECgIICBIECgIIGBIFCgMICAESBQoDAgIBEgMKAQg3AANTRVACAl9fAAVXQVZFUwIFV0FWRVMAEGNvbnRyYWN0RmlsZW5hbWUCDGZhY3RvcnkucmlkZQEHd3JhcEVycgEBcwkArAICCQCsAgIFEGNvbnRyYWN0RmlsZW5hbWUCAjogBQFzAQh0aHJvd0VycgEBcwkAAgEJAQd3cmFwRXJyAQUBcwEPc3RyaW5nVG9Bc3NldElkAQFzAwkAAAIFAXMFBVdBVkVTBQR1bml0CQDZBAEFAXMAD0FETUlOX0xJU1RfU0laRQAFAAZRVU9SVU0AAwARVFhJRF9CWVRFU19MRU5HVEgAIAEYa2V5QWxsb3dlZFR4SWRWb3RlUHJlZml4AQR0eElkCQC5CQIJAMwIAgIGJXMlcyVzCQDMCAICCWFsbG93VHhJZAkAzAgCBQR0eElkBQNuaWwFA1NFUAE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bmdSZXN1bHRBZGRyZXNzT3B0aW9uAwkAAQIFByRtYXRjaDACB0FkZHJlc3MED3Byb3Bvc2FsQWRkcmVzcwUHJG1hdGNoMAkBC3ZhbHVlT3JFbHNlAgkAmwgCBQ9wcm9wb3NhbEFkZHJlc3MJARlrZXlQcm9wb3NhbEFsbG93QnJvYWRjYXN0AgUEdGhpcwgFAnR4AmlkBwcECGJ5QWRtaW5zCQAAAggFAnR4AmlkCQDZBAEJAQt2YWx1ZU9yRWxzZQIJAJ0IAgUEdGhpcwkBDmtleUFsbG93ZWRUeElkAAIABAdieU93bmVyAwkAZwIJAJADAQkBDWdldEFkbWluc0xpc3QABQZRVU9SVU0HCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAACAUCdHgPc2VuZGVyUHVibGljS2V5AwMFCmJ5UHJvcG9zYWwGBQhieUFkbWlucwYFB2J5T3duZXJdPFs0", "chainId": 84, "height": 2715873, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: FXb26Pv6teioqW9FFDbAUvLnz3dVykkrUj1zwCuwhn4k Next: 5v7c3o9Gc5sUGvX6nshxUZ6hhS9gnuRNerTFrzswEt47 Diff:
Old | New | Differences | |
---|---|---|---|
441 | 441 | ||
442 | 442 | ||
443 | 443 | @Callable(aH) | |
444 | + | func rewardSplitREADONLY () = $Tuple2(nil, reentrantInvoke(aj, "rewardSplitREADONLY", nil, nil)) | |
445 | + | ||
446 | + | ||
447 | + | ||
448 | + | @Callable(aH) | |
444 | 449 | func claimLP () = $Tuple2(nil, reentrantInvoke(aj, "claimLP", [aH.caller.bytes], aH.payments)) | |
445 | 450 | ||
446 | 451 |
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 = "WAVES" | |
7 | 7 | ||
8 | 8 | let c = "factory.ride" | |
9 | 9 | ||
10 | 10 | func d (e) = ((c + ": ") + e) | |
11 | 11 | ||
12 | 12 | ||
13 | 13 | func f (e) = throw(d(e)) | |
14 | 14 | ||
15 | 15 | ||
16 | 16 | func g (e) = if ((e == b)) | |
17 | 17 | then unit | |
18 | 18 | else fromBase58String(e) | |
19 | 19 | ||
20 | 20 | ||
21 | 21 | let h = 5 | |
22 | 22 | ||
23 | 23 | let i = 3 | |
24 | 24 | ||
25 | 25 | let j = 32 | |
26 | 26 | ||
27 | 27 | func k (l) = makeString(["%s%s%s", "allowTxId", l], a) | |
28 | 28 | ||
29 | 29 | ||
30 | 30 | func m (n,o) = makeString([n, o], a) | |
31 | 31 | ||
32 | 32 | ||
33 | 33 | func p () = makeString(["%s", "adminAddressList"], a) | |
34 | 34 | ||
35 | 35 | ||
36 | 36 | func q () = makeString(["%s", "txId"], a) | |
37 | 37 | ||
38 | 38 | ||
39 | 39 | func r (n,s) = { | |
40 | 40 | let t = m(n, s) | |
41 | 41 | valueOrElse(getInteger(t), 0) | |
42 | 42 | } | |
43 | 43 | ||
44 | 44 | ||
45 | 45 | func u () = { | |
46 | 46 | let v = getString(this, p()) | |
47 | 47 | if ($isInstanceOf(v, "String")) | |
48 | 48 | then { | |
49 | 49 | let e = v | |
50 | 50 | split(e, a) | |
51 | 51 | } | |
52 | 52 | else nil | |
53 | 53 | } | |
54 | 54 | ||
55 | 55 | ||
56 | 56 | func w (x) = containsElement(u(), x) | |
57 | 57 | ||
58 | 58 | ||
59 | 59 | func y (z,o) = { | |
60 | 60 | let A = z | |
61 | 61 | let B = A._1 | |
62 | 62 | let n = A._2 | |
63 | 63 | $Tuple2((B :+ m(n, o)), n) | |
64 | 64 | } | |
65 | 65 | ||
66 | 66 | ||
67 | 67 | func C (D) = { | |
68 | 68 | let E = p() | |
69 | 69 | let F = { | |
70 | 70 | let G = u() | |
71 | 71 | let H = size(G) | |
72 | 72 | let I = $Tuple2(nil, D) | |
73 | 73 | func J (K,L) = if ((L >= H)) | |
74 | 74 | then K | |
75 | 75 | else y(K, G[L]) | |
76 | 76 | ||
77 | 77 | func M (K,L) = if ((L >= H)) | |
78 | 78 | then K | |
79 | 79 | else throw("List size exceeds 5") | |
80 | 80 | ||
81 | 81 | M(J(J(J(J(J(I, 0), 1), 2), 3), 4), 5) | |
82 | 82 | } | |
83 | 83 | let B = F._1 | |
84 | 84 | let n = F._2 | |
85 | 85 | B | |
86 | 86 | } | |
87 | 87 | ||
88 | 88 | ||
89 | 89 | func N (B,t) = (B + valueOrElse(getInteger(t), 0)) | |
90 | 90 | ||
91 | 91 | ||
92 | 92 | func O (n) = { | |
93 | 93 | let P = C(n) | |
94 | 94 | let G = P | |
95 | 95 | let H = size(G) | |
96 | 96 | let I = 0 | |
97 | 97 | func J (K,L) = if ((L >= H)) | |
98 | 98 | then K | |
99 | 99 | else N(K, G[L]) | |
100 | 100 | ||
101 | 101 | func M (K,L) = if ((L >= H)) | |
102 | 102 | then K | |
103 | 103 | else throw("List size exceeds 5") | |
104 | 104 | ||
105 | 105 | M(J(J(J(J(J(I, 0), 1), 2), 3), 4), 5) | |
106 | 106 | } | |
107 | 107 | ||
108 | 108 | ||
109 | 109 | func Q (B,R) = (B :+ DeleteEntry(R)) | |
110 | 110 | ||
111 | 111 | ||
112 | 112 | func S (n) = { | |
113 | 113 | let P = C(n) | |
114 | 114 | let G = P | |
115 | 115 | let H = size(G) | |
116 | 116 | let I = nil | |
117 | 117 | func J (K,L) = if ((L >= H)) | |
118 | 118 | then K | |
119 | 119 | else Q(K, G[L]) | |
120 | 120 | ||
121 | 121 | func M (K,L) = if ((L >= H)) | |
122 | 122 | then K | |
123 | 123 | else throw("List size exceeds 5") | |
124 | 124 | ||
125 | 125 | M(J(J(J(J(J(I, 0), 1), 2), 3), 4), 5) | |
126 | 126 | } | |
127 | 127 | ||
128 | 128 | ||
129 | 129 | func T (U,D,V,W) = { | |
130 | 130 | let t = m(D, U) | |
131 | 131 | let X = r(D, U) | |
132 | 132 | let Y = if (!(w(U))) | |
133 | 133 | then f((("Address: " + U) + " not in Admin list")) | |
134 | 134 | else if ((X == 1)) | |
135 | 135 | then f((t + " you already voted")) | |
136 | 136 | else unit | |
137 | 137 | if ((Y == Y)) | |
138 | 138 | then { | |
139 | 139 | let P = O(D) | |
140 | 140 | if (((P + 1) >= V)) | |
141 | 141 | then { | |
142 | 142 | let Z = S(D) | |
143 | 143 | (Z ++ W) | |
144 | 144 | } | |
145 | 145 | else [IntegerEntry(t, 1)] | |
146 | 146 | } | |
147 | 147 | else throw("Strict value is not equal to itself.") | |
148 | 148 | } | |
149 | 149 | ||
150 | 150 | ||
151 | 151 | func aa () = "%s__calculator" | |
152 | 152 | ||
153 | 153 | ||
154 | 154 | func ab () = "%s__proxyTreasury" | |
155 | 155 | ||
156 | 156 | ||
157 | 157 | func ac () = "%s__powerContract" | |
158 | 158 | ||
159 | 159 | ||
160 | 160 | func ad () = "%s__swapContract" | |
161 | 161 | ||
162 | 162 | ||
163 | 163 | func ae () = "%s__child" | |
164 | 164 | ||
165 | 165 | ||
166 | 166 | func af () = "%s__blockProcessingReward" | |
167 | 167 | ||
168 | 168 | ||
169 | 169 | func ag () = "%s__nextBlockToProcess" | |
170 | 170 | ||
171 | 171 | ||
172 | 172 | func ah () = "%s__lpAssetId" | |
173 | 173 | ||
174 | 174 | ||
175 | 175 | let ai = { | |
176 | 176 | let v = getString(this, aa()) | |
177 | 177 | if ($isInstanceOf(v, "String")) | |
178 | 178 | then { | |
179 | 179 | let e = v | |
180 | 180 | addressFromString(e) | |
181 | 181 | } | |
182 | 182 | else if ($isInstanceOf(v, "Unit")) | |
183 | 183 | then unit | |
184 | 184 | else throw("Match error") | |
185 | 185 | } | |
186 | 186 | ||
187 | 187 | let aj = valueOrErrorMessage(ai, d("invalid calculator address")) | |
188 | 188 | ||
189 | 189 | let ak = { | |
190 | 190 | let v = getString(this, ab()) | |
191 | 191 | if ($isInstanceOf(v, "String")) | |
192 | 192 | then { | |
193 | 193 | let e = v | |
194 | 194 | addressFromString(e) | |
195 | 195 | } | |
196 | 196 | else if ($isInstanceOf(v, "Unit")) | |
197 | 197 | then unit | |
198 | 198 | else throw("Match error") | |
199 | 199 | } | |
200 | 200 | ||
201 | 201 | let al = valueOrErrorMessage(ak, d("invalid proxy treasury address")) | |
202 | 202 | ||
203 | 203 | let am = { | |
204 | 204 | let v = getString(this, ac()) | |
205 | 205 | if ($isInstanceOf(v, "String")) | |
206 | 206 | then { | |
207 | 207 | let e = v | |
208 | 208 | addressFromString(e) | |
209 | 209 | } | |
210 | 210 | else if ($isInstanceOf(v, "Unit")) | |
211 | 211 | then unit | |
212 | 212 | else throw("Match error") | |
213 | 213 | } | |
214 | 214 | ||
215 | 215 | let an = valueOrErrorMessage(am, d("invalid power contract address")) | |
216 | 216 | ||
217 | 217 | let ao = { | |
218 | 218 | let v = getString(this, ad()) | |
219 | 219 | if ($isInstanceOf(v, "String")) | |
220 | 220 | then { | |
221 | 221 | let e = v | |
222 | 222 | addressFromString(e) | |
223 | 223 | } | |
224 | 224 | else if ($isInstanceOf(v, "Unit")) | |
225 | 225 | then unit | |
226 | 226 | else throw("Match error") | |
227 | 227 | } | |
228 | 228 | ||
229 | 229 | let ap = valueOrErrorMessage(ao, d("invalid swap contract address")) | |
230 | 230 | ||
231 | 231 | func aq () = "%s__config" | |
232 | 232 | ||
233 | 233 | ||
234 | 234 | func ar () = "contract_children" | |
235 | 235 | ||
236 | 236 | ||
237 | 237 | func as () = "contract_voting_result" | |
238 | 238 | ||
239 | 239 | ||
240 | 240 | func at (x,l) = ((("proposal_allow_broadcast_" + toString(x)) + "_") + toBase58String(l)) | |
241 | 241 | ||
242 | 242 | ||
243 | 243 | func au (av,aw) = makeString(["investor", toString(av), toString(aw)], "_") | |
244 | 244 | ||
245 | 245 | ||
246 | 246 | let ax = { | |
247 | 247 | let v = getString(this, aq()) | |
248 | 248 | if ($isInstanceOf(v, "String")) | |
249 | 249 | then { | |
250 | 250 | let e = v | |
251 | 251 | addressFromString(e) | |
252 | 252 | } | |
253 | 253 | else if ($isInstanceOf(v, "Unit")) | |
254 | 254 | then unit | |
255 | 255 | else throw("Match error") | |
256 | 256 | } | |
257 | 257 | ||
258 | 258 | let ay = valueOrErrorMessage(ax, d("invalid config address")) | |
259 | 259 | ||
260 | 260 | let az = { | |
261 | 261 | let v = ax | |
262 | 262 | if ($isInstanceOf(v, "Address")) | |
263 | 263 | then { | |
264 | 264 | let z = v | |
265 | 265 | let aA = getString(z, as()) | |
266 | 266 | if ($isInstanceOf(aA, "String")) | |
267 | 267 | then { | |
268 | 268 | let e = aA | |
269 | 269 | addressFromString(e) | |
270 | 270 | } | |
271 | 271 | else if ($isInstanceOf(aA, "Unit")) | |
272 | 272 | then unit | |
273 | 273 | else throw("Match error") | |
274 | 274 | } | |
275 | 275 | else if ($isInstanceOf(v, "Unit")) | |
276 | 276 | then unit | |
277 | 277 | else throw("Match error") | |
278 | 278 | } | |
279 | 279 | ||
280 | 280 | let aB = valueOrErrorMessage(az, d("invalid voting result address")) | |
281 | 281 | ||
282 | 282 | let aC = { | |
283 | 283 | let v = ax | |
284 | 284 | if ($isInstanceOf(v, "Address")) | |
285 | 285 | then { | |
286 | 286 | let z = v | |
287 | 287 | let aA = getString(z, ar()) | |
288 | 288 | if ($isInstanceOf(aA, "String")) | |
289 | 289 | then { | |
290 | 290 | let e = aA | |
291 | 291 | addressFromString(e) | |
292 | 292 | } | |
293 | 293 | else if ($isInstanceOf(aA, "Unit")) | |
294 | 294 | then unit | |
295 | 295 | else throw("Match error") | |
296 | 296 | } | |
297 | 297 | else if ($isInstanceOf(v, "Unit")) | |
298 | 298 | then unit | |
299 | 299 | else throw("Match error") | |
300 | 300 | } | |
301 | 301 | ||
302 | 302 | let aD = valueOrErrorMessage(aC, d("invalid children address")) | |
303 | 303 | ||
304 | 304 | let aE = { | |
305 | 305 | let v = getString(this, ah()) | |
306 | 306 | if ($isInstanceOf(v, "String")) | |
307 | 307 | then { | |
308 | 308 | let e = v | |
309 | 309 | fromBase58String(e) | |
310 | 310 | } | |
311 | 311 | else if ($isInstanceOf(v, "Unit")) | |
312 | 312 | then unit | |
313 | 313 | else throw("Match error") | |
314 | 314 | } | |
315 | 315 | ||
316 | 316 | let aF = valueOrErrorMessage(aE, d("invalid lpAssetId")) | |
317 | 317 | ||
318 | 318 | func aG (aH,x) = if ((aH.caller == x)) | |
319 | 319 | then true | |
320 | 320 | else f("permission denied") | |
321 | 321 | ||
322 | 322 | ||
323 | 323 | func aI (aH) = aG(aH, this) | |
324 | 324 | ||
325 | 325 | ||
326 | 326 | func aJ (aH) = aG(aH, aj) | |
327 | 327 | ||
328 | 328 | ||
329 | 329 | @Callable(aH) | |
330 | 330 | func stringEntry (R,aK) = if (aJ(aH)) | |
331 | 331 | then $Tuple2([StringEntry(R, aK)], R) | |
332 | 332 | else $Tuple2(nil, unit) | |
333 | 333 | ||
334 | 334 | ||
335 | 335 | ||
336 | 336 | @Callable(aH) | |
337 | 337 | func integerEntry (R,aK) = if (aJ(aH)) | |
338 | 338 | then $Tuple2([IntegerEntry(R, aK)], R) | |
339 | 339 | else $Tuple2(nil, unit) | |
340 | 340 | ||
341 | 341 | ||
342 | 342 | ||
343 | 343 | @Callable(aH) | |
344 | 344 | func booleanEntry (R,aK) = if (aJ(aH)) | |
345 | 345 | then $Tuple2([BooleanEntry(R, aK)], R) | |
346 | 346 | else $Tuple2(nil, unit) | |
347 | 347 | ||
348 | 348 | ||
349 | 349 | ||
350 | 350 | @Callable(aH) | |
351 | 351 | func binaryEntry (R,aK) = if (aJ(aH)) | |
352 | 352 | then $Tuple2([BinaryEntry(R, aK)], R) | |
353 | 353 | else $Tuple2(nil, unit) | |
354 | 354 | ||
355 | 355 | ||
356 | 356 | ||
357 | 357 | @Callable(aH) | |
358 | 358 | func deleteEntry (R) = if (aJ(aH)) | |
359 | 359 | then $Tuple2([DeleteEntry(R)], R) | |
360 | 360 | else $Tuple2(nil, unit) | |
361 | 361 | ||
362 | 362 | ||
363 | 363 | ||
364 | 364 | @Callable(aH) | |
365 | 365 | func reissue (aL) = if (aJ(aH)) | |
366 | 366 | then $Tuple2([Reissue(aF, aL, true)], aL) | |
367 | 367 | else $Tuple2(nil, unit) | |
368 | 368 | ||
369 | 369 | ||
370 | 370 | ||
371 | 371 | @Callable(aH) | |
372 | 372 | func burn (aL) = if (aJ(aH)) | |
373 | 373 | then $Tuple2([Burn(aF, aL)], aL) | |
374 | 374 | else $Tuple2(nil, unit) | |
375 | 375 | ||
376 | 376 | ||
377 | 377 | ||
378 | 378 | @Callable(aH) | |
379 | 379 | func transferAsset (aM,aL,aN) = if (aJ(aH)) | |
380 | 380 | then $Tuple2([ScriptTransfer(Address(aM), aL, aN)], aL) | |
381 | 381 | else $Tuple2(nil, unit) | |
382 | 382 | ||
383 | 383 | ||
384 | 384 | ||
385 | 385 | @Callable(aH) | |
386 | 386 | func transferAssets (aM,aO,aP) = if (aJ(aH)) | |
387 | 387 | then { | |
388 | 388 | func aQ (aR,aS) = { | |
389 | 389 | let aT = aR | |
390 | 390 | let aU = aT._1 | |
391 | 391 | let aV = aT._2 | |
392 | 392 | let aW = ScriptTransfer(Address(aM), parseIntValue(aP[aV]), g(aO[aV])) | |
393 | 393 | let aX = (aU :+ aW) | |
394 | 394 | $Tuple2(aX, (aV + 1)) | |
395 | 395 | } | |
396 | 396 | ||
397 | 397 | let aY = { | |
398 | 398 | let G = aO | |
399 | 399 | let H = size(G) | |
400 | 400 | let I = $Tuple2(nil, 0) | |
401 | 401 | func J (K,L) = if ((L >= H)) | |
402 | 402 | then K | |
403 | 403 | else aQ(K, G[L]) | |
404 | 404 | ||
405 | 405 | func M (K,L) = if ((L >= H)) | |
406 | 406 | then K | |
407 | 407 | else throw("List size exceeds 10") | |
408 | 408 | ||
409 | 409 | M(J(J(J(J(J(J(J(J(J(J(I, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
410 | 410 | } | |
411 | 411 | let aZ = aY._1 | |
412 | 412 | let ba = aY._2 | |
413 | 413 | $Tuple2(aZ, unit) | |
414 | 414 | } | |
415 | 415 | else $Tuple2(nil, unit) | |
416 | 416 | ||
417 | 417 | ||
418 | 418 | ||
419 | 419 | @Callable(aH) | |
420 | 420 | func transferWaves (aM,aL) = if (aJ(aH)) | |
421 | 421 | then $Tuple2([ScriptTransfer(Address(aM), aL, unit)], aL) | |
422 | 422 | else $Tuple2(nil, unit) | |
423 | 423 | ||
424 | 424 | ||
425 | 425 | ||
426 | 426 | @Callable(aH) | |
427 | 427 | func transferFromProxyTreasury (aM,bb) = if (aJ(aH)) | |
428 | 428 | then $Tuple2(nil, invoke(al, "transferWaves", [aM, bb], nil)) | |
429 | 429 | else $Tuple2(nil, unit) | |
430 | 430 | ||
431 | 431 | ||
432 | 432 | ||
433 | 433 | @Callable(aH) | |
434 | 434 | func finalize (bc,bd,be,bf) = $Tuple2(nil, reentrantInvoke(aj, "finalize", [aH.caller.bytes, bc, bd, be, bf], aH.payments)) | |
435 | 435 | ||
436 | 436 | ||
437 | 437 | ||
438 | 438 | @Callable(aH) | |
439 | 439 | func finalizeREADONLY (bc,bd,be,bf) = $Tuple2(nil, reentrantInvoke(aj, "finalizeREADONLY", [bc, bd, be, bf], nil)) | |
440 | 440 | ||
441 | 441 | ||
442 | 442 | ||
443 | 443 | @Callable(aH) | |
444 | + | func rewardSplitREADONLY () = $Tuple2(nil, reentrantInvoke(aj, "rewardSplitREADONLY", nil, nil)) | |
445 | + | ||
446 | + | ||
447 | + | ||
448 | + | @Callable(aH) | |
444 | 449 | func claimLP () = $Tuple2(nil, reentrantInvoke(aj, "claimLP", [aH.caller.bytes], aH.payments)) | |
445 | 450 | ||
446 | 451 | ||
447 | 452 | ||
448 | 453 | @Callable(aH) | |
449 | 454 | func claimCollateral (bg) = $Tuple2(nil, reentrantInvoke(aj, "claimCollateral", [aH.caller.bytes, bg], aH.payments)) | |
450 | 455 | ||
451 | 456 | ||
452 | 457 | ||
453 | 458 | @Callable(aH) | |
454 | 459 | func claimCollateralBulk (bh) = $Tuple2(nil, reentrantInvoke(aj, "claimCollateralBulk", [aH.caller.bytes, bh], aH.payments)) | |
455 | 460 | ||
456 | 461 | ||
457 | 462 | ||
458 | 463 | @Callable(aH) | |
459 | 464 | func invest () = $Tuple2(nil, reentrantInvoke(aj, "invest", [aH.caller.bytes], aH.payments)) | |
460 | 465 | ||
461 | 466 | ||
462 | 467 | ||
463 | 468 | @Callable(aH) | |
464 | 469 | func withdraw () = $Tuple2(nil, reentrantInvoke(aj, "withdraw", [aH.caller.bytes], aH.payments)) | |
465 | 470 | ||
466 | 471 | ||
467 | 472 | ||
468 | 473 | @Callable(aH) | |
469 | 474 | func cancelWithdraw (bg) = $Tuple2(nil, reentrantInvoke(aj, "cancelWithdraw", [aH.caller.bytes, fromBase58String(bg)], aH.payments)) | |
470 | 475 | ||
471 | 476 | ||
472 | 477 | ||
473 | 478 | @Callable(aH) | |
474 | 479 | func processBlocks () = $Tuple2(nil, reentrantInvoke(aj, "processBlocks", [aH.caller.bytes], aH.payments)) | |
475 | 480 | ||
476 | 481 | ||
477 | 482 | ||
478 | 483 | @Callable(aH) | |
479 | 484 | func claimCollateralREADONLY (aw,bg) = $Tuple2(nil, reentrantInvoke(aj, "claimCollateralREADONLY", [fromBase58String(aw), bg], nil)) | |
480 | 485 | ||
481 | 486 | ||
482 | 487 | ||
483 | 488 | @Callable(aH) | |
484 | 489 | func claimCollateralBulkREADONLY (aw,bh) = $Tuple2(nil, reentrantInvoke(aj, "claimCollateralBulkREADONLY", [fromBase58String(aw), bh], nil)) | |
485 | 490 | ||
486 | 491 | ||
487 | 492 | ||
488 | 493 | @Callable(aH) | |
489 | 494 | func swap (aN,bi,bj) = { | |
490 | 495 | let bk = [aJ(aH)] | |
491 | 496 | if ((bk == bk)) | |
492 | 497 | then { | |
493 | 498 | let bl = if ((bi == "WAVES")) | |
494 | 499 | then unit | |
495 | 500 | else fromBase58String(bi) | |
496 | 501 | let bm = if ((aN == "WAVES")) | |
497 | 502 | then wavesBalance(this).available | |
498 | 503 | else assetBalance(this, fromBase58String(aN)) | |
499 | 504 | if ((bm == bm)) | |
500 | 505 | then { | |
501 | 506 | let bn = invoke(ap, "swap", [0, aN, toString(this)], [AttachedPayment(bl, bj)]) | |
502 | 507 | if ((bn == bn)) | |
503 | 508 | then { | |
504 | 509 | let bo = if ((aN == "WAVES")) | |
505 | 510 | then wavesBalance(this).available | |
506 | 511 | else assetBalance(this, fromBase58String(aN)) | |
507 | 512 | if ((bo == bo)) | |
508 | 513 | then $Tuple2(nil, (bo - bm)) | |
509 | 514 | else throw("Strict value is not equal to itself.") | |
510 | 515 | } | |
511 | 516 | else throw("Strict value is not equal to itself.") | |
512 | 517 | } | |
513 | 518 | else throw("Strict value is not equal to itself.") | |
514 | 519 | } | |
515 | 520 | else throw("Strict value is not equal to itself.") | |
516 | 521 | } | |
517 | 522 | ||
518 | 523 | ||
519 | 524 | ||
520 | 525 | @Callable(aH) | |
521 | 526 | func powerStake (aM,bp,aL) = if (aJ(aH)) | |
522 | 527 | then $Tuple2(nil, invoke(an, "commitForMiner", [toString(Address(aM))], [AttachedPayment(bp, aL)])) | |
523 | 528 | else $Tuple2(nil, unit) | |
524 | 529 | ||
525 | 530 | ||
526 | 531 | ||
527 | 532 | @Callable(aH) | |
528 | 533 | func voteForTxId (l) = { | |
529 | 534 | let U = toBase58String(aH.caller.bytes) | |
530 | 535 | let D = k(l) | |
531 | 536 | let B = [StringEntry(q(), l)] | |
532 | 537 | let bq = getString(this, q()) | |
533 | 538 | let Y = [if ((size(fromBase58String(l)) == j)) | |
534 | 539 | then true | |
535 | 540 | else f((l + " is not valid txId")), if (if ((bq == unit)) | |
536 | 541 | then true | |
537 | 542 | else (value(bq) != l)) | |
538 | 543 | then true | |
539 | 544 | else f((l + " is already allowed"))] | |
540 | 545 | if ((Y == Y)) | |
541 | 546 | then T(U, D, i, B) | |
542 | 547 | else throw("Strict value is not equal to itself.") | |
543 | 548 | } | |
544 | 549 | ||
545 | 550 | ||
546 | 551 | @Verifier(br) | |
547 | 552 | func bs () = { | |
548 | 553 | let bt = { | |
549 | 554 | let v = az | |
550 | 555 | if ($isInstanceOf(v, "Address")) | |
551 | 556 | then { | |
552 | 557 | let bu = v | |
553 | 558 | valueOrElse(getBoolean(bu, at(this, br.id)), false) | |
554 | 559 | } | |
555 | 560 | else false | |
556 | 561 | } | |
557 | 562 | let bv = (br.id == fromBase58String(valueOrElse(getString(this, q()), ""))) | |
558 | 563 | let bw = if ((size(u()) >= i)) | |
559 | 564 | then false | |
560 | 565 | else sigVerify(br.bodyBytes, br.proofs[0], br.senderPublicKey) | |
561 | 566 | if (if (bt) | |
562 | 567 | then true | |
563 | 568 | else bv) | |
564 | 569 | then true | |
565 | 570 | else bw | |
566 | 571 | } | |
567 | 572 |
github/deemru/w8io/169f3d6 59.48 ms ◑