tx · 8AuaVNPo7iDLwAstfa4Qmt9MiXWXfznN2NXdLJvZsQeN 3N2M4PztorHwrfENp7D6LhYGgGodjiD1fjn: -0.02400000 Waves 2023.08.18 13:37 [2715930] smart account 3N2M4PztorHwrfENp7D6LhYGgGodjiD1fjn > SELF 0.00000000 Waves
{ "type": 13, "id": "8AuaVNPo7iDLwAstfa4Qmt9MiXWXfznN2NXdLJvZsQeN", "fee": 2400000, "feeAssetId": null, "timestamp": 1692355070401, "version": 2, "chainId": 84, "sender": "3N2M4PztorHwrfENp7D6LhYGgGodjiD1fjn", "senderPublicKey": "Fj9LPkCtmW3pDnVU6wPQnvqpZJCBieWSvZqY5FAGeCyp", "proofs": [ "TuZo9hzscHqPVsxjre9k1tPeKeKqDX3SMd5KvV6AgopHKVAd6yzjtNqeaZhoriwHSyqEKNQbuBRd9PtBpJhJ4WA", "2E7HqLTF2Fr5qt1RUvwAdeYbb7DvWymNYxaZBfgHJhq4Ak7gxK3bQ5p3FG2afQqnSrvDMJc34cGJy3GsJgg42mFx" ], "script": "base64:BgIhCAISABIAEgQKAggIEgMKAQgSBwoFCAgIAQESAwoBCBIAUQAGU0NBTEU4AIDC1y8AC0xFTkRFUlNfQVBSCQDMCAIAlgEJAMwIAgB4CQDMCAIAZAkAzAgCAFAJAMwIAgA8CQDMCAIAKAkAzAgCAB4JAMwIAgAUCQDMCAIACgUDbmlsABNMRU5ERVJTX0FQUl9QRVJJT0RTCQDMCAICAzEtMQkAzAgCAgMyLTIJAMwIAgIDMy0zCQDMCAICAzQtNAkAzAgCAgM1LTgJAMwIAgIEOS0xMgkAzAgCAgUxNC0xNgkAzAgCAgUxNy0yMAkAzAgCAgYyMC0xMDQFA25pbAATTEVOREVSU19NQVhfUEVSSU9EUwBoAAZMUF9BUFIJAMwIAgCWAQkAzAgCAHgJAMwIAgBkCQDMCAIAUAkAzAgCADwJAMwIAgAoBQNuaWwADkxQX0FQUl9QRVJJT0RTCQDMCAICAzEtMQkAzAgCAgMyLTIJA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nR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAIFCGFkbWluM1BLAAEAAAkAZwIJAGQCCQBkAgUSYWRtaW5QdWJLZXkxU2lnbmVkBRJhZG1pblB1YktleTJTaWduZWQFEmFkbWluUHViS2V5M1NpZ25lZAACBAckbWF0Y2gwBQJ0eAMJAAECBQckbWF0Y2gwAhdJbnZva2VTY3JpcHRUcmFuc2FjdGlvbgQDaW52BQckbWF0Y2gwBAZpc1NlbGYJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAIBQJ0eA9zZW5kZXJQdWJsaWNLZXkECmlzUmlnaHRGZWUDCQAAAggFA2ludgNmZWUAoPc2CQAAAggFA2ludgpmZWVBc3NldElkBQR1bml0BwQKaXNJbml0Q2FsbAkAAAIIBQNpbnYIZnVuY3Rpb24CBGluaXQEDGlzbm9QYXltZW50cwkAAAIJAJADAQgFA2ludghwYXltZW50cwAAAwMDAwUKaXNSaWdodEZlZQUKaXNJbml0Q2FsbAcFBmlzU2VsZgcFDGlzbm9QYXltZW50cwcGBRNtdWx0aVNpZ25lZEJ5QWRtaW5zBRNtdWx0aVNpZ25lZEJ5QWRtaW5zmB287g==", "height": 2715930, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 7ykTKbLEcRtaFDPrcdb5cTFjiVT4HqnaX2qt9kUNwz5C Next: 9qikQpxQPDTk39w9Dj9TghbyidC8J4XQbYAjrGBzoVSv Diff:
Old | New | Differences | |
---|---|---|---|
253 | 253 | } | |
254 | 254 | ||
255 | 255 | ||
256 | - | func bf (aV,aX) = if (( | |
256 | + | func bf (aV,aX) = if ((ad >= height)) | |
257 | 257 | then 0 | |
258 | 258 | else { | |
259 | 259 | let bg = getIntegerValue(this, (aV + p)) | |
267 | 267 | } | |
268 | 268 | ||
269 | 269 | ||
270 | - | func bl (aX) = if (( | |
270 | + | func bl (aX) = if ((ad >= height)) | |
271 | 271 | then 0 | |
272 | 272 | else { | |
273 | 273 | let bg = valueOrElse(getInteger(this, x), 0) |
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 = max([1, ((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 | - | func bf (aV,aX) = if (( | |
256 | + | func bf (aV,aX) = if ((ad >= height)) | |
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 | - | func bl (aX) = if (( | |
270 | + | func bl (aX) = if ((ad >= height)) | |
271 | 271 | then 0 | |
272 | 272 | else { | |
273 | 273 | let bg = valueOrElse(getInteger(this, x), 0) | |
274 | 274 | let bh = valueOrElse(getInteger(this, u), 0) | |
275 | 275 | let bi = valueOrElse(getInteger(this, v), height) | |
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 cm = cl._2 | |
503 | 503 | let aG = cl._3 | |
504 | 504 | if ((aX[aG] == 0)) | |
505 | 505 | then $Tuple3((bz ++ [IntegerEntry((aV + A), aX[aG]), IntegerEntry((aV + p), 0), IntegerEntry((aV + n), bf(aV, aX[aG])), IntegerEntry((aV + o), max([ad, height]))]), cm, (aG + 1)) | |
506 | 506 | else { | |
507 | 507 | let cn = fraction(aY[aG], a, aZ) | |
508 | 508 | let co = fraction(cn, ah, a) | |
509 | 509 | let cp = fraction(co, bK, bL) | |
510 | 510 | let cq = valueOrElse(getInteger(this, A), 0) | |
511 | 511 | let cr = if (if ((cq == 0)) | |
512 | 512 | then true | |
513 | 513 | else (aX[aG] == 0)) | |
514 | 514 | then 0 | |
515 | 515 | else fraction(cq, a, aX[aG]) | |
516 | 516 | let bj = ((min([(cj * (a + cr)), fraction(cj, (15 * a), 10)]) / a) / 100) | |
517 | 517 | let cs = min([cp, fraction(aY[aG], bj, a)]) | |
518 | 518 | let ct = fraction(cs, bL, bK) | |
519 | 519 | let bg = (ct / ae) | |
520 | 520 | $Tuple3((bz ++ [IntegerEntry((aV + A), aX[aG]), IntegerEntry((aV + p), bg), IntegerEntry((aV + n), bf(aV, aX[aG])), IntegerEntry((aV + o), max([ad, height]))]), (cm + ct), (aG + 1)) | |
521 | 521 | } | |
522 | 522 | } | |
523 | 523 | ||
524 | 524 | let cu = { | |
525 | 525 | let aN = aq() | |
526 | 526 | let aO = size(aN) | |
527 | 527 | let aP = $Tuple3(nil, 0, 0) | |
528 | 528 | func aQ (aR,aS) = if ((aS >= aO)) | |
529 | 529 | then aR | |
530 | 530 | else ck(aR, aN[aS]) | |
531 | 531 | ||
532 | 532 | func aT (aR,aS) = if ((aS >= aO)) | |
533 | 533 | then aR | |
534 | 534 | else throw("List size exceeds 30") | |
535 | 535 | ||
536 | 536 | 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) | |
537 | 537 | } | |
538 | 538 | let cv = cu._1 | |
539 | 539 | let cw = cu._2 | |
540 | 540 | let aG = cu._3 | |
541 | 541 | let cx = ay(af, f, e) | |
542 | 542 | let bR = getIntegerValue(W, (S + F)) | |
543 | 543 | let cy = valueOrElse(getInteger(this, w), 0) | |
544 | 544 | let bS = getStringValue(addressFromStringValue(S), I) | |
545 | 545 | let bT = ax(bS) | |
546 | 546 | let bU = { | |
547 | 547 | let bV = invoke(T, "getShareAssetPriceREADONLY", [bS], nil) | |
548 | 548 | if ($isInstanceOf(bV, "Int")) | |
549 | 549 | then bV | |
550 | 550 | else throw(($getType(bV) + " couldn't be cast to Int")) | |
551 | 551 | } | |
552 | 552 | let bW = fraction(bR, bU, bT) | |
553 | 553 | let cz = fraction(aj, bK, bL) | |
554 | 554 | let cA = if (if ((cy == 0)) | |
555 | 555 | then true | |
556 | 556 | else (bR == 0)) | |
557 | 557 | then 0 | |
558 | 558 | else fraction(cy, a, bR) | |
559 | 559 | let cB = ((min([(cx * (a + cA)), fraction(cx, (15 * a), 10)]) / a) / 100) | |
560 | 560 | let cC = min([cz, fraction(bW, cB, a)]) | |
561 | 561 | let cD = fraction(cC, bL, bK) | |
562 | 562 | let cE = (cD / ae) | |
563 | 563 | let cF = (ah - cw) | |
564 | 564 | let cG = (aj - cD) | |
565 | 565 | let bZ = invoke(U, "withdrawLpReward", [(cF + cG), toString(this)], nil) | |
566 | 566 | if ((bZ == bZ)) | |
567 | 567 | then { | |
568 | 568 | let cH = [IntegerEntry(w, bR), IntegerEntry(x, cE), IntegerEntry(u, bl(bR)), IntegerEntry(v, max([ad, height])), ScriptTransfer(Address(base58'3MsXJ3BesPECkYejzBQGHZPJT8GVYy4Fd3Q'), cF, fromBase58String(ac)), ScriptTransfer(Address(base58'3MsXJ3BesPECkYejzBQGHZPJT8GVYy4Fd3Q'), cG, fromBase58String(ac))] | |
569 | 569 | ((cH ++ cv) :+ IntegerEntry(q, max([ad, height]))) | |
570 | 570 | } | |
571 | 571 | else throw("Strict value is not equal to itself.") | |
572 | 572 | } | |
573 | 573 | }) | |
574 | 574 | ||
575 | 575 | ||
576 | 576 | @Verifier(cI) | |
577 | 577 | func cJ () = { | |
578 | 578 | let cK = { | |
579 | 579 | let cL = if (sigVerify(cI.bodyBytes, cI.proofs[0], Y)) | |
580 | 580 | then 1 | |
581 | 581 | else 0 | |
582 | 582 | let cM = if (sigVerify(cI.bodyBytes, cI.proofs[1], Z)) | |
583 | 583 | then 1 | |
584 | 584 | else 0 | |
585 | 585 | let cN = if (sigVerify(cI.bodyBytes, cI.proofs[2], aa)) | |
586 | 586 | then 1 | |
587 | 587 | else 0 | |
588 | 588 | (((cL + cM) + cN) >= 2) | |
589 | 589 | } | |
590 | 590 | let av = cI | |
591 | 591 | if ($isInstanceOf(av, "InvokeScriptTransaction")) | |
592 | 592 | then { | |
593 | 593 | let bZ = av | |
594 | 594 | let cO = sigVerify(cI.bodyBytes, cI.proofs[0], cI.senderPublicKey) | |
595 | 595 | let cP = if ((bZ.fee == 900000)) | |
596 | 596 | then (bZ.feeAssetId == unit) | |
597 | 597 | else false | |
598 | 598 | let cQ = (bZ.function == "init") | |
599 | 599 | let cR = (size(bZ.payments) == 0) | |
600 | 600 | if (if (if (if (cP) | |
601 | 601 | then cQ | |
602 | 602 | else false) | |
603 | 603 | then cO | |
604 | 604 | else false) | |
605 | 605 | then cR | |
606 | 606 | else false) | |
607 | 607 | then true | |
608 | 608 | else cK | |
609 | 609 | } | |
610 | 610 | else cK | |
611 | 611 | } | |
612 | 612 |
github/deemru/w8io/026f985 61.75 ms ◑