tx · CcGH7yZgP3KsW9T98fwiQHtprj1dbf7uqTKYAHHQR9Jt 3N5yarEiTQccnnuerogYT3BxM5Zc5bRgDZy: -0.04000000 Waves 2022.08.05 15:00 [2171153] smart account 3N5yarEiTQccnnuerogYT3BxM5Zc5bRgDZy > SELF 0.00000000 Waves
{ "type": 13, "id": "CcGH7yZgP3KsW9T98fwiQHtprj1dbf7uqTKYAHHQR9Jt", "fee": 4000000, "feeAssetId": null, "timestamp": 1659700881596, "version": 1, "sender": "3N5yarEiTQccnnuerogYT3BxM5Zc5bRgDZy", "senderPublicKey": "FK9j3YFWVChXKESTn33fMZz1JseCNMMqHhfB7smxJo4e", "proofs": [ "5jcQfizJpJcWepS32yvVkA52Eux471ViJ4JEovA6qnevJ4CjfnJy4UhmgtbZU9RCpnHB4nKNvR7k8mcYYc5SQWGh" ], "script": "base64:BgIlCAISBQoDAQgIEgASABIDCgEBEgASABIAEgMKAQgSBAoCCAESAE0ACXNlcGFyYXRvcgICX18AA1NFUAICX18ABU1VTFQ2AMCEPQAFTVVMVDgAgMLXLwAGTVVMVFg2CQC2AgEFBU1VTFQ2AAZNVUxUWDgJALYCAQUFTVVMVDgAB01VTFRYMTgJALYCAQCAgJC7utat8A0ACldBVkVTSURTVFICBVdBVkVTAAdXQVZFU0lECQDZBAEFCldBVkVTSURTVFIAGUlkeENvbnRyb2xDZmdOZXV0cmlub0RhcHAAAQAYSWR4Q29udHJvbENmZ0F1Y3Rpb25EYXBwAAIAFElkeENvbnRyb2xDZmdScGREYXBwAAMAFUlkeENvbnRyb2xDZmdNYXRoRGFwcAAEABxJZHhDb250cm9sQ2ZnTGlxdWlkYXRpb25EYXBwAAUAFUlkeENvbnRyb2xDZmdSZXN0RGFwcAAGAB1JZHhDb250cm9sQ2ZnTm9kZVJlZ2lzdHJ5RGFwcAAHABxJZHhDb250cm9sQ2ZnTnNidFN0YWtpbmdEYXBwAAgAGUlkeENvbnRyb2xDZmdNZWRpYXRvckRhcHAACQAcSWR4Q29ud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J0AQUIc3VyZlVzZXIJAJQKAgUDbmlsCQDMCAIFCHN1cmZVc2VyCQDMCAIFCXN1cmZUb3RhbAkAzAgCBRFnbnNidEZyb21TdXJmVXNlcgkAzAgCBRJnbnNidEZyb21TdXJmVG90YWwJAMwIAgURdnBFZmZlY3RpdmVIZWlnaHQJAMwIAgUUdnBFZmZlY3RpdmVIZWlnaHRORVcFA25pbAFpARFjb25maWdTWVNSRUFET05MWQAECm1pbkxvY2tBbXQJARFAZXh0ck5hdGl2ZSgxMDU1KQEJARBrZXlNaW5Mb2NrQW1vdW50AAQSZ25zYnRGcm9tU3VyZkNvZWZmCQBoAgCsAgUFTVVMVDYEIHN1cmZWb3RpbmdQb3dlclJlc3RyaWN0aXZlUGVyaW9kCQBoAgCgCwAOBBticlRvU3RhcnRTdXJmVHJhbnNmb3JtYXRpb24AsJhGCQCUCgIFA25pbAkAzAgCBQptaW5Mb2NrQW10CQDMCAIFEmduc2J0RnJvbVN1cmZDb2VmZgkAzAgCBSBzdXJmVm90aW5nUG93ZXJSZXN0cmljdGl2ZVBlcmlvZAkAzAgCBRticlRvU3RhcnRTdXJmVHJhbnNmb3JtYXRpb24FA25pbAAhs3qK", "chainId": 84, "height": 2171153, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: BpFBPt4RYhW9VKevUY1B1p2diT7NWx66HPzzCB9PHuKf Next: GFD3midDb5GQmYzmU1e1UhA3DVBCZJiHoRYw2dZaGe6b Diff:
Old | New | Differences | |
---|---|---|---|
262 | 262 | } | |
263 | 263 | ||
264 | 264 | ||
265 | - | func bE (bF) = (bF / | |
265 | + | func bE (bF) = (bF / 300) | |
266 | 266 | ||
267 | 267 | ||
268 | 268 | func bG (bH,bI,bJ,bK) = { | |
581 | 581 | @Callable(bU) | |
582 | 582 | func configSYSREADONLY () = { | |
583 | 583 | let cW = getIntegerValue(K()) | |
584 | - | let cX = ( | |
584 | + | let cX = (300 * c) | |
585 | 585 | let cY = (1440 * 14) | |
586 | 586 | let cZ = 1150000 | |
587 | 587 | $Tuple2(nil, [cW, cX, cY, cZ]) |
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 = "__" | |
7 | 7 | ||
8 | 8 | let c = 1000000 | |
9 | 9 | ||
10 | 10 | let d = 100000000 | |
11 | 11 | ||
12 | 12 | let e = toBigInt(c) | |
13 | 13 | ||
14 | 14 | let f = toBigInt(d) | |
15 | 15 | ||
16 | 16 | let g = toBigInt(1000000000000000000) | |
17 | 17 | ||
18 | 18 | let h = "WAVES" | |
19 | 19 | ||
20 | 20 | let i = fromBase58String(h) | |
21 | 21 | ||
22 | 22 | let j = 1 | |
23 | 23 | ||
24 | 24 | let k = 2 | |
25 | 25 | ||
26 | 26 | let l = 3 | |
27 | 27 | ||
28 | 28 | let m = 4 | |
29 | 29 | ||
30 | 30 | let n = 5 | |
31 | 31 | ||
32 | 32 | let o = 6 | |
33 | 33 | ||
34 | 34 | let p = 7 | |
35 | 35 | ||
36 | 36 | let q = 8 | |
37 | 37 | ||
38 | 38 | let r = 9 | |
39 | 39 | ||
40 | 40 | let s = 10 | |
41 | 41 | ||
42 | 42 | let t = 11 | |
43 | 43 | ||
44 | 44 | func u (v,w) = valueOrErrorMessage(getString(v, w), (((("mandatory " + toString(v)) + ".") + w) + " is not defined")) | |
45 | 45 | ||
46 | 46 | ||
47 | 47 | func x () = "%s%s__config__controlAddress" | |
48 | 48 | ||
49 | 49 | ||
50 | 50 | func y () = "%s__controlConfig" | |
51 | 51 | ||
52 | 52 | ||
53 | 53 | func z (A) = split(u(A, y()), b) | |
54 | 54 | ||
55 | 55 | ||
56 | 56 | func B (C,D) = valueOrErrorMessage(addressFromString(C[D]), ("Control cfg doesn't contain address at index " + toString(D))) | |
57 | 57 | ||
58 | 58 | ||
59 | 59 | let E = addressFromStringValue(valueOrElse(getString(this, x()), "3N4NS7d4Jo9a6F14LiFUKKYVdUkkf2eP4Zx")) | |
60 | 60 | ||
61 | 61 | let C = z(E) | |
62 | 62 | ||
63 | 63 | let F = B(C, m) | |
64 | 64 | ||
65 | 65 | let G = B(C, j) | |
66 | 66 | ||
67 | 67 | let H = B(C, k) | |
68 | 68 | ||
69 | 69 | func I () = "bond_asset_id" | |
70 | 70 | ||
71 | 71 | ||
72 | 72 | func J () = "auction_contract" | |
73 | 73 | ||
74 | 74 | ||
75 | 75 | func K () = "%s__minLockAmount" | |
76 | 76 | ||
77 | 77 | ||
78 | 78 | func L () = "%s__stakedAssetId" | |
79 | 79 | ||
80 | 80 | ||
81 | 81 | func M (N) = makeString(["%s%s%s", "paramByUser", toString(N), "amount"], a) | |
82 | 82 | ||
83 | 83 | ||
84 | 84 | func O (N) = makeString(["%s%s%s", "paramByUser", toString(N), "start"], a) | |
85 | 85 | ||
86 | 86 | ||
87 | 87 | func P (N) = makeString(["%s%s%s", "paramByUser", toString(N), "vpEffectiveHeight"], a) | |
88 | 88 | ||
89 | 89 | ||
90 | 90 | func Q (R,N,S) = makeString(["%s%s%s%s", "history", R, toString(N), toBase58String(S)], a) | |
91 | 91 | ||
92 | 92 | ||
93 | 93 | func T () = makeString(["%s%s", "stats", "activeTotalLocked"], a) | |
94 | 94 | ||
95 | 95 | ||
96 | 96 | func U () = makeString(["%s%s", "stats", "locksCount"], a) | |
97 | 97 | ||
98 | 98 | ||
99 | 99 | func V () = makeString(["%s%s", "stats", "activeUsersCount"], a) | |
100 | 100 | ||
101 | 101 | ||
102 | 102 | func W () = "%s__nextPeriod" | |
103 | 103 | ||
104 | 104 | ||
105 | 105 | func X () = "supportedRewardAssets" | |
106 | 106 | ||
107 | 107 | ||
108 | 108 | func Y () = makeString(["%s%s%s", "dep", "lastNum"], a) | |
109 | 109 | ||
110 | 110 | ||
111 | 111 | func Z (N) = makeString(["%s%s%s", "userRwdFromDepNum", N], a) | |
112 | 112 | ||
113 | 113 | ||
114 | 114 | func aa (ab,ac) = makeString(["%s%d", "rwdPerNsbtSumByDepNum", toString(ab), ac], a) | |
115 | 115 | ||
116 | 116 | ||
117 | 117 | func ad (N,ac) = makeString(["%s%s%s", "rwd", N, ac], a) | |
118 | 118 | ||
119 | 119 | ||
120 | 120 | func ae (N,ac) = makeString(["%s%s%s", "clm", N, ac], a) | |
121 | 121 | ||
122 | 122 | ||
123 | 123 | func af (ac) = makeString(["%s%s", "notDistributed", ac], a) | |
124 | 124 | ||
125 | 125 | ||
126 | 126 | func ag (ah,ai) = fraction(toBigInt(ah), g, ai) | |
127 | 127 | ||
128 | 128 | ||
129 | 129 | func aj (w) = valueOrElse(getInteger(this, w), 0) | |
130 | 130 | ||
131 | 131 | ||
132 | 132 | func ak (w,al) = valueOrElse(getInteger(this, w), al) | |
133 | 133 | ||
134 | 134 | ||
135 | 135 | func am (w) = valueOrErrorMessage(getInteger(this, w), (("Mandatory this." + w) + " is not defined")) | |
136 | 136 | ||
137 | 137 | ||
138 | 138 | func an (w,al) = valueOrElse(getString(this, w), al) | |
139 | 139 | ||
140 | 140 | ||
141 | 141 | func ao (ap) = valueOrErrorMessage(addressFromString(ap), ("couldn't parse passed addressStr=" + ap)) | |
142 | 142 | ||
143 | 143 | ||
144 | 144 | func aq (ar) = if ((ar == h)) | |
145 | 145 | then unit | |
146 | 146 | else fromBase58String(ar) | |
147 | 147 | ||
148 | 148 | ||
149 | 149 | func as (at) = { | |
150 | 150 | let au = at | |
151 | 151 | if ($isInstanceOf(au, "Int")) | |
152 | 152 | then { | |
153 | 153 | let av = au | |
154 | 154 | av | |
155 | 155 | } | |
156 | 156 | else throw("fail to cast into Int") | |
157 | 157 | } | |
158 | 158 | ||
159 | 159 | ||
160 | 160 | func aw (ax,ay,az,aA) = makeString(["%d%d%d%d%d%d", toString(lastBlock.height), toString(lastBlock.timestamp), toString(ax), toString(ay), toString(az), toString(aA)], a) | |
161 | 161 | ||
162 | 162 | ||
163 | 163 | func aB (aC,aD) = makeString(["%s%d%d%s", aC, toString(lastBlock.height), toString(lastBlock.timestamp), aD], a) | |
164 | 164 | ||
165 | 165 | ||
166 | 166 | func aE (R,N,S,ax,ay,az,aA) = StringEntry(Q(R, N, S), aw(ax, ay, az, aA)) | |
167 | 167 | ||
168 | 168 | ||
169 | 169 | func aF (N,S,aD) = StringEntry(Q("claim", N, S), aB(toString(N), aD)) | |
170 | 170 | ||
171 | 171 | ||
172 | 172 | func aG (aH,aI,aJ) = { | |
173 | 173 | let aK = aj(U()) | |
174 | 174 | let aL = aj(V()) | |
175 | 175 | let aM = aj(T()) | |
176 | 176 | let aN = (aM + aH) | |
177 | 177 | $Tuple3([IntegerEntry(U(), (aK + aI)), IntegerEntry(V(), (aL + aJ)), IntegerEntry(T(), aN)], aM, aN) | |
178 | 178 | } | |
179 | 179 | ||
180 | 180 | ||
181 | 181 | func aO (N,aP,aQ) = [IntegerEntry(M(N), aP), IntegerEntry(O(N), aQ)] | |
182 | 182 | ||
183 | 183 | ||
184 | 184 | func aR () = $Tuple2(fromBase58String(u(this, L())), am(K())) | |
185 | 185 | ||
186 | 186 | ||
187 | 187 | func aS (N) = (ak(M(N), 0) > 0) | |
188 | 188 | ||
189 | 189 | ||
190 | 190 | func aT (N) = if (aS(N)) | |
191 | 191 | then $Tuple3(false, am(M(N)), am(O(N))) | |
192 | 192 | else unit | |
193 | 193 | ||
194 | 194 | ||
195 | 195 | func aU (N) = valueOrErrorMessage(aT(N), (("User " + toString(N)) + " is not defined")) | |
196 | 196 | ||
197 | 197 | ||
198 | 198 | let aV = an(X(), "") | |
199 | 199 | ||
200 | 200 | let aW = split(aV, "_") | |
201 | 201 | ||
202 | 202 | func aX (N,aY,aZ,ba,bb) = { | |
203 | 203 | let bc = aa(bb, aY) | |
204 | 204 | let bd = parseBigIntValue(an(aa(bb, aY), "0")) | |
205 | 205 | let be = parseBigIntValue(an(aa(ba, aY), "0")) | |
206 | 206 | let bf = toInt(fraction((bd - be), aZ, g)) | |
207 | 207 | let bg = ad(N, aY) | |
208 | 208 | let bh = ak(bg, 0) | |
209 | 209 | $Tuple4((bh + bf), bh, bf, bg) | |
210 | 210 | } | |
211 | 211 | ||
212 | 212 | ||
213 | 213 | func bi (bj,N,bk) = { | |
214 | 214 | let aZ = toBigInt(bk) | |
215 | 215 | let bl = Z(N) | |
216 | 216 | let ba = ak(bl, -1) | |
217 | 217 | let bb = ak(Y(), -1) | |
218 | 218 | func bm (bn,bo) = { | |
219 | 219 | let bp = aX(N, bo, aZ, ba, bb) | |
220 | 220 | let bq = bp._1 | |
221 | 221 | let br = bp._2 | |
222 | 222 | let bs = bp._3 | |
223 | 223 | let bg = bp._4 | |
224 | 224 | (bn :+ IntegerEntry(bg, bq)) | |
225 | 225 | } | |
226 | 226 | ||
227 | 227 | if (if ((bb == -1)) | |
228 | 228 | then (ba == -1) | |
229 | 229 | else false) | |
230 | 230 | then nil | |
231 | 231 | else if (if ((bb == -1)) | |
232 | 232 | then (ba > -1) | |
233 | 233 | else false) | |
234 | 234 | then throw("invalid depositNumLast and depositNumUser state") | |
235 | 235 | else if (if ((bb > -1)) | |
236 | 236 | then (ba >= -1) | |
237 | 237 | else false) | |
238 | 238 | then if (bj) | |
239 | 239 | then [IntegerEntry(bl, bb)] | |
240 | 240 | else ({ | |
241 | 241 | let bt = aW | |
242 | 242 | let bu = size(bt) | |
243 | 243 | let bv = nil | |
244 | 244 | func bw (bx,by) = if ((by >= bu)) | |
245 | 245 | then bx | |
246 | 246 | else bm(bx, bt[by]) | |
247 | 247 | ||
248 | 248 | func bz (bx,by) = if ((by >= bu)) | |
249 | 249 | then bx | |
250 | 250 | else throw("List size exceeds 10") | |
251 | 251 | ||
252 | 252 | bz(bw(bw(bw(bw(bw(bw(bw(bw(bw(bw(bv, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
253 | 253 | } :+ IntegerEntry(bl, bb)) | |
254 | 254 | else throw(((("uncovered condition: depositNumLast=" + toString(bb)) + " depositNumUser=") + toString(ba))) | |
255 | 255 | } | |
256 | 256 | ||
257 | 257 | ||
258 | 258 | func bA (ac,bB) = { | |
259 | 259 | let bC = af(ac) | |
260 | 260 | let bD = ak(bC, 0) | |
261 | 261 | [IntegerEntry(bC, (bD + bB))] | |
262 | 262 | } | |
263 | 263 | ||
264 | 264 | ||
265 | - | func bE (bF) = (bF / | |
265 | + | func bE (bF) = (bF / 300) | |
266 | 266 | ||
267 | 267 | ||
268 | 268 | func bG (bH,bI,bJ,bK) = { | |
269 | 269 | let bL = (bI - height) | |
270 | 270 | if ((0 >= bL)) | |
271 | 271 | then (height + bH) | |
272 | 272 | else { | |
273 | 273 | let bM = (bH - bL) | |
274 | 274 | let bN = if ((bK != 0)) | |
275 | 275 | then fraction(bJ, d, bK) | |
276 | 276 | else bI | |
277 | 277 | ((bH + height) - fraction(bM, bN, d)) | |
278 | 278 | } | |
279 | 279 | } | |
280 | 280 | ||
281 | 281 | ||
282 | 282 | func bO (N,bP) = { | |
283 | 283 | let bQ = valueOrElse(aT(N), $Tuple3(true, 0, 0)) | |
284 | 284 | let bj = bQ._1 | |
285 | 285 | let bk = bQ._2 | |
286 | 286 | let bI = bQ._3 | |
287 | 287 | let bR = if (bj) | |
288 | 288 | then bP | |
289 | 289 | else (bP + bk) | |
290 | 290 | let bH = (1440 * 14) | |
291 | 291 | let bS = if (bj) | |
292 | 292 | then (bH + height) | |
293 | 293 | else bG(bH, bI, bk, bR) | |
294 | 294 | $Tuple5(bj, bk, bI, bR, bS) | |
295 | 295 | } | |
296 | 296 | ||
297 | 297 | ||
298 | 298 | func bT (N,bU) = { | |
299 | 299 | let bV = aR() | |
300 | 300 | let bW = bV._1 | |
301 | 301 | let bX = bV._2 | |
302 | 302 | if ((size(bU.payments) != 1)) | |
303 | 303 | then throw("Invalid payments size") | |
304 | 304 | else { | |
305 | 305 | let bY = bU.payments[0] | |
306 | 306 | let aP = bY.amount | |
307 | 307 | let bZ = (("Invalid asset. " + toBase58String(bW)) + " is expected") | |
308 | 308 | let aY = valueOrErrorMessage(bY.assetId, bZ) | |
309 | 309 | if ((aY != bW)) | |
310 | 310 | then throw(bZ) | |
311 | 311 | else { | |
312 | 312 | let ca = toString(N) | |
313 | 313 | let cb = bO(N, aP) | |
314 | 314 | let bj = cb._1 | |
315 | 315 | let bk = cb._2 | |
316 | 316 | let bI = cb._3 | |
317 | 317 | let bR = cb._4 | |
318 | 318 | let bS = cb._5 | |
319 | 319 | if ((bX > bR)) | |
320 | 320 | then throw(("Min lock amount is " + toString(bX))) | |
321 | 321 | else { | |
322 | 322 | let cc = aG(aP, 1, if (bj) | |
323 | 323 | then 1 | |
324 | 324 | else 0) | |
325 | 325 | let cd = cc._1 | |
326 | 326 | let ce = cc._2 | |
327 | 327 | let cf = cc._3 | |
328 | 328 | ((([aE("stake", N, bU.transactionId, bk, bI, bR, bS)] ++ bi(bj, ca, bk)) ++ aO(N, bR, bS)) ++ cd) | |
329 | 329 | } | |
330 | 330 | } | |
331 | 331 | } | |
332 | 332 | } | |
333 | 333 | ||
334 | 334 | ||
335 | 335 | func cg (N,bU) = { | |
336 | 336 | let ca = toString(N) | |
337 | 337 | if ((size(bU.payments) > 0)) | |
338 | 338 | then throw("payments are not accepted") | |
339 | 339 | else { | |
340 | 340 | let ch = valueOrElse(aT(N), $Tuple3(true, 0, 0)) | |
341 | 341 | let bj = ch._1 | |
342 | 342 | let bk = ch._2 | |
343 | 343 | let ci = ch._3 | |
344 | 344 | let aZ = toBigInt(bk) | |
345 | 345 | let bl = Z(ca) | |
346 | 346 | let ba = ak(bl, -1) | |
347 | 347 | let bb = ak(Y(), -1) | |
348 | 348 | func cj (bn,bo) = { | |
349 | 349 | let ck = aX(ca, bo, aZ, ba, bb) | |
350 | 350 | let bq = ck._1 | |
351 | 351 | let br = ck._2 | |
352 | 352 | let bs = ck._3 | |
353 | 353 | let bg = ck._4 | |
354 | 354 | let cl = ae(ca, bo) | |
355 | 355 | let cm = bn | |
356 | 356 | let cn = cm._1 | |
357 | 357 | let co = cm._2 | |
358 | 358 | let cp = makeString([bo, toString(bq)], ":") | |
359 | 359 | let cq = makeString([co, cp], "_") | |
360 | 360 | if ((0 >= bq)) | |
361 | 361 | then $Tuple2(cn, cq) | |
362 | 362 | else $Tuple2((((cn :+ ScriptTransfer(N, bq, aq(bo))) :+ IntegerEntry(cl, (valueOrElse(getInteger(cl), 0) + bq))) :+ IntegerEntry(bg, 0)), cq) | |
363 | 363 | } | |
364 | 364 | ||
365 | 365 | let cr = { | |
366 | 366 | let bt = aW | |
367 | 367 | let bu = size(bt) | |
368 | 368 | let bv = $Tuple2(nil, "") | |
369 | 369 | func bw (bx,by) = if ((by >= bu)) | |
370 | 370 | then bx | |
371 | 371 | else cj(bx, bt[by]) | |
372 | 372 | ||
373 | 373 | func bz (bx,by) = if ((by >= bu)) | |
374 | 374 | then bx | |
375 | 375 | else throw("List size exceeds 10") | |
376 | 376 | ||
377 | 377 | bz(bw(bw(bw(bw(bw(bw(bw(bw(bw(bw(bv, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
378 | 378 | } | |
379 | 379 | let cs = cr._1 | |
380 | 380 | let ct = cr._2 | |
381 | 381 | if ((0 >= size(cs))) | |
382 | 382 | then nil | |
383 | 383 | else ((cs :+ IntegerEntry(bl, bb)) :+ aF(N, bU.transactionId, drop(ct, 1))) | |
384 | 384 | } | |
385 | 385 | } | |
386 | 386 | ||
387 | 387 | ||
388 | 388 | @Callable(bU) | |
389 | 389 | func constructor (bX,cu,bW) = if ((bU.caller != this)) | |
390 | 390 | then throw("Permission denied") | |
391 | 391 | else [IntegerEntry(K(), bX), StringEntry(X(), cu), StringEntry(L(), bW)] | |
392 | 392 | ||
393 | 393 | ||
394 | 394 | ||
395 | 395 | @Callable(bU) | |
396 | 396 | func stake () = bT(bU.caller, bU) | |
397 | 397 | ||
398 | 398 | ||
399 | 399 | ||
400 | 400 | @Callable(bU) | |
401 | 401 | func stakeByOriginCaller () = bT(bU.originCaller, bU) | |
402 | 402 | ||
403 | 403 | ||
404 | 404 | ||
405 | 405 | @Callable(bU) | |
406 | 406 | func unstake (aP) = if ((size(bU.payments) != 0)) | |
407 | 407 | then throw("unstake doesn't require any payment") | |
408 | 408 | else { | |
409 | 409 | let N = bU.caller | |
410 | 410 | let ca = toString(N) | |
411 | 411 | let cv = aR() | |
412 | 412 | let bW = cv._1 | |
413 | 413 | let bX = cv._2 | |
414 | 414 | let cw = aU(N) | |
415 | 415 | let bj = cw._1 | |
416 | 416 | let bk = cw._2 | |
417 | 417 | let bI = cw._3 | |
418 | 418 | if ((0 >= bk)) | |
419 | 419 | then throw("Nothing to unstake") | |
420 | 420 | else if ((aP > bk)) | |
421 | 421 | then throw(((("Requested " + toString(aP)) + ", but staked only ") + toString(bk))) | |
422 | 422 | else { | |
423 | 423 | let bR = (bk - aP) | |
424 | 424 | let cx = aG(-(aP), if ((aP == bk)) | |
425 | 425 | then -1 | |
426 | 426 | else 0, if ((aP == bk)) | |
427 | 427 | then -1 | |
428 | 428 | else 0) | |
429 | 429 | let cd = cx._1 | |
430 | 430 | let ce = cx._2 | |
431 | 431 | let cf = cx._3 | |
432 | 432 | ((([ScriptTransfer(N, aP, bW), aE("unstake", N, bU.transactionId, bk, bI, bR, bI)] ++ bi(false, ca, bk)) ++ aO(N, bR, bI)) ++ cd) | |
433 | 433 | } | |
434 | 434 | } | |
435 | 435 | ||
436 | 436 | ||
437 | 437 | ||
438 | 438 | @Callable(bU) | |
439 | 439 | func deposit () = if ((size(bU.payments) != 1)) | |
440 | 440 | then throw("exact 1 payment is allowed only") | |
441 | 441 | else { | |
442 | 442 | let cy = bU.payments[0] | |
443 | 443 | let aP = cy.amount | |
444 | 444 | let cz = valueOrElse(cy.assetId, i) | |
445 | 445 | let cA = toBase58String(cz) | |
446 | 446 | let cB = if ((cz == i)) | |
447 | 447 | then f | |
448 | 448 | else e | |
449 | 449 | let cC = toBigInt(aP) | |
450 | 450 | let ce = ak(T(), 0) | |
451 | 451 | let cD = toBigInt(ce) | |
452 | 452 | if ((0 > ce)) | |
453 | 453 | then throw("TODO: case is not supported") | |
454 | 454 | else if ((ce == 0)) | |
455 | 455 | then bA(cA, aP) | |
456 | 456 | else { | |
457 | 457 | let cE = fraction(cC, g, cD) | |
458 | 458 | let cF = Y() | |
459 | 459 | let bb = ak(cF, -1) | |
460 | 460 | let cG = (bb + 1) | |
461 | 461 | if (!(contains(aV, cA))) | |
462 | 462 | then throw(((aV + " doesn't contain ") + cA)) | |
463 | 463 | else { | |
464 | 464 | func cH (bn,cI) = { | |
465 | 465 | let cJ = aa(cG, cI) | |
466 | 466 | let cK = an(aa(bb, cI), "0") | |
467 | 467 | (bn :+ (if ((cI == cA)) | |
468 | 468 | then StringEntry(cJ, toString((parseBigIntValue(cK) + cE))) | |
469 | 469 | else StringEntry(cJ, cK))) | |
470 | 470 | } | |
471 | 471 | ||
472 | 472 | ({ | |
473 | 473 | let bt = aW | |
474 | 474 | let bu = size(bt) | |
475 | 475 | let bv = nil | |
476 | 476 | func bw (bx,by) = if ((by >= bu)) | |
477 | 477 | then bx | |
478 | 478 | else cH(bx, bt[by]) | |
479 | 479 | ||
480 | 480 | func bz (bx,by) = if ((by >= bu)) | |
481 | 481 | then bx | |
482 | 482 | else throw("List size exceeds 10") | |
483 | 483 | ||
484 | 484 | bz(bw(bw(bw(bw(bw(bw(bw(bw(bw(bw(bv, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
485 | 485 | } :+ IntegerEntry(cF, cG)) | |
486 | 486 | } | |
487 | 487 | } | |
488 | 488 | } | |
489 | 489 | ||
490 | 490 | ||
491 | 491 | ||
492 | 492 | @Callable(bU) | |
493 | 493 | func claimRewards () = cg(bU.caller, bU) | |
494 | 494 | ||
495 | 495 | ||
496 | 496 | ||
497 | 497 | @Callable(bU) | |
498 | 498 | func claimRewardsByOriginCaller () = cg(bU.originCaller, bU) | |
499 | 499 | ||
500 | 500 | ||
501 | 501 | ||
502 | 502 | @Callable(bU) | |
503 | 503 | func unclaimedRewardsREADONLY (ca) = { | |
504 | 504 | func cL (bn,bo) = ((bn + makeString([bo, "0", "0"], ":")) + "_") | |
505 | 505 | ||
506 | 506 | let cM = if ((ca == "")) | |
507 | 507 | then { | |
508 | 508 | let bt = aW | |
509 | 509 | let bu = size(bt) | |
510 | 510 | let bv = "" | |
511 | 511 | func bw (bx,by) = if ((by >= bu)) | |
512 | 512 | then bx | |
513 | 513 | else cL(bx, bt[by]) | |
514 | 514 | ||
515 | 515 | func bz (bx,by) = if ((by >= bu)) | |
516 | 516 | then bx | |
517 | 517 | else throw("List size exceeds 10") | |
518 | 518 | ||
519 | 519 | bz(bw(bw(bw(bw(bw(bw(bw(bw(bw(bw(bv, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
520 | 520 | } | |
521 | 521 | else { | |
522 | 522 | let N = addressFromStringValue(ca) | |
523 | 523 | let cN = valueOrElse(aT(N), $Tuple3(true, 0, 0)) | |
524 | 524 | let bj = cN._1 | |
525 | 525 | let bk = cN._2 | |
526 | 526 | let ci = cN._3 | |
527 | 527 | let aZ = toBigInt(bk) | |
528 | 528 | let bl = Z(ca) | |
529 | 529 | let ba = ak(bl, -1) | |
530 | 530 | let bb = ak(Y(), -1) | |
531 | 531 | func cj (bn,bo) = { | |
532 | 532 | let cO = aX(ca, bo, aZ, ba, bb) | |
533 | 533 | let bq = cO._1 | |
534 | 534 | let br = cO._2 | |
535 | 535 | let bs = cO._3 | |
536 | 536 | let bg = cO._4 | |
537 | 537 | let cP = valueOrElse(getInteger(ae(ca, bo)), 0) | |
538 | 538 | ((bn + makeString([bo, toString(bq), toString(cP)], ":")) + "_") | |
539 | 539 | } | |
540 | 540 | ||
541 | 541 | let bt = aW | |
542 | 542 | let bu = size(bt) | |
543 | 543 | let bv = "" | |
544 | 544 | func bw (bx,by) = if ((by >= bu)) | |
545 | 545 | then bx | |
546 | 546 | else cj(bx, bt[by]) | |
547 | 547 | ||
548 | 548 | func bz (bx,by) = if ((by >= bu)) | |
549 | 549 | then bx | |
550 | 550 | else throw("List size exceeds 10") | |
551 | 551 | ||
552 | 552 | bz(bw(bw(bw(bw(bw(bw(bw(bw(bw(bw(bv, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
553 | 553 | } | |
554 | 554 | $Tuple2(nil, dropRight(cM, 1)) | |
555 | 555 | } | |
556 | 556 | ||
557 | 557 | ||
558 | 558 | ||
559 | 559 | @Callable(bU) | |
560 | 560 | func surfStakingSYSREADONLY (cQ,cR) = { | |
561 | 561 | let cS = ak(T(), 0) | |
562 | 562 | let cT = bE(cS) | |
563 | 563 | if ((cQ == "")) | |
564 | 564 | then $Tuple2(nil, [0, cS, 0, cT, 0, height, height]) | |
565 | 565 | else { | |
566 | 566 | let N = ao(cQ) | |
567 | 567 | let cb = bO(N, cR) | |
568 | 568 | let bj = cb._1 | |
569 | 569 | let bk = cb._2 | |
570 | 570 | let bI = cb._3 | |
571 | 571 | let bR = cb._4 | |
572 | 572 | let bS = cb._5 | |
573 | 573 | let cU = bk | |
574 | 574 | let cV = bE(cU) | |
575 | 575 | $Tuple2(nil, [cU, cS, cV, cT, bI, bS]) | |
576 | 576 | } | |
577 | 577 | } | |
578 | 578 | ||
579 | 579 | ||
580 | 580 | ||
581 | 581 | @Callable(bU) | |
582 | 582 | func configSYSREADONLY () = { | |
583 | 583 | let cW = getIntegerValue(K()) | |
584 | - | let cX = ( | |
584 | + | let cX = (300 * c) | |
585 | 585 | let cY = (1440 * 14) | |
586 | 586 | let cZ = 1150000 | |
587 | 587 | $Tuple2(nil, [cW, cX, cY, cZ]) | |
588 | 588 | } | |
589 | 589 | ||
590 | 590 |
github/deemru/w8io/169f3d6 65.31 ms ◑