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