tx · 5vncU7wrQyM1wxXSLum3pFjFwQ2argRtnpbWBbNJxp4t 3N8n6BtTBKRZBoPuMzaPBH9FyJhfv9xDFJH: -0.01400000 Waves 2022.07.26 14:09 [2156688] smart account 3N8n6BtTBKRZBoPuMzaPBH9FyJhfv9xDFJH > SELF 0.00000000 Waves
{ "type": 13, "id": "5vncU7wrQyM1wxXSLum3pFjFwQ2argRtnpbWBbNJxp4t", "fee": 1400000, "feeAssetId": null, "timestamp": 1658833816895, "version": 2, "chainId": 84, "sender": "3N8n6BtTBKRZBoPuMzaPBH9FyJhfv9xDFJH", "senderPublicKey": "4hcnYaYoB2XaCzyJ7wfePpG7EfTd6st6aCAhkskJ9cQ5", "proofs": [ "5vr16XC7gjRvFW5jbhMng7T172djYCKAxomRZgB616ZQYyZHx6nEtFDCHYZbbBEHX9tY5h9s5WgzSraX3YCbkiyM" ], "script": "base64:BgIaCAISABIAEgASABIAEgASABIAEgASABIAEgAdAAp1c2R0VXNkbkxQASDbTYM1ZEcblu+fDC+gz33VeZ2S6OGbNQ/BP8x7AnApCwANdXNkdFVzZG5MUFRDSQEgCoHNqe1AYR2YSrg62HoEaFMIJsDJmPFhwSl++h3eKvIACHd4VXNkbkxQASAbuaGPe85Mpc36zkfJCxaOTfZb3sLrk8HWxajRsaoLHAALd3hVc2RuTFBUQ0kBILfs3eYbAnvathOH/VXQ1jy2x6I3PUuIvcF7b0hEAJgvAAp1c2RjVXNkbkxQASADaQH8GwqYCojNj/4RWYWFJpEys1qS/CbpSF3Tn95cdgANdXNkY1VzZG5MUFRDSQEg9gI33dOf74ZFL1wjRw+VX9E6baErwqe0m1RBB1L1bsYACnVzZGNVc2R0TFABIMb4pHQbVkhWEJ+QfsIz9DFriwRKLCv9mUuH9YWbfOSMAA11c2RjVXNkdExQVENJASACxoV8BEszx+Lvh2eHUvtVgv2z34QjtqBaxTXdz1dK/gAMcHV6emxlVXNkbkxQASDDM8Z0ziOqpCLfSSTlxJlreASwd1aCdP+40R1KjRzRng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CaCAIFBHRoaXMFDmtleVNwb25zb3JzaGlwAAAEBGxvY2sJAPwHBAkBB0FkZHJlc3MBARoBV7Pm5lUYEWmw5DMPiFFDpJyu1tVLA0sRWAIMaW5jcmVhc2VMb2NrCQDMCAIFCmxvY2tQZXJpb2QFA25pbAkAzAgCBQJwbQUDbmlsAwkAAAIFBGxvY2sFBGxvY2sEAXMJAQxJbnRlZ2VyRW50cnkCBQ5rZXlTcG9uc29yc2hpcAkAZAIIBQJwbQZhbW91bnQFCXNwb25zb3JlZAkAzAgCBQFzBQNuaWwJAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4BAnR4AQZ2ZXJpZnkACQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAACAUCdHgPc2VuZGVyUHVibGljS2V5u1gRRA==", "height": 2156688, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: B353fZMBKiMBVyKfgc1g9G1EFYgFAR9U722FQG4R8Px8 Next: HAQKAEFhiSoZQBXd15RamwYJV5N3cu1SrC4fWtFLPenv Diff:
Old | New | Differences | |
---|---|---|---|
79 | 79 | else 0 | |
80 | 80 | } | |
81 | 81 | let L = valueOrElse(getInteger(this, n), 0) | |
82 | - | let M = fraction( | |
82 | + | let M = fraction(L, x, I) | |
83 | 83 | let N = fraction(M, G, x) | |
84 | 84 | let O = fraction(N, x, y) | |
85 | 85 | let P = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "unstake", ["Fm4qczu6Pepz8KUhh3Heb6LeTVfpSMX5vvNgw3x764CS", G], [F]) | |
107 | 107 | else 0 | |
108 | 108 | } | |
109 | 109 | let V = valueOrElse(getInteger(this, q), 0) | |
110 | - | let W = fraction( | |
110 | + | let W = fraction(V, x, U) | |
111 | 111 | let X = fraction(W, G, x) | |
112 | 112 | let O = fraction(X, x, y) | |
113 | 113 | let P = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "unstake", ["2sEBVcyDFK2LupCf7MeA4vzHhGK4DC1WjbKGQCLYDqib", G], [F]) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = base58'Fm4qczu6Pepz8KUhh3Heb6LeTVfpSMX5vvNgw3x764CS' | |
5 | 5 | ||
6 | 6 | let b = base58'i1snzKxSEZVokh9TWj8hTJQEDBsocnL2hRWsSbsMPK7' | |
7 | 7 | ||
8 | 8 | let c = base58'2sEBVcyDFK2LupCf7MeA4vzHhGK4DC1WjbKGQCLYDqib' | |
9 | 9 | ||
10 | 10 | let d = base58'DNy6WBfhPE4y82RonGdHhZEunNotEDzmNfrBomWnsyGi' | |
11 | 11 | ||
12 | 12 | let e = base58'EK6N7S38xbtBT3SxAqoGdDLCiX6rojX6G169CnSyuE5' | |
13 | 13 | ||
14 | 14 | let f = base58'HZKFpNfyPG5gt4D6Nfy1zQSg2Ptmqv932GjNTCyBEeKP' | |
15 | 15 | ||
16 | 16 | let g = base58'EPhdEfmQaNcHyvDmRGhnLhgcJtKZ2a4k3ZBmKWtAEWyH' | |
17 | 17 | ||
18 | 18 | let h = base58'BqPYkaiz7Le6fFu1rjZ54anrpT57EpvyugZCUqrsjXj' | |
19 | 19 | ||
20 | 20 | let i = base58'E8zHu33GfcNyGLypX77gZiUXfvuZQeaYmiEfsy7VYNwP' | |
21 | 21 | ||
22 | 22 | let j = base58'Dh9QXSSABE5V6aRfu3mCbDAUokbpE7ER7pbZV6cvyg1A' | |
23 | 23 | ||
24 | 24 | let k = base58'Atqv59EYzjFGuitKVnMRk6H8FukjoV3ktPorbEys25on' | |
25 | 25 | ||
26 | 26 | let l = "Sponsorship_in_lock" | |
27 | 27 | ||
28 | 28 | let m = false | |
29 | 29 | ||
30 | 30 | let n = "STAKED_LP" | |
31 | 31 | ||
32 | 32 | let o = "From_Compound" | |
33 | 33 | ||
34 | 34 | let p = "WX_USDN_compound" | |
35 | 35 | ||
36 | 36 | let q = "WX_USDN" | |
37 | 37 | ||
38 | 38 | let r = "USDC_USDN_compound" | |
39 | 39 | ||
40 | 40 | let s = "USDC_USDN" | |
41 | 41 | ||
42 | 42 | let t = "USDC_USDT_compound" | |
43 | 43 | ||
44 | 44 | let u = "USDC_USDT" | |
45 | 45 | ||
46 | 46 | let v = "PUZZLE_USDN_compound" | |
47 | 47 | ||
48 | 48 | let w = "PUZZLE_USDN" | |
49 | 49 | ||
50 | 50 | let x = 100000000 | |
51 | 51 | ||
52 | 52 | let y = 10000000000 | |
53 | 53 | ||
54 | 54 | let z = base58'3Mv7nXq2V2Dnn9oSkB5feRt6RxtqnPiAXNH' | |
55 | 55 | ||
56 | 56 | let A = base58'3P6phwFZFQtZFuc9dvdXsgvtg8JEFVgECPA' | |
57 | 57 | ||
58 | 58 | let B = "3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz" | |
59 | 59 | ||
60 | 60 | func C (D) = if ((D != A)) | |
61 | 61 | then false | |
62 | 62 | else true | |
63 | 63 | ||
64 | 64 | ||
65 | 65 | @Callable(E) | |
66 | 66 | func withdraw () = { | |
67 | 67 | let F = value(E.payments[0]) | |
68 | 68 | let G = F.amount | |
69 | 69 | let H = F.assetId | |
70 | 70 | if ((H == a)) | |
71 | 71 | then { | |
72 | 72 | let I = { | |
73 | 73 | let J = assetInfo(b) | |
74 | 74 | if ($isInstanceOf(J, "Asset")) | |
75 | 75 | then { | |
76 | 76 | let K = J | |
77 | 77 | K.quantity | |
78 | 78 | } | |
79 | 79 | else 0 | |
80 | 80 | } | |
81 | 81 | let L = valueOrElse(getInteger(this, n), 0) | |
82 | - | let M = fraction( | |
82 | + | let M = fraction(L, x, I) | |
83 | 83 | let N = fraction(M, G, x) | |
84 | 84 | let O = fraction(N, x, y) | |
85 | 85 | let P = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "unstake", ["Fm4qczu6Pepz8KUhh3Heb6LeTVfpSMX5vvNgw3x764CS", G], [F]) | |
86 | 86 | if ((P == P)) | |
87 | 87 | then { | |
88 | 88 | let Q = ScriptTransfer(Address(z), O, a) | |
89 | 89 | let R = ScriptTransfer(E.caller, (N - O), a) | |
90 | 90 | let S = IntegerEntry(n, (L - N)) | |
91 | 91 | let T = Burn(b, G) | |
92 | 92 | if ((T == T)) | |
93 | 93 | then [Q, R, S] | |
94 | 94 | else throw("Strict value is not equal to itself.") | |
95 | 95 | } | |
96 | 96 | else throw("Strict value is not equal to itself.") | |
97 | 97 | } | |
98 | 98 | else if ((H == d)) | |
99 | 99 | then { | |
100 | 100 | let U = { | |
101 | 101 | let J = assetInfo(d) | |
102 | 102 | if ($isInstanceOf(J, "Asset")) | |
103 | 103 | then { | |
104 | 104 | let K = J | |
105 | 105 | K.quantity | |
106 | 106 | } | |
107 | 107 | else 0 | |
108 | 108 | } | |
109 | 109 | let V = valueOrElse(getInteger(this, q), 0) | |
110 | - | let W = fraction( | |
110 | + | let W = fraction(V, x, U) | |
111 | 111 | let X = fraction(W, G, x) | |
112 | 112 | let O = fraction(X, x, y) | |
113 | 113 | let P = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "unstake", ["2sEBVcyDFK2LupCf7MeA4vzHhGK4DC1WjbKGQCLYDqib", G], [F]) | |
114 | 114 | if ((P == P)) | |
115 | 115 | then { | |
116 | 116 | let Y = ScriptTransfer(Address(z), O, c) | |
117 | 117 | let Z = ScriptTransfer(E.caller, (G - O), c) | |
118 | 118 | let aa = IntegerEntry(q, (V - X)) | |
119 | 119 | let ab = Burn(c, G) | |
120 | 120 | if ((ab == ab)) | |
121 | 121 | then [Y, Z, aa] | |
122 | 122 | else throw("Strict value is not equal to itself.") | |
123 | 123 | } | |
124 | 124 | else throw("Strict value is not equal to itself.") | |
125 | 125 | } | |
126 | 126 | else if ((H == f)) | |
127 | 127 | then { | |
128 | 128 | let ac = { | |
129 | 129 | let J = assetInfo(f) | |
130 | 130 | if ($isInstanceOf(J, "Asset")) | |
131 | 131 | then { | |
132 | 132 | let K = J | |
133 | 133 | K.quantity | |
134 | 134 | } | |
135 | 135 | else 0 | |
136 | 136 | } | |
137 | 137 | let ad = valueOrElse(getInteger(this, s), 0) | |
138 | 138 | let ae = fraction(ac, x, ad) | |
139 | 139 | let af = fraction(ae, G, x) | |
140 | 140 | let O = fraction(af, x, y) | |
141 | 141 | let ag = ScriptTransfer(Address(z), O, e) | |
142 | 142 | let ah = ScriptTransfer(E.caller, (G - O), e) | |
143 | 143 | let ai = IntegerEntry(s, (ad - af)) | |
144 | 144 | let aj = Burn(f, G) | |
145 | 145 | if ((aj == aj)) | |
146 | 146 | then [ag, ah, ai] | |
147 | 147 | else throw("Strict value is not equal to itself.") | |
148 | 148 | } | |
149 | 149 | else if ((H == h)) | |
150 | 150 | then { | |
151 | 151 | let ak = { | |
152 | 152 | let J = assetInfo(f) | |
153 | 153 | if ($isInstanceOf(J, "Asset")) | |
154 | 154 | then { | |
155 | 155 | let K = J | |
156 | 156 | K.quantity | |
157 | 157 | } | |
158 | 158 | else 0 | |
159 | 159 | } | |
160 | 160 | let al = valueOrElse(getInteger(this, u), 0) | |
161 | 161 | let am = fraction(ak, x, al) | |
162 | 162 | let an = fraction(am, G, x) | |
163 | 163 | let O = fraction(an, x, y) | |
164 | 164 | let ao = ScriptTransfer(Address(z), O, g) | |
165 | 165 | let ap = ScriptTransfer(E.caller, (G - O), g) | |
166 | 166 | let aq = IntegerEntry(u, (al - an)) | |
167 | 167 | let ab = Burn(f, G) | |
168 | 168 | if ((ab == ab)) | |
169 | 169 | then [ao, ap, aq] | |
170 | 170 | else throw("Strict value is not equal to itself.") | |
171 | 171 | } | |
172 | 172 | else if ((H == j)) | |
173 | 173 | then { | |
174 | 174 | let ar = { | |
175 | 175 | let J = assetInfo(j) | |
176 | 176 | if ($isInstanceOf(J, "Asset")) | |
177 | 177 | then { | |
178 | 178 | let K = J | |
179 | 179 | K.quantity | |
180 | 180 | } | |
181 | 181 | else 0 | |
182 | 182 | } | |
183 | 183 | let as = valueOrElse(getInteger(this, w), 0) | |
184 | 184 | let at = fraction(ar, x, as) | |
185 | 185 | let au = fraction(at, G, x) | |
186 | 186 | let O = fraction(au, x, y) | |
187 | 187 | let av = ScriptTransfer(Address(z), O, i) | |
188 | 188 | let aw = ScriptTransfer(E.caller, (G - O), i) | |
189 | 189 | let ax = IntegerEntry(w, (as - au)) | |
190 | 190 | let ay = Burn(j, G) | |
191 | 191 | if ((ay == ay)) | |
192 | 192 | then [av, aw, ax] | |
193 | 193 | else throw("Strict value is not equal to itself.") | |
194 | 194 | } | |
195 | 195 | else throw("Invalid asset") | |
196 | 196 | } | |
197 | 197 | ||
198 | 198 | ||
199 | 199 | ||
200 | 200 | @Callable(E) | |
201 | 201 | func depositWxUsdnLP () = { | |
202 | 202 | let az = value(E.payments[0]) | |
203 | 203 | let aA = az.amount | |
204 | 204 | if ((az.assetId != c)) | |
205 | 205 | then throw("attach WXUSDNLP tokens only") | |
206 | 206 | else if (m) | |
207 | 207 | then throw("smart contract is on lock") | |
208 | 208 | else { | |
209 | 209 | let aB = valueOrElse(getInteger(this, q), 0) | |
210 | 210 | let aC = { | |
211 | 211 | let J = assetInfo(d) | |
212 | 212 | if ($isInstanceOf(J, "Asset")) | |
213 | 213 | then { | |
214 | 214 | let aD = J | |
215 | 215 | aD.quantity | |
216 | 216 | } | |
217 | 217 | else throw("Can't find asset") | |
218 | 218 | } | |
219 | 219 | let aE = fraction(aC, 100000000, aB) | |
220 | 220 | let aF = fraction(aA, aE, 100000000) | |
221 | 221 | let aG = IntegerEntry(q, (aB + aA)) | |
222 | 222 | let aH = invoke(Address(base58'3PPNhHYkkEy13gRWDCaruQyhNbX2GrjYSyV'), "stake", nil, [az]) | |
223 | 223 | if ((aH == aH)) | |
224 | 224 | then { | |
225 | 225 | let aI = Reissue(d, aF, true) | |
226 | 226 | let R = ScriptTransfer(E.caller, aF, d) | |
227 | 227 | [aI, R, aG] | |
228 | 228 | } | |
229 | 229 | else throw("Strict value is not equal to itself.") | |
230 | 230 | } | |
231 | 231 | } | |
232 | 232 | ||
233 | 233 | ||
234 | 234 | ||
235 | 235 | @Callable(E) | |
236 | 236 | func depositUsdtUsdnLP () = { | |
237 | 237 | let az = value(E.payments[0]) | |
238 | 238 | let aA = az.amount | |
239 | 239 | if ((az.assetId != a)) | |
240 | 240 | then throw("attach USDTUSDNLP tokens only") | |
241 | 241 | else if (m) | |
242 | 242 | then throw("smart contract is on lock") | |
243 | 243 | else { | |
244 | 244 | let aB = valueOrElse(getInteger(this, n), 0) | |
245 | 245 | let aC = { | |
246 | 246 | let J = assetInfo(b) | |
247 | 247 | if ($isInstanceOf(J, "Asset")) | |
248 | 248 | then { | |
249 | 249 | let aD = J | |
250 | 250 | aD.quantity | |
251 | 251 | } | |
252 | 252 | else throw("Can't find asset") | |
253 | 253 | } | |
254 | 254 | let aJ = valueOrElse(getInteger(this, o), 0) | |
255 | 255 | let aK = fraction(aC, 100000000, aB) | |
256 | 256 | let aF = fraction(aA, aK, 100000000) | |
257 | 257 | let aG = IntegerEntry(n, (aB + aA)) | |
258 | 258 | let aH = invoke(Address(base58'3PPNhHYkkEy13gRWDCaruQyhNbX2GrjYSyV'), "stake", nil, [az]) | |
259 | 259 | if ((aH == aH)) | |
260 | 260 | then { | |
261 | 261 | let aI = Reissue(b, aF, true) | |
262 | 262 | let R = ScriptTransfer(E.caller, aF, b) | |
263 | 263 | [aI, R, aG] | |
264 | 264 | } | |
265 | 265 | else throw("Strict value is not equal to itself.") | |
266 | 266 | } | |
267 | 267 | } | |
268 | 268 | ||
269 | 269 | ||
270 | 270 | ||
271 | 271 | @Callable(E) | |
272 | 272 | func depositUsdcUsdnLP () = { | |
273 | 273 | let az = value(E.payments[0]) | |
274 | 274 | let aA = az.amount | |
275 | 275 | if ((az.assetId != e)) | |
276 | 276 | then throw("attach USDCUSDNLP tokens only") | |
277 | 277 | else if (m) | |
278 | 278 | then throw("smart contract is on lock") | |
279 | 279 | else { | |
280 | 280 | let aB = valueOrElse(getInteger(this, s), 0) | |
281 | 281 | let aC = { | |
282 | 282 | let J = assetInfo(f) | |
283 | 283 | if ($isInstanceOf(J, "Asset")) | |
284 | 284 | then { | |
285 | 285 | let aD = J | |
286 | 286 | aD.quantity | |
287 | 287 | } | |
288 | 288 | else throw("Can't find asset") | |
289 | 289 | } | |
290 | 290 | let aJ = valueOrElse(getInteger(this, r), 0) | |
291 | 291 | let aK = fraction(aC, 100000000, aB) | |
292 | 292 | let aF = fraction(aA, aK, 100000000) | |
293 | 293 | let aG = IntegerEntry(s, (aB + aA)) | |
294 | 294 | let aH = invoke(Address(base58'3PPNhHYkkEy13gRWDCaruQyhNbX2GrjYSyV'), "stake", nil, [az]) | |
295 | 295 | if ((aH == aH)) | |
296 | 296 | then { | |
297 | 297 | let aI = Reissue(f, aF, true) | |
298 | 298 | let R = ScriptTransfer(E.caller, aF, f) | |
299 | 299 | [aI, R, aG] | |
300 | 300 | } | |
301 | 301 | else throw("Strict value is not equal to itself.") | |
302 | 302 | } | |
303 | 303 | } | |
304 | 304 | ||
305 | 305 | ||
306 | 306 | ||
307 | 307 | @Callable(E) | |
308 | 308 | func depositUsdcUsdtLP () = { | |
309 | 309 | let az = value(E.payments[0]) | |
310 | 310 | let aA = az.amount | |
311 | 311 | if ((az.assetId != g)) | |
312 | 312 | then throw("attach USDCUSDTLP tokens only") | |
313 | 313 | else if (m) | |
314 | 314 | then throw("smart contract is on lock") | |
315 | 315 | else { | |
316 | 316 | let aB = valueOrElse(getInteger(this, u), 0) | |
317 | 317 | let aC = { | |
318 | 318 | let J = assetInfo(h) | |
319 | 319 | if ($isInstanceOf(J, "Asset")) | |
320 | 320 | then { | |
321 | 321 | let aD = J | |
322 | 322 | aD.quantity | |
323 | 323 | } | |
324 | 324 | else throw("Can't find asset") | |
325 | 325 | } | |
326 | 326 | let aJ = valueOrElse(getInteger(this, t), 0) | |
327 | 327 | let aK = fraction(aC, 100000000, aB) | |
328 | 328 | let aF = fraction(aA, aK, 100000000) | |
329 | 329 | let aG = IntegerEntry(u, (aB + aA)) | |
330 | 330 | let aH = invoke(Address(base58'3PPNhHYkkEy13gRWDCaruQyhNbX2GrjYSyV'), "stake", nil, [az]) | |
331 | 331 | if ((aH == aH)) | |
332 | 332 | then { | |
333 | 333 | let aI = Reissue(h, aF, true) | |
334 | 334 | let R = ScriptTransfer(E.caller, aF, h) | |
335 | 335 | [aI, R, aG] | |
336 | 336 | } | |
337 | 337 | else throw("Strict value is not equal to itself.") | |
338 | 338 | } | |
339 | 339 | } | |
340 | 340 | ||
341 | 341 | ||
342 | 342 | ||
343 | 343 | @Callable(E) | |
344 | 344 | func depositPuzzleUsdnLP () = { | |
345 | 345 | let az = value(E.payments[0]) | |
346 | 346 | let aA = az.amount | |
347 | 347 | if ((az.assetId != i)) | |
348 | 348 | then throw("attach PUZZLEUDSNLP tokens only") | |
349 | 349 | else if (m) | |
350 | 350 | then throw("smart contract is on lock") | |
351 | 351 | else { | |
352 | 352 | let aB = valueOrElse(getInteger(this, w), 0) | |
353 | 353 | let aC = { | |
354 | 354 | let J = assetInfo(j) | |
355 | 355 | if ($isInstanceOf(J, "Asset")) | |
356 | 356 | then { | |
357 | 357 | let aD = J | |
358 | 358 | aD.quantity | |
359 | 359 | } | |
360 | 360 | else throw("Can't find asset") | |
361 | 361 | } | |
362 | 362 | let aJ = valueOrElse(getInteger(this, v), 0) | |
363 | 363 | let aK = fraction(aC, 100000000, aB) | |
364 | 364 | let aF = fraction(aA, aK, 100000000) | |
365 | 365 | let aG = IntegerEntry(w, (aB + aA)) | |
366 | 366 | let aH = invoke(Address(base58'3PPNhHYkkEy13gRWDCaruQyhNbX2GrjYSyV'), "stake", nil, [az]) | |
367 | 367 | if ((aH == aH)) | |
368 | 368 | then { | |
369 | 369 | let aI = Reissue(j, aF, true) | |
370 | 370 | let R = ScriptTransfer(E.caller, aF, j) | |
371 | 371 | [aI, R, aG] | |
372 | 372 | } | |
373 | 373 | else throw("Strict value is not equal to itself.") | |
374 | 374 | } | |
375 | 375 | } | |
376 | 376 | ||
377 | 377 | ||
378 | 378 | ||
379 | 379 | @Callable(E) | |
380 | 380 | func compoundWxUsdnLP () = { | |
381 | 381 | let aL = value(E.payments[0]) | |
382 | 382 | let aM = aL.amount | |
383 | 383 | let aN = C(E.caller.bytes) | |
384 | 384 | if ((aL.assetId != c)) | |
385 | 385 | then throw("attach WXUSDNLP tokens only") | |
386 | 386 | else if (!(aN)) | |
387 | 387 | then throw("You are not authotized to call this function") | |
388 | 388 | else { | |
389 | 389 | let aJ = valueOrElse(getInteger(this, p), 0) | |
390 | 390 | let aO = valueOrElse(getInteger(this, q), 0) | |
391 | 391 | let aP = invoke(Address(base58'3PPNhHYkkEy13gRWDCaruQyhNbX2GrjYSyV'), "stake", nil, [aL]) | |
392 | 392 | if ((aP == aP)) | |
393 | 393 | then { | |
394 | 394 | let aG = IntegerEntry(q, (aO + aM)) | |
395 | 395 | let aQ = IntegerEntry(p, (aJ + aM)) | |
396 | 396 | [aG, aQ] | |
397 | 397 | } | |
398 | 398 | else throw("Strict value is not equal to itself.") | |
399 | 399 | } | |
400 | 400 | } | |
401 | 401 | ||
402 | 402 | ||
403 | 403 | ||
404 | 404 | @Callable(E) | |
405 | 405 | func compoundUsdtUsdnLP () = { | |
406 | 406 | let aL = value(E.payments[0]) | |
407 | 407 | let aM = aL.amount | |
408 | 408 | let aN = C(E.caller.bytes) | |
409 | 409 | if ((aL.assetId != a)) | |
410 | 410 | then throw("attach USDTUSDNLP tokens only") | |
411 | 411 | else if (!(aN)) | |
412 | 412 | then throw("You are not authotized to call this function") | |
413 | 413 | else { | |
414 | 414 | let aJ = valueOrElse(getInteger(this, o), 0) | |
415 | 415 | let aO = valueOrElse(getInteger(this, n), 0) | |
416 | 416 | let aP = invoke(Address(base58'3PPNhHYkkEy13gRWDCaruQyhNbX2GrjYSyV'), "stake", nil, [aL]) | |
417 | 417 | if ((aP == aP)) | |
418 | 418 | then { | |
419 | 419 | let aG = IntegerEntry(n, (aO + aM)) | |
420 | 420 | let aQ = IntegerEntry(o, (aJ + aM)) | |
421 | 421 | [aG, aQ] | |
422 | 422 | } | |
423 | 423 | else throw("Strict value is not equal to itself.") | |
424 | 424 | } | |
425 | 425 | } | |
426 | 426 | ||
427 | 427 | ||
428 | 428 | ||
429 | 429 | @Callable(E) | |
430 | 430 | func compoundUsdcUsdnLP () = { | |
431 | 431 | let aL = value(E.payments[0]) | |
432 | 432 | let aM = aL.amount | |
433 | 433 | let aN = C(E.caller.bytes) | |
434 | 434 | if ((aL.assetId != e)) | |
435 | 435 | then throw("attach USDCUSDNLP tokens only") | |
436 | 436 | else if (!(aN)) | |
437 | 437 | then throw("You are not authotized to call this function") | |
438 | 438 | else { | |
439 | 439 | let aJ = valueOrElse(getInteger(this, r), 0) | |
440 | 440 | let aO = valueOrElse(getInteger(this, s), 0) | |
441 | 441 | let aP = invoke(Address(base58'3PPNhHYkkEy13gRWDCaruQyhNbX2GrjYSyV'), "stake", nil, [aL]) | |
442 | 442 | if ((aP == aP)) | |
443 | 443 | then { | |
444 | 444 | let aG = IntegerEntry(s, (aO + aM)) | |
445 | 445 | let aQ = IntegerEntry(r, (aJ + aM)) | |
446 | 446 | [aG, aQ] | |
447 | 447 | } | |
448 | 448 | else throw("Strict value is not equal to itself.") | |
449 | 449 | } | |
450 | 450 | } | |
451 | 451 | ||
452 | 452 | ||
453 | 453 | ||
454 | 454 | @Callable(E) | |
455 | 455 | func compoundUsdcUsdtLP () = { | |
456 | 456 | let aL = value(E.payments[0]) | |
457 | 457 | let aM = aL.amount | |
458 | 458 | let aN = C(E.caller.bytes) | |
459 | 459 | if ((aL.assetId != g)) | |
460 | 460 | then throw("attach USDCUSDTLP tokens only") | |
461 | 461 | else if (!(aN)) | |
462 | 462 | then throw("You are not authotized to call this function") | |
463 | 463 | else { | |
464 | 464 | let aJ = valueOrElse(getInteger(this, t), 0) | |
465 | 465 | let aO = valueOrElse(getInteger(this, u), 0) | |
466 | 466 | let aP = invoke(Address(base58'3PPNhHYkkEy13gRWDCaruQyhNbX2GrjYSyV'), "stake", nil, [aL]) | |
467 | 467 | if ((aP == aP)) | |
468 | 468 | then { | |
469 | 469 | let aG = IntegerEntry(u, (aO + aM)) | |
470 | 470 | let aQ = IntegerEntry(t, (aJ + aM)) | |
471 | 471 | [aG, aQ] | |
472 | 472 | } | |
473 | 473 | else throw("Strict value is not equal to itself.") | |
474 | 474 | } | |
475 | 475 | } | |
476 | 476 | ||
477 | 477 | ||
478 | 478 | ||
479 | 479 | @Callable(E) | |
480 | 480 | func compoundPuzzleUsdnLP () = { | |
481 | 481 | let aL = value(E.payments[0]) | |
482 | 482 | let aM = aL.amount | |
483 | 483 | let aN = C(E.caller.bytes) | |
484 | 484 | if ((aL.assetId != i)) | |
485 | 485 | then throw("attach PUZZLEUSDNLP tokens only") | |
486 | 486 | else if (!(aN)) | |
487 | 487 | then throw("You are not authotized to call this function") | |
488 | 488 | else { | |
489 | 489 | let aJ = valueOrElse(getInteger(this, v), 0) | |
490 | 490 | let aO = valueOrElse(getInteger(this, w), 0) | |
491 | 491 | let aP = invoke(Address(base58'3PPNhHYkkEy13gRWDCaruQyhNbX2GrjYSyV'), "stake", nil, [aL]) | |
492 | 492 | if ((aP == aP)) | |
493 | 493 | then { | |
494 | 494 | let aG = IntegerEntry(w, (aO + aM)) | |
495 | 495 | let aQ = IntegerEntry(v, (aJ + aM)) | |
496 | 496 | [aG, aQ] | |
497 | 497 | } | |
498 | 498 | else throw("Strict value is not equal to itself.") | |
499 | 499 | } | |
500 | 500 | } | |
501 | 501 | ||
502 | 502 | ||
503 | 503 | ||
504 | 504 | @Callable(E) | |
505 | 505 | func sponsorBoost () = { | |
506 | 506 | let aR = value(E.payments[0]) | |
507 | 507 | let aS = 100 | |
508 | 508 | if ((aR.assetId != k)) | |
509 | 509 | then throw("Error") | |
510 | 510 | else { | |
511 | 511 | let aT = valueOrElse(getInteger(this, l), 0) | |
512 | 512 | let aU = invoke(Address(base58'3PJL8Hn8LACaSBWLQ3UVhctA5cTQLBFwBAP'), "increaseLock", [aS], [aR]) | |
513 | 513 | if ((aU == aU)) | |
514 | 514 | then { | |
515 | 515 | let aV = IntegerEntry(l, (aR.amount + aT)) | |
516 | 516 | [aV] | |
517 | 517 | } | |
518 | 518 | else throw("Strict value is not equal to itself.") | |
519 | 519 | } | |
520 | 520 | } | |
521 | 521 | ||
522 | 522 | ||
523 | 523 | @Verifier(aW) | |
524 | 524 | func aX () = sigVerify(aW.bodyBytes, aW.proofs[0], aW.senderPublicKey) | |
525 | 525 |
github/deemru/w8io/026f985 44.62 ms ◑