tx · Hjs5FPWkYKmUj92kLC1xb52hmVT551A8c5zmkuvGxnYG

3N8n6BtTBKRZBoPuMzaPBH9FyJhfv9xDFJH:  -0.01700000 Waves

2022.07.12 10:24 [2136212] smart account 3N8n6BtTBKRZBoPuMzaPBH9FyJhfv9xDFJH > SELF 0.00000000 Waves

{ "type": 13, "id": "Hjs5FPWkYKmUj92kLC1xb52hmVT551A8c5zmkuvGxnYG", "fee": 1700000, "feeAssetId": null, "timestamp": 1657610702124, "version": 2, "chainId": 84, "sender": "3N8n6BtTBKRZBoPuMzaPBH9FyJhfv9xDFJH", "senderPublicKey": "4hcnYaYoB2XaCzyJ7wfePpG7EfTd6st6aCAhkskJ9cQ5", "proofs": [ "2gZSPTnw8JJ2AdAoKnC9rBL34okzDF7ufX4KJFNV9y2SopwXBetLHgGK9znavd621TYPijxUsALXUNHj73dCce46" ], "script": "base64:AAIFAAAAAAAAAB4IAhIAEgASABIAEgASABIAEgASABIAEgASABIAEgAAAAAVAAAAAAh1c2RuVXNkdAEAAAAg202DNWRHG5bvnwwvoM991XmdkujhmzUPwT/MewJwKQsAAAAADXVzZG5Vc2R0TFBUQ0kBAAAAIAqBzantQGEdmEq4Oth6BGhTCCbAyZjxYcEpfvod3iryAAAAAAh3eFVzZG5MUAEAAAAgG7mhj3vOTKXN+s5HyQsWjk32W97C65PB1sWo0bGqCxwAAAAAC3d4VXNkbkxQVENJAQAAACC37N3mGwJ72rYTh/1V0NY8tseiNz1LiL3Be29IRACYLwAAAAALd2F2ZXNVc2RuTHABAAAAINUKknePcghEmMkNN/IegHNiilmrJ+abeEGdbsH03iJ2AAAAAA53YXZlc1VzZG5MUFRDSQEAAAAgxRp2zzmtZIv1fW7qZyCOpdLB08oGyQGtTSaCWHrWElkAAAAACWV0aFVzZG5MUAEAAAAgf0Ew/c/5+Zy9fq7UHSNMMuNJS4SB4kp3y/IQBPX7+eEAAAAADGV0aFVzZG5MUFRDSQEAAAAg4e0WyvKtIAu2EMEK2Ns8J2Bjlk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Q0kFAAAAAmFtBgQAAAACdHIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgUAAAACYW0FAAAADGJ0Y1VzZG5MUFRDSQkABEwAAAACBQAAAAN1cGQJAARMAAAAAgUAAAAEdXBkSwkABEwAAAACBQAAAAdMUElzc3VlCQAETAAAAAIFAAAAAnRyBQAAAANuaWwJAAACAAAAAQIAAAAkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXmV9BMy", "height": 2136212, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: FTtDGumEc1UADC4JpKSzqcWoe2MjnWmMKKE6LRtkjMcs Next: F8v7q2QdSSXmBiUzBLmApArQq7Va3PoAmCoJ6Mo25snM Diff:
OldNewDifferences
130130 }
131131 else throw("Can't find asset")
132132 }
133- let C = (x * (z / y))
133+ let H = fraction(z, 100000000, y)
134+ let C = (x * H)
134135 let D = IntegerEntry(o, (y + x))
135136 let E = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [w])
136137 if ((E == E))
215216
216217 @Callable(v)
217218 func compoundBTCUSDNLP () = {
218- let H = value(v.payments[0])
219- let I = H.amount
220- if ((H.assetId != i))
219+ let I = value(v.payments[0])
220+ let J = I.amount
221+ if ((I.assetId != i))
221222 then throw("attach BTCUSDNLP tokens only")
222223 else {
223- let J = valueOrElse(getInteger(this, s), 0)
224- let K = valueOrElse(getInteger(this, r), 0)
225- let L = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [H])
226- if ((L == L))
224+ let K = valueOrElse(getInteger(this, s), 0)
225+ let L = valueOrElse(getInteger(this, r), 0)
226+ let M = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [I])
227+ if ((M == M))
227228 then {
228- let D = IntegerEntry(r, (K + I))
229- let M = IntegerEntry(s, (J + I))
230-[D, M]
229+ let D = IntegerEntry(r, (L + J))
230+ let N = IntegerEntry(s, (K + J))
231+[D, N]
231232 }
232233 else throw("Strict value is not equal to itself.")
233234 }
237238
238239 @Callable(v)
239240 func compoundETHUSDNLP () = {
240- let H = value(v.payments[0])
241- let I = H.amount
242- if ((H.assetId != g))
241+ let I = value(v.payments[0])
242+ let J = I.amount
243+ if ((I.assetId != g))
243244 then throw("attach ETHUSDNLP tokens only")
244245 else {
245- let J = valueOrElse(getInteger(this, u), 0)
246- let K = valueOrElse(getInteger(this, t), 0)
247- let L = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [H])
248- if ((L == L))
246+ let K = valueOrElse(getInteger(this, u), 0)
247+ let L = valueOrElse(getInteger(this, t), 0)
248+ let M = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [I])
249+ if ((M == M))
249250 then {
250- let D = IntegerEntry(t, (K + I))
251- let M = IntegerEntry(u, (J + I))
252-[D, M]
251+ let D = IntegerEntry(t, (L + J))
252+ let N = IntegerEntry(u, (K + J))
253+[D, N]
253254 }
254255 else throw("Strict value is not equal to itself.")
255256 }
259260
260261 @Callable(v)
261262 func compoundWXUSDNLP () = {
262- let H = value(v.payments[0])
263- let I = H.amount
264- if ((H.assetId != c))
263+ let I = value(v.payments[0])
264+ let J = I.amount
265+ if ((I.assetId != c))
265266 then throw("attach WXUSDNLP tokens only")
266267 else {
267- let J = valueOrElse(getInteger(this, n), 0)
268- let K = valueOrElse(getInteger(this, o), 0)
269- let L = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [H])
270- if ((L == L))
268+ let K = valueOrElse(getInteger(this, n), 0)
269+ let L = valueOrElse(getInteger(this, o), 0)
270+ let M = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [I])
271+ if ((M == M))
271272 then {
272- let D = IntegerEntry(o, (K + I))
273- let M = IntegerEntry(n, (J + I))
274-[D, M]
273+ let D = IntegerEntry(o, (L + J))
274+ let N = IntegerEntry(n, (K + J))
275+[D, N]
275276 }
276277 else throw("Strict value is not equal to itself.")
277278 }
281282
282283 @Callable(v)
283284 func compoundUSDTUSDNLP () = {
284- let H = value(v.payments[0])
285- let I = H.amount
286- if ((H.assetId != a))
285+ let I = value(v.payments[0])
286+ let J = I.amount
287+ if ((I.assetId != a))
287288 then throw("attach USDTUSDNLP tokens only")
288289 else {
289- let J = valueOrElse(getInteger(this, m), 0)
290- let K = valueOrElse(getInteger(this, l), 0)
291- let L = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [H])
292- if ((L == L))
290+ let K = valueOrElse(getInteger(this, m), 0)
291+ let L = valueOrElse(getInteger(this, l), 0)
292+ let M = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [I])
293+ if ((M == M))
293294 then {
294- let D = IntegerEntry(l, (K + I))
295- let M = IntegerEntry(m, (J + I))
296-[D, M]
295+ let D = IntegerEntry(l, (L + J))
296+ let N = IntegerEntry(m, (K + J))
297+[D, N]
297298 }
298299 else throw("Strict value is not equal to itself.")
299300 }
303304
304305 @Callable(v)
305306 func compoundWAVESUSDNLP () = {
306- let H = value(v.payments[0])
307- let I = H.amount
308- if ((H.assetId != e))
307+ let I = value(v.payments[0])
308+ let J = I.amount
309+ if ((I.assetId != e))
309310 then throw("attach WAVESUSDNLP tokens only")
310311 else {
311- let J = valueOrElse(getInteger(this, q), 0)
312- let K = valueOrElse(getInteger(this, p), 0)
313- let L = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [H])
314- if ((L == L))
312+ let K = valueOrElse(getInteger(this, q), 0)
313+ let L = valueOrElse(getInteger(this, p), 0)
314+ let M = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [I])
315+ if ((M == M))
315316 then {
316- let D = IntegerEntry(p, (K + I))
317- let M = IntegerEntry(q, (J + I))
318-[D, M]
317+ let D = IntegerEntry(p, (L + J))
318+ let N = IntegerEntry(q, (K + J))
319+[D, N]
319320 }
320321 else throw("Strict value is not equal to itself.")
321322 }
325326
326327 @Callable(v)
327328 func initWX () = {
328- let N = value(v.payments[0])
329- let O = N.amount
330- if ((N.assetId != c))
329+ let O = value(v.payments[0])
330+ let P = O.amount
331+ if ((O.assetId != c))
331332 then throw("Unexpected token")
332333 else {
333- let P = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [N])
334- if ((P == P))
334+ let Q = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [O])
335+ if ((Q == Q))
335336 then {
336- let Q = IntegerEntry(o, O)
337- let R = IntegerEntry(n, 0)
338-[Q, R]
337+ let R = IntegerEntry(o, P)
338+ let S = IntegerEntry(n, 0)
339+[R, S]
339340 }
340341 else throw("Strict value is not equal to itself.")
341342 }
345346
346347 @Callable(v)
347348 func initWAVES () = {
348- let N = value(v.payments[0])
349- let O = N.amount
350- if ((N.assetId != e))
349+ let O = value(v.payments[0])
350+ let P = O.amount
351+ if ((O.assetId != e))
351352 then throw("Unexpected token")
352353 else {
353- let P = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [N])
354- if ((P == P))
354+ let Q = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [O])
355+ if ((Q == Q))
355356 then {
356- let Q = IntegerEntry(p, O)
357- let R = IntegerEntry(q, 0)
358-[Q, R]
357+ let R = IntegerEntry(p, P)
358+ let S = IntegerEntry(q, 0)
359+[R, S]
359360 }
360361 else throw("Strict value is not equal to itself.")
361362 }
365366
366367 @Callable(v)
367368 func initETH () = {
368- let N = value(v.payments[0])
369- let O = N.amount
370- if ((N.assetId != g))
369+ let O = value(v.payments[0])
370+ let P = O.amount
371+ if ((O.assetId != g))
371372 then throw("Unexpected token")
372373 else {
373- let P = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [N])
374- if ((P == P))
374+ let Q = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [O])
375+ if ((Q == Q))
375376 then {
376- let Q = IntegerEntry(t, O)
377- let R = IntegerEntry(u, 0)
378- let S = Reissue(h, O, true)
379- let T = ScriptTransfer(v.caller, O, h)
380-[Q, R, S, T]
377+ let R = IntegerEntry(t, P)
378+ let S = IntegerEntry(u, 0)
379+ let T = Reissue(h, P, true)
380+ let U = ScriptTransfer(v.caller, P, h)
381+[R, S, T, U]
381382 }
382383 else throw("Strict value is not equal to itself.")
383384 }
387388
388389 @Callable(v)
389390 func initBTC () = {
390- let N = value(v.payments[0])
391- let O = N.amount
392- if ((N.assetId != i))
391+ let O = value(v.payments[0])
392+ let P = O.amount
393+ if ((O.assetId != i))
393394 then throw("Unexpected token")
394395 else {
395- let P = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [N])
396- if ((P == P))
396+ let Q = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [O])
397+ if ((Q == Q))
397398 then {
398- let Q = IntegerEntry(r, O)
399- let R = IntegerEntry(s, 0)
400- let F = Reissue(j, O, true)
401- let U = ScriptTransfer(v.caller, O, j)
402-[Q, R, F, U]
399+ let R = IntegerEntry(r, P)
400+ let S = IntegerEntry(s, 0)
401+ let F = Reissue(j, P, true)
402+ let V = ScriptTransfer(v.caller, P, j)
403+[R, S, F, V]
403404 }
404405 else throw("Strict value is not equal to itself.")
405406 }
406407 }
407408
408409
409-@Verifier(V)
410-func W () = sigVerify(V.bodyBytes, V.proofs[0], V.senderPublicKey)
410+@Verifier(W)
411+func X () = sigVerify(W.bodyBytes, W.proofs[0], W.senderPublicKey)
411412
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'Fm4qczu6Pepz8KUhh3Heb6LeTVfpSMX5vvNgw3x764CS'
55
66 let b = base58'i1snzKxSEZVokh9TWj8hTJQEDBsocnL2hRWsSbsMPK7'
77
88 let c = base58'2sEBVcyDFK2LupCf7MeA4vzHhGK4DC1WjbKGQCLYDqib'
99
1010 let d = base58'DNy6WBfhPE4y82RonGdHhZEunNotEDzmNfrBomWnsyGi'
1111
1212 let e = base58'FLdC14nUVRyiSYjVrMo3X4g8rXQjLbNRaGAyQAm8V68V'
1313
1414 let f = base58'EGQiqw8jLjg6SVLUeeqMLjk3EjhEVHtjkJ6w46HyFfep'
1515
1616 let g = base58'9ZkS8GoUWn69QhgF1RsRtS9CFtc7ZbDNX5N238Jmqjdr'
1717
1818 let h = base58'GCvR4BmCSjncVEEwr9psvhN5mctdNTGPs8Xp4b2oQNFZ'
1919
2020 let i = base58'2RmyyZ39ZoPoTWksM6urmjgx9mB8ksP8Ru6ba8u89mZm'
2121
2222 let j = base58'4jarprgmcev38EU5p2duJAznZSLUxZ831jCT2vf95Hey'
2323
2424 let k = false
2525
2626 let l = "STAKED_LP"
2727
2828 let m = "From_Compound"
2929
3030 let n = "WX_USDN_compound"
3131
3232 let o = "WX_USDN"
3333
3434 let p = "WAVES_USDN"
3535
3636 let q = "WAVES_USDN_COMPOUND"
3737
3838 let r = "BTC_USDN"
3939
4040 let s = "BTC_USDN_COMPOUND"
4141
4242 let t = "ETH_USDN"
4343
4444 let u = "ETH_USDN_COMPOUND"
4545
4646 @Callable(v)
4747 func depositBtcUsdnLP () = {
4848 let w = value(v.payments[0])
4949 let x = w.amount
5050 if ((w.assetId != i))
5151 then throw("attach BTCUSDNLP tokens only")
5252 else if (k)
5353 then throw("smart contract is on lock")
5454 else {
5555 let y = valueOrElse(getInteger(this, r), 0)
5656 let z = {
5757 let A = assetInfo(j)
5858 if ($isInstanceOf(A, "Asset"))
5959 then {
6060 let B = A
6161 B.quantity
6262 }
6363 else throw("Can't find asset")
6464 }
6565 let C = (x * ((z - assetBalance(this, j)) / y))
6666 let D = IntegerEntry(r, (y + x))
6767 let E = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [w])
6868 if ((E == E))
6969 then {
7070 let F = Reissue(j, C, true)
7171 let G = ScriptTransfer(v.caller, C, j)
7272 [F, G, D]
7373 }
7474 else throw("Strict value is not equal to itself.")
7575 }
7676 }
7777
7878
7979
8080 @Callable(v)
8181 func depositWavesUsdnLP () = {
8282 let w = value(v.payments[0])
8383 let x = w.amount
8484 if ((w.assetId != e))
8585 then throw("attach WAVESUSDNLP tokens only")
8686 else if (k)
8787 then throw("smart contract is on lock")
8888 else {
8989 let y = valueOrElse(getInteger(this, p), 0)
9090 let z = {
9191 let A = assetInfo(f)
9292 if ($isInstanceOf(A, "Asset"))
9393 then {
9494 let B = A
9595 B.quantity
9696 }
9797 else throw("Can't find asset")
9898 }
9999 let C = (x * (z / y))
100100 let D = IntegerEntry(p, (y + x))
101101 let E = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [w])
102102 if ((E == E))
103103 then {
104104 let F = Reissue(f, C, true)
105105 let G = ScriptTransfer(v.caller, C, f)
106106 [F, G, D]
107107 }
108108 else throw("Strict value is not equal to itself.")
109109 }
110110 }
111111
112112
113113
114114 @Callable(v)
115115 func depositWxUsdnLP () = {
116116 let w = value(v.payments[0])
117117 let x = w.amount
118118 if ((w.assetId != c))
119119 then throw("attach WXUSDNLP tokens only")
120120 else if (k)
121121 then throw("smart contract is on lock")
122122 else {
123123 let y = valueOrElse(getInteger(this, o), 0)
124124 let z = {
125125 let A = assetInfo(d)
126126 if ($isInstanceOf(A, "Asset"))
127127 then {
128128 let B = A
129129 B.quantity
130130 }
131131 else throw("Can't find asset")
132132 }
133- let C = (x * (z / y))
133+ let H = fraction(z, 100000000, y)
134+ let C = (x * H)
134135 let D = IntegerEntry(o, (y + x))
135136 let E = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [w])
136137 if ((E == E))
137138 then {
138139 let F = Reissue(d, C, true)
139140 let G = ScriptTransfer(v.caller, C, d)
140141 [F, G, D]
141142 }
142143 else throw("Strict value is not equal to itself.")
143144 }
144145 }
145146
146147
147148
148149 @Callable(v)
149150 func depositUsdtUsdnLP () = {
150151 let w = value(v.payments[0])
151152 let x = w.amount
152153 if ((w.assetId != a))
153154 then throw("attach USDTUSDNLP tokens only")
154155 else if (k)
155156 then throw("smart contract is on lock")
156157 else {
157158 let y = valueOrElse(getInteger(this, l), 0)
158159 let z = {
159160 let A = assetInfo(b)
160161 if ($isInstanceOf(A, "Asset"))
161162 then {
162163 let B = A
163164 B.quantity
164165 }
165166 else throw("Can't find asset")
166167 }
167168 let C = (x * (z / y))
168169 let D = IntegerEntry(l, (y + x))
169170 let E = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [w])
170171 if ((E == E))
171172 then {
172173 let F = Reissue(b, C, true)
173174 let G = ScriptTransfer(v.caller, C, b)
174175 [F, G, D]
175176 }
176177 else throw("Strict value is not equal to itself.")
177178 }
178179 }
179180
180181
181182
182183 @Callable(v)
183184 func depositEthUsdnLP () = {
184185 let w = value(v.payments[0])
185186 let x = w.amount
186187 if ((w.assetId != g))
187188 then throw("attach ETHUSDNLP tokens only")
188189 else if (k)
189190 then throw("smart contract is on lock")
190191 else {
191192 let y = valueOrElse(getInteger(this, t), 0)
192193 let z = {
193194 let A = assetInfo(h)
194195 if ($isInstanceOf(A, "Asset"))
195196 then {
196197 let B = A
197198 B.quantity
198199 }
199200 else throw("Can't find asset")
200201 }
201202 let C = (x * ((z - assetBalance(this, h)) / y))
202203 let D = IntegerEntry(t, (y + x))
203204 let E = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [w])
204205 if ((E == E))
205206 then {
206207 let F = Reissue(h, C, true)
207208 let G = ScriptTransfer(v.caller, C, h)
208209 [F, G, D]
209210 }
210211 else throw("Strict value is not equal to itself.")
211212 }
212213 }
213214
214215
215216
216217 @Callable(v)
217218 func compoundBTCUSDNLP () = {
218- let H = value(v.payments[0])
219- let I = H.amount
220- if ((H.assetId != i))
219+ let I = value(v.payments[0])
220+ let J = I.amount
221+ if ((I.assetId != i))
221222 then throw("attach BTCUSDNLP tokens only")
222223 else {
223- let J = valueOrElse(getInteger(this, s), 0)
224- let K = valueOrElse(getInteger(this, r), 0)
225- let L = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [H])
226- if ((L == L))
224+ let K = valueOrElse(getInteger(this, s), 0)
225+ let L = valueOrElse(getInteger(this, r), 0)
226+ let M = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [I])
227+ if ((M == M))
227228 then {
228- let D = IntegerEntry(r, (K + I))
229- let M = IntegerEntry(s, (J + I))
230-[D, M]
229+ let D = IntegerEntry(r, (L + J))
230+ let N = IntegerEntry(s, (K + J))
231+[D, N]
231232 }
232233 else throw("Strict value is not equal to itself.")
233234 }
234235 }
235236
236237
237238
238239 @Callable(v)
239240 func compoundETHUSDNLP () = {
240- let H = value(v.payments[0])
241- let I = H.amount
242- if ((H.assetId != g))
241+ let I = value(v.payments[0])
242+ let J = I.amount
243+ if ((I.assetId != g))
243244 then throw("attach ETHUSDNLP tokens only")
244245 else {
245- let J = valueOrElse(getInteger(this, u), 0)
246- let K = valueOrElse(getInteger(this, t), 0)
247- let L = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [H])
248- if ((L == L))
246+ let K = valueOrElse(getInteger(this, u), 0)
247+ let L = valueOrElse(getInteger(this, t), 0)
248+ let M = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [I])
249+ if ((M == M))
249250 then {
250- let D = IntegerEntry(t, (K + I))
251- let M = IntegerEntry(u, (J + I))
252-[D, M]
251+ let D = IntegerEntry(t, (L + J))
252+ let N = IntegerEntry(u, (K + J))
253+[D, N]
253254 }
254255 else throw("Strict value is not equal to itself.")
255256 }
256257 }
257258
258259
259260
260261 @Callable(v)
261262 func compoundWXUSDNLP () = {
262- let H = value(v.payments[0])
263- let I = H.amount
264- if ((H.assetId != c))
263+ let I = value(v.payments[0])
264+ let J = I.amount
265+ if ((I.assetId != c))
265266 then throw("attach WXUSDNLP tokens only")
266267 else {
267- let J = valueOrElse(getInteger(this, n), 0)
268- let K = valueOrElse(getInteger(this, o), 0)
269- let L = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [H])
270- if ((L == L))
268+ let K = valueOrElse(getInteger(this, n), 0)
269+ let L = valueOrElse(getInteger(this, o), 0)
270+ let M = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [I])
271+ if ((M == M))
271272 then {
272- let D = IntegerEntry(o, (K + I))
273- let M = IntegerEntry(n, (J + I))
274-[D, M]
273+ let D = IntegerEntry(o, (L + J))
274+ let N = IntegerEntry(n, (K + J))
275+[D, N]
275276 }
276277 else throw("Strict value is not equal to itself.")
277278 }
278279 }
279280
280281
281282
282283 @Callable(v)
283284 func compoundUSDTUSDNLP () = {
284- let H = value(v.payments[0])
285- let I = H.amount
286- if ((H.assetId != a))
285+ let I = value(v.payments[0])
286+ let J = I.amount
287+ if ((I.assetId != a))
287288 then throw("attach USDTUSDNLP tokens only")
288289 else {
289- let J = valueOrElse(getInteger(this, m), 0)
290- let K = valueOrElse(getInteger(this, l), 0)
291- let L = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [H])
292- if ((L == L))
290+ let K = valueOrElse(getInteger(this, m), 0)
291+ let L = valueOrElse(getInteger(this, l), 0)
292+ let M = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [I])
293+ if ((M == M))
293294 then {
294- let D = IntegerEntry(l, (K + I))
295- let M = IntegerEntry(m, (J + I))
296-[D, M]
295+ let D = IntegerEntry(l, (L + J))
296+ let N = IntegerEntry(m, (K + J))
297+[D, N]
297298 }
298299 else throw("Strict value is not equal to itself.")
299300 }
300301 }
301302
302303
303304
304305 @Callable(v)
305306 func compoundWAVESUSDNLP () = {
306- let H = value(v.payments[0])
307- let I = H.amount
308- if ((H.assetId != e))
307+ let I = value(v.payments[0])
308+ let J = I.amount
309+ if ((I.assetId != e))
309310 then throw("attach WAVESUSDNLP tokens only")
310311 else {
311- let J = valueOrElse(getInteger(this, q), 0)
312- let K = valueOrElse(getInteger(this, p), 0)
313- let L = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [H])
314- if ((L == L))
312+ let K = valueOrElse(getInteger(this, q), 0)
313+ let L = valueOrElse(getInteger(this, p), 0)
314+ let M = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [I])
315+ if ((M == M))
315316 then {
316- let D = IntegerEntry(p, (K + I))
317- let M = IntegerEntry(q, (J + I))
318-[D, M]
317+ let D = IntegerEntry(p, (L + J))
318+ let N = IntegerEntry(q, (K + J))
319+[D, N]
319320 }
320321 else throw("Strict value is not equal to itself.")
321322 }
322323 }
323324
324325
325326
326327 @Callable(v)
327328 func initWX () = {
328- let N = value(v.payments[0])
329- let O = N.amount
330- if ((N.assetId != c))
329+ let O = value(v.payments[0])
330+ let P = O.amount
331+ if ((O.assetId != c))
331332 then throw("Unexpected token")
332333 else {
333- let P = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [N])
334- if ((P == P))
334+ let Q = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [O])
335+ if ((Q == Q))
335336 then {
336- let Q = IntegerEntry(o, O)
337- let R = IntegerEntry(n, 0)
338-[Q, R]
337+ let R = IntegerEntry(o, P)
338+ let S = IntegerEntry(n, 0)
339+[R, S]
339340 }
340341 else throw("Strict value is not equal to itself.")
341342 }
342343 }
343344
344345
345346
346347 @Callable(v)
347348 func initWAVES () = {
348- let N = value(v.payments[0])
349- let O = N.amount
350- if ((N.assetId != e))
349+ let O = value(v.payments[0])
350+ let P = O.amount
351+ if ((O.assetId != e))
351352 then throw("Unexpected token")
352353 else {
353- let P = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [N])
354- if ((P == P))
354+ let Q = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [O])
355+ if ((Q == Q))
355356 then {
356- let Q = IntegerEntry(p, O)
357- let R = IntegerEntry(q, 0)
358-[Q, R]
357+ let R = IntegerEntry(p, P)
358+ let S = IntegerEntry(q, 0)
359+[R, S]
359360 }
360361 else throw("Strict value is not equal to itself.")
361362 }
362363 }
363364
364365
365366
366367 @Callable(v)
367368 func initETH () = {
368- let N = value(v.payments[0])
369- let O = N.amount
370- if ((N.assetId != g))
369+ let O = value(v.payments[0])
370+ let P = O.amount
371+ if ((O.assetId != g))
371372 then throw("Unexpected token")
372373 else {
373- let P = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [N])
374- if ((P == P))
374+ let Q = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [O])
375+ if ((Q == Q))
375376 then {
376- let Q = IntegerEntry(t, O)
377- let R = IntegerEntry(u, 0)
378- let S = Reissue(h, O, true)
379- let T = ScriptTransfer(v.caller, O, h)
380-[Q, R, S, T]
377+ let R = IntegerEntry(t, P)
378+ let S = IntegerEntry(u, 0)
379+ let T = Reissue(h, P, true)
380+ let U = ScriptTransfer(v.caller, P, h)
381+[R, S, T, U]
381382 }
382383 else throw("Strict value is not equal to itself.")
383384 }
384385 }
385386
386387
387388
388389 @Callable(v)
389390 func initBTC () = {
390- let N = value(v.payments[0])
391- let O = N.amount
392- if ((N.assetId != i))
391+ let O = value(v.payments[0])
392+ let P = O.amount
393+ if ((O.assetId != i))
393394 then throw("Unexpected token")
394395 else {
395- let P = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [N])
396- if ((P == P))
396+ let Q = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [O])
397+ if ((Q == Q))
397398 then {
398- let Q = IntegerEntry(r, O)
399- let R = IntegerEntry(s, 0)
400- let F = Reissue(j, O, true)
401- let U = ScriptTransfer(v.caller, O, j)
402-[Q, R, F, U]
399+ let R = IntegerEntry(r, P)
400+ let S = IntegerEntry(s, 0)
401+ let F = Reissue(j, P, true)
402+ let V = ScriptTransfer(v.caller, P, j)
403+[R, S, F, V]
403404 }
404405 else throw("Strict value is not equal to itself.")
405406 }
406407 }
407408
408409
409-@Verifier(V)
410-func W () = sigVerify(V.bodyBytes, V.proofs[0], V.senderPublicKey)
410+@Verifier(W)
411+func X () = sigVerify(W.bodyBytes, W.proofs[0], W.senderPublicKey)
411412

github/deemru/w8io/026f985 
76.37 ms