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