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