tx · 4AVszmih4JRDsCjb5e6wKEapVJQ6ujWZHyK4jh7gvGVf 3N2M4PztorHwrfENp7D6LhYGgGodjiD1fjn: -0.02400000 Waves 2023.08.17 14:57 [2714562] smart account 3N2M4PztorHwrfENp7D6LhYGgGodjiD1fjn > SELF 0.00000000 Waves
{ "type": 13, "id": "4AVszmih4JRDsCjb5e6wKEapVJQ6ujWZHyK4jh7gvGVf", "fee": 2400000, "feeAssetId": null, "timestamp": 1692273503508, "version": 2, "chainId": 84, "sender": "3N2M4PztorHwrfENp7D6LhYGgGodjiD1fjn", "senderPublicKey": "Fj9LPkCtmW3pDnVU6wPQnvqpZJCBieWSvZqY5FAGeCyp", "proofs": [ "2RkBXJioy3RA9GVQKWThWgHtFTuhNBd8qs1GD8Do2RtKFpWs8ddvDedSMRAJ9KRDvq3k8zv7n1g2QwiD7awrdjc7", "2ZW2h4ULtmebwZWwnDtTUMZmzGX4d5U48HBxaCM5trxFXrKozjcaJhkHhofAoLiahB3Wojgy323wy25hU7gCfxS" ], "script": "base64:BgIhCAISABIAEgQKAggIEgMKAQgSBwoFCAgIAQESAwoBCBIAUQAGU0NBTEU4AIDC1y8AC0xFTkRFUlNfQVBSCQDMCAIAlgEJAMwIAgB4CQDMCAIAZAkAzAgCAFAJAMwIAgA8CQDMCAIAKAkAzAgCAB4JAMwIAgAUCQDMCAIACgUDbmlsABNMRU5ERVJTX0FQUl9QRVJJT0RTCQDMCAICAzEtMQkAzAgCAgMyLTIJAMwIAgIDMy0zCQDMCAICAzQtNAkAzAgCAgM1LTgJAMwIAgIEOS0xMgkAzAgCAgcxNCAtIDE2CQDMCAICBTE3LTIwCQDMCAICBjIwLTEwNAUDbmlsABNMRU5ERVJTX01BWF9QRVJJT0RTAGgABkxQX0FQUgkAzAgCAJYBCQDMCAIAeAkAzAgCAGQJAMwIAgBQCQDMCAIAPAkAzAgCACgFA25pbAAOTFBfQVBSX1BFUklPRFMJAMwIAgIDMS0xCQDMCAICAzItMgkAzAgCAgMzL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dWx0aVNpZ25lZEJ5QWRtaW5zFsbXUQ==", "height": 2714562, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: A2SapnPHH4MQ9YHSLWFDqkyu5oAnJSDgs5bP9WNFq6jT Next: GLB2UdxqvDXCNA9nu6F9ZMegDRBrtAkc9oMSVFtoxtK2 Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = 100000000 | |
5 | 5 | ||
6 | 6 | let b = [150, 120, 100, 80, 60, 40, 30, 20, 10] | |
7 | 7 | ||
8 | 8 | let c = ["1-1", "2-2", "3-3", "4-4", "5-8", "9-12", "14 - 16", "17-20", "20-104"] | |
9 | 9 | ||
10 | 10 | let d = 104 | |
11 | 11 | ||
12 | 12 | let e = [150, 120, 100, 80, 60, 40] | |
13 | 13 | ||
14 | 14 | let f = ["1-1", "2-2", "3-3", "4-4", "5-8", "9-12"] | |
15 | 15 | ||
16 | 16 | let g = 12 | |
17 | 17 | ||
18 | 18 | let h = "startHeight" | |
19 | 19 | ||
20 | 20 | let i = "periodLength" | |
21 | 21 | ||
22 | 22 | let j = "lendRewardsAmount" | |
23 | 23 | ||
24 | 24 | let k = "lpRewardAmount" | |
25 | 25 | ||
26 | 26 | let l = "tokens" | |
27 | 27 | ||
28 | 28 | let m = "_userTotalSupply" | |
29 | 29 | ||
30 | 30 | let n = "_tokenInterest" | |
31 | 31 | ||
32 | 32 | let o = "_tokenInterestHeight" | |
33 | 33 | ||
34 | 34 | let p = "_tokenRewardPerBlock" | |
35 | 35 | ||
36 | 36 | let q = "rewardUpdateHeight" | |
37 | 37 | ||
38 | 38 | let r = "_userLandInterest" | |
39 | 39 | ||
40 | 40 | let s = "_userLendAvailableClaim" | |
41 | 41 | ||
42 | 42 | let t = "_userLpAvailableClaim" | |
43 | 43 | ||
44 | 44 | let u = "lpInterest" | |
45 | 45 | ||
46 | 46 | let v = "lpInterestHeight" | |
47 | 47 | ||
48 | 48 | let w = "prevLPTotalSupply" | |
49 | 49 | ||
50 | 50 | let x = "lpRewardPerBlock" | |
51 | 51 | ||
52 | 52 | let y = "_userLpInterest" | |
53 | 53 | ||
54 | 54 | let z = "_twap5B" | |
55 | 55 | ||
56 | 56 | let A = "_prevLendTotalSupply" | |
57 | 57 | ||
58 | 58 | let B = "axlyTokenId" | |
59 | 59 | ||
60 | 60 | let C = "total_supplied_" | |
61 | 61 | ||
62 | 62 | let D = "_supplied_" | |
63 | 63 | ||
64 | 64 | let E = "setup_tokens" | |
65 | 65 | ||
66 | 66 | let F = "_total_share_tokens_locked" | |
67 | 67 | ||
68 | 68 | let G = "_share_tokens_locked" | |
69 | 69 | ||
70 | 70 | let H = "axlyPool" | |
71 | 71 | ||
72 | 72 | let I = "share_asset_id" | |
73 | 73 | ||
74 | 74 | let J = "price_oracle" | |
75 | 75 | ||
76 | 76 | let K = "mainContract" | |
77 | 77 | ||
78 | 78 | let L = "tokenomicContract" | |
79 | 79 | ||
80 | 80 | let M = "swopfi_farming_addr" | |
81 | 81 | ||
82 | 82 | let N = "lend_service_addr" | |
83 | 83 | ||
84 | 84 | let O = "group1_admin1_pub_key" | |
85 | 85 | ||
86 | 86 | let P = "group1_admin2_pub_key" | |
87 | 87 | ||
88 | 88 | let Q = "group1_admin3_pub_key" | |
89 | 89 | ||
90 | 90 | let R = "admin_call_pub_key" | |
91 | 91 | ||
92 | 92 | let S = valueOrErrorMessage(getString(this, H), "Can't get axlyPool key") | |
93 | 93 | ||
94 | 94 | let T = addressFromStringValue(valueOrErrorMessage(getString(this, K), "Can't get mainContact key")) | |
95 | 95 | ||
96 | 96 | let U = addressFromStringValue(valueOrErrorMessage(getString(this, L), "Can't get tokenomicContract key")) | |
97 | 97 | ||
98 | 98 | let V = addressFromStringValue(valueOrErrorMessage(getString(T, N), "Can't get lend_service_addr key")) | |
99 | 99 | ||
100 | 100 | let W = addressFromStringValue(valueOrErrorMessage(getString(T, M), "Can't get swopfi_farming_addr key")) | |
101 | 101 | ||
102 | 102 | let X = addressFromStringValue(valueOrErrorMessage(getString(T, J), "Can't get price_oracle key")) | |
103 | 103 | ||
104 | 104 | let Y = fromBase58String(valueOrErrorMessage(getString(T, O), "Can't get admin1PK")) | |
105 | 105 | ||
106 | 106 | let Z = fromBase58String(valueOrErrorMessage(getString(T, P), "Can't get admin2PK")) | |
107 | 107 | ||
108 | 108 | let aa = fromBase58String(valueOrErrorMessage(getString(T, Q), "Can't get operatorPK")) | |
109 | 109 | ||
110 | 110 | let ab = fromBase58String(valueOrErrorMessage(getString(this, R), "Can't get operatorPK")) | |
111 | 111 | ||
112 | 112 | let ac = valueOrErrorMessage(getString(U, B), "Can't get Axly token id") | |
113 | 113 | ||
114 | 114 | let ad = getIntegerValue(this, h) | |
115 | 115 | ||
116 | 116 | let ae = getIntegerValue(this, i) | |
117 | 117 | ||
118 | 118 | let af = ((height - ad) / ae) | |
119 | 119 | ||
120 | 120 | let ag = getIntegerValue(U, j) | |
121 | 121 | ||
122 | 122 | let ah = (ag / d) | |
123 | 123 | ||
124 | 124 | let ai = getIntegerValue(U, k) | |
125 | 125 | ||
126 | 126 | let aj = (ai / g) | |
127 | 127 | ||
128 | 128 | func ak (al) = if (containsElement([Y, Z, aa], al.callerPublicKey)) | |
129 | 129 | then unit | |
130 | 130 | else throw("Only admin group1 can call this function") | |
131 | 131 | ||
132 | 132 | ||
133 | 133 | func am (al) = if ((al.caller == this)) | |
134 | 134 | then unit | |
135 | 135 | else throw("Only contract itself can call this function") | |
136 | 136 | ||
137 | 137 | ||
138 | 138 | func an (al) = if ((al.callerPublicKey == ab)) | |
139 | 139 | then unit | |
140 | 140 | else throw("Only operator can call this function") | |
141 | 141 | ||
142 | 142 | ||
143 | 143 | func ao (al) = if ((al.caller == V)) | |
144 | 144 | then unit | |
145 | 145 | else throw("Only land contract can call this function") | |
146 | 146 | ||
147 | 147 | ||
148 | 148 | func ap (al) = if ((al.caller == W)) | |
149 | 149 | then unit | |
150 | 150 | else throw("Only land contract can call this function") | |
151 | 151 | ||
152 | 152 | ||
153 | 153 | func aq () = { | |
154 | 154 | let ar = valueOrElse(getString(this, l), "") | |
155 | 155 | if ((ar == "")) | |
156 | 156 | then nil | |
157 | 157 | else split(ar, ",") | |
158 | 158 | } | |
159 | 159 | ||
160 | 160 | ||
161 | 161 | func as (at) = getIntegerValue(X, (at + z)) | |
162 | 162 | ||
163 | 163 | ||
164 | 164 | func au (at) = if ((at == "WAVES")) | |
165 | 165 | then 8 | |
166 | 166 | else { | |
167 | 167 | let av = assetInfo(fromBase58String(at)) | |
168 | 168 | if ($isInstanceOf(av, "Asset")) | |
169 | 169 | then { | |
170 | 170 | let aw = av | |
171 | 171 | aw.decimals | |
172 | 172 | } | |
173 | 173 | else throw("Can't find asset") | |
174 | 174 | } | |
175 | 175 | ||
176 | 176 | ||
177 | 177 | func ax (at) = pow(10, 0, au(at), 0, 0, DOWN) | |
178 | 178 | ||
179 | 179 | ||
180 | 180 | func ay (az,aA,aB) = { | |
181 | 181 | func aC (aD,aE) = { | |
182 | 182 | let aF = aD | |
183 | 183 | let aG = aF._1 | |
184 | 184 | let aH = aF._2 | |
185 | 185 | let aI = split(aE, "-") | |
186 | 186 | let aJ = $Tuple2(parseIntValue(aI[0]), parseIntValue(aI[1])) | |
187 | 187 | let aK = aJ._1 | |
188 | 188 | let aL = aJ._2 | |
189 | 189 | if (aH) | |
190 | 190 | then aD | |
191 | 191 | else if (if ((az >= aK)) | |
192 | 192 | then (aL >= az) | |
193 | 193 | else false) | |
194 | 194 | then $Tuple2(aG, true) | |
195 | 195 | else $Tuple2((aG + 1), false) | |
196 | 196 | } | |
197 | 197 | ||
198 | 198 | let aM = { | |
199 | 199 | let aN = c | |
200 | 200 | let aO = size(aN) | |
201 | 201 | let aP = $Tuple2(0, false) | |
202 | 202 | func aQ (aR,aS) = if ((aS >= aO)) | |
203 | 203 | then aR | |
204 | 204 | else aC(aR, aN[aS]) | |
205 | 205 | ||
206 | 206 | func aT (aR,aS) = if ((aS >= aO)) | |
207 | 207 | then aR | |
208 | 208 | else throw("List size exceeds 9") | |
209 | 209 | ||
210 | 210 | aT(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aP, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9) | |
211 | 211 | } | |
212 | 212 | let aG = aM._1 | |
213 | 213 | let aH = aM._2 | |
214 | 214 | if (aH) | |
215 | 215 | then fraction((b[aG] * a), 7, 365) | |
216 | 216 | else 0 | |
217 | 217 | } | |
218 | 218 | ||
219 | 219 | ||
220 | 220 | func aU () = { | |
221 | 221 | func aC (aD,aV) = { | |
222 | 222 | let aW = aD | |
223 | 223 | let aX = aW._1 | |
224 | 224 | let aY = aW._2 | |
225 | 225 | let aZ = aW._3 | |
226 | 226 | let ba = valueOrElse(getInteger(V, (C + aV)), 0) | |
227 | 227 | let bb = as(aV) | |
228 | 228 | let bc = ax(aV) | |
229 | 229 | let bd = fraction(ba, bb, bc) | |
230 | 230 | $Tuple3((aX :+ ba), (aY :+ bd), (aZ + bd)) | |
231 | 231 | } | |
232 | 232 | ||
233 | 233 | let aN = aq() | |
234 | 234 | let aO = size(aN) | |
235 | 235 | let aP = $Tuple3(nil, nil, 0) | |
236 | 236 | func aQ (aR,aS) = if ((aS >= aO)) | |
237 | 237 | then aR | |
238 | 238 | else aC(aR, aN[aS]) | |
239 | 239 | ||
240 | 240 | func aT (aR,aS) = if ((aS >= aO)) | |
241 | 241 | then aR | |
242 | 242 | else throw("List size exceeds 30") | |
243 | 243 | ||
244 | 244 | aT(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aP, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30) | |
245 | 245 | } | |
246 | 246 | ||
247 | 247 | ||
248 | 248 | func be (aV) = { | |
249 | 249 | let ba = valueOrElse(getInteger(V, (C + aV)), 0) | |
250 | 250 | let bb = as(aV) | |
251 | 251 | let bc = ax(aV) | |
252 | 252 | fraction(ba, bb, bc) | |
253 | 253 | } | |
254 | 254 | ||
255 | 255 | ||
256 | 256 | func bf (aV,aX) = if ((height >= ad)) | |
257 | 257 | then 0 | |
258 | 258 | else { | |
259 | 259 | let bg = getIntegerValue(this, (aV + p)) | |
260 | 260 | let bh = getIntegerValue(this, (aV + n)) | |
261 | 261 | let bi = getIntegerValue(this, (aV + o)) | |
262 | 262 | let bj = ((height - bi) * bg) | |
263 | 263 | let bk = if ((aX > 0)) | |
264 | 264 | then fraction(bj, a, aX) | |
265 | 265 | else 0 | |
266 | 266 | (bh + bk) | |
267 | 267 | } | |
268 | 268 | ||
269 | 269 | ||
270 | 270 | func bl (aX) = if ((height >= ad)) | |
271 | 271 | then 0 | |
272 | 272 | else { | |
273 | 273 | let bg = getIntegerValue(this, x) | |
274 | 274 | let bh = getIntegerValue(this, u) | |
275 | 275 | let bi = getIntegerValue(this, v) | |
276 | 276 | let bj = ((height - bi) * bg) | |
277 | 277 | let bk = if ((aX > 0)) | |
278 | 278 | then fraction(bj, a, aX) | |
279 | 279 | else 0 | |
280 | 280 | (bh + bk) | |
281 | 281 | } | |
282 | 282 | ||
283 | 283 | ||
284 | 284 | func bm (bn,aV) = { | |
285 | 285 | let aX = valueOrElse(getInteger(V, (C + aV)), 0) | |
286 | 286 | let bo = bf(aV, aX) | |
287 | 287 | let bp = valueOrElse(getInteger(V, ((bn + D) + aV)), 0) | |
288 | 288 | let bq = valueOrElse(getInteger(this, (((aV + "_") + bn) + r)), if ((bp == 0)) | |
289 | 289 | then bo | |
290 | 290 | else 0) | |
291 | 291 | let bj = fraction(bp, (bo - bq), a) | |
292 | 292 | $Tuple3(bj, bo, bp) | |
293 | 293 | } | |
294 | 294 | ||
295 | 295 | ||
296 | 296 | func br (bn) = { | |
297 | 297 | let aX = valueOrElse(getInteger(W, (S + F)), 0) | |
298 | 298 | let bo = bl(aX) | |
299 | 299 | let bp = valueOrElse(getInteger(V, (((S + "_") + bn) + G)), 0) | |
300 | 300 | let bq = valueOrElse(getInteger(this, (bn + y)), if ((bp == 0)) | |
301 | 301 | then bo | |
302 | 302 | else 0) | |
303 | 303 | let bj = fraction(bp, (bo - bq), a) | |
304 | 304 | $Tuple3(bj, bo, bp) | |
305 | 305 | } | |
306 | 306 | ||
307 | 307 | ||
308 | 308 | func bs (bn,bt) = { | |
309 | 309 | func bu (aD,aV) = { | |
310 | 310 | let bv = aD | |
311 | 311 | let bw = bv._1 | |
312 | 312 | let bx = bv._2 | |
313 | 313 | let by = bv._3 | |
314 | 314 | let bz = bv._4 | |
315 | 315 | let bA = valueOrElse(getInteger(this, (((aV + "_") + bn) + s)), 0) | |
316 | 316 | let bB = bm(bn, aV) | |
317 | 317 | let bC = bB._1 | |
318 | 318 | let bD = bB._2 | |
319 | 319 | let bp = bB._3 | |
320 | 320 | let bE = (bA + bC) | |
321 | 321 | if (if ((bE > 0)) | |
322 | 322 | then true | |
323 | 323 | else (bp > 0)) | |
324 | 324 | then { | |
325 | 325 | let bF = if (if (bt) | |
326 | 326 | then true | |
327 | 327 | else (bE == 0)) | |
328 | 328 | then bz | |
329 | 329 | else (bz ++ [IntegerEntry((((aV + "_") + bn) + r), bD), IntegerEntry((((aV + "_") + bn) + s), 0), IntegerEntry((aV + n), bD), IntegerEntry((aV + o), height)]) | |
330 | 330 | $Tuple4((bw :+ aV), (bx :+ bE), (by + bE), bF) | |
331 | 331 | } | |
332 | 332 | else $Tuple4(bw, bx, by, bz) | |
333 | 333 | } | |
334 | 334 | ||
335 | 335 | let aN = aq() | |
336 | 336 | let aO = size(aN) | |
337 | 337 | let aP = $Tuple4(nil, nil, 0, nil) | |
338 | 338 | func aQ (aR,aS) = if ((aS >= aO)) | |
339 | 339 | then aR | |
340 | 340 | else bu(aR, aN[aS]) | |
341 | 341 | ||
342 | 342 | func aT (aR,aS) = if ((aS >= aO)) | |
343 | 343 | then aR | |
344 | 344 | else throw("List size exceeds 30") | |
345 | 345 | ||
346 | 346 | aT(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aP, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30) | |
347 | 347 | } | |
348 | 348 | ||
349 | 349 | ||
350 | 350 | func bG (bn,bt) = { | |
351 | 351 | let bA = valueOrElse(getInteger(this, (bn + t)), 0) | |
352 | 352 | let bH = br(bn) | |
353 | 353 | let bC = bH._1 | |
354 | 354 | let bI = bH._2 | |
355 | 355 | let bp = bH._3 | |
356 | 356 | let bE = (bA + bC) | |
357 | 357 | if (if (bt) | |
358 | 358 | then true | |
359 | 359 | else (bE == 0)) | |
360 | 360 | then $Tuple2(bE, nil) | |
361 | 361 | else $Tuple2(bE, [IntegerEntry((bn + y), bI), IntegerEntry((bn + t), 0), IntegerEntry(u, bI), IntegerEntry(v, height)]) | |
362 | 362 | } | |
363 | 363 | ||
364 | 364 | ||
365 | 365 | func bJ () = { | |
366 | 366 | let bK = as(ac) | |
367 | 367 | let bL = ax(ac) | |
368 | 368 | func bM (aB,aV) = { | |
369 | 369 | let bN = valueOrElse(getInteger(this, (aV + p)), 0) | |
370 | 370 | let bO = fraction(bN, bK, bL) | |
371 | 371 | let bP = ((bO * ae) * 52) | |
372 | 372 | let aY = be(aV) | |
373 | 373 | (aB :+ fraction(bP, a, aY)) | |
374 | 374 | } | |
375 | 375 | ||
376 | 376 | let bQ = { | |
377 | 377 | let aN = aq() | |
378 | 378 | let aO = size(aN) | |
379 | 379 | let aP = nil | |
380 | 380 | func aQ (aR,aS) = if ((aS >= aO)) | |
381 | 381 | then aR | |
382 | 382 | else bM(aR, aN[aS]) | |
383 | 383 | ||
384 | 384 | func aT (aR,aS) = if ((aS >= aO)) | |
385 | 385 | then aR | |
386 | 386 | else throw("List size exceeds 30") | |
387 | 387 | ||
388 | 388 | aT(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aP, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30) | |
389 | 389 | } | |
390 | 390 | let bR = getIntegerValue(W, (S + F)) | |
391 | 391 | let bS = getStringValue(addressFromStringValue(S), I) | |
392 | 392 | let bT = ax(bS) | |
393 | 393 | let bU = { | |
394 | 394 | let bV = ({ | |
395 | 395 | let bV = invoke(T, "getShareAssetPriceREADONLY", [[bS]], nil) | |
396 | 396 | if ($isInstanceOf(bV, "List[Any]")) | |
397 | 397 | then bV | |
398 | 398 | else throw(($getType(bV) + " couldn't be cast to List[Any]")) | |
399 | 399 | })[0] | |
400 | 400 | if ($isInstanceOf(bV, "Int")) | |
401 | 401 | then bV | |
402 | 402 | else throw(($getType(bV) + " couldn't be cast to Int")) | |
403 | 403 | } | |
404 | 404 | let bW = fraction(bR, bU, bT) | |
405 | 405 | let bN = valueOrElse(getInteger(this, x), 0) | |
406 | 406 | let bO = fraction(bN, bK, bL) | |
407 | 407 | let bP = ((bO * ae) * 52) | |
408 | 408 | let bX = fraction(bP, a, bW) | |
409 | 409 | $Tuple3(aq(), bQ, bX) | |
410 | 410 | } | |
411 | 411 | ||
412 | 412 | ||
413 | 413 | @Callable(al) | |
414 | 414 | func claimLenderRewards () = { | |
415 | 415 | let bY = bs(toString(al.caller), false) | |
416 | 416 | if ((bY._3 == 0)) | |
417 | 417 | then throw("claim amount must be greater than 0") | |
418 | 418 | else { | |
419 | 419 | let bZ = invoke(U, "withdrawLendReward", [bY._3, toString(al.caller)], nil) | |
420 | 420 | if ((bZ == bZ)) | |
421 | 421 | then bY._4 | |
422 | 422 | else throw("Strict value is not equal to itself.") | |
423 | 423 | } | |
424 | 424 | } | |
425 | 425 | ||
426 | 426 | ||
427 | 427 | ||
428 | 428 | @Callable(al) | |
429 | 429 | func claimLpRewards () = { | |
430 | 430 | let bY = bG(toString(al.caller), false) | |
431 | 431 | if ((bY._1 == 0)) | |
432 | 432 | then throw("claim amount must be greater than 0") | |
433 | 433 | else { | |
434 | 434 | let bZ = invoke(U, "withdrawLpReward", [bY._1, toString(al.caller)], nil) | |
435 | 435 | if ((bZ == bZ)) | |
436 | 436 | then bY._2 | |
437 | 437 | else throw("Strict value is not equal to itself.") | |
438 | 438 | } | |
439 | 439 | } | |
440 | 440 | ||
441 | 441 | ||
442 | 442 | ||
443 | 443 | @Callable(al) | |
444 | 444 | func lendAction (bn,aV) = valueOrElse(ao(al), { | |
445 | 445 | let bA = valueOrElse(getInteger(this, (aV + s)), 0) | |
446 | 446 | let ca = bm(bn, aV) | |
447 | 447 | let bC = ca._1 | |
448 | 448 | let bD = ca._2 | |
449 | 449 | [IntegerEntry((((bn + "_") + aV) + r), bD), IntegerEntry((((bn + "_") + aV) + s), (bA + bC)), IntegerEntry((aV + n), bD), IntegerEntry((aV + o), height)] | |
450 | 450 | }) | |
451 | 451 | ||
452 | 452 | ||
453 | 453 | ||
454 | 454 | @Callable(al) | |
455 | 455 | func lpAction (bn) = valueOrElse(ap(al), { | |
456 | 456 | let bA = valueOrElse(getInteger(this, t), 0) | |
457 | 457 | let cb = br(bn) | |
458 | 458 | let bC = cb._1 | |
459 | 459 | let bI = cb._2 | |
460 | 460 | [IntegerEntry((bn + y), bI), IntegerEntry((bn + t), (bA + bC)), IntegerEntry((bn + u), bI), IntegerEntry((bn + v), height)] | |
461 | 461 | }) | |
462 | 462 | ||
463 | 463 | ||
464 | 464 | ||
465 | 465 | @Callable(al) | |
466 | 466 | func init (cc,cd,ce,cf,ae) = valueOrElse(am(al), if (!(isDefined(addressFromString(cc)))) | |
467 | 467 | then throw("Wrong farming address") | |
468 | 468 | else if (!(isDefined(addressFromString(cd)))) | |
469 | 469 | then throw("Wrong main contract address") | |
470 | 470 | else [StringEntry(K, cc), StringEntry(L, cd), StringEntry(H, ce), IntegerEntry(h, cf), IntegerEntry(i, ae)]) | |
471 | 471 | ||
472 | 472 | ||
473 | 473 | ||
474 | 474 | @Callable(al) | |
475 | 475 | func initNewToken (aV) = valueOrElse(ak(al), if (isDefined(getInteger(this, (aV + n)))) | |
476 | 476 | then throw("token already inited") | |
477 | 477 | else if (!(contains(getStringValue(V, E), aV))) | |
478 | 478 | then throw("no token on landing") | |
479 | 479 | else { | |
480 | 480 | let cg = (aq() :+ aV) | |
481 | 481 | [IntegerEntry((aV + n), 0), IntegerEntry((aV + o), max([ad, height])), StringEntry(l, makeString(cg, ",")), IntegerEntry((aV + p), 0)] | |
482 | 482 | }) | |
483 | 483 | ||
484 | 484 | ||
485 | 485 | ||
486 | 486 | @Callable(al) | |
487 | 487 | func updateRewards () = valueOrElse(an(al), { | |
488 | 488 | let ch = valueOrElse(getInteger(this, q), 0) | |
489 | 489 | if (((ch + ae) > height)) | |
490 | 490 | then throw("rewards alredy updated in this period") | |
491 | 491 | else { | |
492 | 492 | let ci = aU() | |
493 | 493 | let aX = ci._1 | |
494 | 494 | let aY = ci._2 | |
495 | 495 | let aZ = ci._3 | |
496 | 496 | let bK = as(ac) | |
497 | 497 | let bL = ax(ac) | |
498 | 498 | let cj = ay(af, c, b) | |
499 | 499 | func ck (aD,aV) = { | |
500 | 500 | let cl = aD | |
501 | 501 | let bz = cl._1 | |
502 | 502 | let aG = cl._2 | |
503 | 503 | if ((aX[aG] == 0)) | |
504 | 504 | then $Tuple2((bz ++ [IntegerEntry((aV + A), aX[aG]), IntegerEntry((aV + p), 0), IntegerEntry((aV + n), bf(aV, aX[aG])), IntegerEntry((aV + o), max([ad, height]))]), (aG + 1)) | |
505 | 505 | else { | |
506 | 506 | let cm = fraction(aY[aG], a, aZ) | |
507 | 507 | let cn = fraction(cm, ah, a) | |
508 | 508 | let co = fraction(cn, bK, bL) | |
509 | 509 | let cp = valueOrElse(getInteger(this, A), 0) | |
510 | 510 | let cq = if (if ((cp == 0)) | |
511 | 511 | then true | |
512 | 512 | else (aX[aG] == 0)) | |
513 | 513 | then 0 | |
514 | 514 | else fraction(cp, a, aX[aG]) | |
515 | 515 | let bj = (min([(cj * (a + cq)), fraction(cj, (15 * a), 10)]) / a) | |
516 | 516 | let cr = min([co, fraction(aY[aG], bj, a)]) | |
517 | 517 | let cs = fraction(cr, bK, bL) | |
518 | 518 | let bg = (cs / ae) | |
519 | 519 | $Tuple2((bz ++ [IntegerEntry((aV + A), aX[aG]), IntegerEntry((aV + p), bg), IntegerEntry((aV + n), bf(aV, aX[aG])), IntegerEntry((aV + o), max([ad, height]))]), (aG + 1)) | |
520 | 520 | } | |
521 | 521 | } | |
522 | 522 | ||
523 | 523 | let ct = { | |
524 | 524 | let aN = aq() | |
525 | 525 | let aO = size(aN) | |
526 | 526 | let aP = $Tuple2(nil, 0) | |
527 | 527 | func aQ (aR,aS) = if ((aS >= aO)) | |
528 | 528 | then aR | |
529 | 529 | else ck(aR, aN[aS]) | |
530 | 530 | ||
531 | 531 | func aT (aR,aS) = if ((aS >= aO)) | |
532 | 532 | then aR | |
533 | 533 | else throw("List size exceeds 30") | |
534 | 534 | ||
535 | 535 | aT(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aQ(aP, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30) | |
536 | 536 | } | |
537 | 537 | let cu = ct._1 | |
538 | 538 | let aG = ct._2 | |
539 | 539 | let cv = ay(af, f, e) | |
540 | 540 | let bR = getIntegerValue(W, (S + F)) | |
541 | 541 | let cw = valueOrElse(getInteger(this, w), 0) | |
542 | 542 | let bS = getStringValue(addressFromStringValue(S), I) | |
543 | 543 | let bT = ax(bS) | |
544 | 544 | let bU = { | |
545 | 545 | let bV = ({ | |
546 | 546 | let bV = invoke(T, "getShareAssetPriceREADONLY", [[bS]], nil) | |
547 | 547 | if ($isInstanceOf(bV, "List[Any]")) | |
548 | 548 | then bV | |
549 | 549 | else throw(($getType(bV) + " couldn't be cast to List[Any]")) | |
550 | 550 | })[0] | |
551 | 551 | if ($isInstanceOf(bV, "Int")) | |
552 | 552 | then bV | |
553 | 553 | else throw(($getType(bV) + " couldn't be cast to Int")) | |
554 | 554 | } | |
555 | 555 | let bW = fraction(bR, bU, bT) | |
556 | 556 | let cx = fraction(aj, bK, bL) | |
557 | 557 | let cy = if (if ((cw == 0)) | |
558 | 558 | then true | |
559 | 559 | else (bR == 0)) | |
560 | 560 | then 0 | |
561 | 561 | else fraction(cw, a, bR) | |
562 | 562 | let cz = (min([(cv * (a + cy)), fraction(cv, (15 * a), 10)]) / a) | |
563 | 563 | let cA = min([cx, fraction(bW, cz, a)]) | |
564 | 564 | let cB = fraction(cA, bK, bL) | |
565 | 565 | let cC = (cB / ae) | |
566 | 566 | let cD = [IntegerEntry(w, bR), IntegerEntry(x, cC), IntegerEntry(u, bl(bR)), IntegerEntry(v, max([ad, height]))] | |
567 | 567 | ((cD ++ cu) :+ IntegerEntry(q, max([ad, height]))) | |
568 | 568 | } | |
569 | 569 | }) | |
570 | 570 | ||
571 | 571 | ||
572 | 572 | @Verifier(cE) | |
573 | 573 | func cF () = { | |
574 | 574 | let cG = { | |
575 | 575 | let cH = if (sigVerify(cE.bodyBytes, cE.proofs[0], Y)) | |
576 | 576 | then 1 | |
577 | 577 | else 0 | |
578 | 578 | let cI = if (sigVerify(cE.bodyBytes, cE.proofs[1], Z)) | |
579 | 579 | then 1 | |
580 | 580 | else 0 | |
581 | 581 | let cJ = if (sigVerify(cE.bodyBytes, cE.proofs[2], aa)) | |
582 | 582 | then 1 | |
583 | 583 | else 0 | |
584 | 584 | (((cH + cI) + cJ) >= 2) | |
585 | 585 | } | |
586 | 586 | let av = cE | |
587 | 587 | if ($isInstanceOf(av, "InvokeScriptTransaction")) | |
588 | 588 | then { | |
589 | 589 | let bZ = av | |
590 | 590 | let cK = sigVerify(cE.bodyBytes, cE.proofs[0], cE.senderPublicKey) | |
591 | 591 | let cL = if ((bZ.fee == 900000)) | |
592 | 592 | then (bZ.feeAssetId == unit) | |
593 | 593 | else false | |
594 | 594 | let cM = (bZ.function == "init") | |
595 | 595 | let cN = (size(bZ.payments) == 0) | |
596 | 596 | if (if (if (if (cL) | |
597 | 597 | then cM | |
598 | 598 | else false) | |
599 | 599 | then cK | |
600 | 600 | else false) | |
601 | 601 | then cN | |
602 | 602 | else false) | |
603 | 603 | then true | |
604 | 604 | else cG | |
605 | 605 | } | |
606 | 606 | else cG | |
607 | 607 | } | |
608 | 608 |
github/deemru/w8io/169f3d6 71.13 ms ◑