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