tx · DQwoQdAjHDhhiD7S1vW8Jg5vBr9tEH4dgB6gJCgJxc2M 3NCWFHDzdPHZC6636ZkMLNDup9mjpbTLs7h: -0.02700000 Waves 2024.10.21 16:05 [3336644] smart account 3NCWFHDzdPHZC6636ZkMLNDup9mjpbTLs7h > SELF 0.00000000 Waves
{ "type": 13, "id": "DQwoQdAjHDhhiD7S1vW8Jg5vBr9tEH4dgB6gJCgJxc2M", "fee": 2700000, "feeAssetId": null, "timestamp": 1729515939311, "version": 1, "sender": "3NCWFHDzdPHZC6636ZkMLNDup9mjpbTLs7h", "senderPublicKey": "3z8Q6Zu3KppVmn6fJJvrLc1Wo3krVHSvfaNcerm82md2", "proofs": [ "3mYkYccRCr1YWWjZYTTGeUehcdjcMUondVkXPyr5kRAzfWUBYQXut4KUgZAWr4vPF9MBzAxesJJFgapX6ot8pQGx" ], "script": "base64:BgJQCAISAwoBARIAEgMKAQQSAwoBBBIDCgEIEgQKAggIEgMKAQgSBAoCCAgSAwoBCBIECgIIARIECgIIARIDCgEBEgASAwoBCBIDCgEBEgMKAQhOAAxjb250cmFjdEZpbGUCEWwybXBfbGVhc2luZy5yaWRlAANTRVACAl9fABJCTE9DS1NfSU5fSU5URVJWQUwA6AcABnNjYWxlOACAwtcvAQh0aHJvd0VycgEDbXNnCQACAQkArAICCQCsAgIFDGNvbnRyYWN0RmlsZQICOiAFA21zZwAMa2V5TDJBc3NldElkCQC5CQIJAMwIAgICJXMJAMwIAgIHYXNzZXRJZAUDbmlsBQNTRVAADGtleUZvcmNlU3RvcAkAuQkCCQDMCAICAiVzCQDMCAICCWZvcmNlU3RvcAUDbmlsBQNTRVAAD2tleUZvcmNlT3V0U3RvcAkAuQkCCQDMCAICAiVzCQDMCAICDGZvcmNlT3V0U3RvcAUDbmlsBQNTRVAAD2tleVVuaXRzQXNzZXRJZAkAuQkCCQDMCAICAiVzCQDMCAICDHVuaXRzQXNzZXRJZAUDbmlsBQNTRVAAFmtleVVuaXRzUGVyQmxvY2tTY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BQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAACAUCdHgPc2VuZGVyUHVibGljS2V5AwUIYnlBZG1pbnMGBQdieU93bmVyzNWuvw==", "chainId": 84, "height": 3336644, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GSmzqun3281fCHh1SLgmMkoJ5LjoKbiArJYkxg3bzjB9 Next: 9zGTEQEbiEoghPBeaxnVGUGK299DNztiy5Zypb4YWedX Diff:
Old | New | Differences | |
---|---|---|---|
371 | 371 | let bz = (by - bw) | |
372 | 372 | let bA = bt(B) | |
373 | 373 | let bB = fraction(bA, bz, x) | |
374 | - | let bC = fraction(bB, bx, d) | |
374 | + | let bC = fraction(bB, bx, (d * d)) | |
375 | 375 | $Tuple3(bC, bB, bw) | |
376 | 376 | } | |
377 | 377 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "l2mp_leasing.ride" | |
5 | 5 | ||
6 | 6 | let b = "__" | |
7 | 7 | ||
8 | 8 | let c = 1000 | |
9 | 9 | ||
10 | 10 | let d = 100000000 | |
11 | 11 | ||
12 | 12 | func e (f) = throw(((a + ": ") + f)) | |
13 | 13 | ||
14 | 14 | ||
15 | 15 | let g = makeString(["%s", "assetId"], b) | |
16 | 16 | ||
17 | 17 | let h = makeString(["%s", "forceStop"], b) | |
18 | 18 | ||
19 | 19 | let i = makeString(["%s", "forceOutStop"], b) | |
20 | 20 | ||
21 | 21 | let j = makeString(["%s", "unitsAssetId"], b) | |
22 | 22 | ||
23 | 23 | let k = makeString(["%s", "unitsPerBlock"], b) | |
24 | 24 | ||
25 | 25 | let l = makeString(["%s", "offsetId"], b) | |
26 | 26 | ||
27 | 27 | let m = makeString(["%s", "offsetHeight"], b) | |
28 | 28 | ||
29 | 29 | let n = makeString(["%s", "periodLength"], b) | |
30 | 30 | ||
31 | 31 | let o = makeString(["%s", "unitsClaimStartHeight"], b) | |
32 | 32 | ||
33 | 33 | let p = makeString(["%s", "unitsClaimInterval"], b) | |
34 | 34 | ||
35 | 35 | let q = valueOrElse(getInteger(this, l), 0) | |
36 | 36 | ||
37 | 37 | let r = valueOrElse(getInteger(this, n), 10000) | |
38 | 38 | ||
39 | 39 | let s = valueOrElse(getInteger(this, m), -1) | |
40 | 40 | ||
41 | 41 | let t = if (if ((height > s)) | |
42 | 42 | then (s != -1) | |
43 | 43 | else false) | |
44 | 44 | then (((height - s) / r) + q) | |
45 | 45 | else max([0, (q - 1)]) | |
46 | 46 | ||
47 | 47 | let u = if (if ((s == -1)) | |
48 | 48 | then true | |
49 | 49 | else if ((t == 0)) | |
50 | 50 | then (s > height) | |
51 | 51 | else false) | |
52 | 52 | then 0 | |
53 | 53 | else (s + ((t - q) * r)) | |
54 | 54 | ||
55 | 55 | let v = if (if ((s == -1)) | |
56 | 56 | then true | |
57 | 57 | else if ((t == 0)) | |
58 | 58 | then (s > height) | |
59 | 59 | else false) | |
60 | 60 | then 0 | |
61 | 61 | else (u + r) | |
62 | 62 | ||
63 | 63 | let w = valueOrElse(getInteger(this, o), height) | |
64 | 64 | ||
65 | 65 | let x = valueOrElse(getInteger(this, p), 0) | |
66 | 66 | ||
67 | 67 | func y (z) = makeString(["%s", z], b) | |
68 | 68 | ||
69 | 69 | ||
70 | 70 | func A (B,z) = makeString(["%s%s", z, B], b) | |
71 | 71 | ||
72 | 72 | ||
73 | 73 | func C (B) = makeString(["%s%s", "toClaim", B], b) | |
74 | 74 | ||
75 | 75 | ||
76 | 76 | func D (B) = makeString(["%s%s", "userTotalLocked", B], b) | |
77 | 77 | ||
78 | 78 | ||
79 | 79 | func E (B) = makeString(["%s%s", "unitsClaimedBlock", B], b) | |
80 | 80 | ||
81 | 81 | ||
82 | 82 | func F (B) = makeString(["%s%s", "unlockedUnits", B], b) | |
83 | 83 | ||
84 | 84 | ||
85 | 85 | func G (B) = makeString(["%s%s", "totalUnitsClaimed", B], b) | |
86 | 86 | ||
87 | 87 | ||
88 | 88 | func H (B) = makeString(["%s%s", "l2ToBurn", B], b) | |
89 | 89 | ||
90 | 90 | ||
91 | 91 | func I (B) = makeString(["%s%s", "l2BurnedTotal", B], b) | |
92 | 92 | ||
93 | 93 | ||
94 | 94 | func J (z) = { | |
95 | 95 | let K = if ((s == -1)) | |
96 | 96 | then 0 | |
97 | 97 | else height | |
98 | 98 | makeString(["%s%d", z, toString(K)], b) | |
99 | 99 | } | |
100 | 100 | ||
101 | 101 | ||
102 | 102 | func L (z,B) = { | |
103 | 103 | let K = if ((s == -1)) | |
104 | 104 | then 0 | |
105 | 105 | else height | |
106 | 106 | makeString(["%s%s%d", z, B, toString(K)], b) | |
107 | 107 | } | |
108 | 108 | ||
109 | 109 | ||
110 | 110 | func M (N) = if ((N == "WAVES")) | |
111 | 111 | then unit | |
112 | 112 | else fromBase58String(N) | |
113 | 113 | ||
114 | 114 | ||
115 | 115 | func O (P) = { | |
116 | 116 | let Q = P | |
117 | 117 | if ($isInstanceOf(Q, "ByteVector")) | |
118 | 118 | then { | |
119 | 119 | let R = Q | |
120 | 120 | toBase58String(R) | |
121 | 121 | } | |
122 | 122 | else "WAVES" | |
123 | 123 | } | |
124 | 124 | ||
125 | 125 | ||
126 | 126 | let S = valueOrElse(getString(this, g), "WAVES") | |
127 | 127 | ||
128 | 128 | let T = valueOrElse(getString(this, j), "WAVES") | |
129 | 129 | ||
130 | 130 | let U = M(S) | |
131 | 131 | ||
132 | 132 | let V = M(T) | |
133 | 133 | ||
134 | 134 | let W = valueOrElse(getBoolean(this, h), false) | |
135 | 135 | ||
136 | 136 | let X = valueOrElse(getBoolean(this, i), false) | |
137 | 137 | ||
138 | 138 | func Y (Z) = { | |
139 | 139 | let Q = addressFromString(Z) | |
140 | 140 | if ($isInstanceOf(Q, "Address")) | |
141 | 141 | then { | |
142 | 142 | let R = Q | |
143 | 143 | true | |
144 | 144 | } | |
145 | 145 | else false | |
146 | 146 | } | |
147 | 147 | ||
148 | 148 | ||
149 | 149 | let aa = 5 | |
150 | 150 | ||
151 | 151 | let ab = 3 | |
152 | 152 | ||
153 | 153 | let ac = 32 | |
154 | 154 | ||
155 | 155 | func ad (ae) = makeString(["%s%s%s", "allowTxId", ae], b) | |
156 | 156 | ||
157 | 157 | ||
158 | 158 | func af (ag,ah) = makeString([ag, ah], b) | |
159 | 159 | ||
160 | 160 | ||
161 | 161 | func ai () = makeString(["%s", "adminAddressList"], b) | |
162 | 162 | ||
163 | 163 | ||
164 | 164 | func aj () = makeString(["%s", "txId"], b) | |
165 | 165 | ||
166 | 166 | ||
167 | 167 | func ak (ag,al) = { | |
168 | 168 | let am = af(ag, al) | |
169 | 169 | valueOrElse(getInteger(am), 0) | |
170 | 170 | } | |
171 | 171 | ||
172 | 172 | ||
173 | 173 | func an () = { | |
174 | 174 | let Q = getString(this, ai()) | |
175 | 175 | if ($isInstanceOf(Q, "String")) | |
176 | 176 | then { | |
177 | 177 | let ao = Q | |
178 | 178 | split(ao, b) | |
179 | 179 | } | |
180 | 180 | else nil | |
181 | 181 | } | |
182 | 182 | ||
183 | 183 | ||
184 | 184 | func ap (Z) = containsElement(an(), Z) | |
185 | 185 | ||
186 | 186 | ||
187 | 187 | func aq (R,ah) = { | |
188 | 188 | let ar = R | |
189 | 189 | let as = ar._1 | |
190 | 190 | let ag = ar._2 | |
191 | 191 | $Tuple2((as :+ af(ag, ah)), ag) | |
192 | 192 | } | |
193 | 193 | ||
194 | 194 | ||
195 | 195 | func at (au) = { | |
196 | 196 | let av = ai() | |
197 | 197 | let aw = { | |
198 | 198 | let ax = an() | |
199 | 199 | let ay = size(ax) | |
200 | 200 | let az = $Tuple2(nil, au) | |
201 | 201 | func aA (aB,aC) = if ((aC >= ay)) | |
202 | 202 | then aB | |
203 | 203 | else aq(aB, ax[aC]) | |
204 | 204 | ||
205 | 205 | func aD (aB,aC) = if ((aC >= ay)) | |
206 | 206 | then aB | |
207 | 207 | else throw("List size exceeds 5") | |
208 | 208 | ||
209 | 209 | aD(aA(aA(aA(aA(aA(az, 0), 1), 2), 3), 4), 5) | |
210 | 210 | } | |
211 | 211 | let as = aw._1 | |
212 | 212 | let ag = aw._2 | |
213 | 213 | as | |
214 | 214 | } | |
215 | 215 | ||
216 | 216 | ||
217 | 217 | func aE (as,am) = (as + valueOrElse(getInteger(am), 0)) | |
218 | 218 | ||
219 | 219 | ||
220 | 220 | func aF (ag) = { | |
221 | 221 | let aG = at(ag) | |
222 | 222 | let ax = aG | |
223 | 223 | let ay = size(ax) | |
224 | 224 | let az = 0 | |
225 | 225 | func aA (aB,aC) = if ((aC >= ay)) | |
226 | 226 | then aB | |
227 | 227 | else aE(aB, ax[aC]) | |
228 | 228 | ||
229 | 229 | func aD (aB,aC) = if ((aC >= ay)) | |
230 | 230 | then aB | |
231 | 231 | else throw("List size exceeds 5") | |
232 | 232 | ||
233 | 233 | aD(aA(aA(aA(aA(aA(az, 0), 1), 2), 3), 4), 5) | |
234 | 234 | } | |
235 | 235 | ||
236 | 236 | ||
237 | 237 | func aH (as,aI) = (as :+ DeleteEntry(aI)) | |
238 | 238 | ||
239 | 239 | ||
240 | 240 | func aJ (ag) = { | |
241 | 241 | let aG = at(ag) | |
242 | 242 | let ax = aG | |
243 | 243 | let ay = size(ax) | |
244 | 244 | let az = nil | |
245 | 245 | func aA (aB,aC) = if ((aC >= ay)) | |
246 | 246 | then aB | |
247 | 247 | else aH(aB, ax[aC]) | |
248 | 248 | ||
249 | 249 | func aD (aB,aC) = if ((aC >= ay)) | |
250 | 250 | then aB | |
251 | 251 | else throw("List size exceeds 5") | |
252 | 252 | ||
253 | 253 | aD(aA(aA(aA(aA(aA(az, 0), 1), 2), 3), 4), 5) | |
254 | 254 | } | |
255 | 255 | ||
256 | 256 | ||
257 | 257 | func aK (aL,au,aM,aN) = { | |
258 | 258 | let am = af(au, aL) | |
259 | 259 | let aO = ak(au, aL) | |
260 | 260 | let aP = if (!(ap(aL))) | |
261 | 261 | then e((("Address: " + aL) + " not in Admin list")) | |
262 | 262 | else if ((aO == 1)) | |
263 | 263 | then e((am + " you already voted")) | |
264 | 264 | else unit | |
265 | 265 | if ((aP == aP)) | |
266 | 266 | then { | |
267 | 267 | let aG = aF(au) | |
268 | 268 | if (((aG + 1) >= aM)) | |
269 | 269 | then { | |
270 | 270 | let aQ = aJ(au) | |
271 | 271 | (aQ ++ aN) | |
272 | 272 | } | |
273 | 273 | else [IntegerEntry(am, 1)] | |
274 | 274 | } | |
275 | 275 | else throw("Strict value is not equal to itself.") | |
276 | 276 | } | |
277 | 277 | ||
278 | 278 | ||
279 | 279 | func aR (z,aS,aT) = { | |
280 | 280 | let aU = makeString(["%d%d%d%d", toString(u), toString(aS), toString(v), toString(aT)], b) | |
281 | 281 | StringEntry(y(z), aU) | |
282 | 282 | } | |
283 | 283 | ||
284 | 284 | ||
285 | 285 | func aV (z) = { | |
286 | 286 | let aW = getString(this, y(z)) | |
287 | 287 | let Q = aW | |
288 | 288 | if ($isInstanceOf(Q, "String")) | |
289 | 289 | then { | |
290 | 290 | let aX = Q | |
291 | 291 | let aY = split(aX, b) | |
292 | 292 | let aZ = parseIntValue(aY[1]) | |
293 | 293 | let ba = parseIntValue(aY[2]) | |
294 | 294 | let bb = parseIntValue(aY[3]) | |
295 | 295 | let bc = parseIntValue(aY[4]) | |
296 | 296 | if (if ((bb > height)) | |
297 | 297 | then true | |
298 | 298 | else (s == -1)) | |
299 | 299 | then $Tuple2(ba, bc) | |
300 | 300 | else $Tuple2(bc, bc) | |
301 | 301 | } | |
302 | 302 | else $Tuple2(0, 0) | |
303 | 303 | } | |
304 | 304 | ||
305 | 305 | ||
306 | 306 | func bd (z,B,be,bf) = { | |
307 | 307 | let aU = makeString(["%d%d%d%d", toString(u), toString(be), toString(v), toString(bf)], b) | |
308 | 308 | StringEntry(A(B, z), aU) | |
309 | 309 | } | |
310 | 310 | ||
311 | 311 | ||
312 | 312 | func bg (z,B) = { | |
313 | 313 | let bh = getString(this, A(B, z)) | |
314 | 314 | let Q = bh | |
315 | 315 | if ($isInstanceOf(Q, "String")) | |
316 | 316 | then { | |
317 | 317 | let aX = Q | |
318 | 318 | let aY = split(aX, b) | |
319 | 319 | let bi = parseIntValue(aY[1]) | |
320 | 320 | let be = parseIntValue(aY[2]) | |
321 | 321 | let bj = parseIntValue(aY[3]) | |
322 | 322 | let bf = parseIntValue(aY[4]) | |
323 | 323 | if (if ((bj > height)) | |
324 | 324 | then true | |
325 | 325 | else (s == -1)) | |
326 | 326 | then $Tuple2(be, bf) | |
327 | 327 | else $Tuple2(bf, bf) | |
328 | 328 | } | |
329 | 329 | else $Tuple2(0, 0) | |
330 | 330 | } | |
331 | 331 | ||
332 | 332 | ||
333 | 333 | func bk (B,bl,bm) = { | |
334 | 334 | let aU = makeString(["%d%d%d%d", toString(u), toString(bl), toString(v), toString(bm)], b) | |
335 | 335 | StringEntry(C(B), aU) | |
336 | 336 | } | |
337 | 337 | ||
338 | 338 | ||
339 | 339 | func bn (B) = { | |
340 | 340 | let bo = getString(this, C(B)) | |
341 | 341 | let Q = bo | |
342 | 342 | if ($isInstanceOf(Q, "String")) | |
343 | 343 | then { | |
344 | 344 | let aX = Q | |
345 | 345 | let aY = split(aX, b) | |
346 | 346 | let bp = parseIntValue(aY[1]) | |
347 | 347 | let bl = parseIntValue(aY[2]) | |
348 | 348 | let bq = parseIntValue(aY[3]) | |
349 | 349 | let bm = parseIntValue(aY[4]) | |
350 | 350 | if (if ((bq > height)) | |
351 | 351 | then true | |
352 | 352 | else (t == 0)) | |
353 | 353 | then $Tuple2(bl, bm) | |
354 | 354 | else $Tuple2((bl + bm), 0) | |
355 | 355 | } | |
356 | 356 | else $Tuple2(0, 0) | |
357 | 357 | } | |
358 | 358 | ||
359 | 359 | ||
360 | 360 | func br (B,bs) = IntegerEntry(D(B), bs) | |
361 | 361 | ||
362 | 362 | ||
363 | 363 | func bt (B) = valueOrElse(getInteger(this, D(B)), 0) | |
364 | 364 | ||
365 | 365 | ||
366 | 366 | func bu (B) = { | |
367 | 367 | let bv = E(B) | |
368 | 368 | let bw = valueOrElse(getInteger(this, bv), w) | |
369 | 369 | let bx = valueOrElse(getInteger(this, k), 0) | |
370 | 370 | let by = min([(w + x), height]) | |
371 | 371 | let bz = (by - bw) | |
372 | 372 | let bA = bt(B) | |
373 | 373 | let bB = fraction(bA, bz, x) | |
374 | - | let bC = fraction(bB, bx, d) | |
374 | + | let bC = fraction(bB, bx, (d * d)) | |
375 | 375 | $Tuple3(bC, bB, bw) | |
376 | 376 | } | |
377 | 377 | ||
378 | 378 | ||
379 | 379 | func bD (B) = { | |
380 | 380 | let bE = F(B) | |
381 | 381 | let bF = valueOrElse(getInteger(this, bE), 0) | |
382 | 382 | let bG = H(B) | |
383 | 383 | let bB = valueOrElse(getInteger(this, bG), 0) | |
384 | 384 | let bH = bu(B) | |
385 | 385 | let bC = bH._1 | |
386 | 386 | let bI = bH._2 | |
387 | 387 | let bw = bH._3 | |
388 | 388 | if ((0 >= bC)) | |
389 | 389 | then nil | |
390 | 390 | else [IntegerEntry(E(B), bw), IntegerEntry(bG, (bB + bI)), IntegerEntry(bE, (bF + bC))] | |
391 | 391 | } | |
392 | 392 | ||
393 | 393 | ||
394 | 394 | func bJ (z,B,bK) = { | |
395 | 395 | let bL = aV(z) | |
396 | 396 | let ba = bL._1 | |
397 | 397 | let bc = bL._2 | |
398 | 398 | let bM = bg(z, B) | |
399 | 399 | let be = bM._1 | |
400 | 400 | let bf = bM._2 | |
401 | 401 | let bN = [if (!(W)) | |
402 | 402 | then true | |
403 | 403 | else e("contract is temporary stopped"), if (!(X)) | |
404 | 404 | then true | |
405 | 405 | else e("unstake is temporary disabled"), if ((bK > 0)) | |
406 | 406 | then true | |
407 | 407 | else e("unstake amount should be greater than 0"), if ((bf >= bK)) | |
408 | 408 | then true | |
409 | 409 | else e("unstake amount should be less or equal user staked amount"), if ((bc >= bK)) | |
410 | 410 | then true | |
411 | 411 | else e("unstake amount should be less or equal node staked amount"), if (Y(z)) | |
412 | 412 | then true | |
413 | 413 | else e(makeString(["node address is not valid:", z], " ")), if (Y(B)) | |
414 | 414 | then true | |
415 | 415 | else e(makeString(["user address is not valid:", B], " "))] | |
416 | 416 | if ((bN == bN)) | |
417 | 417 | then { | |
418 | 418 | let bO = (bc - bK) | |
419 | 419 | let bP = (bf - bK) | |
420 | 420 | let bQ = bn(B) | |
421 | 421 | let bl = bQ._1 | |
422 | 422 | let bm = bQ._2 | |
423 | 423 | let bR = (bm + bK) | |
424 | 424 | let bs = bt(B) | |
425 | 425 | let bS = (bs - bK) | |
426 | 426 | let bT = bD(B) | |
427 | 427 | ([aR(z, ba, bO), bd(z, B, be, bP), bk(B, bl, bR), br(B, bS), IntegerEntry(J(z), bO), IntegerEntry(L(z, B), bP)] ++ bT) | |
428 | 428 | } | |
429 | 429 | else throw("Strict value is not equal to itself.") | |
430 | 430 | } | |
431 | 431 | ||
432 | 432 | ||
433 | 433 | func bU (B,bV) = { | |
434 | 434 | let bW = bn(B) | |
435 | 435 | let bl = bW._1 | |
436 | 436 | let bm = bW._2 | |
437 | 437 | let bN = [if (!(W)) | |
438 | 438 | then true | |
439 | 439 | else e("contract is temporary stopped"), if (!(X)) | |
440 | 440 | then true | |
441 | 441 | else e("claim is temporary disabled"), if ((bV > 0)) | |
442 | 442 | then true | |
443 | 443 | else e("claim amount should be greater than 0"), if ((bl >= bV)) | |
444 | 444 | then true | |
445 | 445 | else e("claim amount should be less or equal unlocked amount"), if (Y(B)) | |
446 | 446 | then true | |
447 | 447 | else e(makeString(["user address is not valid:", B], " "))] | |
448 | 448 | if ((bN == bN)) | |
449 | 449 | then { | |
450 | 450 | let bX = (bl - bV) | |
451 | 451 | [bk(B, bX, bm), ScriptTransfer(addressFromStringValue(B), bV, U)] | |
452 | 452 | } | |
453 | 453 | else throw("Strict value is not equal to itself.") | |
454 | 454 | } | |
455 | 455 | ||
456 | 456 | ||
457 | 457 | func bY (B,bZ) = { | |
458 | 458 | let ca = bn(B) | |
459 | 459 | let bl = ca._1 | |
460 | 460 | let bm = ca._2 | |
461 | 461 | let bN = [if (!(W)) | |
462 | 462 | then true | |
463 | 463 | else e("contract is temporary stopped"), if ((1 >= size(bZ.payments))) | |
464 | 464 | then true | |
465 | 465 | else e("maximum 1 payment"), if (if ((size(bZ.payments) == 0)) | |
466 | 466 | then true | |
467 | 467 | else (bZ.payments[0].assetId == U)) | |
468 | 468 | then true | |
469 | 469 | else e(makeString(["payment assetId should be:", S], " ")), if (Y(B)) | |
470 | 470 | then true | |
471 | 471 | else e(makeString(["user address is not valid:", B], " "))] | |
472 | 472 | if ((bN == bN)) | |
473 | 473 | then { | |
474 | 474 | let bX = (bl + bZ.payments[0].amount) | |
475 | 475 | [bk(B, bX, bm)] | |
476 | 476 | } | |
477 | 477 | else throw("Strict value is not equal to itself.") | |
478 | 478 | } | |
479 | 479 | ||
480 | 480 | ||
481 | 481 | func cb (z,B,cc,bZ) = { | |
482 | 482 | let cd = bn(B) | |
483 | 483 | let bl = cd._1 | |
484 | 484 | let bm = cd._2 | |
485 | 485 | let ce = if ((size(bZ.payments) == 0)) | |
486 | 486 | then 0 | |
487 | 487 | else bZ.payments[0].amount | |
488 | 488 | let cf = ((bm + bl) + ce) | |
489 | 489 | let bN = [if (!(W)) | |
490 | 490 | then true | |
491 | 491 | else e("contract is temporary stopped"), if ((1 >= size(bZ.payments))) | |
492 | 492 | then true | |
493 | 493 | else e("maximum 1 payment"), if (if ((size(bZ.payments) == 0)) | |
494 | 494 | then true | |
495 | 495 | else (bZ.payments[0].assetId == U)) | |
496 | 496 | then true | |
497 | 497 | else e(makeString(["payment assetId should be:", S], " ")), if ((cc > 0)) | |
498 | 498 | then true | |
499 | 499 | else e("amount should be greater than 0"), if ((cf >= cc)) | |
500 | 500 | then true | |
501 | 501 | else e("amount should be less or equal (payment + available) amount"), if ((cc >= ce)) | |
502 | 502 | then true | |
503 | 503 | else throw("amount should be greater or equal payment amount"), if (Y(z)) | |
504 | 504 | then true | |
505 | 505 | else e(makeString(["node address is not valid:", z], " ")), if (Y(B)) | |
506 | 506 | then true | |
507 | 507 | else e(makeString(["user address is not valid:", B], " "))] | |
508 | 508 | if ((bN == bN)) | |
509 | 509 | then { | |
510 | 510 | let cg = aV(z) | |
511 | 511 | let ba = cg._1 | |
512 | 512 | let bc = cg._2 | |
513 | 513 | let bO = (bc + cc) | |
514 | 514 | let ch = bg(z, B) | |
515 | 515 | let be = ch._1 | |
516 | 516 | let bf = ch._2 | |
517 | 517 | let bP = (bf + cc) | |
518 | 518 | let ci = (cc - ce) | |
519 | 519 | let bR = max([0, (bm - ci)]) | |
520 | 520 | let bX = min([bl, (bl + (bm - ci))]) | |
521 | 521 | let bs = bt(B) | |
522 | 522 | let bS = (bs + cc) | |
523 | 523 | let bT = bD(B) | |
524 | 524 | ([aR(z, ba, bO), bd(z, B, be, bP), bk(B, bX, bR), br(B, bS), IntegerEntry(J(z), bO), IntegerEntry(L(z, B), bP)] ++ bT) | |
525 | 525 | } | |
526 | 526 | else throw("Strict value is not equal to itself.") | |
527 | 527 | } | |
528 | 528 | ||
529 | 529 | ||
530 | 530 | func cj (z,B,bZ) = { | |
531 | 531 | let bN = [if ((size(bZ.payments) == 1)) | |
532 | 532 | then true | |
533 | 533 | else e("payment size should be exactly 1")] | |
534 | 534 | if ((bN == bN)) | |
535 | 535 | then cb(z, B, bZ.payments[0].amount, bZ) | |
536 | 536 | else throw("Strict value is not equal to itself.") | |
537 | 537 | } | |
538 | 538 | ||
539 | 539 | ||
540 | 540 | func ck (cl) = { | |
541 | 541 | let cm = [if ((cl > 0)) | |
542 | 542 | then true | |
543 | 543 | else e("period length should be greater than 0")] | |
544 | 544 | if ((cm == cm)) | |
545 | 545 | then if ((s == -1)) | |
546 | 546 | then [IntegerEntry(n, cl), IntegerEntry(m, height)] | |
547 | 547 | else [IntegerEntry(l, (t + 1)), IntegerEntry(m, v), IntegerEntry(n, cl)] | |
548 | 548 | else throw("Strict value is not equal to itself.") | |
549 | 549 | } | |
550 | 550 | ||
551 | 551 | ||
552 | 552 | func cn (B) = { | |
553 | 553 | let co = bu(B) | |
554 | 554 | let cp = co._1 | |
555 | 555 | let bI = co._2 | |
556 | 556 | let bw = co._3 | |
557 | 557 | let cq = valueOrElse(getInteger(this, F(B)), 0) | |
558 | 558 | let cr = (cp + cq) | |
559 | 559 | let cs = valueOrElse(getInteger(this, H(B)), 0) | |
560 | 560 | let bB = (cs + bI) | |
561 | 561 | let ct = valueOrElse(getInteger(this, G(B)), 0) | |
562 | 562 | let cu = valueOrElse(getInteger(this, I(B)), 0) | |
563 | 563 | $Tuple5(cr, ct, bB, cu, bw) | |
564 | 564 | } | |
565 | 565 | ||
566 | 566 | ||
567 | 567 | func cv (B) = { | |
568 | 568 | let cw = cn(B) | |
569 | 569 | let cr = cw._1 | |
570 | 570 | let ct = cw._2 | |
571 | 571 | let bB = cw._3 | |
572 | 572 | let cu = cw._4 | |
573 | 573 | let bw = cw._5 | |
574 | 574 | let cm = [if ((cr > 0)) | |
575 | 575 | then true | |
576 | 576 | else e("nothing to claim")] | |
577 | 577 | if ((cm == cm)) | |
578 | 578 | then { | |
579 | 579 | let cx = { | |
580 | 580 | let Q = U | |
581 | 581 | if ($isInstanceOf(Q, "ByteVector")) | |
582 | 582 | then { | |
583 | 583 | let cy = Q | |
584 | 584 | [Burn(cy, bB)] | |
585 | 585 | } | |
586 | 586 | else nil | |
587 | 587 | } | |
588 | 588 | ([IntegerEntry(E(B), bw), IntegerEntry(G(B), (ct + cr)), IntegerEntry(I(B), (cu + bB)), IntegerEntry(F(B), 0), IntegerEntry(H(B), 0), ScriptTransfer(addressFromStringValue(B), cr, V)] ++ cx) | |
589 | 589 | } | |
590 | 590 | else throw("Strict value is not equal to itself.") | |
591 | 591 | } | |
592 | 592 | ||
593 | 593 | ||
594 | 594 | @Callable(bZ) | |
595 | 595 | func setNewPeriodLength (cl) = { | |
596 | 596 | let bN = [if (ap(toString(bZ.caller))) | |
597 | 597 | then true | |
598 | 598 | else e("caller is not in adminList")] | |
599 | 599 | if ((bN == bN)) | |
600 | 600 | then ck(cl) | |
601 | 601 | else throw("Strict value is not equal to itself.") | |
602 | 602 | } | |
603 | 603 | ||
604 | 604 | ||
605 | 605 | ||
606 | 606 | @Callable(bZ) | |
607 | 607 | func claimUnits () = { | |
608 | 608 | let B = toString(bZ.caller) | |
609 | 609 | cv(B) | |
610 | 610 | } | |
611 | 611 | ||
612 | 612 | ||
613 | 613 | ||
614 | 614 | @Callable(bZ) | |
615 | 615 | func setForceStopFlag (cz) = { | |
616 | 616 | let cm = [if (ap(toString(bZ.caller))) | |
617 | 617 | then true | |
618 | 618 | else e("caller is not in adminList")] | |
619 | 619 | if ((cm == cm)) | |
620 | 620 | then [BooleanEntry(h, cz)] | |
621 | 621 | else throw("Strict value is not equal to itself.") | |
622 | 622 | } | |
623 | 623 | ||
624 | 624 | ||
625 | 625 | ||
626 | 626 | @Callable(bZ) | |
627 | 627 | func setForceOutStopFlag (cz) = { | |
628 | 628 | let cm = [if (ap(toString(bZ.caller))) | |
629 | 629 | then true | |
630 | 630 | else e("caller is not in adminList")] | |
631 | 631 | if ((cm == cm)) | |
632 | 632 | then [BooleanEntry(i, cz)] | |
633 | 633 | else throw("Strict value is not equal to itself.") | |
634 | 634 | } | |
635 | 635 | ||
636 | 636 | ||
637 | 637 | ||
638 | 638 | @Callable(bZ) | |
639 | 639 | func getNodeDataREADONLY (z) = { | |
640 | 640 | let cA = aV(z) | |
641 | 641 | let cB = cA._1 | |
642 | 642 | let aT = cA._2 | |
643 | 643 | $Tuple2(nil, $Tuple5(u, cB, v, aT, height)) | |
644 | 644 | } | |
645 | 645 | ||
646 | 646 | ||
647 | 647 | ||
648 | 648 | @Callable(bZ) | |
649 | 649 | func getUserLeasingDataREADONLY (z,B) = { | |
650 | 650 | let cC = bg(z, B) | |
651 | 651 | let cB = cC._1 | |
652 | 652 | let aT = cC._2 | |
653 | 653 | $Tuple2(nil, $Tuple5(u, cB, v, aT, height)) | |
654 | 654 | } | |
655 | 655 | ||
656 | 656 | ||
657 | 657 | ||
658 | 658 | @Callable(bZ) | |
659 | 659 | func getUserDataREADONLY (B) = { | |
660 | 660 | let cD = bn(B) | |
661 | 661 | let bl = cD._1 | |
662 | 662 | let bm = cD._2 | |
663 | 663 | let bs = bt(B) | |
664 | 664 | let cE = cn(B) | |
665 | 665 | let cr = cE._1 | |
666 | 666 | let ct = cE._2 | |
667 | 667 | let bB = cE._3 | |
668 | 668 | let cu = cE._4 | |
669 | 669 | let bw = cE._5 | |
670 | 670 | $Tuple2(nil, $Tuple11(u, bl, v, bm, bs, height, cr, ct, bB, cu, bw)) | |
671 | 671 | } | |
672 | 672 | ||
673 | 673 | ||
674 | 674 | ||
675 | 675 | @Callable(bZ) | |
676 | 676 | func leaseByAddress (z,B) = cj(z, B, bZ) | |
677 | 677 | ||
678 | 678 | ||
679 | 679 | ||
680 | 680 | @Callable(bZ) | |
681 | 681 | func lease (z) = { | |
682 | 682 | let B = toString(bZ.caller) | |
683 | 683 | cj(z, B, bZ) | |
684 | 684 | } | |
685 | 685 | ||
686 | 686 | ||
687 | 687 | ||
688 | 688 | @Callable(bZ) | |
689 | 689 | func leaseFromLocked (z,cF) = { | |
690 | 690 | let B = toString(bZ.caller) | |
691 | 691 | cb(z, B, cF, bZ) | |
692 | 692 | } | |
693 | 693 | ||
694 | 694 | ||
695 | 695 | ||
696 | 696 | @Callable(bZ) | |
697 | 697 | func cancelLease (z,cF) = { | |
698 | 698 | let B = toString(bZ.caller) | |
699 | 699 | bJ(z, B, cF) | |
700 | 700 | } | |
701 | 701 | ||
702 | 702 | ||
703 | 703 | ||
704 | 704 | @Callable(bZ) | |
705 | 705 | func claim (cF) = { | |
706 | 706 | let B = toString(bZ.caller) | |
707 | 707 | bU(B, cF) | |
708 | 708 | } | |
709 | 709 | ||
710 | 710 | ||
711 | 711 | ||
712 | 712 | @Callable(bZ) | |
713 | 713 | func claimAll () = { | |
714 | 714 | let B = toString(bZ.caller) | |
715 | 715 | let cG = bn(B) | |
716 | 716 | let bl = cG._1 | |
717 | 717 | let bm = cG._2 | |
718 | 718 | let bN = [if ((bl > 0)) | |
719 | 719 | then true | |
720 | 720 | else e("nothing to claim")] | |
721 | 721 | if ((bN == bN)) | |
722 | 722 | then bU(B, bl) | |
723 | 723 | else throw("Strict value is not equal to itself.") | |
724 | 724 | } | |
725 | 725 | ||
726 | 726 | ||
727 | 727 | ||
728 | 728 | @Callable(bZ) | |
729 | 729 | func stakeFor (B) = bY(B, bZ) | |
730 | 730 | ||
731 | 731 | ||
732 | 732 | ||
733 | 733 | @Callable(bZ) | |
734 | 734 | func startUnitsVesting (x) = { | |
735 | 735 | let cH = 100000000000000000 | |
736 | 736 | let cI = bZ.payments[0].amount | |
737 | 737 | let bx = (fraction(cH, d, cI) / x) | |
738 | 738 | let cm = [if (ap(toString(bZ.caller))) | |
739 | 739 | then true | |
740 | 740 | else e("caller is not in adminList"), if ((size(bZ.payments) == 1)) | |
741 | 741 | then true | |
742 | 742 | else e("should be 1 payment"), if ((bx > 0)) | |
743 | 743 | then true | |
744 | 744 | else e("units per block should be greated than 0")] | |
745 | 745 | if ((cm == cm)) | |
746 | 746 | then [IntegerEntry(k, bx), IntegerEntry(o, height), IntegerEntry(p, x), StringEntry(j, O(bZ.payments[0].assetId))] | |
747 | 747 | else throw("Strict value is not equal to itself.") | |
748 | 748 | } | |
749 | 749 | ||
750 | 750 | ||
751 | 751 | ||
752 | 752 | @Callable(bZ) | |
753 | 753 | func voteForTxId (ae) = { | |
754 | 754 | let aL = toBase58String(bZ.caller.bytes) | |
755 | 755 | let au = ad(ae) | |
756 | 756 | let as = [StringEntry(aj(), ae)] | |
757 | 757 | let cJ = getString(this, aj()) | |
758 | 758 | let aP = [if ((size(fromBase58String(ae)) == ac)) | |
759 | 759 | then true | |
760 | 760 | else e((ae + " is not valid txId")), if (if ((cJ == unit)) | |
761 | 761 | then true | |
762 | 762 | else (value(cJ) != ae)) | |
763 | 763 | then true | |
764 | 764 | else e((ae + " is already allowed"))] | |
765 | 765 | if ((aP == aP)) | |
766 | 766 | then aK(aL, au, ab, as) | |
767 | 767 | else throw("Strict value is not equal to itself.") | |
768 | 768 | } | |
769 | 769 | ||
770 | 770 | ||
771 | 771 | @Verifier(cK) | |
772 | 772 | func cL () = { | |
773 | 773 | let cM = (cK.id == fromBase58String(valueOrElse(getString(this, aj()), ""))) | |
774 | 774 | let cN = if ((size(an()) >= ab)) | |
775 | 775 | then false | |
776 | 776 | else sigVerify(cK.bodyBytes, cK.proofs[0], cK.senderPublicKey) | |
777 | 777 | if (cM) | |
778 | 778 | then true | |
779 | 779 | else cN | |
780 | 780 | } | |
781 | 781 |
github/deemru/w8io/169f3d6 81.93 ms ◑