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