tx · HsgABABQU9j6fhArukcLfhNuoyVrenxUQj7cujjbtTob 3N2M4PztorHwrfENp7D6LhYGgGodjiD1fjn: -0.02300000 Waves 2023.08.17 14:12 [2714518] smart account 3N2M4PztorHwrfENp7D6LhYGgGodjiD1fjn > SELF 0.00000000 Waves
{ "type": 13, "id": "HsgABABQU9j6fhArukcLfhNuoyVrenxUQj7cujjbtTob", "fee": 2300000, "feeAssetId": null, "timestamp": 1692270807059, "version": 2, "chainId": 84, "sender": "3N2M4PztorHwrfENp7D6LhYGgGodjiD1fjn", "senderPublicKey": "Fj9LPkCtmW3pDnVU6wPQnvqpZJCBieWSvZqY5FAGeCyp", "proofs": [ "5bpyryTAPVPHo8Y4JNzgHeN8QfYQCfJVJ3zv4ZUP7AeXKYa7bGnStEEbSBNWkJ9GxbxRrr8MfhuqjJkcCJTrcYja", "SdheJ1HZX49xWSPjiGWmS1BXFjLzofZjBRZB1Sgfgzm7jaK6qsdt5kzmSoqPwp7FVxfrz2ifqAer7rvjUgAJELN" ], "script": "base64:BgIhCAISABIAEgQKAggIEgMKAQgSBwoFCAgIAQESAwoBCBIAUQAGU0NBTEU4AIDC1y8AC0xFTkRFUlNfQVBSCQDMCAIAlgEJAMwIAgB4CQDMCAIAZAkAzAgCAFAJAMwIAgA8CQDMCAIAKAkAzAgCAB4JAMwIAgAUCQDMCAIACgUDbmlsABNMRU5ERVJTX0FQUl9QRVJJT0RTCQDMCAICAzEtMQkAzAgCAgMyLTIJAMwIAgIDMy0zCQDMCAICAzQtNAkAzAgCAgM1LTgJAMwIAgIEOS0xMgkAzAgCAgcxNCAtIDE2CQDMCAICBTE3LTIwCQDMCAICBjIwLTEwNAUDbmlsABNMRU5ERVJTX01BWF9QRVJJT0RTAGgABkxQX0FQUgkAzAgCAJYBCQDMCAIAeAkAzAgCAGQJAMwIAgBQCQDMCAIAPAkAzAgCACgFA25pbAAOTFBfQVBSX1BFUklPRFMJAMwIAgIDMS0xCQDMCAICAzItMgkAzAgCAgMzLTM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qnl0ZXMJAJEDAggFAnR4BnByb29mcwAACAUCdHgPc2VuZGVyUHVibGljS2V5BAppc1JpZ2h0RmVlAwkAAAIIBQNpbnYDZmVlAKD3NgkAAAIIBQNpbnYKZmVlQXNzZXRJZAUEdW5pdAcECmlzSW5pdENhbGwJAAACCAUDaW52CGZ1bmN0aW9uAgRpbml0BAxpc25vUGF5bWVudHMJAAACCQCQAwEIBQNpbnYIcGF5bWVudHMAAAMDAwMFCmlzUmlnaHRGZWUFCmlzSW5pdENhbGwHBQZpc1NlbGYHBQxpc25vUGF5bWVudHMHBgUTbXVsdGlTaWduZWRCeUFkbWlucwUTbXVsdGlTaWduZWRCeUFkbWlucxwhBdU=", "height": 2714518, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8qRLHzPe2YAh37ehvXAD1Tte7ywnJK2j27zR5fiQDMkg Next: AaJfjphPicUsARKyY6bVziu4JTwjbb2GnxMq7op9RaDu Diff:
Old | New | Differences | |
---|---|---|---|
247 | 247 | } | |
248 | 248 | ||
249 | 249 | ||
250 | - | func be (aU,aW) = { | |
251 | - | let bf = getIntegerValue(this, (aU + p)) | |
252 | - | let bg = getIntegerValue(this, (aU + n)) | |
253 | - | let bh = getIntegerValue(this, (aU + o)) | |
254 | - | let bi = ((height - bh) * bf) | |
255 | - | let bj = if ((aW > 0)) | |
256 | - | then fraction(bi, a, aW) | |
257 | - | else 0 | |
258 | - | (bg + bj) | |
259 | - | } | |
250 | + | func be (aU,aW) = if ((height >= ad)) | |
251 | + | then 0 | |
252 | + | else { | |
253 | + | let bf = getIntegerValue(this, (aU + p)) | |
254 | + | let bg = getIntegerValue(this, (aU + n)) | |
255 | + | let bh = getIntegerValue(this, (aU + o)) | |
256 | + | let bi = ((height - bh) * bf) | |
257 | + | let bj = if ((aW > 0)) | |
258 | + | then fraction(bi, a, aW) | |
259 | + | else 0 | |
260 | + | (bg + bj) | |
261 | + | } | |
260 | 262 | ||
261 | 263 | ||
262 | - | func bk (aW) = { | |
263 | - | let bf = getIntegerValue(this, x) | |
264 | - | let bg = getIntegerValue(this, u) | |
265 | - | let bh = getIntegerValue(this, v) | |
266 | - | let bi = ((height - bh) * bf) | |
267 | - | let bj = if ((aW > 0)) | |
268 | - | then fraction(bi, a, aW) | |
269 | - | else 0 | |
270 | - | (bg + bj) | |
271 | - | } | |
264 | + | func bk (aW) = if ((height >= ad)) | |
265 | + | then 0 | |
266 | + | else { | |
267 | + | let bf = getIntegerValue(this, x) | |
268 | + | let bg = getIntegerValue(this, u) | |
269 | + | let bh = getIntegerValue(this, v) | |
270 | + | let bi = ((height - bh) * bf) | |
271 | + | let bj = if ((aW > 0)) | |
272 | + | then fraction(bi, a, aW) | |
273 | + | else 0 | |
274 | + | (bg + bj) | |
275 | + | } | |
272 | 276 | ||
273 | 277 | ||
274 | 278 | func bl (bm,aU) = { |
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 | - | func be (aU,aW) = { | |
251 | - | let bf = getIntegerValue(this, (aU + p)) | |
252 | - | let bg = getIntegerValue(this, (aU + n)) | |
253 | - | let bh = getIntegerValue(this, (aU + o)) | |
254 | - | let bi = ((height - bh) * bf) | |
255 | - | let bj = if ((aW > 0)) | |
256 | - | then fraction(bi, a, aW) | |
257 | - | else 0 | |
258 | - | (bg + bj) | |
259 | - | } | |
250 | + | func be (aU,aW) = if ((height >= ad)) | |
251 | + | then 0 | |
252 | + | else { | |
253 | + | let bf = getIntegerValue(this, (aU + p)) | |
254 | + | let bg = getIntegerValue(this, (aU + n)) | |
255 | + | let bh = getIntegerValue(this, (aU + o)) | |
256 | + | let bi = ((height - bh) * bf) | |
257 | + | let bj = if ((aW > 0)) | |
258 | + | then fraction(bi, a, aW) | |
259 | + | else 0 | |
260 | + | (bg + bj) | |
261 | + | } | |
260 | 262 | ||
261 | 263 | ||
262 | - | func bk (aW) = { | |
263 | - | let bf = getIntegerValue(this, x) | |
264 | - | let bg = getIntegerValue(this, u) | |
265 | - | let bh = getIntegerValue(this, v) | |
266 | - | let bi = ((height - bh) * bf) | |
267 | - | let bj = if ((aW > 0)) | |
268 | - | then fraction(bi, a, aW) | |
269 | - | else 0 | |
270 | - | (bg + bj) | |
271 | - | } | |
264 | + | func bk (aW) = if ((height >= ad)) | |
265 | + | then 0 | |
266 | + | else { | |
267 | + | let bf = getIntegerValue(this, x) | |
268 | + | let bg = getIntegerValue(this, u) | |
269 | + | let bh = getIntegerValue(this, v) | |
270 | + | let bi = ((height - bh) * bf) | |
271 | + | let bj = if ((aW > 0)) | |
272 | + | then fraction(bi, a, aW) | |
273 | + | else 0 | |
274 | + | (bg + bj) | |
275 | + | } | |
272 | 276 | ||
273 | 277 | ||
274 | 278 | func bl (bm,aU) = { | |
275 | 279 | let aW = valueOrElse(getInteger(V, (C + aU)), 0) | |
276 | 280 | let bn = be(aU, aW) | |
277 | 281 | let bo = valueOrElse(getInteger(V, ((bm + D) + aU)), 0) | |
278 | 282 | let bp = valueOrElse(getInteger(this, (((aU + "_") + bm) + r)), if ((bo == 0)) | |
279 | 283 | then bn | |
280 | 284 | else 0) | |
281 | 285 | let bi = fraction(bo, (bn - bp), a) | |
282 | 286 | $Tuple3(bi, bn, bo) | |
283 | 287 | } | |
284 | 288 | ||
285 | 289 | ||
286 | 290 | func bq (bm) = { | |
287 | 291 | let aW = valueOrElse(getInteger(W, (S + F)), 0) | |
288 | 292 | let bn = bk(aW) | |
289 | 293 | let bo = valueOrElse(getInteger(V, (((S + "_") + bm) + G)), 0) | |
290 | 294 | let bp = valueOrElse(getInteger(this, (bm + y)), if ((bo == 0)) | |
291 | 295 | then bn | |
292 | 296 | else 0) | |
293 | 297 | let bi = fraction(bo, (bn - bp), a) | |
294 | 298 | $Tuple3(bi, bn, bo) | |
295 | 299 | } | |
296 | 300 | ||
297 | 301 | ||
298 | 302 | func br (bm,bs) = { | |
299 | 303 | func bt (aC,aU) = { | |
300 | 304 | let bu = aC | |
301 | 305 | let bv = bu._1 | |
302 | 306 | let bw = bu._2 | |
303 | 307 | let bx = bu._3 | |
304 | 308 | let by = bu._4 | |
305 | 309 | let bz = valueOrElse(getInteger(this, (((aU + "_") + bm) + s)), 0) | |
306 | 310 | let bA = bl(bm, aU) | |
307 | 311 | let bB = bA._1 | |
308 | 312 | let bC = bA._2 | |
309 | 313 | let bo = bA._3 | |
310 | 314 | let bD = (bz + bB) | |
311 | 315 | if (if ((bD > 0)) | |
312 | 316 | then true | |
313 | 317 | else (bo > 0)) | |
314 | 318 | then { | |
315 | 319 | let bE = if (if (bs) | |
316 | 320 | then true | |
317 | 321 | else (bD == 0)) | |
318 | 322 | then by | |
319 | 323 | else (by ++ [IntegerEntry((((aU + "_") + bm) + r), bC), IntegerEntry((((aU + "_") + bm) + s), 0), IntegerEntry((aU + n), bC), IntegerEntry((aU + o), height)]) | |
320 | 324 | $Tuple4((bv :+ aU), (bw :+ bD), (bx + bD), bE) | |
321 | 325 | } | |
322 | 326 | else $Tuple4(bv, bw, bx, by) | |
323 | 327 | } | |
324 | 328 | ||
325 | 329 | let aM = ak | |
326 | 330 | let aN = size(aM) | |
327 | 331 | let aO = $Tuple4(nil, nil, 0, nil) | |
328 | 332 | func aP (aQ,aR) = if ((aR >= aN)) | |
329 | 333 | then aQ | |
330 | 334 | else bt(aQ, aM[aR]) | |
331 | 335 | ||
332 | 336 | func aS (aQ,aR) = if ((aR >= aN)) | |
333 | 337 | then aQ | |
334 | 338 | else throw("List size exceeds 30") | |
335 | 339 | ||
336 | 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) | |
337 | 341 | } | |
338 | 342 | ||
339 | 343 | ||
340 | 344 | func bF (bm,bs) = { | |
341 | 345 | let bz = valueOrElse(getInteger(this, (bm + t)), 0) | |
342 | 346 | let bG = bq(bm) | |
343 | 347 | let bB = bG._1 | |
344 | 348 | let bH = bG._2 | |
345 | 349 | let bo = bG._3 | |
346 | 350 | let bD = (bz + bB) | |
347 | 351 | if (if (bs) | |
348 | 352 | then true | |
349 | 353 | else (bD == 0)) | |
350 | 354 | then $Tuple2(bD, nil) | |
351 | 355 | else $Tuple2(bD, [IntegerEntry((bm + y), bH), IntegerEntry((bm + t), 0), IntegerEntry(u, bH), IntegerEntry(v, height)]) | |
352 | 356 | } | |
353 | 357 | ||
354 | 358 | ||
355 | 359 | func bI () = { | |
356 | 360 | let bJ = ar(ac) | |
357 | 361 | let bK = aw(ac) | |
358 | 362 | func bL (aA,aU) = { | |
359 | 363 | let bM = valueOrElse(getInteger(this, (aU + p)), 0) | |
360 | 364 | let bN = fraction(bM, bJ, bK) | |
361 | 365 | let bO = ((bN * ae) * 52) | |
362 | 366 | let aX = bd(aU) | |
363 | 367 | (aA :+ fraction(bO, a, aX)) | |
364 | 368 | } | |
365 | 369 | ||
366 | 370 | let bP = { | |
367 | 371 | let aM = ak | |
368 | 372 | let aN = size(aM) | |
369 | 373 | let aO = nil | |
370 | 374 | func aP (aQ,aR) = if ((aR >= aN)) | |
371 | 375 | then aQ | |
372 | 376 | else bL(aQ, aM[aR]) | |
373 | 377 | ||
374 | 378 | func aS (aQ,aR) = if ((aR >= aN)) | |
375 | 379 | then aQ | |
376 | 380 | else throw("List size exceeds 30") | |
377 | 381 | ||
378 | 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) | |
379 | 383 | } | |
380 | 384 | let bQ = getIntegerValue(W, (S + F)) | |
381 | 385 | let bR = getStringValue(addressFromStringValue(S), I) | |
382 | 386 | let bS = aw(bR) | |
383 | 387 | let bT = { | |
384 | 388 | let bU = ({ | |
385 | 389 | let bU = invoke(T, "getShareAssetPriceREADONLY", [[bR]], nil) | |
386 | 390 | if ($isInstanceOf(bU, "List[Any]")) | |
387 | 391 | then bU | |
388 | 392 | else throw(($getType(bU) + " couldn't be cast to List[Any]")) | |
389 | 393 | })[0] | |
390 | 394 | if ($isInstanceOf(bU, "Int")) | |
391 | 395 | then bU | |
392 | 396 | else throw(($getType(bU) + " couldn't be cast to Int")) | |
393 | 397 | } | |
394 | 398 | let bV = fraction(bQ, bT, bS) | |
395 | 399 | let bM = valueOrElse(getInteger(this, x), 0) | |
396 | 400 | let bN = fraction(bM, bJ, bK) | |
397 | 401 | let bO = ((bN * ae) * 52) | |
398 | 402 | let bW = fraction(bO, a, bV) | |
399 | 403 | $Tuple3(ak, bP, bW) | |
400 | 404 | } | |
401 | 405 | ||
402 | 406 | ||
403 | 407 | @Callable(am) | |
404 | 408 | func claimLenderRewards () = { | |
405 | 409 | let bX = br(toString(am.caller), false) | |
406 | 410 | if ((bX._3 == 0)) | |
407 | 411 | then throw("claim amount must be greater than 0") | |
408 | 412 | else { | |
409 | 413 | let bY = invoke(U, "withdrawLendReward", [bX._3, toString(am.caller)], nil) | |
410 | 414 | if ((bY == bY)) | |
411 | 415 | then bX._4 | |
412 | 416 | else throw("Strict value is not equal to itself.") | |
413 | 417 | } | |
414 | 418 | } | |
415 | 419 | ||
416 | 420 | ||
417 | 421 | ||
418 | 422 | @Callable(am) | |
419 | 423 | func claimLpRewards () = { | |
420 | 424 | let bX = bF(toString(am.caller), false) | |
421 | 425 | if ((bX._1 == 0)) | |
422 | 426 | then throw("claim amount must be greater than 0") | |
423 | 427 | else { | |
424 | 428 | let bY = invoke(U, "withdrawLpReward", [bX._1, toString(am.caller)], nil) | |
425 | 429 | if ((bY == bY)) | |
426 | 430 | then bX._2 | |
427 | 431 | else throw("Strict value is not equal to itself.") | |
428 | 432 | } | |
429 | 433 | } | |
430 | 434 | ||
431 | 435 | ||
432 | 436 | ||
433 | 437 | @Callable(am) | |
434 | 438 | func lendAction (bm,aU) = valueOrElse(ap(am), { | |
435 | 439 | let bz = valueOrElse(getInteger(this, (aU + s)), 0) | |
436 | 440 | let bZ = bl(bm, aU) | |
437 | 441 | let bB = bZ._1 | |
438 | 442 | let bC = bZ._2 | |
439 | 443 | [IntegerEntry((((bm + "_") + aU) + r), bC), IntegerEntry((((bm + "_") + aU) + s), (bz + bB)), IntegerEntry((aU + n), bC), IntegerEntry((aU + o), height)] | |
440 | 444 | }) | |
441 | 445 | ||
442 | 446 | ||
443 | 447 | ||
444 | 448 | @Callable(am) | |
445 | 449 | func lpAction (bm) = valueOrElse(aq(am), { | |
446 | 450 | let bz = valueOrElse(getInteger(this, t), 0) | |
447 | 451 | let ca = bq(bm) | |
448 | 452 | let bB = ca._1 | |
449 | 453 | let bH = ca._2 | |
450 | 454 | [IntegerEntry((bm + y), bH), IntegerEntry((bm + t), (bz + bB)), IntegerEntry((bm + u), bH), IntegerEntry((bm + v), height)] | |
451 | 455 | }) | |
452 | 456 | ||
453 | 457 | ||
454 | 458 | ||
455 | 459 | @Callable(am) | |
456 | 460 | func init (cb,cc,cd,ce,ae) = valueOrElse(an(am), if (!(isDefined(addressFromString(cb)))) | |
457 | 461 | then throw("Wrong farming address") | |
458 | 462 | else if (!(isDefined(addressFromString(cc)))) | |
459 | 463 | then throw("Wrong main contract address") | |
460 | 464 | else [StringEntry(K, cb), StringEntry(L, cc), StringEntry(H, cd), IntegerEntry(h, ce), StringEntry(l, "")]) | |
461 | 465 | ||
462 | 466 | ||
463 | 467 | ||
464 | 468 | @Callable(am) | |
465 | 469 | func initNewToken (aU) = valueOrElse(al(am), if (isDefined(getInteger(this, (aU + n)))) | |
466 | 470 | then throw("token already inited") | |
467 | 471 | else if (!(contains(getStringValue(this, E), aU))) | |
468 | 472 | then throw("no token on landing") | |
469 | 473 | else [IntegerEntry((aU + n), 0), IntegerEntry((aU + o), height), StringEntry(l, makeString((ak :+ aU), ",")), IntegerEntry(p, 0)]) | |
470 | 474 | ||
471 | 475 | ||
472 | 476 | ||
473 | 477 | @Callable(am) | |
474 | 478 | func updateRewards () = valueOrElse(ao(am), { | |
475 | 479 | let cf = valueOrElse(getInteger(this, q), 0) | |
476 | 480 | if (((cf + ae) > height)) | |
477 | 481 | then throw("rewards alredy updated in this period") | |
478 | 482 | else { | |
479 | 483 | let cg = aT() | |
480 | 484 | let aW = cg._1 | |
481 | 485 | let aX = cg._2 | |
482 | 486 | let aY = cg._3 | |
483 | 487 | let bJ = ar(ac) | |
484 | 488 | let bK = aw(ac) | |
485 | 489 | let ch = ax(af, c, b) | |
486 | 490 | func ci (aC,aU) = { | |
487 | 491 | let cj = aC | |
488 | 492 | let by = cj._1 | |
489 | 493 | let aF = cj._2 | |
490 | 494 | if ((aW[aF] == 0)) | |
491 | 495 | then $Tuple2((by ++ [IntegerEntry((aU + p), 0), IntegerEntry((aU + n), be(aU, aW[aF])), IntegerEntry((aU + o), height)]), (aF + 1)) | |
492 | 496 | else { | |
493 | 497 | let ck = fraction(aX[aF], a, aY) | |
494 | 498 | let cl = fraction(ck, ah, a) | |
495 | 499 | let cm = fraction(cl, bJ, bK) | |
496 | 500 | let cn = valueOrElse(getInteger(this, A), 0) | |
497 | 501 | let co = if (if ((cn == 0)) | |
498 | 502 | then true | |
499 | 503 | else (aW[aF] == 0)) | |
500 | 504 | then 0 | |
501 | 505 | else fraction(cn, a, aW[aF]) | |
502 | 506 | let bi = (min([(ch * (a + co)), fraction(ch, (15 * a), 10)]) / a) | |
503 | 507 | let cp = min([cm, fraction(aX[aF], bi, a)]) | |
504 | 508 | let cq = fraction(cp, bJ, bK) | |
505 | 509 | let bf = (cq / ae) | |
506 | 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)) | |
507 | 511 | } | |
508 | 512 | } | |
509 | 513 | ||
510 | 514 | let cr = { | |
511 | 515 | let aM = ak | |
512 | 516 | let aN = size(aM) | |
513 | 517 | let aO = $Tuple2(nil, 0) | |
514 | 518 | func aP (aQ,aR) = if ((aR >= aN)) | |
515 | 519 | then aQ | |
516 | 520 | else ci(aQ, aM[aR]) | |
517 | 521 | ||
518 | 522 | func aS (aQ,aR) = if ((aR >= aN)) | |
519 | 523 | then aQ | |
520 | 524 | else throw("List size exceeds 30") | |
521 | 525 | ||
522 | 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) | |
523 | 527 | } | |
524 | 528 | let cs = cr._1 | |
525 | 529 | let aF = cr._2 | |
526 | 530 | let ct = ax(af, f, e) | |
527 | 531 | let bQ = getIntegerValue(W, (S + F)) | |
528 | 532 | let cu = valueOrElse(getInteger(this, w), 0) | |
529 | 533 | let bR = getStringValue(addressFromStringValue(S), I) | |
530 | 534 | let bS = aw(bR) | |
531 | 535 | let bT = { | |
532 | 536 | let bU = ({ | |
533 | 537 | let bU = invoke(T, "getShareAssetPriceREADONLY", [[bR]], nil) | |
534 | 538 | if ($isInstanceOf(bU, "List[Any]")) | |
535 | 539 | then bU | |
536 | 540 | else throw(($getType(bU) + " couldn't be cast to List[Any]")) | |
537 | 541 | })[0] | |
538 | 542 | if ($isInstanceOf(bU, "Int")) | |
539 | 543 | then bU | |
540 | 544 | else throw(($getType(bU) + " couldn't be cast to Int")) | |
541 | 545 | } | |
542 | 546 | let bV = fraction(bQ, bT, bS) | |
543 | 547 | let cv = fraction(aj, bJ, bK) | |
544 | 548 | let cw = if (if ((cu == 0)) | |
545 | 549 | then true | |
546 | 550 | else (bQ == 0)) | |
547 | 551 | then 0 | |
548 | 552 | else fraction(cu, a, bQ) | |
549 | 553 | let cx = (min([(ct * (a + cw)), fraction(ct, (15 * a), 10)]) / a) | |
550 | 554 | let cy = min([cv, fraction(bV, cx, a)]) | |
551 | 555 | let cz = fraction(cy, bJ, bK) | |
552 | 556 | let cA = (cz / ae) | |
553 | 557 | let cB = [IntegerEntry(w, bQ), IntegerEntry(x, cA), IntegerEntry(u, bk(bQ)), IntegerEntry(v, height)] | |
554 | 558 | ((cB ++ cs) :+ IntegerEntry(q, height)) | |
555 | 559 | } | |
556 | 560 | }) | |
557 | 561 | ||
558 | 562 | ||
559 | 563 | @Verifier(cC) | |
560 | 564 | func cD () = { | |
561 | 565 | let cE = { | |
562 | 566 | let cF = if (sigVerify(cC.bodyBytes, cC.proofs[0], Y)) | |
563 | 567 | then 1 | |
564 | 568 | else 0 | |
565 | 569 | let cG = if (sigVerify(cC.bodyBytes, cC.proofs[1], Z)) | |
566 | 570 | then 1 | |
567 | 571 | else 0 | |
568 | 572 | let cH = if (sigVerify(cC.bodyBytes, cC.proofs[2], aa)) | |
569 | 573 | then 1 | |
570 | 574 | else 0 | |
571 | 575 | (((cF + cG) + cH) >= 2) | |
572 | 576 | } | |
573 | 577 | let au = cC | |
574 | 578 | if ($isInstanceOf(au, "InvokeScriptTransaction")) | |
575 | 579 | then { | |
576 | 580 | let bY = au | |
577 | 581 | let cI = sigVerify(cC.bodyBytes, cC.proofs[0], cC.senderPublicKey) | |
578 | 582 | let cJ = if ((bY.fee == 900000)) | |
579 | 583 | then (bY.feeAssetId == unit) | |
580 | 584 | else false | |
581 | 585 | let cK = (bY.function == "init") | |
582 | 586 | let cL = (size(bY.payments) == 0) | |
583 | 587 | if (if (if (if (cJ) | |
584 | 588 | then cK | |
585 | 589 | else false) | |
586 | 590 | then cI | |
587 | 591 | else false) | |
588 | 592 | then cL | |
589 | 593 | else false) | |
590 | 594 | then true | |
591 | 595 | else cE | |
592 | 596 | } | |
593 | 597 | else cE | |
594 | 598 | } | |
595 | 599 |
github/deemru/w8io/026f985 78.17 ms ◑