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