tx · BkhWA9UPqTs7853Fbefgbr9AK5ksv5YKxfVoqnpzZL6u 3Mp5kisFrqESzrXxAMEPk2k69zpeF41czEE: -0.02000000 Waves 2023.07.11 18:37 [2661433] smart account 3Mp5kisFrqESzrXxAMEPk2k69zpeF41czEE > SELF 0.00000000 Waves
{ "type": 13, "id": "BkhWA9UPqTs7853Fbefgbr9AK5ksv5YKxfVoqnpzZL6u", "fee": 2000000, "feeAssetId": null, "timestamp": 1689089860399, "version": 2, "chainId": 84, "sender": "3Mp5kisFrqESzrXxAMEPk2k69zpeF41czEE", "senderPublicKey": "G349Uq3FTox7dRNLeAfAQeoACvwZ9iEnVSaHcEYn6j8J", "proofs": [ "22FUqDFYMTCZbAqYUn1KfQfVGkJZk7bXoUZX3mUc9TpoiFFMq8pbMpPiC7nH7cb4kQiqjumWuUjEbaAvmU87UJXW" ], "script": "base64:BgKMHQgCEgYKBAEYEQESBAoCCAESABIDCgEBEgASABIAEgMKAQgSAwoBCBIDCgEIEgUKAwEBARIFCgMBAQESABIDCgEIEgcKBQgICAgIEgQKAhgREgASAwoBCCIDU0VQIgVTQ0FMRSIFTVVMVDgiCnplcm9CaWdJbnQiFHByb2Nlc3NpbmdTdGFnZVRvdGFsIhVwcm9jZXNzaW5nU3RhZ2VTaGFyZXMiC3dhdmVzU3RyaW5nIg5nZXROdW1iZXJCeUtleSIDa2V5Ig9nZXROdW1iZXJPckZhaWwiDmdldFN0cmluZ0J5S2V5Ig9nZXRTdHJpbmdPckZhaWwiDHBhcnNlQXNzZXRJZCIFaW5wdXQiB3dyYXBFcnIiA21zZyIIdGhyb3dFcnIiA2FicyIDdmFsIglhYnNCaWdJbnQiC2tleU1heERlcHRoIg9tYXhEZXB0aERlZmF1bHQiCG1heERlcHRoIhFrZXlGYWN0b3J5QWRkcmVzcyIRZmFjdG9yeUFkZHJlc3NTdHIiD2ZhY3RvcnlDb250cmFjdCISa2V5RW1pc3Npb25BZGRyZXNzIhlrZXlWb3RpbmdFbWlzc2lvb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StDBLkv35JpNCpUxnV7cYBhDfi4mBkQqndPd8Pp Next: FcGj6nyN8E5oU5UU7gXrQ686vixxyrXxauuC5z8XFjES Diff:
Old | New | Differences | |
---|---|---|---|
702 | 702 | @Callable(aT) | |
703 | 703 | func claimTradingReward () = { | |
704 | 704 | let aV = aT.caller | |
705 | - | let dA = bG(toString(aV)) | |
706 | - | if ((dA > 0)) | |
707 | - | then $Tuple2([ScriptTransfer(aV, dA, ag)], dA) | |
705 | + | let dA = toString(aV) | |
706 | + | let dB = bG(dA) | |
707 | + | if ((dB > 0)) | |
708 | + | then $Tuple2([ScriptTransfer(aV, dB, ag), IntegerEntry(aU(dA), 0)], dB) | |
708 | 709 | else q("nothing to claim") | |
709 | 710 | } | |
710 | 711 | ||
714 | 715 | func claimTradingRewardREADONLY (aV) = $Tuple2(nil, bG(aV)) | |
715 | 716 | ||
716 | 717 | ||
717 | - | @Verifier( | |
718 | - | func | |
719 | - | let | |
718 | + | @Verifier(dC) | |
719 | + | func dD () = { | |
720 | + | let dE = { | |
720 | 721 | let bf = bh() | |
721 | 722 | if ($isInstanceOf(bf, "ByteVector")) | |
722 | 723 | then { | |
724 | 725 | bl | |
725 | 726 | } | |
726 | 727 | else if ($isInstanceOf(bf, "Unit")) | |
727 | - | then | |
728 | + | then dC.senderPublicKey | |
728 | 729 | else throw("Match error") | |
729 | 730 | } | |
730 | - | sigVerify( | |
731 | + | sigVerify(dC.bodyBytes, dC.proofs[0], dE) | |
731 | 732 | } | |
732 | 733 |
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 = 1000 | |
7 | 7 | ||
8 | 8 | let c = 100000000 | |
9 | 9 | ||
10 | 10 | let d = toBigInt(0) | |
11 | 11 | ||
12 | 12 | let e = 0 | |
13 | 13 | ||
14 | 14 | let f = 1 | |
15 | 15 | ||
16 | 16 | let g = "WAVES" | |
17 | 17 | ||
18 | 18 | func h (i) = valueOrElse(getInteger(this, i), 0) | |
19 | 19 | ||
20 | 20 | ||
21 | 21 | func j (i) = valueOrErrorMessage(getInteger(this, i), (("mandatory this." + i) + " is not defined")) | |
22 | 22 | ||
23 | 23 | ||
24 | 24 | func k (i) = valueOrElse(getString(this, i), "") | |
25 | 25 | ||
26 | 26 | ||
27 | 27 | func l (i) = valueOrErrorMessage(getString(this, i), (("mandatory this." + i) + " is not defined")) | |
28 | 28 | ||
29 | 29 | ||
30 | 30 | func m (n) = if ((n == g)) | |
31 | 31 | then unit | |
32 | 32 | else fromBase58String(n) | |
33 | 33 | ||
34 | 34 | ||
35 | 35 | func o (p) = makeString(["gwx_reward.ride:", p], " ") | |
36 | 36 | ||
37 | 37 | ||
38 | 38 | func q (p) = throw(o(p)) | |
39 | 39 | ||
40 | 40 | ||
41 | 41 | func r (s) = if ((0 > s)) | |
42 | 42 | then -(s) | |
43 | 43 | else s | |
44 | 44 | ||
45 | 45 | ||
46 | 46 | func t (s) = if ((d > s)) | |
47 | 47 | then -(s) | |
48 | 48 | else s | |
49 | 49 | ||
50 | 50 | ||
51 | 51 | let u = "%s__maxDepth" | |
52 | 52 | ||
53 | 53 | let v = 30 | |
54 | 54 | ||
55 | 55 | let w = valueOrElse(getInteger(this, u), v) | |
56 | 56 | ||
57 | 57 | func x () = "%s%s__config__factoryAddress" | |
58 | 58 | ||
59 | 59 | ||
60 | 60 | let y = l(x()) | |
61 | 61 | ||
62 | 62 | let z = addressFromStringValue(y) | |
63 | 63 | ||
64 | 64 | func A () = "%s%s__config__emissionAddress" | |
65 | 65 | ||
66 | 66 | ||
67 | 67 | func B () = makeString(["%s", "votingEmissionContract"], a) | |
68 | 68 | ||
69 | 69 | ||
70 | 70 | let C = addressFromStringValue(getStringValue(z, B())) | |
71 | 71 | ||
72 | 72 | func D (E) = makeString(["%s%s%s", "mapping", "num2user", toString(E)], a) | |
73 | 73 | ||
74 | 74 | ||
75 | 75 | let F = makeString(["%s%s", "referral", "programName"], a) | |
76 | 76 | ||
77 | 77 | let G = "wxlock" | |
78 | 78 | ||
79 | 79 | let H = valueOrElse(getString(this, F), G) | |
80 | 80 | ||
81 | 81 | let I = makeString(["%s%s", "referral", "minGWxAmount"], a) | |
82 | 82 | ||
83 | 83 | let J = (500 * c) | |
84 | 84 | ||
85 | 85 | let K = valueOrElse(getInteger(this, I), J) | |
86 | 86 | ||
87 | 87 | let L = makeString(["%s%s", "referral", "referrerRewardPermille"], a) | |
88 | 88 | ||
89 | 89 | let M = 50 | |
90 | 90 | ||
91 | 91 | let N = valueOrElse(getInteger(this, L), M) | |
92 | 92 | ||
93 | 93 | let O = makeString(["%s%s", "referral", "referralRewardPermille"], a) | |
94 | 94 | ||
95 | 95 | let P = 50 | |
96 | 96 | ||
97 | 97 | let Q = valueOrElse(getInteger(this, O), P) | |
98 | 98 | ||
99 | 99 | func R (S) = makeString(["%s%s%s", "referrer", H, S], a) | |
100 | 100 | ||
101 | 101 | ||
102 | 102 | func T (U,V) = makeString(["%s%s%s", "unclaimedReferral", U, V], a) | |
103 | 103 | ||
104 | 104 | ||
105 | 105 | let W = l(A()) | |
106 | 106 | ||
107 | 107 | let X = addressFromStringValue(W) | |
108 | 108 | ||
109 | 109 | let Y = 1 | |
110 | 110 | ||
111 | 111 | let Z = 2 | |
112 | 112 | ||
113 | 113 | let aa = 3 | |
114 | 114 | ||
115 | 115 | let ab = 4 | |
116 | 116 | ||
117 | 117 | func ac () = "%s__config" | |
118 | 118 | ||
119 | 119 | ||
120 | 120 | func ad () = addressFromStringValue(valueOrErrorMessage(getString(this, A()), (("mandatory this." + A()) + " is not defined"))) | |
121 | 121 | ||
122 | 122 | ||
123 | 123 | let ae = ad() | |
124 | 124 | ||
125 | 125 | let af = split(value(getString(ae, ac())), a)[1] | |
126 | 126 | ||
127 | 127 | let ag = fromBase58String(af) | |
128 | 128 | ||
129 | 129 | func ah () = split(l(ac()), a) | |
130 | 130 | ||
131 | 131 | ||
132 | 132 | func ai (af,aj,ak,w) = makeString(["%s%s%s%d", af, aj, ak, toString(w)], a) | |
133 | 133 | ||
134 | 134 | ||
135 | 135 | func al () = { | |
136 | 136 | let am = ah() | |
137 | 137 | valueOrErrorMessage(addressFromString(am[aa]), "boosting contract address is not defined") | |
138 | 138 | } | |
139 | 139 | ||
140 | 140 | ||
141 | 141 | func an () = "%s%s__gwxRewardEmissionPart__startHeight" | |
142 | 142 | ||
143 | 143 | ||
144 | 144 | func ao () = "%s__nextUserNum" | |
145 | 145 | ||
146 | 146 | ||
147 | 147 | func ap () = "%s%s__ratePerBlock__current" | |
148 | 148 | ||
149 | 149 | ||
150 | 150 | func aq () = "%s%s__gwxHoldersReward__current" | |
151 | 151 | ||
152 | 152 | ||
153 | 153 | func ar () = "%s%s__gwxHoldersReward__next" | |
154 | 154 | ||
155 | 155 | ||
156 | 156 | func as () = "%s%s__poolWeight__GWXvirtualPOOL" | |
157 | 157 | ||
158 | 158 | ||
159 | 159 | func at () = "%s__nextProcessedUser" | |
160 | 160 | ||
161 | 161 | ||
162 | 162 | func au () = "%s__latestPeriod" | |
163 | 163 | ||
164 | 164 | ||
165 | 165 | func av () = "%s__nextPeriod" | |
166 | 166 | ||
167 | 167 | ||
168 | 168 | func aw () = "%s__processingStage" | |
169 | 169 | ||
170 | 170 | ||
171 | 171 | func ax () = "%s__nextProcessedPeriod" | |
172 | 172 | ||
173 | 173 | ||
174 | 174 | func ay (az) = makeString(["%s%d", "userUnclaimed", toString(az)], a) | |
175 | 175 | ||
176 | 176 | ||
177 | 177 | func aA (az) = makeString(["%s%d__nextClaimedPeriod", toString(az)], a) | |
178 | 178 | ||
179 | 179 | ||
180 | 180 | func aB (az) = makeString(["%s%d__lastProcessedPeriod", toString(az)], a) | |
181 | 181 | ||
182 | 182 | ||
183 | 183 | func aC (aD) = makeString(["%s%d__startHeightForPeriod", toString(aD)], a) | |
184 | 184 | ||
185 | 185 | ||
186 | 186 | func aE (aD) = makeString(["%s%d__auxEmissionReward", toString(aD)], a) | |
187 | 187 | ||
188 | 188 | ||
189 | 189 | func aF (aD) = makeString(["%s%d__totalAmountForPeriod", toString(aD)], a) | |
190 | 190 | ||
191 | 191 | ||
192 | 192 | func aG () = "%s__lastPayoutInfo" | |
193 | 193 | ||
194 | 194 | ||
195 | 195 | func aH (aD,aI,aJ) = makeString(["%d%d%d", toString(aD), toString(aI), toString(aJ)], a) | |
196 | 196 | ||
197 | 197 | ||
198 | 198 | func aK (aD) = makeString(["%s%s%d__payouts__history", toString(aD)], a) | |
199 | 199 | ||
200 | 200 | ||
201 | 201 | func aL (aD) = makeString(["%s%d__totalWeightForPeriod", toString(aD)], a) | |
202 | 202 | ||
203 | 203 | ||
204 | 204 | func aM (aD,az) = makeString(["%s%d%s%d__paramByPeriod", toString(az), "k", toString(aD)], a) | |
205 | 205 | ||
206 | 206 | ||
207 | 207 | func aN (aD,az) = makeString(["%s%d%s%d__paramByPeriod", toString(az), "b", toString(aD)], a) | |
208 | 208 | ||
209 | 209 | ||
210 | 210 | func aO (aD,az) = makeString(["%s%d%s%d__paramByPeriod", toString(az), "weight", toString(aD)], a) | |
211 | 211 | ||
212 | 212 | ||
213 | 213 | func aP () = makeString(["%s%s", "config", "referralsContractAddress"], a) | |
214 | 214 | ||
215 | 215 | ||
216 | 216 | let aQ = addressFromStringValue(l(aP())) | |
217 | 217 | ||
218 | 218 | func aR (aS,aT) = makeString(["%s%s%s%s", "tradingReward", "history", aS, toBase58String(aT.transactionId)], a) | |
219 | 219 | ||
220 | 220 | ||
221 | 221 | func aU (aV) = makeString(["%s%s", "tradingReward", aV], a) | |
222 | 222 | ||
223 | 223 | ||
224 | 224 | func aW () = makeString(["%s", "maxRecipients"], a) | |
225 | 225 | ||
226 | 226 | ||
227 | 227 | func aX (aY,aS,aZ,aT) = { | |
228 | 228 | let ba = makeString(["%s%s%s%s__history", aY, aS, toBase58String(aT.transactionId)], a) | |
229 | 229 | let bb = makeString(["%d%d%d%d%d%d", toString(lastBlock.height), toString(lastBlock.timestamp), toString(aZ)], a) | |
230 | 230 | StringEntry(ba, bb) | |
231 | 231 | } | |
232 | 232 | ||
233 | 233 | ||
234 | 234 | func bc () = "%s__managerPublicKey" | |
235 | 235 | ||
236 | 236 | ||
237 | 237 | func bd () = "%s__managerVaultAddress" | |
238 | 238 | ||
239 | 239 | ||
240 | 240 | func be () = { | |
241 | 241 | let bf = getString(bd()) | |
242 | 242 | if ($isInstanceOf(bf, "String")) | |
243 | 243 | then { | |
244 | 244 | let bg = bf | |
245 | 245 | addressFromStringValue(bg) | |
246 | 246 | } | |
247 | 247 | else this | |
248 | 248 | } | |
249 | 249 | ||
250 | 250 | ||
251 | 251 | func bh () = { | |
252 | 252 | let bi = be() | |
253 | 253 | let bf = getString(bi, bc()) | |
254 | 254 | if ($isInstanceOf(bf, "String")) | |
255 | 255 | then { | |
256 | 256 | let bg = bf | |
257 | 257 | fromBase58String(bg) | |
258 | 258 | } | |
259 | 259 | else if ($isInstanceOf(bf, "Unit")) | |
260 | 260 | then unit | |
261 | 261 | else throw("Match error") | |
262 | 262 | } | |
263 | 263 | ||
264 | 264 | ||
265 | 265 | func bj (aT) = { | |
266 | 266 | let bk = throw("Permission denied") | |
267 | 267 | let bf = bh() | |
268 | 268 | if ($isInstanceOf(bf, "ByteVector")) | |
269 | 269 | then { | |
270 | 270 | let bl = bf | |
271 | 271 | if ((aT.callerPublicKey == bl)) | |
272 | 272 | then true | |
273 | 273 | else bk | |
274 | 274 | } | |
275 | 275 | else if ($isInstanceOf(bf, "Unit")) | |
276 | 276 | then if ((aT.caller == this)) | |
277 | 277 | then true | |
278 | 278 | else bk | |
279 | 279 | else throw("Match error") | |
280 | 280 | } | |
281 | 281 | ||
282 | 282 | ||
283 | 283 | func bm (bn,bo,aD,az) = { | |
284 | 284 | let bp = aB(az) | |
285 | 285 | let bq = aM(aD, az) | |
286 | 286 | let br = getInteger(bn, bq) | |
287 | 287 | let bs = aO(aD, az) | |
288 | 288 | if (isDefined(br)) | |
289 | 289 | then { | |
290 | 290 | let bt = value(br) | |
291 | 291 | let bu = value(getInteger(bn, aN(aD, az))) | |
292 | 292 | let bv = ((bt * bo) + bu) | |
293 | 293 | if ((bv > 0)) | |
294 | 294 | then $Tuple2((bv / b), [IntegerEntry(bp, aD), IntegerEntry(bs, bv)]) | |
295 | 295 | else $Tuple2(0, nil) | |
296 | 296 | } | |
297 | 297 | else { | |
298 | 298 | let bw = getInteger(this, bp) | |
299 | 299 | if (if (isDefined(bw)) | |
300 | 300 | then (aD >= value(bw)) | |
301 | 301 | else false) | |
302 | 302 | then { | |
303 | 303 | let bx = value(bw) | |
304 | 304 | let bt = value(getInteger(bn, aM(bx, az))) | |
305 | 305 | let bu = value(getInteger(bn, aN(bx, az))) | |
306 | 306 | let bv = ((bt * bo) + bu) | |
307 | 307 | if ((bv > 0)) | |
308 | 308 | then $Tuple2((bv / b), [IntegerEntry(bs, bv)]) | |
309 | 309 | else $Tuple2(0, nil) | |
310 | 310 | } | |
311 | 311 | else $Tuple2(0, nil) | |
312 | 312 | } | |
313 | 313 | } | |
314 | 314 | ||
315 | 315 | ||
316 | 316 | func by (bn,bo,aD,az) = { | |
317 | 317 | let bs = aO(aD, az) | |
318 | 318 | let bz = getInteger(bs) | |
319 | 319 | let bf = bz | |
320 | 320 | if ($isInstanceOf(bf, "Unit")) | |
321 | 321 | then 0 | |
322 | 322 | else if ($isInstanceOf(bf, "Int")) | |
323 | 323 | then { | |
324 | 324 | let bv = bf | |
325 | 325 | (bv / b) | |
326 | 326 | } | |
327 | 327 | else throw("Match error") | |
328 | 328 | } | |
329 | 329 | ||
330 | 330 | ||
331 | 331 | func bA (ak,aV) = { | |
332 | 332 | let i = makeString(["%s%s%s", "mapping", "user2num", aV], a) | |
333 | 333 | parseIntValue(valueOrErrorMessage(getString(Address(fromBase58String(ak)), i), ((("User address " + aV) + " is not found in boosting contract data, key=") + i))) | |
334 | 334 | } | |
335 | 335 | ||
336 | 336 | ||
337 | 337 | func bB () = h(av()) | |
338 | 338 | ||
339 | 339 | ||
340 | 340 | func bC (aV) = { | |
341 | 341 | let am = ah() | |
342 | 342 | let bD = bA(am[aa], aV) | |
343 | 343 | let bE = getInteger(ay(bD)) | |
344 | 344 | let bf = bE | |
345 | 345 | if ($isInstanceOf(bf, "Unit")) | |
346 | 346 | then $Tuple2(0, nil) | |
347 | 347 | else if ($isInstanceOf(bf, "Int")) | |
348 | 348 | then { | |
349 | 349 | let bF = bf | |
350 | 350 | $Tuple2(bF, [IntegerEntry(ay(bD), 0)]) | |
351 | 351 | } | |
352 | 352 | else throw("Match error") | |
353 | 353 | } | |
354 | 354 | ||
355 | 355 | ||
356 | 356 | func bG (aV) = valueOrElse(getInteger(this, aU(aV)), 0) | |
357 | 357 | ||
358 | 358 | ||
359 | 359 | @Callable(aT) | |
360 | 360 | func tradeRewardInternal (bH,bI,bJ,bK) = if ((bK == size(bI))) | |
361 | 361 | then nil | |
362 | 362 | else { | |
363 | 363 | let bL = [if ((aT.caller == this)) | |
364 | 364 | then true | |
365 | 365 | else q("Permission denied"), if ((bH >= bJ[bK])) | |
366 | 366 | then true | |
367 | 367 | else q("insufficient payment assetId")] | |
368 | 368 | if ((bL == bL)) | |
369 | 369 | then { | |
370 | 370 | let bM = invoke(this, "tradeRewardInternal", [(bH - bJ[bK]), bI, bJ, (bK + 1)], nil) | |
371 | 371 | if ((bM == bM)) | |
372 | 372 | then { | |
373 | 373 | let bN = aR(bI[bK], aT) | |
374 | 374 | let aV = addressFromStringValue(bI[bK]) | |
375 | 375 | $Tuple2([IntegerEntry(bN, bJ[bK]), IntegerEntry(aU(bI[bK]), bJ[bK])], bM) | |
376 | 376 | } | |
377 | 377 | else throw("Strict value is not equal to itself.") | |
378 | 378 | } | |
379 | 379 | else throw("Strict value is not equal to itself.") | |
380 | 380 | } | |
381 | 381 | ||
382 | 382 | ||
383 | 383 | ||
384 | 384 | @Callable(aT) | |
385 | 385 | func updateReferralActivity (aV,bO) = { | |
386 | 386 | let bP = getString(aQ, R(aV)) | |
387 | 387 | let bQ = if ((bP == unit)) | |
388 | 388 | then unit | |
389 | 389 | else invoke(aQ, "updateReferralActivity", [H, aV, (bO >= K)], nil) | |
390 | 390 | if ((bQ == bQ)) | |
391 | 391 | then $Tuple2(nil, unit) | |
392 | 392 | else throw("Strict value is not equal to itself.") | |
393 | 393 | } | |
394 | 394 | ||
395 | 395 | ||
396 | 396 | ||
397 | 397 | @Callable(aT) | |
398 | 398 | func finalizeHelper () = { | |
399 | 399 | let bR = valueOrElse(getInteger(aw()), e) | |
400 | 400 | let bS = h(ax()) | |
401 | 401 | let bT = h(at()) | |
402 | 402 | let bU = h(au()) | |
403 | 403 | let bV = valueOrElse(getInteger(al(), ao()), 0) | |
404 | 404 | let bW = aL(bS) | |
405 | 405 | let bX = h(aL(bS)) | |
406 | 406 | let bo = h(aC(bS)) | |
407 | 407 | if ((bS > bU)) | |
408 | 408 | then $Tuple2(nil, false) | |
409 | 409 | else if ((bR == e)) | |
410 | 410 | then { | |
411 | 411 | let bY = bm(al(), bo, bS, bT) | |
412 | 412 | let bZ = bY._1 | |
413 | 413 | let ca = bY._2 | |
414 | 414 | let cb = (bX + bZ) | |
415 | 415 | let cc = if (((bV - 1) > bT)) | |
416 | 416 | then [IntegerEntry(at(), (bT + 1))] | |
417 | 417 | else [IntegerEntry(aw(), f), IntegerEntry(at(), 0)] | |
418 | 418 | $Tuple2((([IntegerEntry(bW, cb)] ++ cc) ++ ca), true) | |
419 | 419 | } | |
420 | 420 | else if ((bR == f)) | |
421 | 421 | then { | |
422 | 422 | let bZ = by(al(), bo, bS, bT) | |
423 | 423 | let cd = fraction(h(aF(bS)), bZ, bX) | |
424 | 424 | let ce = fraction(h(aE(bS)), bZ, bX) | |
425 | 425 | let cf = (ce + cd) | |
426 | 426 | let bE = getInteger(ay(bT)) | |
427 | 427 | let aV = getStringValue(al(), D(bT)) | |
428 | 428 | let bP = getString(aQ, R(aV)) | |
429 | 429 | let bQ = if ((bP == unit)) | |
430 | 430 | then unit | |
431 | 431 | else invoke(aQ, "updateReferralActivity", [H, aV, (bZ >= K)], nil) | |
432 | 432 | if ((bQ == bQ)) | |
433 | 433 | then { | |
434 | 434 | let cg = if (if ((bP == unit)) | |
435 | 435 | then true | |
436 | 436 | else (K > bZ)) | |
437 | 437 | then unit | |
438 | 438 | else { | |
439 | 439 | let ch = fraction(cf, N, b) | |
440 | 440 | let ci = fraction(cf, Q, b) | |
441 | 441 | invoke(aQ, "incUnclaimed", [H, aV, ch, ci], nil) | |
442 | 442 | } | |
443 | 443 | if ((cg == cg)) | |
444 | 444 | then { | |
445 | 445 | let cj = [IntegerEntry(ay(bT), (valueOrElse(bE, 0) + cf))] | |
446 | 446 | let cc = if (((bV - 1) > bT)) | |
447 | 447 | then [IntegerEntry(at(), (bT + 1))] | |
448 | 448 | else [IntegerEntry(ax(), (bS + 1)), IntegerEntry(at(), 0), DeleteEntry(aw())] | |
449 | 449 | $Tuple2((cj ++ cc), true) | |
450 | 450 | } | |
451 | 451 | else throw("Strict value is not equal to itself.") | |
452 | 452 | } | |
453 | 453 | else throw("Strict value is not equal to itself.") | |
454 | 454 | } | |
455 | 455 | else throw("invalid processing stage") | |
456 | 456 | } | |
457 | 457 | ||
458 | 458 | ||
459 | 459 | ||
460 | 460 | @Callable(aT) | |
461 | 461 | func finalizeWrapper (ck) = { | |
462 | 462 | let cl = { | |
463 | 463 | let cm = invoke(this, "finalizeHelper", nil, nil) | |
464 | 464 | if ($isInstanceOf(cm, "Boolean")) | |
465 | 465 | then cm | |
466 | 466 | else throw(($getType(cm) + " couldn't be cast to Boolean")) | |
467 | 467 | } | |
468 | 468 | if ((cl == cl)) | |
469 | 469 | then if (!(cl)) | |
470 | 470 | then if ((ck == w)) | |
471 | 471 | then throw("Nothing to process") | |
472 | 472 | else $Tuple2(nil, unit) | |
473 | 473 | else if ((ck > 0)) | |
474 | 474 | then $Tuple2(nil, invoke(this, "finalizeWrapper", [(ck - 1)], nil)) | |
475 | 475 | else $Tuple2(nil, unit) | |
476 | 476 | else throw("Strict value is not equal to itself.") | |
477 | 477 | } | |
478 | 478 | ||
479 | 479 | ||
480 | 480 | ||
481 | 481 | @Callable(aT) | |
482 | 482 | func processPendingPeriodsAndUsers () = $Tuple2(nil, invoke(this, "finalizeWrapper", [w], nil)) | |
483 | 483 | ||
484 | 484 | ||
485 | 485 | ||
486 | 486 | @Callable(aT) | |
487 | 487 | func deposit () = { | |
488 | 488 | let cn = if ((aT.caller == C)) | |
489 | 489 | then true | |
490 | 490 | else bj(aT) | |
491 | 491 | if ((cn == cn)) | |
492 | 492 | then { | |
493 | 493 | let aD = bB() | |
494 | 494 | let co = (height - j(an())) | |
495 | 495 | let cp = valueOrErrorMessage(getInteger(X, ap()), (("mandatory emission_contract." + ap()) + " is not defined")) | |
496 | 496 | let cq = valueOrElse(getInteger(X, aq()), 0) | |
497 | 497 | if ((cq == cq)) | |
498 | 498 | then { | |
499 | 499 | let cr = fraction((co * cq), cp, c) | |
500 | 500 | let cs = if ((cr > 0)) | |
501 | 501 | then invoke(X, "emit", [cr], nil) | |
502 | 502 | else unit | |
503 | 503 | if ((cs == cs)) | |
504 | 504 | then { | |
505 | 505 | let ct = 0 | |
506 | 506 | let cu = aH(aD, ct, cr) | |
507 | 507 | let cv = { | |
508 | 508 | let cm = invoke(X, "gwxHoldersRewardUpdate", nil, nil) | |
509 | 509 | if ($isInstanceOf(cm, "Boolean")) | |
510 | 510 | then cm | |
511 | 511 | else throw(($getType(cm) + " couldn't be cast to Boolean")) | |
512 | 512 | } | |
513 | 513 | if ((cv == cv)) | |
514 | 514 | then { | |
515 | 515 | let cw = (ct + cr) | |
516 | 516 | let cx = if (if ((cw == 0)) | |
517 | 517 | then !(cv) | |
518 | 518 | else false) | |
519 | 519 | then nil | |
520 | 520 | else [IntegerEntry(au(), aD), IntegerEntry(aC(aD), height), IntegerEntry(aE(aD), cr), IntegerEntry(an(), height), IntegerEntry(aF(aD), ct), IntegerEntry(av(), (aD + 1)), StringEntry(aG(), cu), StringEntry(aK(aD), cu)] | |
521 | 521 | $Tuple2(cx, unit) | |
522 | 522 | } | |
523 | 523 | else throw("Strict value is not equal to itself.") | |
524 | 524 | } | |
525 | 525 | else throw("Strict value is not equal to itself.") | |
526 | 526 | } | |
527 | 527 | else throw("Strict value is not equal to itself.") | |
528 | 528 | } | |
529 | 529 | else throw("Strict value is not equal to itself.") | |
530 | 530 | } | |
531 | 531 | ||
532 | 532 | ||
533 | 533 | ||
534 | 534 | @Callable(aT) | |
535 | 535 | func claimReward () = { | |
536 | 536 | let am = ah() | |
537 | 537 | let cy = toString(aT.caller) | |
538 | 538 | let cz = bC(cy) | |
539 | 539 | let aZ = cz._1 | |
540 | 540 | let cx = cz._2 | |
541 | 541 | let cA = if ((aZ > 0)) | |
542 | 542 | then true | |
543 | 543 | else throw("Nothing to claim") | |
544 | 544 | if ((cA == cA)) | |
545 | 545 | then { | |
546 | 546 | let cB = 0 | |
547 | 547 | let cC = { | |
548 | 548 | let cm = invoke(aQ, "claim", [H], nil) | |
549 | 549 | if ($isInstanceOf(cm, "Int")) | |
550 | 550 | then cm | |
551 | 551 | else throw(($getType(cm) + " couldn't be cast to Int")) | |
552 | 552 | } | |
553 | 553 | let cD = (aZ + cC) | |
554 | 554 | $Tuple2(([ScriptTransfer(aT.caller, cD, fromBase58String(am[Y])), aX("claim", cy, aZ, aT)] ++ cx), [cD, cB]) | |
555 | 555 | } | |
556 | 556 | else throw("Strict value is not equal to itself.") | |
557 | 557 | } | |
558 | 558 | ||
559 | 559 | ||
560 | 560 | ||
561 | 561 | @Callable(aT) | |
562 | 562 | func claimRewardREADONLY (cy) = { | |
563 | 563 | let cE = bC(cy) | |
564 | 564 | let aZ = cE._1 | |
565 | 565 | let cx = cE._2 | |
566 | 566 | let cF = valueOrElse(getInteger(aQ, T(H, cy)), 0) | |
567 | 567 | let cD = (aZ + cF) | |
568 | 568 | $Tuple2(nil, cD) | |
569 | 569 | } | |
570 | 570 | ||
571 | 571 | ||
572 | 572 | ||
573 | 573 | @Callable(aT) | |
574 | 574 | func latestFinalizedPeriodREADONLY (cy) = $Tuple2(nil, valueOrElse(getInteger(this, au()), -1)) | |
575 | 575 | ||
576 | 576 | ||
577 | 577 | ||
578 | 578 | @Callable(aT) | |
579 | 579 | func latestFinalizedPeriodInfoREADONLY (cy) = $Tuple2(nil, k(aG())) | |
580 | 580 | ||
581 | 581 | ||
582 | 582 | ||
583 | 583 | @Callable(aT) | |
584 | 584 | func calcGwxParamsREADONLY (cG,cH,cI) = { | |
585 | 585 | let cJ = (cH + cI) | |
586 | 586 | let cK = -(fraction(cG, b, cI)) | |
587 | 587 | let cL = (fraction(cG, b, cI) * cJ) | |
588 | 588 | $Tuple2(nil, [cK, cL, bB()]) | |
589 | 589 | } | |
590 | 590 | ||
591 | 591 | ||
592 | 592 | ||
593 | 593 | @Callable(aT) | |
594 | 594 | func calcGwxAmountStartREADONLY (cM,cN,cO) = { | |
595 | 595 | let cP = fraction(cN, c, cO) | |
596 | 596 | let bO = fraction(cM, cP, c) | |
597 | 597 | $Tuple2(nil, [bO]) | |
598 | 598 | } | |
599 | 599 | ||
600 | 600 | ||
601 | 601 | ||
602 | 602 | @Callable(aT) | |
603 | 603 | func onEmissionForGwxStart () = if ((aT.caller != z)) | |
604 | 604 | then throw("permissions denied") | |
605 | 605 | else [IntegerEntry(an(), height)] | |
606 | 606 | ||
607 | 607 | ||
608 | 608 | ||
609 | 609 | @Callable(aT) | |
610 | 610 | func latestPeriodEmissionRewardsREADONLY (cy) = { | |
611 | 611 | let aD = bB() | |
612 | 612 | $Tuple2(nil, [h(aE(aD))]) | |
613 | 613 | } | |
614 | 614 | ||
615 | 615 | ||
616 | 616 | ||
617 | 617 | @Callable(aT) | |
618 | 618 | func calcD (cQ,cR,cS,cT,cU) = { | |
619 | 619 | let cV = toBigInt(2) | |
620 | 620 | let cW = parseBigIntValue(cT) | |
621 | 621 | let cX = parseBigIntValue(cU) | |
622 | 622 | let cY = parseBigIntValue(cQ) | |
623 | 623 | let cZ = parseBigIntValue(cR) | |
624 | 624 | let da = (parseBigIntValue(cS) * cW) | |
625 | 625 | let bg = (cY + cZ) | |
626 | 626 | if ((bg == d)) | |
627 | 627 | then $Tuple2(nil, toString(d)) | |
628 | 628 | else { | |
629 | 629 | let db = (da * cV) | |
630 | 630 | let dc = [0, 1, 2, 3, 4, 5, 6] | |
631 | 631 | func dd (de,df) = { | |
632 | 632 | let dg = de | |
633 | 633 | let dh = dg._1 | |
634 | 634 | let di = dg._2 | |
635 | 635 | let dj = dg._3 | |
636 | 636 | if ((dj != unit)) | |
637 | 637 | then de | |
638 | 638 | else { | |
639 | 639 | let dk = (((dh * dh) * dh) / (((cY * cZ) * cV) * cV)) | |
640 | 640 | let dl = (((((db * bg) / cW) + (dk * cV)) * dh) / ((((db - cW) * dh) / cW) + ((cV + toBigInt(1)) * dk))) | |
641 | 641 | let dm = t((dl - value(dh))) | |
642 | 642 | if ((cX >= dm)) | |
643 | 643 | then $Tuple3(dl, dh, df) | |
644 | 644 | else $Tuple3(dl, dh, unit) | |
645 | 645 | } | |
646 | 646 | } | |
647 | 647 | ||
648 | 648 | let dn = { | |
649 | 649 | let do = dc | |
650 | 650 | let dp = size(do) | |
651 | 651 | let dq = $Tuple3(bg, unit, unit) | |
652 | 652 | func dr (ds,dt) = if ((dt >= dp)) | |
653 | 653 | then ds | |
654 | 654 | else dd(ds, do[dt]) | |
655 | 655 | ||
656 | 656 | func du (ds,dt) = if ((dt >= dp)) | |
657 | 657 | then ds | |
658 | 658 | else throw("List size exceeds 7") | |
659 | 659 | ||
660 | 660 | du(dr(dr(dr(dr(dr(dr(dr(dq, 0), 1), 2), 3), 4), 5), 6), 7) | |
661 | 661 | } | |
662 | 662 | let dl = dn._1 | |
663 | 663 | let di = dn._2 | |
664 | 664 | let dj = dn._3 | |
665 | 665 | if ((dj != unit)) | |
666 | 666 | then $Tuple2(nil, toString(dl)) | |
667 | 667 | else { | |
668 | 668 | let dm = t((dl - value(di))) | |
669 | 669 | throw(("D calculation error, dDiff = " + toString(dm))) | |
670 | 670 | } | |
671 | 671 | } | |
672 | 672 | } | |
673 | 673 | ||
674 | 674 | ||
675 | 675 | ||
676 | 676 | @Callable(aT) | |
677 | 677 | func tradeReward (bI,bJ) = { | |
678 | 678 | let dv = (size(bI) == size(bJ)) | |
679 | 679 | let dw = valueOrElse(getInteger(aW()), 0) | |
680 | 680 | let dx = aT.payments[0] | |
681 | 681 | let dy = dx.assetId | |
682 | 682 | let dz = dx.amount | |
683 | 683 | let bL = [if ((dw >= size(bI))) | |
684 | 684 | then true | |
685 | 685 | else q("Too many recipients"), if (dv) | |
686 | 686 | then true | |
687 | 687 | else q("Arguments size mismatch"), if ((dy == ag)) | |
688 | 688 | then true | |
689 | 689 | else q("Wrong asset payment")] | |
690 | 690 | if ((bL == bL)) | |
691 | 691 | then { | |
692 | 692 | let bM = invoke(this, "tradeRewardInternal", [dz, bI, bJ, 0], nil) | |
693 | 693 | if ((bM == bM)) | |
694 | 694 | then $Tuple2(nil, bM) | |
695 | 695 | else throw("Strict value is not equal to itself.") | |
696 | 696 | } | |
697 | 697 | else throw("Strict value is not equal to itself.") | |
698 | 698 | } | |
699 | 699 | ||
700 | 700 | ||
701 | 701 | ||
702 | 702 | @Callable(aT) | |
703 | 703 | func claimTradingReward () = { | |
704 | 704 | let aV = aT.caller | |
705 | - | let dA = bG(toString(aV)) | |
706 | - | if ((dA > 0)) | |
707 | - | then $Tuple2([ScriptTransfer(aV, dA, ag)], dA) | |
705 | + | let dA = toString(aV) | |
706 | + | let dB = bG(dA) | |
707 | + | if ((dB > 0)) | |
708 | + | then $Tuple2([ScriptTransfer(aV, dB, ag), IntegerEntry(aU(dA), 0)], dB) | |
708 | 709 | else q("nothing to claim") | |
709 | 710 | } | |
710 | 711 | ||
711 | 712 | ||
712 | 713 | ||
713 | 714 | @Callable(aT) | |
714 | 715 | func claimTradingRewardREADONLY (aV) = $Tuple2(nil, bG(aV)) | |
715 | 716 | ||
716 | 717 | ||
717 | - | @Verifier( | |
718 | - | func | |
719 | - | let | |
718 | + | @Verifier(dC) | |
719 | + | func dD () = { | |
720 | + | let dE = { | |
720 | 721 | let bf = bh() | |
721 | 722 | if ($isInstanceOf(bf, "ByteVector")) | |
722 | 723 | then { | |
723 | 724 | let bl = bf | |
724 | 725 | bl | |
725 | 726 | } | |
726 | 727 | else if ($isInstanceOf(bf, "Unit")) | |
727 | - | then | |
728 | + | then dC.senderPublicKey | |
728 | 729 | else throw("Match error") | |
729 | 730 | } | |
730 | - | sigVerify( | |
731 | + | sigVerify(dC.bodyBytes, dC.proofs[0], dE) | |
731 | 732 | } | |
732 | 733 |
github/deemru/w8io/169f3d6 105.66 ms ◑