tx · 3s5i5VQ7FQoQWcBz3K5KM7jB35NAPaTcYBK6WnEgSoMY 3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz: -0.02200000 Waves 2023.01.11 17:49 [2400435] smart account 3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz > SELF 0.00000000 Waves
{ "type": 13, "id": "3s5i5VQ7FQoQWcBz3K5KM7jB35NAPaTcYBK6WnEgSoMY", "fee": 2200000, "feeAssetId": null, "timestamp": 1673448581461, "version": 1, "sender": "3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz", "senderPublicKey": "D28XoueZWsMfm8Y5pa6C5ZFuYoWgre2Wm8tzJANJgMnq", "proofs": [ "VztC8NmRqUJyQGBynU67o72d6gZMxfBWviM3UPudjmWvMYnkPX8EBRxu8tfiLguks4emffD2oYhkn1PBy1A9Qun" ], "script": "base64:BgKrHwgCEgMKAQgSAwoBCBIDCgEIEgASABIECgIIARIDCgEIEgQKAggIEgYKBAEYCBgSBAoCGAgSBAoCCAgSBAoCCAgSAwoBCBIECgIICCIGU0NBTEU4IgVNVUxUOCIHU0NBTEUxOCIGTVVMVDE4IgNTRVAiDlBPT0xXRUlHSFRNVUxUIgp6ZXJvQmlnSW50IglvbmVCaWdJbnQiB3dyYXBFcnIiA21zZyIIdGhyb3dFcnIiCWFzQW55TGlzdCIDdmFsIgckbWF0Y2gwIgp2YWxBbnlMeXN0IgVhc0ludCIGdmFsSW50Ighhc1N0cmluZyIGdmFsU3RyIgxhc0J5dGVWZWN0b3IiBnZhbEJpbiIPZ2V0U3RyaW5nT3JGYWlsIgdhZGRyZXNzIgNrZXkiGGdldFN0cmluZ0J5QWRkcmVzc09yRmFpbCIMZ2V0SW50T3JaZXJvIg9nZXRJbnRPckRlZmF1bHQiCmRlZmF1bHRWYWwiDGdldEludE9yRmFpbCIZZ2V0QmlnSW50RnJvbVN0cmluZ09yWmVybyIcZ2V0QmlnSW50RnJvbVN0cmluZ09yRGVmYXVsdCI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HUFAmRyCQCUCgIJAMwIAgkBC1N0cmluZ0VudHJ5AgkBAmJiAQUCYUIFAmR1BQNuaWwGCQACAQILTWF0Y2ggZXJyb3IJAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAgtNYXRjaCBlcnJvcgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgJjbAEOb25Nb2RpZnlXZWlnaHQCAmF0AmJ4AwkBAiE9AggFAmNsBmNhbGxlcgUCYVgJAAIBAhJwZXJtaXNzaW9ucyBkZW5pZWQEAmR2CQECYncDBQJhdAUCYngAAAQCYnUIBQJkdgJfMQQCYlcIBQJkdgJfMgQCYlgIBQJkdgJfMwUCYlcBAmR3AQJkeAAEAmR5BAFuCQECY2gAAwkAAQIFAW4CCkJ5dGVWZWN0b3IEAmNuBQFuBQJjbgMJAAECBQFuAgRVbml0CAUCZHcPc2VuZGVyUHVibGljS2V5CQACAQILTWF0Y2ggZXJyb3IJAPQDAwgFAmR3CWJvZHlCeXRlcwkAkQMCCAUCZHcGcHJvb2ZzAAAFAmR5Lm+5hA==", "chainId": 84, "height": 2400435, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: DUCw5Wmd24KLRNN3AM4egAPQoZWog4iGYZk7UvSUYAPw Next: 8hoCQUTLyWkkbudVjwmPDjZyHLxz3vVSPGNnJ3yDz1zn Diff:
Old | New | Differences | |
---|---|---|---|
537 | 537 | let bx = valueOrErrorMessage(getString(aX, Z(at)), ("unsupported lp asset " + at)) | |
538 | 538 | let cC = valueOrElse(getString(addressFromStringValue(bx), Y()), bx) | |
539 | 539 | let cy = toString(cl.caller) | |
540 | - | let as = if (if (if ((cy == bx)) | |
541 | - | then (cl.originCaller != ba) | |
542 | - | else false) | |
540 | + | let as = if (if ((cy == bx)) | |
543 | 541 | then true | |
544 | 542 | else (cy == cC)) | |
545 | 543 | then toString(cl.originCaller) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = 8 | |
5 | 5 | ||
6 | 6 | let b = 100000000 | |
7 | 7 | ||
8 | 8 | let c = 18 | |
9 | 9 | ||
10 | 10 | let d = toBigInt(1000000000000000000) | |
11 | 11 | ||
12 | 12 | let e = "__" | |
13 | 13 | ||
14 | 14 | let f = b | |
15 | 15 | ||
16 | 16 | let g = toBigInt(0) | |
17 | 17 | ||
18 | 18 | let h = toBigInt(1) | |
19 | 19 | ||
20 | 20 | func i (j) = makeString(["staking.ride:", toString(this), j], " ") | |
21 | 21 | ||
22 | 22 | ||
23 | 23 | func k (j) = throw(i(j)) | |
24 | 24 | ||
25 | 25 | ||
26 | 26 | func l (m) = { | |
27 | 27 | let n = m | |
28 | 28 | if ($isInstanceOf(n, "List[Any]")) | |
29 | 29 | then { | |
30 | 30 | let o = n | |
31 | 31 | o | |
32 | 32 | } | |
33 | 33 | else throw("fail to cast into List[Any]") | |
34 | 34 | } | |
35 | 35 | ||
36 | 36 | ||
37 | 37 | func p (m) = { | |
38 | 38 | let n = m | |
39 | 39 | if ($isInstanceOf(n, "Int")) | |
40 | 40 | then { | |
41 | 41 | let q = n | |
42 | 42 | q | |
43 | 43 | } | |
44 | 44 | else throw("fail to cast into Int") | |
45 | 45 | } | |
46 | 46 | ||
47 | 47 | ||
48 | 48 | func r (m) = { | |
49 | 49 | let n = m | |
50 | 50 | if ($isInstanceOf(n, "String")) | |
51 | 51 | then { | |
52 | 52 | let s = n | |
53 | 53 | s | |
54 | 54 | } | |
55 | 55 | else throw("fail to cast into Int") | |
56 | 56 | } | |
57 | 57 | ||
58 | 58 | ||
59 | 59 | func t (m) = { | |
60 | 60 | let n = m | |
61 | 61 | if ($isInstanceOf(n, "ByteVector")) | |
62 | 62 | then { | |
63 | 63 | let u = n | |
64 | 64 | u | |
65 | 65 | } | |
66 | 66 | else throw("fail to cast into Int") | |
67 | 67 | } | |
68 | 68 | ||
69 | 69 | ||
70 | 70 | func v (w,x) = valueOrErrorMessage(getString(w, x), (("mandatory this." + x) + " is not defined")) | |
71 | 71 | ||
72 | 72 | ||
73 | 73 | func y (w,x) = valueOrErrorMessage(getString(w, x), (((("mandatory " + toString(w)) + ".") + x) + " is not defined")) | |
74 | 74 | ||
75 | 75 | ||
76 | 76 | func z (w,x) = valueOrElse(getInteger(w, x), 0) | |
77 | 77 | ||
78 | 78 | ||
79 | 79 | func A (w,x,B) = valueOrElse(getInteger(w, x), B) | |
80 | 80 | ||
81 | 81 | ||
82 | 82 | func C (w,x) = valueOrErrorMessage(getInteger(w, x), (("mandatory this." + x) + " is not defined")) | |
83 | 83 | ||
84 | 84 | ||
85 | 85 | func D (w,x) = value(parseBigInt(valueOrElse(getString(w, x), "0"))) | |
86 | 86 | ||
87 | 87 | ||
88 | 88 | func E (w,x,B) = { | |
89 | 89 | let n = getString(w, x) | |
90 | 90 | if ($isInstanceOf(n, "String")) | |
91 | 91 | then { | |
92 | 92 | let F = n | |
93 | 93 | value(parseBigInt(F)) | |
94 | 94 | } | |
95 | 95 | else if ($isInstanceOf(n, "Unit")) | |
96 | 96 | then B | |
97 | 97 | else throw("Match error") | |
98 | 98 | } | |
99 | 99 | ||
100 | 100 | ||
101 | 101 | func G (H,I) = fraction(toBigInt(H), d, toBigInt(I)) | |
102 | 102 | ||
103 | 103 | ||
104 | 104 | func J (m,K) = toInt(fraction(m, toBigInt(K), d)) | |
105 | 105 | ||
106 | 106 | ||
107 | 107 | func L () = "%s%s__config__factoryAddress" | |
108 | 108 | ||
109 | 109 | ||
110 | 110 | func M () = "%s__votingEmissionContract" | |
111 | 111 | ||
112 | 112 | ||
113 | 113 | let N = 1 | |
114 | 114 | ||
115 | 115 | let O = 2 | |
116 | 116 | ||
117 | 117 | let P = 3 | |
118 | 118 | ||
119 | 119 | let Q = 4 | |
120 | 120 | ||
121 | 121 | let R = 5 | |
122 | 122 | ||
123 | 123 | let S = 6 | |
124 | 124 | ||
125 | 125 | let T = 7 | |
126 | 126 | ||
127 | 127 | func U () = "%s__factoryConfig" | |
128 | 128 | ||
129 | 129 | ||
130 | 130 | func V () = "%s__managerPublicKey" | |
131 | 131 | ||
132 | 132 | ||
133 | 133 | func W () = "%s__pendingManagerPublicKey" | |
134 | 134 | ||
135 | 135 | ||
136 | 136 | func X () = "%s__stablePoolAddonAddr" | |
137 | 137 | ||
138 | 138 | ||
139 | 139 | func Y () = "%s__addonAddr" | |
140 | 140 | ||
141 | 141 | ||
142 | 142 | func Z (aa) = makeString(["%s%s%s", aa, "mappings__lpAsset2PoolContract"], e) | |
143 | 143 | ||
144 | 144 | ||
145 | 145 | func ab () = "%s__lpTokensList" | |
146 | 146 | ||
147 | 147 | ||
148 | 148 | func ac (aa) = makeString(["%s%s%s", aa, "mappings__lpAsset2PoolContract"], e) | |
149 | 149 | ||
150 | 150 | ||
151 | 151 | func ad (ae) = makeString(["%s%s", "poolWeight", ae], e) | |
152 | 152 | ||
153 | 153 | ||
154 | 154 | func af (ag) = split(valueOrElse(getString(ag, ab()), ""), e) | |
155 | 155 | ||
156 | 156 | ||
157 | 157 | func ah (ag) = split(y(ag, U()), e) | |
158 | 158 | ||
159 | 159 | ||
160 | 160 | func ai (aj) = addressFromStringValue(aj[O]) | |
161 | 161 | ||
162 | 162 | ||
163 | 163 | func ak (aj) = addressFromStringValue(aj[R]) | |
164 | 164 | ||
165 | 165 | ||
166 | 166 | func al (aj) = addressFromStringValue(aj[N]) | |
167 | 167 | ||
168 | 168 | ||
169 | 169 | func am () = "%s%s__ratePerBlock__current" | |
170 | 170 | ||
171 | 171 | ||
172 | 172 | func an () = "%s%s__ratePerBlockMax__current" | |
173 | 173 | ||
174 | 174 | ||
175 | 175 | func ao () = "%s%s__emission__startBlock" | |
176 | 176 | ||
177 | 177 | ||
178 | 178 | func ap () = "%s%s__emission__duration" | |
179 | 179 | ||
180 | 180 | ||
181 | 181 | func aq () = "%s%s__emission__endBlock" | |
182 | 182 | ||
183 | 183 | ||
184 | 184 | func ar (as,at) = makeString(["%s%s%s__staked", as, at], e) | |
185 | 185 | ||
186 | 186 | ||
187 | 187 | func au (at) = ("%s%s%s__staked__total__" + at) | |
188 | 188 | ||
189 | 189 | ||
190 | 190 | func av (at,as) = makeString(["%s%s%s__claimed", as, at], e) | |
191 | 191 | ||
192 | 192 | ||
193 | 193 | func aw (at,as) = makeString(["%s%s%s__claimedMinReward", as, at], e) | |
194 | 194 | ||
195 | 195 | ||
196 | 196 | func ax (at,as) = makeString(["%s%s%s__claimedBoostReward", as, at], e) | |
197 | 197 | ||
198 | 198 | ||
199 | 199 | func ay (at) = makeString(["%s%s%s__claimed__total", at], e) | |
200 | 200 | ||
201 | 201 | ||
202 | 202 | func az (x) = valueOrElse(getInteger(this, x), 0) | |
203 | 203 | ||
204 | 204 | ||
205 | 205 | func aA (aB) = makeString(["%s%s%s", aB, "total", "bal"], e) | |
206 | 206 | ||
207 | 207 | ||
208 | 208 | func aC (aB,aD) = makeString(["%s%s%s", aB, aD, "bal"], e) | |
209 | 209 | ||
210 | 210 | ||
211 | 211 | func aE (aB) = makeString(["%s%s%s", aB, "total", "balINT"], e) | |
212 | 212 | ||
213 | 213 | ||
214 | 214 | func aF (aB,aD) = makeString(["%s%s%s", aB, aD, "balINT"], e) | |
215 | 215 | ||
216 | 216 | ||
217 | 217 | func aG (aB) = makeString(["%s%s%s", aB, "total", "lastUpd"], e) | |
218 | 218 | ||
219 | 219 | ||
220 | 220 | func aH (aB,aD) = makeString(["%s%s%s", aB, aD, "lastUpd"], e) | |
221 | 221 | ||
222 | 222 | ||
223 | 223 | func aI (aB) = makeString(["%s%s%s%s", aB, "common", "lpInt"], e) | |
224 | 224 | ||
225 | 225 | ||
226 | 226 | func aJ (aB) = makeString(["%s%s%s%s", aB, "common", "lpIntH"], e) | |
227 | 227 | ||
228 | 228 | ||
229 | 229 | func aK (aB,aD) = makeString(["%s%s%s%s", aB, aD, "lpInt"], e) | |
230 | 230 | ||
231 | 231 | ||
232 | 232 | func aL (aB,aD) = makeString(["%s%s%s%s", aB, aD, "lpIntH"], e) | |
233 | 233 | ||
234 | 234 | ||
235 | 235 | func aM (aB) = makeString(["%s", aB, "wxPerLp"], e) | |
236 | 236 | ||
237 | 237 | ||
238 | 238 | func aN (aB) = makeString(["%s", aB, "wxPerLpX18"], e) | |
239 | 239 | ||
240 | 240 | ||
241 | 241 | func aO (aB,aD) = makeString(["%s%s%s%s", aB, aD, "uIntL"], e) | |
242 | 242 | ||
243 | 243 | ||
244 | 244 | func aP (aQ,aD,aR) = makeString(["%s%s%s%s__history", aQ, aD, aR], e) | |
245 | 245 | ||
246 | 246 | ||
247 | 247 | func aS (aD,aB,aQ,aT) = makeString(["%s%s%s%d%d%d", aD, aB, aQ, toString(height), toString(lastBlock.timestamp), toString(aT)], e) | |
248 | 248 | ||
249 | 249 | ||
250 | 250 | func aU (aQ,aD,aB,aT,aV) = StringEntry(aP(aQ, aD, toBase58String(aV)), aS(aD, aB, aQ, aT)) | |
251 | 251 | ||
252 | 252 | ||
253 | 253 | let aW = v(this, L()) | |
254 | 254 | ||
255 | 255 | let aX = addressFromStringValue(aW) | |
256 | 256 | ||
257 | 257 | let aj = ah(aX) | |
258 | 258 | ||
259 | 259 | let aY = ak(aj) | |
260 | 260 | ||
261 | 261 | let aZ = ai(aj) | |
262 | 262 | ||
263 | 263 | let ba = valueOrErrorMessage(addressFromString(valueOrErrorMessage(getString(makeString(["%s", "lpStakingPoolsContract"], e)), i("lp_staking_pools contract address is undefined"))), i("invalid lp_staking_pools contract address")) | |
264 | 264 | ||
265 | 265 | func bb (aB) = makeString(["%s%s", aB, "nextUser"], e) | |
266 | 266 | ||
267 | 267 | ||
268 | 268 | func bc (aB) = makeString(["users", aB], e) | |
269 | 269 | ||
270 | 270 | ||
271 | 271 | func bd (be) = makeString(["%s%s%s", be, "head"], e) | |
272 | 272 | ||
273 | 273 | ||
274 | 274 | func bf (be) = makeString(["%s%s%s", be, "size"], e) | |
275 | 275 | ||
276 | 276 | ||
277 | 277 | func bg (be,bh) = makeString(["%s%s%s%s", be, bh, "prev"], e) | |
278 | 278 | ||
279 | 279 | ||
280 | 280 | func bi (be,bh) = makeString(["%s%s%s%s", be, bh, "next"], e) | |
281 | 281 | ||
282 | 282 | ||
283 | 283 | func bj (be,bh) = { | |
284 | 284 | let bk = getString(this, bd(be)) | |
285 | 285 | let bl = getString(this, bg(be, bh)) | |
286 | 286 | let bm = getString(this, bi(be, bh)) | |
287 | 287 | if (if ((bh == valueOrElse(bk, ""))) | |
288 | 288 | then true | |
289 | 289 | else (bl != unit)) | |
290 | 290 | then true | |
291 | 291 | else (bm != unit) | |
292 | 292 | } | |
293 | 293 | ||
294 | 294 | ||
295 | 295 | func bn (be,bh) = { | |
296 | 296 | let bk = getString(this, bd(be)) | |
297 | 297 | let bo = valueOrElse(getInteger(this, bf(be)), 0) | |
298 | 298 | let bp = if (!(bj(be, bh))) | |
299 | 299 | then true | |
300 | 300 | else throw("Node exists") | |
301 | 301 | if ((bp == bp)) | |
302 | 302 | then (([IntegerEntry(bf(be), (bo + 1))] ++ (if ((bk != unit)) | |
303 | 303 | then [StringEntry(bi(be, bh), value(bk)), StringEntry(bg(be, value(bk)), bh)] | |
304 | 304 | else nil)) ++ [StringEntry(bd(be), bh)]) | |
305 | 305 | else throw("Strict value is not equal to itself.") | |
306 | 306 | } | |
307 | 307 | ||
308 | 308 | ||
309 | 309 | func bq (be,bh) = { | |
310 | 310 | let bk = getString(this, bd(be)) | |
311 | 311 | let bo = valueOrElse(getInteger(this, bf(be)), 0) | |
312 | 312 | let bl = getString(this, bg(be, bh)) | |
313 | 313 | let bm = getString(this, bi(be, bh)) | |
314 | 314 | ([IntegerEntry(bf(be), (bo - 1))] ++ (if (if ((bl != unit)) | |
315 | 315 | then (bm != unit) | |
316 | 316 | else false) | |
317 | 317 | then [StringEntry(bi(be, value(bl)), value(bm)), StringEntry(bg(be, value(bm)), value(bl)), DeleteEntry(bg(be, bh)), DeleteEntry(bi(be, bh))] | |
318 | 318 | else if ((bm != unit)) | |
319 | 319 | then [StringEntry(bd(be), value(bm)), DeleteEntry(bi(be, bh)), DeleteEntry(bg(be, value(bm)))] | |
320 | 320 | else if ((bl != unit)) | |
321 | 321 | then [DeleteEntry(bg(be, bh)), DeleteEntry(bi(be, value(bl)))] | |
322 | 322 | else if ((bh == valueOrElse(bk, ""))) | |
323 | 323 | then [DeleteEntry(bd(be))] | |
324 | 324 | else throw(((("invalid node: " + be) + ".") + bh)))) | |
325 | 325 | } | |
326 | 326 | ||
327 | 327 | ||
328 | 328 | func br (bs,bt,bu,bv) = if (if ((bt == g)) | |
329 | 329 | then (bs > g) | |
330 | 330 | else false) | |
331 | 331 | then g | |
332 | 332 | else if ((bs == g)) | |
333 | 333 | then bu | |
334 | 334 | else if (if ((bt > g)) | |
335 | 335 | then (bs > g) | |
336 | 336 | else false) | |
337 | 337 | then value(parseBigInt(v(this, bv))) | |
338 | 338 | else throw("calcWxPerLpIntegralUserLast: unexpected state") | |
339 | 339 | ||
340 | 340 | ||
341 | 341 | func bw (at,bx,by) = { | |
342 | 342 | let bz = au(at) | |
343 | 343 | let bA = toBigInt(az(bz)) | |
344 | 344 | let bB = if ((bA == g)) | |
345 | 345 | then h | |
346 | 346 | else bA | |
347 | 347 | let bC = getIntegerValue(aX, ad(bx)) | |
348 | 348 | let bD = C(aY, ao()) | |
349 | 349 | let bE = 1000 | |
350 | 350 | let bF = (C(aY, am()) * bE) | |
351 | 351 | let bG = fraction(bF, bC, (f * 3)) | |
352 | 352 | let bH = aI(at) | |
353 | 353 | let bI = aJ(at) | |
354 | 354 | let bJ = aM(at) | |
355 | 355 | let bK = A(this, bI, bD) | |
356 | 356 | let bL = D(this, bH) | |
357 | 357 | let bM = 0 | |
358 | 358 | let bN = max([(height - bK), 0]) | |
359 | 359 | let bO = if ((bM != 0)) | |
360 | 360 | then toBigInt(bM) | |
361 | 361 | else fraction(toBigInt(bG), toBigInt(b), bB) | |
362 | 362 | let bP = (bA + toBigInt(by)) | |
363 | 363 | let bQ = if ((bP == g)) | |
364 | 364 | then h | |
365 | 365 | else bP | |
366 | 366 | let bu = (bL + (bO * toBigInt(bN))) | |
367 | 367 | let bR = (toBigInt(bG) / bQ) | |
368 | 368 | let bS = height | |
369 | 369 | let bT = makeString([toString(bu), toString(bN), toString(bO), toString(bA), toString(bG), toString(bF), toString(bC)], "::") | |
370 | 370 | $Tuple3(bu, [StringEntry(bH, toString(bu)), IntegerEntry(bI, bS), StringEntry(bJ, toString(bR))], bT) | |
371 | 371 | } | |
372 | 372 | ||
373 | 373 | ||
374 | 374 | func bU (at,as,bx,by) = { | |
375 | 375 | let bV = bw(at, bx, by) | |
376 | 376 | let bu = bV._1 | |
377 | 377 | let bW = bV._2 | |
378 | 378 | let bX = bV._3 | |
379 | 379 | let bE = 1000 | |
380 | 380 | let bY = ar(as, at) | |
381 | 381 | let bs = az(bY) | |
382 | 382 | let bZ = aK(at, as) | |
383 | 383 | let ca = aL(at, as) | |
384 | 384 | let bv = aO(at, as) | |
385 | 385 | let cb = D(this, bZ) | |
386 | 386 | let bt = z(this, ca) | |
387 | 387 | let cc = br(toBigInt(bs), toBigInt(bt), bu, bv) | |
388 | 388 | let cd = (b * bE) | |
389 | 389 | let ce = max([(cb + fraction((bu - cc), toBigInt(bs), toBigInt(cd))), g]) | |
390 | 390 | let cf = bu | |
391 | 391 | let cg = height | |
392 | 392 | let bT = makeString([toString(cb), toString(cc), toString(bs), bX, toString(height)], "::") | |
393 | 393 | $Tuple3(ce, (bW ++ [StringEntry(bZ, toString(ce)), IntegerEntry(ca, cg), StringEntry(bv, toString(cf))]), bT) | |
394 | 394 | } | |
395 | 395 | ||
396 | 396 | ||
397 | 397 | func ch () = { | |
398 | 398 | let n = getString(V()) | |
399 | 399 | if ($isInstanceOf(n, "String")) | |
400 | 400 | then { | |
401 | 401 | let F = n | |
402 | 402 | fromBase58String(F) | |
403 | 403 | } | |
404 | 404 | else if ($isInstanceOf(n, "Unit")) | |
405 | 405 | then unit | |
406 | 406 | else throw("Match error") | |
407 | 407 | } | |
408 | 408 | ||
409 | 409 | ||
410 | 410 | func ci () = { | |
411 | 411 | let n = getString(W()) | |
412 | 412 | if ($isInstanceOf(n, "String")) | |
413 | 413 | then { | |
414 | 414 | let F = n | |
415 | 415 | fromBase58String(F) | |
416 | 416 | } | |
417 | 417 | else if ($isInstanceOf(n, "Unit")) | |
418 | 418 | then unit | |
419 | 419 | else throw("Match error") | |
420 | 420 | } | |
421 | 421 | ||
422 | 422 | ||
423 | 423 | let cj = throw("Permission denied") | |
424 | 424 | ||
425 | 425 | func ck (cl) = if ((cl.caller == this)) | |
426 | 426 | then true | |
427 | 427 | else cj | |
428 | 428 | ||
429 | 429 | ||
430 | 430 | func cm (cl) = { | |
431 | 431 | let n = ch() | |
432 | 432 | if ($isInstanceOf(n, "ByteVector")) | |
433 | 433 | then { | |
434 | 434 | let cn = n | |
435 | 435 | if ((cl.callerPublicKey == cn)) | |
436 | 436 | then true | |
437 | 437 | else cj | |
438 | 438 | } | |
439 | 439 | else if ($isInstanceOf(n, "Unit")) | |
440 | 440 | then if ((cl.caller == this)) | |
441 | 441 | then true | |
442 | 442 | else cj | |
443 | 443 | else throw("Match error") | |
444 | 444 | } | |
445 | 445 | ||
446 | 446 | ||
447 | 447 | @Callable(cl) | |
448 | 448 | func constructor (co) = { | |
449 | 449 | let cp = cm(cl) | |
450 | 450 | if ((cp == cp)) | |
451 | 451 | then [StringEntry(L(), co)] | |
452 | 452 | else throw("Strict value is not equal to itself.") | |
453 | 453 | } | |
454 | 454 | ||
455 | 455 | ||
456 | 456 | ||
457 | 457 | @Callable(cl) | |
458 | 458 | func constructorV2 (cq) = { | |
459 | 459 | let cr = [cm(cl), if ((addressFromString(cq) != unit)) | |
460 | 460 | then true | |
461 | 461 | else "invalid voting emission contract address"] | |
462 | 462 | if ((cr == cr)) | |
463 | 463 | then [StringEntry(M(), cq)] | |
464 | 464 | else throw("Strict value is not equal to itself.") | |
465 | 465 | } | |
466 | 466 | ||
467 | 467 | ||
468 | 468 | ||
469 | 469 | @Callable(cl) | |
470 | 470 | func setManager (cs) = { | |
471 | 471 | let cp = cm(cl) | |
472 | 472 | if ((cp == cp)) | |
473 | 473 | then { | |
474 | 474 | let ct = fromBase58String(cs) | |
475 | 475 | if ((ct == ct)) | |
476 | 476 | then [StringEntry(W(), cs)] | |
477 | 477 | else throw("Strict value is not equal to itself.") | |
478 | 478 | } | |
479 | 479 | else throw("Strict value is not equal to itself.") | |
480 | 480 | } | |
481 | 481 | ||
482 | 482 | ||
483 | 483 | ||
484 | 484 | @Callable(cl) | |
485 | 485 | func confirmManager () = { | |
486 | 486 | let cu = ci() | |
487 | 487 | let cv = if (isDefined(cu)) | |
488 | 488 | then true | |
489 | 489 | else throw("No pending manager") | |
490 | 490 | if ((cv == cv)) | |
491 | 491 | then { | |
492 | 492 | let cw = if ((cl.callerPublicKey == value(cu))) | |
493 | 493 | then true | |
494 | 494 | else throw("You are not pending manager") | |
495 | 495 | if ((cw == cw)) | |
496 | 496 | then [StringEntry(V(), toBase58String(value(cu))), DeleteEntry(W())] | |
497 | 497 | else throw("Strict value is not equal to itself.") | |
498 | 498 | } | |
499 | 499 | else throw("Strict value is not equal to itself.") | |
500 | 500 | } | |
501 | 501 | ||
502 | 502 | ||
503 | 503 | ||
504 | 504 | @Callable(cl) | |
505 | 505 | func stake () = if ((size(cl.payments) != 1)) | |
506 | 506 | then throw("invalid payment - exact one payment must be attached") | |
507 | 507 | else { | |
508 | 508 | let cx = cl.payments[0] | |
509 | 509 | let aB = value(cx.assetId) | |
510 | 510 | let at = toBase58String(aB) | |
511 | 511 | let aT = cx.amount | |
512 | 512 | let bx = valueOrErrorMessage(getString(aX, Z(at)), ("unsupported lp asset " + at)) | |
513 | 513 | let cy = toString(cl.caller) | |
514 | 514 | let as = if ((cy == bx)) | |
515 | 515 | then toString(cl.originCaller) | |
516 | 516 | else cy | |
517 | 517 | let bY = ar(as, at) | |
518 | 518 | let bz = au(at) | |
519 | 519 | let bs = az(bY) | |
520 | 520 | let bA = az(bz) | |
521 | 521 | let cz = bU(at, as, bx, aT) | |
522 | 522 | let ce = cz._1 | |
523 | 523 | let cA = cz._2 | |
524 | 524 | let bT = cz._3 | |
525 | 525 | let be = bc(at) | |
526 | 526 | let cB = if (bj(be, as)) | |
527 | 527 | then nil | |
528 | 528 | else bn(be, as) | |
529 | 529 | (([IntegerEntry(bY, (bs + aT)), IntegerEntry(bz, (bA + aT)), aU("stake", as, at, aT, cl.transactionId)] ++ cA) ++ cB) | |
530 | 530 | } | |
531 | 531 | ||
532 | 532 | ||
533 | 533 | ||
534 | 534 | @Callable(cl) | |
535 | 535 | func unstake (at,aT) = { | |
536 | 536 | let aB = fromBase58String(at) | |
537 | 537 | let bx = valueOrErrorMessage(getString(aX, Z(at)), ("unsupported lp asset " + at)) | |
538 | 538 | let cC = valueOrElse(getString(addressFromStringValue(bx), Y()), bx) | |
539 | 539 | let cy = toString(cl.caller) | |
540 | - | let as = if (if (if ((cy == bx)) | |
541 | - | then (cl.originCaller != ba) | |
542 | - | else false) | |
540 | + | let as = if (if ((cy == bx)) | |
543 | 541 | then true | |
544 | 542 | else (cy == cC)) | |
545 | 543 | then toString(cl.originCaller) | |
546 | 544 | else cy | |
547 | 545 | let bY = ar(as, at) | |
548 | 546 | let bz = au(at) | |
549 | 547 | let bs = az(bY) | |
550 | 548 | let bA = az(bz) | |
551 | 549 | let cA = bU(at, as, bx, -(aT))._2 | |
552 | 550 | let be = bc(at) | |
553 | 551 | let cB = if (if (bj(be, as)) | |
554 | 552 | then (aT == bs) | |
555 | 553 | else false) | |
556 | 554 | then bq(be, as) | |
557 | 555 | else nil | |
558 | 556 | let cD = D(this, av(at, as)) | |
559 | 557 | let cE = y(aX, ac(at)) | |
560 | 558 | let ce = bU(at, as, cE, 0)._1 | |
561 | 559 | let cF = (ce - cD) | |
562 | 560 | let cG = if ((cF > g)) | |
563 | 561 | then invoke(this, "claimWxINTERNAL", [at, as], nil) | |
564 | 562 | else unit | |
565 | 563 | if ((cG == cG)) | |
566 | 564 | then if ((aT > bs)) | |
567 | 565 | then throw(((((((("passed amount=" + toString(aT)) + " is greater than available=") + toString(bs)) + ". lpAssetId=") + at) + ". stakedByUserKEY=") + bY)) | |
568 | 566 | else (([IntegerEntry(bY, (bs - aT)), IntegerEntry(bz, (bA - aT)), ScriptTransfer(cl.caller, aT, aB), aU("unstake", as, at, aT, cl.transactionId)] ++ cA) ++ cB) | |
569 | 567 | else throw("Strict value is not equal to itself.") | |
570 | 568 | } | |
571 | 569 | ||
572 | 570 | ||
573 | 571 | ||
574 | 572 | @Callable(cl) | |
575 | 573 | func claimWx (at) = { | |
576 | 574 | let as = toString(cl.caller) | |
577 | 575 | let cH = invoke(this, "claimWxINTERNAL", [at, as], nil) | |
578 | 576 | $Tuple2(nil, cH) | |
579 | 577 | } | |
580 | 578 | ||
581 | 579 | ||
582 | 580 | ||
583 | 581 | @Callable(cl) | |
584 | 582 | func claimWxINTERNAL (at,as) = { | |
585 | 583 | let cp = ck(cl) | |
586 | 584 | if ((cp == cp)) | |
587 | 585 | then { | |
588 | 586 | let aD = valueOrErrorMessage(addressFromString(as), "claimWxINTERNAL: invalid user address") | |
589 | 587 | let bx = y(aX, ac(at)) | |
590 | 588 | let cI = av(at, as) | |
591 | 589 | let cJ = ay(at) | |
592 | 590 | let cK = aw(at, as) | |
593 | 591 | let cL = ax(at, as) | |
594 | 592 | let cD = D(this, cI) | |
595 | 593 | let cM = D(this, cK) | |
596 | 594 | let cN = D(this, cL) | |
597 | 595 | let cO = D(this, cJ) | |
598 | 596 | let cP = bU(at, as, bx, 0) | |
599 | 597 | let ce = cP._1 | |
600 | 598 | let cA = cP._2 | |
601 | 599 | let bT = cP._3 | |
602 | 600 | let cF = max([(ce - cD), g]) | |
603 | 601 | if ((g >= cF)) | |
604 | 602 | then throw("nothing to claim") | |
605 | 603 | else { | |
606 | 604 | let cQ = max([p(l(invoke(aZ, "claimWxBoost", [at, as], nil))[0]), 0]) | |
607 | 605 | let cR = cF | |
608 | 606 | let cS = min([(cR * toBigInt(2)), toBigInt(cQ)]) | |
609 | 607 | let cT = (cR + cS) | |
610 | 608 | let cU = t(l(invoke(aY, "emit", [toInt(cR)], nil))[0]) | |
611 | 609 | let cV = l(invoke(aY, "emit", [toInt(cS)], nil)) | |
612 | 610 | if ((cV == cV)) | |
613 | 611 | then { | |
614 | 612 | let cW = (cD + cF) | |
615 | 613 | let cX = (cM + cR) | |
616 | 614 | let cY = (cM + cR) | |
617 | 615 | let cZ = (cM + cR) | |
618 | 616 | $Tuple2([StringEntry(cI, toString(cW)), StringEntry(cK, toString(cX)), StringEntry(cL, toString(cY)), StringEntry(cJ, toString(cZ)), ScriptTransfer(aD, toInt(cR), cU), ScriptTransfer(aD, toInt(cS), cU), aU("claim", as, at, toInt(cF), cl.transactionId)], toInt(cT)) | |
619 | 617 | } | |
620 | 618 | else throw("Strict value is not equal to itself.") | |
621 | 619 | } | |
622 | 620 | } | |
623 | 621 | else throw("Strict value is not equal to itself.") | |
624 | 622 | } | |
625 | 623 | ||
626 | 624 | ||
627 | 625 | ||
628 | 626 | @Callable(cl) | |
629 | 627 | func claimWxBulkInternalREADONLY (da,db,as,dc) = if ((da == size(db))) | |
630 | 628 | then $Tuple2(nil, dc) | |
631 | 629 | else { | |
632 | 630 | let aB = db[da] | |
633 | 631 | let dd = split({ | |
634 | 632 | let de = invoke(this, "claimWxREADONLY", [aB, as], nil) | |
635 | 633 | if ($isInstanceOf(de, "String")) | |
636 | 634 | then de | |
637 | 635 | else throw(($getType(de) + " couldn't be cast to String")) | |
638 | 636 | }, e) | |
639 | 637 | let df = dd[3] | |
640 | 638 | let dg = dd[4] | |
641 | 639 | let dh = (dc :+ makeString(["%d%d", df, dg], e)) | |
642 | 640 | let di = { | |
643 | 641 | let de = invoke(this, "claimWxBulkInternalREADONLY", [(da + 1), db, as, dh], nil) | |
644 | 642 | if ($isInstanceOf(de, "List[Any]")) | |
645 | 643 | then de | |
646 | 644 | else throw(($getType(de) + " couldn't be cast to List[Any]")) | |
647 | 645 | } | |
648 | 646 | if ((di == di)) | |
649 | 647 | then $Tuple2(nil, di) | |
650 | 648 | else throw("Strict value is not equal to itself.") | |
651 | 649 | } | |
652 | 650 | ||
653 | 651 | ||
654 | 652 | ||
655 | 653 | @Callable(cl) | |
656 | 654 | func claimWxBulkREADONLY (db,as) = { | |
657 | 655 | let dh = invoke(this, "claimWxBulkInternalREADONLY", [0, db, as, nil], nil) | |
658 | 656 | $Tuple2(nil, dh) | |
659 | 657 | } | |
660 | 658 | ||
661 | 659 | ||
662 | 660 | ||
663 | 661 | @Callable(cl) | |
664 | 662 | func claimWxREADONLY (at,as) = { | |
665 | 663 | let bY = ar(as, at) | |
666 | 664 | let bz = au(at) | |
667 | 665 | let cI = av(at, as) | |
668 | 666 | let bs = az(bY) | |
669 | 667 | let bA = az(bz) | |
670 | 668 | let cD = D(this, cI) | |
671 | 669 | let bx = y(aX, ac(at)) | |
672 | 670 | let bC = getIntegerValue(aX, ad(bx)) | |
673 | 671 | let dj = C(aY, am()) | |
674 | 672 | let bD = C(aY, ao()) | |
675 | 673 | let dk = if ((bD > height)) | |
676 | 674 | then 0 | |
677 | 675 | else (height - bD) | |
678 | 676 | let dl = fraction((dj * dk), bC, f) | |
679 | 677 | let dm = fraction(dl, bs, bA) | |
680 | 678 | let dn = bU(at, as, bx, 0) | |
681 | 679 | let ce = dn._1 | |
682 | 680 | let cA = dn._2 | |
683 | 681 | let bT = dn._3 | |
684 | 682 | let cF = max([(ce - cD), g]) | |
685 | 683 | let do = l(invoke(aZ, "claimWxBoostREADONLY", [at, as], nil)) | |
686 | 684 | let cQ = max([p(do[0]), 0]) | |
687 | 685 | let dp = r(do[1]) | |
688 | 686 | let cR = cF | |
689 | 687 | let cS = min([(cR * toBigInt(2)), toBigInt(cQ)]) | |
690 | 688 | let cT = (cR + cS) | |
691 | 689 | $Tuple2(nil, makeString(["%s%s%d%d%d%d%s", at, as, toString(cT), toString(cD), toString(cR), toString(cS), "soon"], e)) | |
692 | 690 | } | |
693 | 691 | ||
694 | 692 | ||
695 | 693 | ||
696 | 694 | @Callable(cl) | |
697 | 695 | func stakedByUserREADONLY (at,as) = { | |
698 | 696 | let bs = valueOrElse(getInteger(ar(as, at)), 0) | |
699 | 697 | $Tuple2(nil, bs) | |
700 | 698 | } | |
701 | 699 | ||
702 | 700 | ||
703 | 701 | ||
704 | 702 | @Callable(cl) | |
705 | 703 | func usersListTraversal (aB) = { | |
706 | 704 | let cp = if ((toBase58String(cl.caller.bytes) == valueOrElse(getString(this, M()), ""))) | |
707 | 705 | then true | |
708 | 706 | else cm(cl) | |
709 | 707 | if ((cp == cp)) | |
710 | 708 | then { | |
711 | 709 | let be = bc(aB) | |
712 | 710 | let dq = getString(bb(aB)) | |
713 | 711 | let bk = getString(bd(be)) | |
714 | 712 | let n = dq | |
715 | 713 | if ($isInstanceOf(n, "Unit")) | |
716 | 714 | then { | |
717 | 715 | let dr = bk | |
718 | 716 | if ($isInstanceOf(dr, "Unit")) | |
719 | 717 | then $Tuple2(nil, false) | |
720 | 718 | else if ($isInstanceOf(dr, "String")) | |
721 | 719 | then { | |
722 | 720 | let ds = dr | |
723 | 721 | $Tuple2([StringEntry(bb(aB), ds)], true) | |
724 | 722 | } | |
725 | 723 | else throw("Match error") | |
726 | 724 | } | |
727 | 725 | else if ($isInstanceOf(n, "String")) | |
728 | 726 | then { | |
729 | 727 | let aD = n | |
730 | 728 | let cD = D(this, av(aB, aD)) | |
731 | 729 | let cE = y(aX, ac(aB)) | |
732 | 730 | let ce = bU(aB, aD, cE, 0)._1 | |
733 | 731 | let cF = (ce - cD) | |
734 | 732 | let cG = if ((cF > g)) | |
735 | 733 | then invoke(this, "claimWxINTERNAL", [aB, aD], nil) | |
736 | 734 | else unit | |
737 | 735 | if ((cG == cG)) | |
738 | 736 | then { | |
739 | 737 | let dt = getString(bi(be, aD)) | |
740 | 738 | let dr = dt | |
741 | 739 | if ($isInstanceOf(dr, "Unit")) | |
742 | 740 | then $Tuple2([DeleteEntry(bb(aB))], false) | |
743 | 741 | else if ($isInstanceOf(dr, "String")) | |
744 | 742 | then { | |
745 | 743 | let du = dr | |
746 | 744 | $Tuple2([StringEntry(bb(aB), du)], true) | |
747 | 745 | } | |
748 | 746 | else throw("Match error") | |
749 | 747 | } | |
750 | 748 | else throw("Strict value is not equal to itself.") | |
751 | 749 | } | |
752 | 750 | else throw("Match error") | |
753 | 751 | } | |
754 | 752 | else throw("Strict value is not equal to itself.") | |
755 | 753 | } | |
756 | 754 | ||
757 | 755 | ||
758 | 756 | ||
759 | 757 | @Callable(cl) | |
760 | 758 | func onModifyWeight (at,bx) = if ((cl.caller != aX)) | |
761 | 759 | then throw("permissions denied") | |
762 | 760 | else { | |
763 | 761 | let dv = bw(at, bx, 0) | |
764 | 762 | let bu = dv._1 | |
765 | 763 | let bW = dv._2 | |
766 | 764 | let bX = dv._3 | |
767 | 765 | bW | |
768 | 766 | } | |
769 | 767 | ||
770 | 768 | ||
771 | 769 | @Verifier(dw) | |
772 | 770 | func dx () = { | |
773 | 771 | let dy = { | |
774 | 772 | let n = ch() | |
775 | 773 | if ($isInstanceOf(n, "ByteVector")) | |
776 | 774 | then { | |
777 | 775 | let cn = n | |
778 | 776 | cn | |
779 | 777 | } | |
780 | 778 | else if ($isInstanceOf(n, "Unit")) | |
781 | 779 | then dw.senderPublicKey | |
782 | 780 | else throw("Match error") | |
783 | 781 | } | |
784 | 782 | sigVerify(dw.bodyBytes, dw.proofs[0], dy) | |
785 | 783 | } | |
786 | 784 |
github/deemru/w8io/fabc49c 72.95 ms ◑