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