tx · Hkej6GwbU1AoCSa3oQtbstngyajtZyhmVKoMnHVRGKLx 3Myn55vLkduxbX3ZXfiDCZhaQsLxYp1kmCy: -0.02700000 Waves 2023.03.06 12:32 [2478049] smart account 3Myn55vLkduxbX3ZXfiDCZhaQsLxYp1kmCy > SELF 0.00000000 Waves
{ "type": 13, "id": "Hkej6GwbU1AoCSa3oQtbstngyajtZyhmVKoMnHVRGKLx", "fee": 2700000, "feeAssetId": null, "timestamp": 1678095149743, "version": 2, "chainId": 84, "sender": "3Myn55vLkduxbX3ZXfiDCZhaQsLxYp1kmCy", "senderPublicKey": "9W33iCCNfmFxUbiC6XZcH5x7f6xfwC7Jb3BoExT5q2PV", "proofs": [ "3AYwbY5WYNjcvKAfukoWG1ybxNJCmzqyQGRe8damgPqVrFWWNrDJWzwrpNoJRud9vhQfkMcz2u6ih4uMeMe4ZVUe" ], "script": "base64:BgKWLwgCEggKBggIAQEBCBIFCgMBCAISAwoBARIDCgEBEgQKAggIEgQKAggIEgMKAQgSAwoBCBIECgIIARIAEgASBQoDCAgEEgMKAQgSBAoCCAgSAwoBCBIAIgNTRVAiBlNDQUxFOCIFTVVMVDgiDlBPT0xXRUlHSFRNVUxUIgd3cmFwRXJyIgNtc2ciCHRocm93RXJyIgRzdHJmIgdhZGRyZXNzIgNrZXkiA2lveiIDaW9kIgpkZWZhdWx0VmFsIgNpb2YiA2FicyIDdmFsIgNhYWwiByRtYXRjaDAiCnZhbEFueUx5c3QiAmFpIgZ2YWxJbnQiG2tleVJlZmVycmFsc0NvbnRyYWN0QWRkcmVzcyIecmVmZXJyYWxzQ29udHJhY3RBZGRyZXNzT3JGYWlsIhZrZXlSZWZlcnJhbFByb2dyYW1OYW1lIhpyZWZlcnJhbFByb2dyYW1OYW1lRGVmYXVsdCITcmVmZXJyYWxQcm9ncmFtTmFtZSIRa2V5RmFjdG9yeUFkZHJlc3MiGElkeEZhY3RvcnlDZmdTdGFraW5nRGFwcCIZSWR4RmFjdG9yeUNmZ0Jv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2GeT4tj3WaCGhQfAHLmYaagNHp2o6G9AZo7EtkFh Diff:
Old | New | Differences | |
---|---|---|---|
491 | 491 | func dd (cR,i,cO) = makeString(["%s%s%s%d", "voteStakedIntegralLastUpdateHeight", cR, toString(i), toString(cO)], a) | |
492 | 492 | ||
493 | 493 | ||
494 | - | func de (cR,i,cO) = makeString(["%s%s%s%d", " | |
494 | + | func de (cR,i,cO) = makeString(["%s%s%s%d", "voteStakedIntegralLast", cR, toString(i), toString(cO)], a) | |
495 | 495 | ||
496 | 496 | ||
497 | 497 | func df (dg,cR) = makeString(["%s%s%s", "staked", dg, cR], a) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "__" | |
5 | 5 | ||
6 | 6 | let b = 8 | |
7 | 7 | ||
8 | 8 | let c = 100000000 | |
9 | 9 | ||
10 | 10 | let d = c | |
11 | 11 | ||
12 | 12 | func e (f) = makeString(["boosting.ride:", f], " ") | |
13 | 13 | ||
14 | 14 | ||
15 | 15 | func g (f) = throw(e(f)) | |
16 | 16 | ||
17 | 17 | ||
18 | 18 | func h (i,j) = valueOrErrorMessage(getString(i, j), (("mandatory this." + j) + " is not defined")) | |
19 | 19 | ||
20 | 20 | ||
21 | 21 | func k (i,j) = valueOrElse(getInteger(i, j), 0) | |
22 | 22 | ||
23 | 23 | ||
24 | 24 | func l (i,j,m) = valueOrElse(getInteger(i, j), m) | |
25 | 25 | ||
26 | 26 | ||
27 | 27 | func n (i,j) = valueOrErrorMessage(getInteger(i, j), (("mandatory this." + j) + " is not defined")) | |
28 | 28 | ||
29 | 29 | ||
30 | 30 | func o (p) = if ((0 > p)) | |
31 | 31 | then -(p) | |
32 | 32 | else p | |
33 | 33 | ||
34 | 34 | ||
35 | 35 | func q (p) = { | |
36 | 36 | let r = p | |
37 | 37 | if ($isInstanceOf(r, "List[Any]")) | |
38 | 38 | then { | |
39 | 39 | let s = r | |
40 | 40 | s | |
41 | 41 | } | |
42 | 42 | else throw("fail to cast into List[Any]") | |
43 | 43 | } | |
44 | 44 | ||
45 | 45 | ||
46 | 46 | func t (p) = { | |
47 | 47 | let r = p | |
48 | 48 | if ($isInstanceOf(r, "Int")) | |
49 | 49 | then { | |
50 | 50 | let u = r | |
51 | 51 | u | |
52 | 52 | } | |
53 | 53 | else throw("fail to cast into Int") | |
54 | 54 | } | |
55 | 55 | ||
56 | 56 | ||
57 | 57 | func v () = makeString(["%s%s", "config", "referralsContractAddress"], a) | |
58 | 58 | ||
59 | 59 | ||
60 | 60 | let w = addressFromStringValue(h(this, v())) | |
61 | 61 | ||
62 | 62 | let x = makeString(["%s%s", "referral", "programName"], a) | |
63 | 63 | ||
64 | 64 | let y = "wxlock" | |
65 | 65 | ||
66 | 66 | let z = valueOrElse(getString(this, x), y) | |
67 | 67 | ||
68 | 68 | func A () = "%s%s__config__factoryAddress" | |
69 | 69 | ||
70 | 70 | ||
71 | 71 | let B = 1 | |
72 | 72 | ||
73 | 73 | let C = 2 | |
74 | 74 | ||
75 | 75 | let D = 3 | |
76 | 76 | ||
77 | 77 | let E = 4 | |
78 | 78 | ||
79 | 79 | let F = 5 | |
80 | 80 | ||
81 | 81 | let G = 6 | |
82 | 82 | ||
83 | 83 | let H = 7 | |
84 | 84 | ||
85 | 85 | let I = 8 | |
86 | 86 | ||
87 | 87 | let J = 9 | |
88 | 88 | ||
89 | 89 | let K = 10 | |
90 | 90 | ||
91 | 91 | let L = 11 | |
92 | 92 | ||
93 | 93 | func M () = "%s__factoryConfig" | |
94 | 94 | ||
95 | 95 | ||
96 | 96 | func N (O) = makeString(["%s%s%s", O, "mappings__lpAsset2PoolContract"], a) | |
97 | 97 | ||
98 | 98 | ||
99 | 99 | func P () = "%s__lpTokensList" | |
100 | 100 | ||
101 | 101 | ||
102 | 102 | func Q (O) = makeString(["%s%s%s", O, "mappings__lpAsset2PoolContract"], a) | |
103 | 103 | ||
104 | 104 | ||
105 | 105 | func R (S) = makeString(["%s%s", "poolWeight", S], a) | |
106 | 106 | ||
107 | 107 | ||
108 | 108 | func T (U,V) = ((("%s%s__poolWeight__" + U) + "__") + toString(V)) | |
109 | 109 | ||
110 | 110 | ||
111 | 111 | func W () = addressFromStringValue(h(this, A())) | |
112 | 112 | ||
113 | 113 | ||
114 | 114 | func X () = split(valueOrElse(getString(W(), P()), ""), a) | |
115 | 115 | ||
116 | 116 | ||
117 | 117 | func Y (Z) = split(h(Z, M()), a) | |
118 | 118 | ||
119 | 119 | ||
120 | 120 | func aa (ab) = addressFromStringValue(ab[C]) | |
121 | 121 | ||
122 | 122 | ||
123 | 123 | func ac (ab) = addressFromStringValue(ab[F]) | |
124 | 124 | ||
125 | 125 | ||
126 | 126 | func ad (ab) = addressFromStringValue(ab[B]) | |
127 | 127 | ||
128 | 128 | ||
129 | 129 | func ae (ab) = addressFromStringValue(ab[K]) | |
130 | 130 | ||
131 | 131 | ||
132 | 132 | func af () = "%s__managerPublicKey" | |
133 | 133 | ||
134 | 134 | ||
135 | 135 | func ag () = "%s__pendingManagerPublicKey" | |
136 | 136 | ||
137 | 137 | ||
138 | 138 | func ah () = "%s%s__ratePerBlock__current" | |
139 | 139 | ||
140 | 140 | ||
141 | 141 | func ai () = "%s%s__ratePerBlockMax__current" | |
142 | 142 | ||
143 | 143 | ||
144 | 144 | func aj () = "%s%s__emission__startBlock" | |
145 | 145 | ||
146 | 146 | ||
147 | 147 | func ak () = "%s%s__boostingV2__startBlock" | |
148 | 148 | ||
149 | 149 | ||
150 | 150 | func al () = "%s%s__boostingV2__integral" | |
151 | 151 | ||
152 | 152 | ||
153 | 153 | func am () = "%s%s__emission__duration" | |
154 | 154 | ||
155 | 155 | ||
156 | 156 | func an () = "%s%s__emission__endBlock" | |
157 | 157 | ||
158 | 158 | ||
159 | 159 | func ao () = "%s__nextPeriod" | |
160 | 160 | ||
161 | 161 | ||
162 | 162 | func ap () = "%s%s__gwxRewardEmissionPart__startHeight" | |
163 | 163 | ||
164 | 164 | ||
165 | 165 | let aq = 1 | |
166 | 166 | ||
167 | 167 | let ar = 2 | |
168 | 168 | ||
169 | 169 | let as = 3 | |
170 | 170 | ||
171 | 171 | let at = 4 | |
172 | 172 | ||
173 | 173 | let au = 5 | |
174 | 174 | ||
175 | 175 | func av () = "%s__config" | |
176 | 176 | ||
177 | 177 | ||
178 | 178 | func aw () = split(h(this, av()), a) | |
179 | 179 | ||
180 | 180 | ||
181 | 181 | let ax = addressFromStringValue(aw()[au]) | |
182 | 182 | ||
183 | 183 | func ay (az,aA,aB,aC,ax) = makeString(["%s%d%d%d", az, aA, aB, aC, ax], a) | |
184 | 184 | ||
185 | 185 | ||
186 | 186 | func aD (az,aA,aB,aC,ax) = ay(az, toString(aA), toString(aB), toString(aC), ax) | |
187 | 187 | ||
188 | 188 | ||
189 | 189 | func aE () = { | |
190 | 190 | let r = getString(af()) | |
191 | 191 | if ($isInstanceOf(r, "String")) | |
192 | 192 | then { | |
193 | 193 | let aF = r | |
194 | 194 | fromBase58String(aF) | |
195 | 195 | } | |
196 | 196 | else if ($isInstanceOf(r, "Unit")) | |
197 | 197 | then unit | |
198 | 198 | else throw("Match error") | |
199 | 199 | } | |
200 | 200 | ||
201 | 201 | ||
202 | 202 | func aG () = { | |
203 | 203 | let r = getString(ag()) | |
204 | 204 | if ($isInstanceOf(r, "String")) | |
205 | 205 | then { | |
206 | 206 | let aF = r | |
207 | 207 | fromBase58String(aF) | |
208 | 208 | } | |
209 | 209 | else if ($isInstanceOf(r, "Unit")) | |
210 | 210 | then unit | |
211 | 211 | else throw("Match error") | |
212 | 212 | } | |
213 | 213 | ||
214 | 214 | ||
215 | 215 | func aH (aI) = { | |
216 | 216 | let aJ = throw("Permission denied") | |
217 | 217 | let r = aE() | |
218 | 218 | if ($isInstanceOf(r, "ByteVector")) | |
219 | 219 | then { | |
220 | 220 | let aK = r | |
221 | 221 | if ((aI.callerPublicKey == aK)) | |
222 | 222 | then true | |
223 | 223 | else aJ | |
224 | 224 | } | |
225 | 225 | else if ($isInstanceOf(r, "Unit")) | |
226 | 226 | then if ((aI.caller == this)) | |
227 | 227 | then true | |
228 | 228 | else aJ | |
229 | 229 | else throw("Match error") | |
230 | 230 | } | |
231 | 231 | ||
232 | 232 | ||
233 | 233 | let aL = 1 | |
234 | 234 | ||
235 | 235 | let aM = 2 | |
236 | 236 | ||
237 | 237 | let aN = 3 | |
238 | 238 | ||
239 | 239 | let aO = 4 | |
240 | 240 | ||
241 | 241 | let aP = 5 | |
242 | 242 | ||
243 | 243 | let aQ = 6 | |
244 | 244 | ||
245 | 245 | func aR (aS) = makeString(["%s%s__lock", aS], a) | |
246 | 246 | ||
247 | 247 | ||
248 | 248 | func aT (aS) = split(h(this, aR(aS)), a) | |
249 | 249 | ||
250 | 250 | ||
251 | 251 | func aU (aV,aW,aX,aY,aZ,ba,bb,bc) = makeString(["%d%d%d%d%d%d%d%d", aV, aW, aX, aY, aZ, ba, bb, bc], a) | |
252 | 252 | ||
253 | 253 | ||
254 | 254 | func bd (aV,aW,aX,aY,aZ,ba,bc) = aU(aV, toString(aW), toString(aX), toString(aY), toString(aZ), toString(ba), toString(lastBlock.timestamp), toString(bc)) | |
255 | 255 | ||
256 | 256 | ||
257 | 257 | func be () = "%s__nextUserNum" | |
258 | 258 | ||
259 | 259 | ||
260 | 260 | func bf (aS) = makeString(["%s%s%s__mapping__user2num", aS], a) | |
261 | 261 | ||
262 | 262 | ||
263 | 263 | func bg (V) = makeString(["%s%s%s__mapping__num2user", V], a) | |
264 | 264 | ||
265 | 265 | ||
266 | 266 | func bh (aV) = makeString(["%s%d%s__paramByUserNum", aV, "amount"], a) | |
267 | 267 | ||
268 | 268 | ||
269 | 269 | func bi (aV) = makeString(["%s%d%s__paramByUserNum", aV, "start"], a) | |
270 | 270 | ||
271 | 271 | ||
272 | 272 | func bj (aV) = makeString(["%s%d%s__paramByUserNum", aV, "duration"], a) | |
273 | 273 | ||
274 | 274 | ||
275 | 275 | func bk (aV) = makeString(["%s%d%s__paramByUserNum", aV, "k"], a) | |
276 | 276 | ||
277 | 277 | ||
278 | 278 | func bl (aV) = makeString(["%s%d%s__paramByUserNum", aV, "b"], a) | |
279 | 279 | ||
280 | 280 | ||
281 | 281 | func bm (aV,bn) = makeString(["%s%d%s%d__paramByPeriod", aV, "k", bn], a) | |
282 | 282 | ||
283 | 283 | ||
284 | 284 | func bo (aV,bn) = makeString(["%s%d%s%d__paramByPeriod", aV, "b", bn], a) | |
285 | 285 | ||
286 | 286 | ||
287 | 287 | func bp () = "%s%s__stats__activeTotalLocked" | |
288 | 288 | ||
289 | 289 | ||
290 | 290 | func bq () = "%s%s__stats__locksDurationSumInBlocks" | |
291 | 291 | ||
292 | 292 | ||
293 | 293 | func br () = "%s%s__stats__locksCount" | |
294 | 294 | ||
295 | 295 | ||
296 | 296 | func bs () = "%s%s__stats__activeUsersCount" | |
297 | 297 | ||
298 | 298 | ||
299 | 299 | func bt (aV) = makeString(["%s%d__userBoostEmissionLastIntV2", aV], a) | |
300 | 300 | ||
301 | 301 | ||
302 | 302 | func bu (aV,bv) = makeString(["%s%d__userBoostEmissionLastIntV2", aV, bv], a) | |
303 | 303 | ||
304 | 304 | ||
305 | 305 | func bw (aV) = makeString(["%s%d__maxBoostInt", aV], a) | |
306 | 306 | ||
307 | 307 | ||
308 | 308 | func bx () = "%s%s__maxBoostInt__total" | |
309 | 309 | ||
310 | 310 | ||
311 | 311 | func by (aV) = makeString(["%s%d__userBoostAvaliableToClaimTotal", aV], a) | |
312 | 312 | ||
313 | 313 | ||
314 | 314 | func bz (aV) = makeString(["%s%d__userBoostClaimed", aV], a) | |
315 | 315 | ||
316 | 316 | ||
317 | 317 | func bA () = "%s%s__gwxCached__total" | |
318 | 318 | ||
319 | 319 | ||
320 | 320 | func bB () = "%s__gwxCachedTotalCorrective" | |
321 | 321 | ||
322 | 322 | ||
323 | 323 | let bC = W() | |
324 | 324 | ||
325 | 325 | let ab = Y(bC) | |
326 | 326 | ||
327 | 327 | let bD = ac(ab) | |
328 | 328 | ||
329 | 329 | let bE = ad(ab) | |
330 | 330 | ||
331 | 331 | let bF = ae(ab) | |
332 | 332 | ||
333 | 333 | let bG = makeString(["%s", "votingEmissionContract"], a) | |
334 | 334 | ||
335 | 335 | let bH = addressFromStringValue(getStringValue(bC, bG)) | |
336 | 336 | ||
337 | 337 | let bI = { | |
338 | 338 | let bJ = invoke(bD, "getBoostCoeffREADONLY", nil, nil) | |
339 | 339 | if ($isInstanceOf(bJ, "Int")) | |
340 | 340 | then bJ | |
341 | 341 | else throw(($getType(bJ) + " couldn't be cast to Int")) | |
342 | 342 | } | |
343 | 343 | ||
344 | 344 | func bK (bL) = { | |
345 | 345 | let bM = makeString(["%s", "currentEpochUi"], a) | |
346 | 346 | let bN = getIntegerValue(bH, bM) | |
347 | 347 | let bO = makeString(["%s%s", "totalCachedGwxCorrection__activationEpoch"], a) | |
348 | 348 | let bP = getInteger(this, bO) | |
349 | 349 | let bQ = valueOrElse(getInteger(this, bA()), 0) | |
350 | 350 | let bR = if (isDefined(bP)) | |
351 | 351 | then (bN >= value(bP)) | |
352 | 352 | else false | |
353 | 353 | let bS = if (if (bR) | |
354 | 354 | then bL | |
355 | 355 | else false) | |
356 | 356 | then valueOrElse(getInteger(this, bB()), 0) | |
357 | 357 | else 0 | |
358 | 358 | max([0, (bQ + bS)]) | |
359 | 359 | } | |
360 | 360 | ||
361 | 361 | ||
362 | 362 | func bT (bU,bV,aW,bW,aY,bX,bY,aI) = { | |
363 | 363 | let bZ = makeString(["%s%s%s%s__history", bU, bV, toBase58String(aI.transactionId)], a) | |
364 | 364 | let ca = makeString(["%d%d%d%d%d%d%d", toString(lastBlock.height), toString(lastBlock.timestamp), toString(aW), toString(bW), toString(aY), toString(bX), toString(bY)], a) | |
365 | 365 | StringEntry(bZ, ca) | |
366 | 366 | } | |
367 | 367 | ||
368 | 368 | ||
369 | 369 | func cb (cc,cd,ce,cf) = { | |
370 | 370 | let cg = bq() | |
371 | 371 | let ch = br() | |
372 | 372 | let ci = bs() | |
373 | 373 | let cj = bp() | |
374 | 374 | let ck = k(this, cg) | |
375 | 375 | let cl = k(this, ch) | |
376 | 376 | let cm = k(this, ci) | |
377 | 377 | let cn = k(this, cj) | |
378 | 378 | [IntegerEntry(cg, (ck + cd)), IntegerEntry(ch, (cl + ce)), IntegerEntry(ci, (cm + cf)), IntegerEntry(cj, (cn + cc))] | |
379 | 379 | } | |
380 | 380 | ||
381 | 381 | ||
382 | 382 | func co (cp,cq,cr) = { | |
383 | 383 | let cs = 1000 | |
384 | 384 | (((cp * cr) + cq) / cs) | |
385 | 385 | } | |
386 | 386 | ||
387 | 387 | ||
388 | 388 | func ct (aS,aV,aW,aX,aY,bX,bY,bn) = { | |
389 | 389 | let cu = bh(aV) | |
390 | 390 | let cv = bi(aV) | |
391 | 391 | let cw = bj(aV) | |
392 | 392 | let cx = bk(aV) | |
393 | 393 | let cy = bl(aV) | |
394 | 394 | let cz = bm(aV, bn) | |
395 | 395 | let cA = bo(aV, bn) | |
396 | 396 | let bc = co(bX, bY, height) | |
397 | 397 | [IntegerEntry(cu, aW), IntegerEntry(cv, aX), IntegerEntry(cw, aY), IntegerEntry(cx, bX), IntegerEntry(cy, bY), IntegerEntry(cz, bX), IntegerEntry(cA, bY), StringEntry(aR(aS), bd(aV, aW, aX, aY, bX, bY, bc))] | |
398 | 398 | } | |
399 | 399 | ||
400 | 400 | ||
401 | 401 | func cB (aI,cC) = if ((size(aI.payments) > 1)) | |
402 | 402 | then throw("only one payment is allowed") | |
403 | 403 | else if ((size(aI.payments) == 0)) | |
404 | 404 | then 0 | |
405 | 405 | else { | |
406 | 406 | let cD = aI.payments[0] | |
407 | 407 | if ((value(cD.assetId) != cC)) | |
408 | 408 | then throw("invalid asset id in payment") | |
409 | 409 | else cD.amount | |
410 | 410 | } | |
411 | 411 | ||
412 | 412 | ||
413 | 413 | func cE (aS,cF) = { | |
414 | 414 | let cG = "empty" | |
415 | 415 | let cH = bf(aS) | |
416 | 416 | let aV = valueOrElse(getString(cH), cG) | |
417 | 417 | let bX = valueOrElse(getInteger(bk(aV)), 0) | |
418 | 418 | let bY = valueOrElse(getInteger(bl(aV)), 0) | |
419 | 419 | let cI = co(bX, bY, cF) | |
420 | 420 | let bc = if ((0 > cI)) | |
421 | 421 | then 0 | |
422 | 422 | else cI | |
423 | 423 | bc | |
424 | 424 | } | |
425 | 425 | ||
426 | 426 | ||
427 | 427 | func cJ (aS) = cE(aS, height) | |
428 | 428 | ||
429 | 429 | ||
430 | 430 | func cK () = { | |
431 | 431 | let bM = makeString(["%s", "currentEpochUi"], a) | |
432 | 432 | let cL = { | |
433 | 433 | let bN = value(getInteger(bH, bM)) | |
434 | 434 | let cM = (bN - 1) | |
435 | 435 | if ((0 > cM)) | |
436 | 436 | then g("invalid epoch") | |
437 | 437 | else $Tuple2(bN, cM) | |
438 | 438 | } | |
439 | 439 | let bN = cL._1 | |
440 | 440 | let cM = cL._2 | |
441 | 441 | func cN (cO) = makeString(["%s%d", "startHeight", toString(cO)], a) | |
442 | 442 | ||
443 | 443 | let cP = value(getInteger(bH, cN(bN))) | |
444 | 444 | $Tuple2(cM, cP) | |
445 | 445 | } | |
446 | 446 | ||
447 | 447 | ||
448 | 448 | func cQ (cR) = { | |
449 | 449 | let cS = 4 | |
450 | 450 | let cT = 5 | |
451 | 451 | let cU = { | |
452 | 452 | let bJ = invoke(bC, "getPoolConfigByLpAssetId", [cR], nil) | |
453 | 453 | if ($isInstanceOf(bJ, "List[Any]")) | |
454 | 454 | then bJ | |
455 | 455 | else throw(($getType(bJ) + " couldn't be cast to List[Any]")) | |
456 | 456 | } | |
457 | 457 | let cV = { | |
458 | 458 | let bJ = cU[cS] | |
459 | 459 | if ($isInstanceOf(bJ, "String")) | |
460 | 460 | then bJ | |
461 | 461 | else throw(($getType(bJ) + " couldn't be cast to String")) | |
462 | 462 | } | |
463 | 463 | let cW = { | |
464 | 464 | let bJ = cU[cT] | |
465 | 465 | if ($isInstanceOf(bJ, "String")) | |
466 | 466 | then bJ | |
467 | 467 | else throw(($getType(bJ) + " couldn't be cast to String")) | |
468 | 468 | } | |
469 | 469 | $Tuple2(cV, cW) | |
470 | 470 | } | |
471 | 471 | ||
472 | 472 | ||
473 | 473 | func cX (cV,cW,i,cO) = makeString(["%s%s%s%s%d", "vote", cV, cW, toString(i), toString(cO)], a) | |
474 | 474 | ||
475 | 475 | ||
476 | 476 | func cY (cR,cO) = makeString(["%s%s%d", "votingResultStaked", cR, toString(cO)], a) | |
477 | 477 | ||
478 | 478 | ||
479 | 479 | func cZ (cR,cO) = makeString(["%s%s%d", "votingResultStakedIntegral", cR, toString(cO)], a) | |
480 | 480 | ||
481 | 481 | ||
482 | 482 | func da (cR,cO) = makeString(["%s%s%d", "votingResultStakedIntegralLastUpdateHeight", cR, toString(cO)], a) | |
483 | 483 | ||
484 | 484 | ||
485 | 485 | func db (cR,i,cO) = makeString(["%s%s%s%d", "votingResultStakedIntegralLast", cR, toString(i), toString(cO)], a) | |
486 | 486 | ||
487 | 487 | ||
488 | 488 | func dc (cR,i,cO) = makeString(["%s%s%s%d", "voteStakedIntegral", cR, toString(i), toString(cO)], a) | |
489 | 489 | ||
490 | 490 | ||
491 | 491 | func dd (cR,i,cO) = makeString(["%s%s%s%d", "voteStakedIntegralLastUpdateHeight", cR, toString(i), toString(cO)], a) | |
492 | 492 | ||
493 | 493 | ||
494 | - | func de (cR,i,cO) = makeString(["%s%s%s%d", " | |
494 | + | func de (cR,i,cO) = makeString(["%s%s%s%d", "voteStakedIntegralLast", cR, toString(i), toString(cO)], a) | |
495 | 495 | ||
496 | 496 | ||
497 | 497 | func df (dg,cR) = makeString(["%s%s%s", "staked", dg, cR], a) | |
498 | 498 | ||
499 | 499 | ||
500 | 500 | func dh (cR,dg) = { | |
501 | 501 | let aS = addressFromStringValue(dg) | |
502 | 502 | let di = cK() | |
503 | 503 | let cM = di._1 | |
504 | 504 | let cP = di._2 | |
505 | 505 | let dj = cQ(cR) | |
506 | 506 | let cV = dj._1 | |
507 | 507 | let cW = dj._2 | |
508 | 508 | let dk = cX(cV, cW, aS, cM) | |
509 | 509 | let dl = valueOrElse(getInteger(bH, dk), 0) | |
510 | 510 | dl | |
511 | 511 | } | |
512 | 512 | ||
513 | 513 | ||
514 | 514 | func dm (cR,dg) = { | |
515 | 515 | let dn = valueOrElse(getInteger(bE, df(dg, cR)), 0) | |
516 | 516 | let dl = dh(cR, dg) | |
517 | 517 | if ((dn == 0)) | |
518 | 518 | then 0 | |
519 | 519 | else dl | |
520 | 520 | } | |
521 | 521 | ||
522 | 522 | ||
523 | 523 | func do (cR) = { | |
524 | 524 | let dp = cK() | |
525 | 525 | let cM = dp._1 | |
526 | 526 | let cP = dp._2 | |
527 | 527 | let dq = valueOrElse(getInteger(bH, cY(cR, cM)), 0) | |
528 | 528 | let dr = valueOrElse(getInteger(this, cY(cR, cM)), dq) | |
529 | 529 | dr | |
530 | 530 | } | |
531 | 531 | ||
532 | 532 | ||
533 | 533 | func ds (cR,dt) = { | |
534 | 534 | let du = cK() | |
535 | 535 | let cM = du._1 | |
536 | 536 | let cP = du._2 | |
537 | 537 | let dr = do(cR) | |
538 | 538 | let dv = (dr + dt) | |
539 | 539 | let dw = cZ(cR, cM) | |
540 | 540 | let dx = valueOrElse(getInteger(this, dw), 0) | |
541 | 541 | let dy = da(cR, cM) | |
542 | 542 | let dz = valueOrElse(getInteger(this, dy), cP) | |
543 | 543 | let dA = (height - dz) | |
544 | 544 | let dB = ((dA * dr) + dx) | |
545 | 545 | $Tuple2([IntegerEntry(cY(cR, cM), dv), IntegerEntry(dy, height), IntegerEntry(dw, dB)], dB) | |
546 | 546 | } | |
547 | 547 | ||
548 | 548 | ||
549 | 549 | func dC (cR,dg,dD) = { | |
550 | 550 | let dE = cK() | |
551 | 551 | let cM = dE._1 | |
552 | 552 | let cP = dE._2 | |
553 | 553 | let aS = addressFromStringValue(dg) | |
554 | 554 | let cS = 4 | |
555 | 555 | let cT = 5 | |
556 | 556 | let cU = { | |
557 | 557 | let bJ = invoke(bC, "getPoolConfigByLpAssetId", [cR], nil) | |
558 | 558 | if ($isInstanceOf(bJ, "List[Any]")) | |
559 | 559 | then bJ | |
560 | 560 | else throw(($getType(bJ) + " couldn't be cast to List[Any]")) | |
561 | 561 | } | |
562 | 562 | let cV = { | |
563 | 563 | let bJ = cU[cS] | |
564 | 564 | if ($isInstanceOf(bJ, "String")) | |
565 | 565 | then bJ | |
566 | 566 | else throw(($getType(bJ) + " couldn't be cast to String")) | |
567 | 567 | } | |
568 | 568 | let cW = { | |
569 | 569 | let bJ = cU[cT] | |
570 | 570 | if ($isInstanceOf(bJ, "String")) | |
571 | 571 | then bJ | |
572 | 572 | else throw(($getType(bJ) + " couldn't be cast to String")) | |
573 | 573 | } | |
574 | 574 | let dl = valueOrElse(getInteger(bH, cX(cV, cW, aS, cM)), 0) | |
575 | 575 | let dF = if ((dl == 0)) | |
576 | 576 | then nil | |
577 | 577 | else { | |
578 | 578 | let dt = if (dD) | |
579 | 579 | then dl | |
580 | 580 | else -(dl) | |
581 | 581 | let dG = ds(cR, dt) | |
582 | 582 | let dH = dG._1 | |
583 | 583 | let dB = dG._2 | |
584 | 584 | let dI = if (dD) | |
585 | 585 | then 0 | |
586 | 586 | else dl | |
587 | 587 | let dJ = dc(cR, aS, cM) | |
588 | 588 | let dK = valueOrElse(getInteger(this, dJ), 0) | |
589 | 589 | let dL = dd(cR, aS, cM) | |
590 | 590 | let dM = valueOrElse(getInteger(this, dL), cP) | |
591 | 591 | let dN = (height - dM) | |
592 | 592 | let dO = ((dN * dI) + dK) | |
593 | 593 | let dP = [IntegerEntry(dL, height), IntegerEntry(dJ, dO)] | |
594 | 594 | (dH ++ dP) | |
595 | 595 | } | |
596 | 596 | dF | |
597 | 597 | } | |
598 | 598 | ||
599 | 599 | ||
600 | 600 | func dQ (cR,dg) = { | |
601 | 601 | let dR = cK() | |
602 | 602 | let cM = dR._1 | |
603 | 603 | let cP = dR._2 | |
604 | 604 | let aS = addressFromStringValue(dg) | |
605 | 605 | let dI = dm(cR, dg) | |
606 | 606 | let dr = do(cR) | |
607 | 607 | let dK = valueOrElse(getInteger(this, dc(cR, aS, cM)), 0) | |
608 | 608 | let dx = valueOrElse(getInteger(this, cZ(cR, cM)), 0) | |
609 | 609 | let dM = valueOrElse(getInteger(this, dd(cR, aS, cM)), cP) | |
610 | 610 | let dz = valueOrElse(getInteger(this, da(cR, cM)), cP) | |
611 | 611 | let dJ = de(cR, aS, cM) | |
612 | 612 | let dS = valueOrElse(getInteger(this, dJ), 0) | |
613 | 613 | let dw = db(cR, aS, cM) | |
614 | 614 | let dT = valueOrElse(getInteger(this, dw), 0) | |
615 | 615 | let dN = (height - dM) | |
616 | 616 | let dA = (height - dz) | |
617 | 617 | let dO = ((dN * dI) + dK) | |
618 | 618 | let dB = ((dA * dr) + dx) | |
619 | 619 | let dU = (dO - dS) | |
620 | 620 | let dV = (dB - dT) | |
621 | 621 | $Tuple3([IntegerEntry(dJ, dO), IntegerEntry(dw, dB)], dU, dV) | |
622 | 622 | } | |
623 | 623 | ||
624 | 624 | ||
625 | 625 | func dW () = { | |
626 | 626 | let dX = n(bD, ah()) | |
627 | 627 | let dY = getInteger(this, ak()) | |
628 | 628 | let dZ = getInteger(this, al()) | |
629 | 629 | let ea = n(bD, an()) | |
630 | 630 | let cr = if ((height > ea)) | |
631 | 631 | then ea | |
632 | 632 | else height | |
633 | 633 | let eb = { | |
634 | 634 | let r = dY | |
635 | 635 | if ($isInstanceOf(r, "Int")) | |
636 | 636 | then { | |
637 | 637 | let ec = r | |
638 | 638 | max([(cr - ec), 0]) | |
639 | 639 | } | |
640 | 640 | else if ($isInstanceOf(r, "Unit")) | |
641 | 641 | then 0 | |
642 | 642 | else throw("Match error") | |
643 | 643 | } | |
644 | 644 | let ed = ((dX * (bI - 1)) / bI) | |
645 | 645 | let ee = valueOrElse(dZ, 0) | |
646 | 646 | let ef = ((ed * eb) + ee) | |
647 | 647 | $Tuple2([IntegerEntry(al(), ef), IntegerEntry(ak(), height)], ef) | |
648 | 648 | } | |
649 | 649 | ||
650 | 650 | ||
651 | 651 | func eg (cR,dg,eh) = { | |
652 | 652 | let ei = getString(this, aR(dg)) | |
653 | 653 | if ((ei == unit)) | |
654 | 654 | then $Tuple3(0, nil, "userRecord::is::empty") | |
655 | 655 | else { | |
656 | 656 | let ej = split(value(ei), a) | |
657 | 657 | let ek = ej[aL] | |
658 | 658 | let el = "empty" | |
659 | 659 | let em = if ((cR != el)) | |
660 | 660 | then { | |
661 | 661 | let en = valueOrErrorMessage(getString(bC, N(cR)), ("unsupported lp asset " + cR)) | |
662 | 662 | getIntegerValue(bC, R(en)) | |
663 | 663 | } | |
664 | 664 | else if (eh) | |
665 | 665 | then 0 | |
666 | 666 | else throw(("not readonly mode: unsupported lp asset " + cR)) | |
667 | 667 | let eo = bu(ek, cR) | |
668 | 668 | let ep = bt(ek) | |
669 | 669 | let eq = valueOrElse(getInteger(this, eo), k(this, ep)) | |
670 | 670 | let ef = dW()._2 | |
671 | 671 | let er = (ef - eq) | |
672 | 672 | if ((0 > er)) | |
673 | 673 | then throw("wrong calculations") | |
674 | 674 | else { | |
675 | 675 | let es = dQ(cR, dg) | |
676 | 676 | let et = es._1 | |
677 | 677 | let eu = es._2 | |
678 | 678 | let ev = es._3 | |
679 | 679 | let ew = fraction(er, em, d) | |
680 | 680 | let ex = if ((ev == 0)) | |
681 | 681 | then 0 | |
682 | 682 | else fraction(ew, eu, ev) | |
683 | 683 | let ey = ([IntegerEntry(eo, ef)] ++ et) | |
684 | 684 | let ez = makeString([toString(eq), toString(er), toString(em), toString(eu), toString(ev)], ":") | |
685 | 685 | $Tuple3(ex, ey, ez) | |
686 | 686 | } | |
687 | 687 | } | |
688 | 688 | } | |
689 | 689 | ||
690 | 690 | ||
691 | 691 | func eA (aI,aY) = { | |
692 | 692 | let eB = aw() | |
693 | 693 | let eC = eB[aq] | |
694 | 694 | let az = fromBase58String(eC) | |
695 | 695 | let aA = parseIntValue(eB[ar]) | |
696 | 696 | let aB = parseIntValue(eB[as]) | |
697 | 697 | let aC = parseIntValue(eB[at]) | |
698 | 698 | if ((size(aI.payments) != 1)) | |
699 | 699 | then throw("invalid payment - exact one payment must be attached") | |
700 | 700 | else { | |
701 | 701 | let cD = aI.payments[0] | |
702 | 702 | let eD = cD.amount | |
703 | 703 | if ((az != value(cD.assetId))) | |
704 | 704 | then throw((("invalid asset is in payment - " + eC) + " is expected")) | |
705 | 705 | else { | |
706 | 706 | let eE = be() | |
707 | 707 | let dg = toString(aI.caller) | |
708 | 708 | let eF = isDefined(getString(bf(dg))) | |
709 | 709 | let ek = if (eF) | |
710 | 710 | then value(getString(bf(dg))) | |
711 | 711 | else toString(n(this, eE)) | |
712 | 712 | let aV = parseIntValue(ek) | |
713 | 713 | let bW = height | |
714 | 714 | let cv = bi(ek) | |
715 | 715 | let cw = bj(ek) | |
716 | 716 | let cu = bh(ek) | |
717 | 717 | if ((aA > eD)) | |
718 | 718 | then throw(("amount is less then minLockAmount=" + toString(aA))) | |
719 | 719 | else if ((aB > aY)) | |
720 | 720 | then throw(("passed duration is less then minLockDuration=" + toString(aB))) | |
721 | 721 | else if ((aY > aC)) | |
722 | 722 | then throw(("passed duration is greater then maxLockDuration=" + toString(aC))) | |
723 | 723 | else if (if (eF) | |
724 | 724 | then ((n(this, cv) + n(this, cw)) >= bW) | |
725 | 725 | else false) | |
726 | 726 | then throw("there is an active lock - consider to use increaseLock") | |
727 | 727 | else if ((k(this, cu) > 0)) | |
728 | 728 | then throw(("there are locked WXs - consider to use increaseLock " + cu)) | |
729 | 729 | else { | |
730 | 730 | let eG = fraction(aY, c, aC) | |
731 | 731 | let eH = fraction(eD, eG, c) | |
732 | 732 | let eI = q(invoke(ax, "calcGwxParamsREADONLY", [eH, bW, aY], nil)) | |
733 | 733 | let bX = t(eI[0]) | |
734 | 734 | let bY = t(eI[1]) | |
735 | 735 | let bn = toString(t(eI[2])) | |
736 | 736 | let bQ = bK(false) | |
737 | 737 | let ep = bt(ek) | |
738 | 738 | let ef = dW()._2 | |
739 | 739 | let eJ = if (eF) | |
740 | 740 | then nil | |
741 | 741 | else [IntegerEntry(eE, (aV + 1)), StringEntry(bf(dg), ek), StringEntry(bg(ek), dg)] | |
742 | 742 | $Tuple2(((((eJ ++ ct(dg, ek, eD, bW, aY, bX, bY, bn)) ++ cb(eD, aY, 1, if (eF) | |
743 | 743 | then 0 | |
744 | 744 | else 1)) :+ bT("lock", dg, eD, bW, aY, bX, bY, aI)) ++ [IntegerEntry(ep, ef), IntegerEntry(bA(), (bQ + eH))]), eH) | |
745 | 745 | } | |
746 | 746 | } | |
747 | 747 | } | |
748 | 748 | } | |
749 | 749 | ||
750 | 750 | ||
751 | 751 | @Callable(aI) | |
752 | 752 | func constructor (eK,eL,aA,eM,eN,ax) = { | |
753 | 753 | let eO = aH(aI) | |
754 | 754 | if ((eO == eO)) | |
755 | 755 | then ([IntegerEntry(be(), 0), StringEntry(av(), aD(eL, aA, eM, eN, ax)), StringEntry(A(), eK)] ++ cb(0, 0, 0, 0)) | |
756 | 756 | else throw("Strict value is not equal to itself.") | |
757 | 757 | } | |
758 | 758 | ||
759 | 759 | ||
760 | 760 | ||
761 | 761 | @Callable(aI) | |
762 | 762 | func lockRef (aY,eP,eQ) = { | |
763 | 763 | let eR = eA(aI, aY) | |
764 | 764 | let eS = eR._1 | |
765 | 765 | let eH = eR._2 | |
766 | 766 | let eT = toString(aI.caller) | |
767 | 767 | let eU = if (if ((eP == "")) | |
768 | 768 | then true | |
769 | 769 | else (eQ == base58'')) | |
770 | 770 | then unit | |
771 | 771 | else invoke(w, "createPair", [z, eP, eT, eQ], nil) | |
772 | 772 | if ((eU == eU)) | |
773 | 773 | then { | |
774 | 774 | let eV = invoke(ax, "updateReferralActivity", [toString(aI.caller), eH], nil) | |
775 | 775 | if ((eV == eV)) | |
776 | 776 | then $Tuple2(eS, unit) | |
777 | 777 | else throw("Strict value is not equal to itself.") | |
778 | 778 | } | |
779 | 779 | else throw("Strict value is not equal to itself.") | |
780 | 780 | } | |
781 | 781 | ||
782 | 782 | ||
783 | 783 | ||
784 | 784 | @Callable(aI) | |
785 | 785 | func lock (aY) = { | |
786 | 786 | let eW = eA(aI, aY) | |
787 | 787 | let eS = eW._1 | |
788 | 788 | let eH = eW._2 | |
789 | 789 | let eV = invoke(ax, "updateReferralActivity", [toString(aI.caller), eH], nil) | |
790 | 790 | if ((eV == eV)) | |
791 | 791 | then $Tuple2(eS, unit) | |
792 | 792 | else throw("Strict value is not equal to itself.") | |
793 | 793 | } | |
794 | 794 | ||
795 | 795 | ||
796 | 796 | ||
797 | 797 | @Callable(aI) | |
798 | 798 | func increaseLock (eX) = { | |
799 | 799 | let eB = aw() | |
800 | 800 | let eC = eB[aq] | |
801 | 801 | let az = fromBase58String(eC) | |
802 | 802 | let aB = parseIntValue(eB[as]) | |
803 | 803 | let aC = parseIntValue(eB[at]) | |
804 | 804 | let eD = cB(aI, az) | |
805 | 805 | let dg = toString(aI.caller) | |
806 | 806 | let ej = aT(dg) | |
807 | 807 | let ek = ej[aL] | |
808 | 808 | let eY = parseIntValue(ej[aM]) | |
809 | 809 | let bW = parseIntValue(ej[aN]) | |
810 | 810 | let eZ = parseIntValue(ej[aO]) | |
811 | 811 | let fa = (bW + eZ) | |
812 | 812 | let fb = max([(fa - height), 0]) | |
813 | 813 | let fc = (eY + eD) | |
814 | 814 | let fd = (fb + eX) | |
815 | 815 | if ((0 > eX)) | |
816 | 816 | then throw("duration is less then zero") | |
817 | 817 | else if ((aB > fd)) | |
818 | 818 | then throw(("lockDurationNew is less then minLockDuration=" + toString(aB))) | |
819 | 819 | else if ((fd > aC)) | |
820 | 820 | then throw(("deltaDuration + existedLockDuration is greater then maxLockDuration=" + toString(aC))) | |
821 | 821 | else { | |
822 | 822 | let eG = fraction(fd, c, aC) | |
823 | 823 | let eH = fraction(fc, eG, c) | |
824 | 824 | let eV = invoke(ax, "updateReferralActivity", [toString(aI.caller), eH], nil) | |
825 | 825 | if ((eV == eV)) | |
826 | 826 | then { | |
827 | 827 | let fe = height | |
828 | 828 | let eI = q(invoke(ax, "calcGwxParamsREADONLY", [eH, fe, fd], nil)) | |
829 | 829 | let bX = t(eI[0]) | |
830 | 830 | let bY = t(eI[1]) | |
831 | 831 | let bn = toString(t(eI[2])) | |
832 | 832 | let ff = cJ(dg) | |
833 | 833 | let fg = (eH - ff) | |
834 | 834 | if ((0 > fg)) | |
835 | 835 | then throw(("gwxDiff is less then 0: " + toString(fg))) | |
836 | 836 | else { | |
837 | 837 | let bQ = bK(false) | |
838 | 838 | let fh = bK(true) | |
839 | 839 | (((ct(dg, ek, fc, fe, fd, bX, bY, bn) ++ cb(eD, eX, 0, 0)) :+ bT("lock", dg, eD, bW, fd, bX, bY, aI)) ++ [IntegerEntry(bA(), (bQ + fg))]) | |
840 | 840 | } | |
841 | 841 | } | |
842 | 842 | else throw("Strict value is not equal to itself.") | |
843 | 843 | } | |
844 | 844 | } | |
845 | 845 | ||
846 | 846 | ||
847 | 847 | ||
848 | 848 | @Callable(aI) | |
849 | 849 | func claimWxBoost (cR,dg) = if ((bE != aI.caller)) | |
850 | 850 | then throw("permissions denied") | |
851 | 851 | else { | |
852 | 852 | let fi = eg(cR, dg, false) | |
853 | 853 | let fj = fi._1 | |
854 | 854 | let ey = fi._2 | |
855 | 855 | let ez = fi._3 | |
856 | 856 | $Tuple2(ey, [fj]) | |
857 | 857 | } | |
858 | 858 | ||
859 | 859 | ||
860 | 860 | ||
861 | 861 | @Callable(aI) | |
862 | 862 | func claimWxBoostREADONLY (cR,dg) = { | |
863 | 863 | let fk = eg(cR, dg, true) | |
864 | 864 | let fj = fk._1 | |
865 | 865 | let ey = fk._2 | |
866 | 866 | let ez = fk._3 | |
867 | 867 | $Tuple2(nil, [fj, ez]) | |
868 | 868 | } | |
869 | 869 | ||
870 | 870 | ||
871 | 871 | ||
872 | 872 | @Callable(aI) | |
873 | 873 | func unlock (aS) = { | |
874 | 874 | let ej = aT(aS) | |
875 | 875 | let ek = ej[aL] | |
876 | 876 | let eY = parseIntValue(ej[aM]) | |
877 | 877 | let bW = parseIntValue(ej[aN]) | |
878 | 878 | let eZ = parseIntValue(ej[aO]) | |
879 | 879 | let fa = (bW + eZ) | |
880 | 880 | let eB = aw() | |
881 | 881 | let az = fromBase58String(eB[aq]) | |
882 | 882 | if ((fa >= height)) | |
883 | 883 | then throw((("wait " + toString(fa)) + " to unlock")) | |
884 | 884 | else if ((0 >= eY)) | |
885 | 885 | then throw("nothing to unlock") | |
886 | 886 | else { | |
887 | 887 | let bn = valueOrElse(getInteger(ax, ao()), 0) | |
888 | 888 | (((ct(aS, ek, 0, bW, eZ, 0, 0, toString(bn)) ++ cb(-(eY), 0, 0, -1)) :+ bT("unlock", aS, eY, bW, eZ, 0, 0, aI)) :+ ScriptTransfer(addressFromStringValue(aS), eY, az)) | |
889 | 889 | } | |
890 | 890 | } | |
891 | 891 | ||
892 | 892 | ||
893 | 893 | ||
894 | 894 | @Callable(aI) | |
895 | 895 | func gwxUserInfoREADONLY (aS) = { | |
896 | 896 | let bc = cJ(aS) | |
897 | 897 | $Tuple2(nil, [bc]) | |
898 | 898 | } | |
899 | 899 | ||
900 | 900 | ||
901 | 901 | ||
902 | 902 | @Callable(aI) | |
903 | 903 | func getUserGwxAmountAtHeightREADONLY (aS,cF) = { | |
904 | 904 | let bc = cE(aS, cF) | |
905 | 905 | $Tuple2(nil, bc) | |
906 | 906 | } | |
907 | 907 | ||
908 | 908 | ||
909 | 909 | ||
910 | 910 | @Callable(aI) | |
911 | 911 | func getTotalCachedGwxREADONLY () = $Tuple2(nil, bK(true)) | |
912 | 912 | ||
913 | 913 | ||
914 | 914 | ||
915 | 915 | @Callable(aI) | |
916 | 916 | func onBoostEmissionUpdate () = { | |
917 | 917 | let eO = if ((aI.caller == bD)) | |
918 | 918 | then true | |
919 | 919 | else aH(aI) | |
920 | 920 | if ((eO == eO)) | |
921 | 921 | then dW() | |
922 | 922 | else throw("Strict value is not equal to itself.") | |
923 | 923 | } | |
924 | 924 | ||
925 | 925 | ||
926 | 926 | ||
927 | 927 | @Callable(aI) | |
928 | 928 | func onStakedVoteUpdate (cR,dg,dD) = { | |
929 | 929 | let eO = if ((aI.caller == bE)) | |
930 | 930 | then true | |
931 | 931 | else aH(aI) | |
932 | 932 | if ((eO == eO)) | |
933 | 933 | then { | |
934 | 934 | let dF = dC(cR, dg, dD) | |
935 | 935 | $Tuple2(nil, unit) | |
936 | 936 | } | |
937 | 937 | else throw("Strict value is not equal to itself.") | |
938 | 938 | } | |
939 | 939 | ||
940 | 940 | ||
941 | 941 | ||
942 | 942 | @Callable(aI) | |
943 | 943 | func getVotingResultStakedREADONLY (cR) = $Tuple2(nil, do(cR)) | |
944 | 944 | ||
945 | 945 | ||
946 | 946 | ||
947 | 947 | @Callable(aI) | |
948 | 948 | func getUserVoteFinalizedREADONLY (cR,dg) = $Tuple2(nil, dh(cR, dg)) | |
949 | 949 | ||
950 | 950 | ||
951 | 951 | ||
952 | 952 | @Callable(aI) | |
953 | 953 | func setManager (fl) = { | |
954 | 954 | let eO = aH(aI) | |
955 | 955 | if ((eO == eO)) | |
956 | 956 | then { | |
957 | 957 | let fm = fromBase58String(fl) | |
958 | 958 | if ((fm == fm)) | |
959 | 959 | then [StringEntry(ag(), fl)] | |
960 | 960 | else throw("Strict value is not equal to itself.") | |
961 | 961 | } | |
962 | 962 | else throw("Strict value is not equal to itself.") | |
963 | 963 | } | |
964 | 964 | ||
965 | 965 | ||
966 | 966 | ||
967 | 967 | @Callable(aI) | |
968 | 968 | func confirmManager () = { | |
969 | 969 | let fn = aG() | |
970 | 970 | let fo = if (isDefined(fn)) | |
971 | 971 | then true | |
972 | 972 | else throw("No pending manager") | |
973 | 973 | if ((fo == fo)) | |
974 | 974 | then { | |
975 | 975 | let fp = if ((aI.callerPublicKey == value(fn))) | |
976 | 976 | then true | |
977 | 977 | else throw("You are not pending manager") | |
978 | 978 | if ((fp == fp)) | |
979 | 979 | then [StringEntry(af(), toBase58String(value(fn))), DeleteEntry(ag())] | |
980 | 980 | else throw("Strict value is not equal to itself.") | |
981 | 981 | } | |
982 | 982 | else throw("Strict value is not equal to itself.") | |
983 | 983 | } | |
984 | 984 | ||
985 | 985 | ||
986 | 986 | @Verifier(fq) | |
987 | 987 | func fr () = { | |
988 | 988 | let fs = { | |
989 | 989 | let r = aE() | |
990 | 990 | if ($isInstanceOf(r, "ByteVector")) | |
991 | 991 | then { | |
992 | 992 | let aK = r | |
993 | 993 | aK | |
994 | 994 | } | |
995 | 995 | else if ($isInstanceOf(r, "Unit")) | |
996 | 996 | then fq.senderPublicKey | |
997 | 997 | else throw("Match error") | |
998 | 998 | } | |
999 | 999 | sigVerify(fq.bodyBytes, fq.proofs[0], fs) | |
1000 | 1000 | } | |
1001 | 1001 |
github/deemru/w8io/169f3d6 109.50 ms ◑