tx · 5HhAwVotTmKjHeffwqu8ffJKxcq4ZggZgAKmZUgoVmzq

3N8n6BtTBKRZBoPuMzaPBH9FyJhfv9xDFJH:  -0.01700000 Waves

2022.07.12 10:59 [2136248] smart account 3N8n6BtTBKRZBoPuMzaPBH9FyJhfv9xDFJH > SELF 0.00000000 Waves

{ "type": 13, "id": "5HhAwVotTmKjHeffwqu8ffJKxcq4ZggZgAKmZUgoVmzq", "fee": 1700000, "feeAssetId": null, "timestamp": 1657612816016, "version": 2, "chainId": 84, "sender": "3N8n6BtTBKRZBoPuMzaPBH9FyJhfv9xDFJH", "senderPublicKey": "4hcnYaYoB2XaCzyJ7wfePpG7EfTd6st6aCAhkskJ9cQ5", "proofs": [ "2tbo4vMXu7QtRcMNAwZURveCTS1BM7KdBZSmhiKizDpqXtmJQgAMks4rGuww47aTicCRpu2iBMBvCqav13sECjXC" ], "script": "base64:AAIFAAAAAAAAAB4IAhIAEgASABIAEgASABIAEgASABIAEgASABIAEgAAAAAVAAAAAAh1c2RuVXNkdAEAAAAg202DNWRHG5bvnwwvoM991XmdkujhmzUPwT/MewJwKQsAAAAADXVzZG5Vc2R0TFBUQ0kBAAAAIAqBzantQGEdmEq4Oth6BGhTCCbAyZjxYcEpfvod3iryAAAAAAh3eFVzZG5MUAEAAAAgG7mhj3vOTKXN+s5HyQsWjk32W97C65PB1sWo0bGqCxwAAAAAC3d4VXNkbkxQVENJAQAAACC37N3mGwJ72rYTh/1V0NY8tseiNz1LiL3Be29IRACYLwAAAAALd2F2ZXNVc2RuTHABAAAAINUKknePcghEmMkNN/IegHNiilmrJ+abeEGdbsH03iJ2AAAAAA53YXZlc1VzZG5MUFRDSQEAAAAgxRp2zzmtZIv1fW7qZyCOpdLB08oGyQGtTSaCWHrWElkAAAAACWV0aFVzZG5MUAEAAAAgf0Ew/c/5+Zy9fq7UHSNMMuNJS4SB4kp3y/IQBPX7+eEAAAAADGV0aFVzZG5MUFRDSQEAAAAg4e0WyvKtIAu2EMEK2Ns8J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ZWdlckVudHJ5AAAAAgUAAAASa2V5QnRjVXNkbkNvbXBvdW5kAAAAAAAAAAAABAAAAAdMUElzc3VlCQEAAAAHUmVpc3N1ZQAAAAMFAAAADGJ0Y1VzZG5MUFRDSQUAAAACYW0GBAAAAAJ0cgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyBQAAAAJhbQUAAAAMYnRjVXNkbkxQVENJCQAETAAAAAIFAAAAA3VwZAkABEwAAAACBQAAAAR1cGRLCQAETAAAAAIFAAAAB0xQSXNzdWUJAARMAAAAAgUAAAACdHIFAAAAA25pbAkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4AAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleXuKHqA=", "height": 2136248, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 75G5dLJ2XDaeJs1wA7jUbntu4rqKrpf1yiQRFoq2KCJc Next: 6jmXJHpXx2K6YY2uUoaf5a5wYZ2mVbK4UdrB3MNnkZ5A Diff:
OldNewDifferences
6262 }
6363 else throw("Can't find asset")
6464 }
65- let C = (x * ((z - assetBalance(this, j)) / y))
66- let D = IntegerEntry(r, (y + x))
67- let E = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [w])
68- if ((E == E))
65+ let C = fraction((z - assetBalance(this, j)), 100000000, y)
66+ let D = fraction(x, C, 100000000)
67+ let E = IntegerEntry(r, (y + x))
68+ let F = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [w])
69+ if ((F == F))
6970 then {
70- let F = Reissue(j, C, true)
71- let G = ScriptTransfer(v.caller, C, j)
72-[F, G, D]
71+ let G = Reissue(j, D, true)
72+ let H = ScriptTransfer(v.caller, D, j)
73+[G, H, E]
7374 }
7475 else throw("Strict value is not equal to itself.")
7576 }
9697 }
9798 else throw("Can't find asset")
9899 }
99- let C = (x * (z / y))
100- let D = IntegerEntry(p, (y + x))
101- let E = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [w])
102- if ((E == E))
100+ let C = fraction(z, 100000000, y)
101+ let D = fraction(x, C, 100000000)
102+ let E = IntegerEntry(p, (y + x))
103+ let F = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [w])
104+ if ((F == F))
103105 then {
104- let F = Reissue(f, C, true)
105- let G = ScriptTransfer(v.caller, C, f)
106-[F, G, D]
106+ let G = Reissue(f, D, true)
107+ let H = ScriptTransfer(v.caller, D, f)
108+[G, H, E]
107109 }
108110 else throw("Strict value is not equal to itself.")
109111 }
130132 }
131133 else throw("Can't find asset")
132134 }
133- let H = fraction(z, 100000000, y)
134- let C = fraction(x, H, 100000000)
135- let D = IntegerEntry(o, (y + x))
136- let E = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [w])
137- if ((E == E))
135+ let C = fraction(z, 100000000, y)
136+ let D = fraction(x, C, 100000000)
137+ let E = IntegerEntry(o, (y + x))
138+ let F = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [w])
139+ if ((F == F))
138140 then {
139- let F = Reissue(d, C, true)
140- let G = ScriptTransfer(v.caller, C, d)
141-[F, G, D]
141+ let G = Reissue(d, D, true)
142+ let H = ScriptTransfer(v.caller, D, d)
143+[G, H, E]
142144 }
143145 else throw("Strict value is not equal to itself.")
144146 }
165167 }
166168 else throw("Can't find asset")
167169 }
168- let C = (x * (z / y))
169- let D = IntegerEntry(l, (y + x))
170- let E = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [w])
171- if ((E == E))
170+ let D = (x * (z / y))
171+ let E = IntegerEntry(l, (y + x))
172+ let F = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [w])
173+ if ((F == F))
172174 then {
173- let F = Reissue(b, C, true)
174- let G = ScriptTransfer(v.caller, C, b)
175-[F, G, D]
175+ let G = Reissue(b, D, true)
176+ let H = ScriptTransfer(v.caller, D, b)
177+[G, H, E]
176178 }
177179 else throw("Strict value is not equal to itself.")
178180 }
199201 }
200202 else throw("Can't find asset")
201203 }
202- let C = (x * ((z - assetBalance(this, h)) / y))
203- let D = IntegerEntry(t, (y + x))
204- let E = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [w])
205- if ((E == E))
204+ let D = (x * ((z - assetBalance(this, h)) / y))
205+ let E = IntegerEntry(t, (y + x))
206+ let F = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [w])
207+ if ((F == F))
206208 then {
207- let F = Reissue(h, C, true)
208- let G = ScriptTransfer(v.caller, C, h)
209-[F, G, D]
209+ let G = Reissue(h, D, true)
210+ let H = ScriptTransfer(v.caller, D, h)
211+[G, H, E]
210212 }
211213 else throw("Strict value is not equal to itself.")
212214 }
226228 let M = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [I])
227229 if ((M == M))
228230 then {
229- let D = IntegerEntry(r, (L + J))
231+ let E = IntegerEntry(r, (L + J))
230232 let N = IntegerEntry(s, (K + J))
231-[D, N]
233+[E, N]
232234 }
233235 else throw("Strict value is not equal to itself.")
234236 }
248250 let M = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [I])
249251 if ((M == M))
250252 then {
251- let D = IntegerEntry(t, (L + J))
253+ let E = IntegerEntry(t, (L + J))
252254 let N = IntegerEntry(u, (K + J))
253-[D, N]
255+[E, N]
254256 }
255257 else throw("Strict value is not equal to itself.")
256258 }
270272 let M = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [I])
271273 if ((M == M))
272274 then {
273- let D = IntegerEntry(o, (L + J))
275+ let E = IntegerEntry(o, (L + J))
274276 let N = IntegerEntry(n, (K + J))
275-[D, N]
277+[E, N]
276278 }
277279 else throw("Strict value is not equal to itself.")
278280 }
292294 let M = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [I])
293295 if ((M == M))
294296 then {
295- let D = IntegerEntry(l, (L + J))
297+ let E = IntegerEntry(l, (L + J))
296298 let N = IntegerEntry(m, (K + J))
297-[D, N]
299+[E, N]
298300 }
299301 else throw("Strict value is not equal to itself.")
300302 }
314316 let M = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [I])
315317 if ((M == M))
316318 then {
317- let D = IntegerEntry(p, (L + J))
319+ let E = IntegerEntry(p, (L + J))
318320 let N = IntegerEntry(q, (K + J))
319-[D, N]
321+[E, N]
320322 }
321323 else throw("Strict value is not equal to itself.")
322324 }
398400 then {
399401 let R = IntegerEntry(r, P)
400402 let S = IntegerEntry(s, 0)
401- let F = Reissue(j, P, true)
403+ let G = Reissue(j, P, true)
402404 let V = ScriptTransfer(v.caller, P, j)
403-[R, S, F, V]
405+[R, S, G, V]
404406 }
405407 else throw("Strict value is not equal to itself.")
406408 }
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 }
65- let C = (x * ((z - assetBalance(this, j)) / y))
66- let D = IntegerEntry(r, (y + x))
67- let E = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [w])
68- if ((E == E))
65+ let C = fraction((z - assetBalance(this, j)), 100000000, y)
66+ let D = fraction(x, C, 100000000)
67+ let E = IntegerEntry(r, (y + x))
68+ let F = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [w])
69+ if ((F == F))
6970 then {
70- let F = Reissue(j, C, true)
71- let G = ScriptTransfer(v.caller, C, j)
72-[F, G, D]
71+ let G = Reissue(j, D, true)
72+ let H = ScriptTransfer(v.caller, D, j)
73+[G, H, E]
7374 }
7475 else throw("Strict value is not equal to itself.")
7576 }
7677 }
7778
7879
7980
8081 @Callable(v)
8182 func depositWavesUsdnLP () = {
8283 let w = value(v.payments[0])
8384 let x = w.amount
8485 if ((w.assetId != e))
8586 then throw("attach WAVESUSDNLP tokens only")
8687 else if (k)
8788 then throw("smart contract is on lock")
8889 else {
8990 let y = valueOrElse(getInteger(this, p), 0)
9091 let z = {
9192 let A = assetInfo(f)
9293 if ($isInstanceOf(A, "Asset"))
9394 then {
9495 let B = A
9596 B.quantity
9697 }
9798 else throw("Can't find asset")
9899 }
99- let C = (x * (z / y))
100- let D = IntegerEntry(p, (y + x))
101- let E = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [w])
102- if ((E == E))
100+ let C = fraction(z, 100000000, y)
101+ let D = fraction(x, C, 100000000)
102+ let E = IntegerEntry(p, (y + x))
103+ let F = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [w])
104+ if ((F == F))
103105 then {
104- let F = Reissue(f, C, true)
105- let G = ScriptTransfer(v.caller, C, f)
106-[F, G, D]
106+ let G = Reissue(f, D, true)
107+ let H = ScriptTransfer(v.caller, D, f)
108+[G, H, E]
107109 }
108110 else throw("Strict value is not equal to itself.")
109111 }
110112 }
111113
112114
113115
114116 @Callable(v)
115117 func depositWxUsdnLP () = {
116118 let w = value(v.payments[0])
117119 let x = w.amount
118120 if ((w.assetId != c))
119121 then throw("attach WXUSDNLP tokens only")
120122 else if (k)
121123 then throw("smart contract is on lock")
122124 else {
123125 let y = valueOrElse(getInteger(this, o), 0)
124126 let z = {
125127 let A = assetInfo(d)
126128 if ($isInstanceOf(A, "Asset"))
127129 then {
128130 let B = A
129131 B.quantity
130132 }
131133 else throw("Can't find asset")
132134 }
133- let H = fraction(z, 100000000, y)
134- let C = fraction(x, H, 100000000)
135- let D = IntegerEntry(o, (y + x))
136- let E = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [w])
137- if ((E == E))
135+ let C = fraction(z, 100000000, y)
136+ let D = fraction(x, C, 100000000)
137+ let E = IntegerEntry(o, (y + x))
138+ let F = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [w])
139+ if ((F == F))
138140 then {
139- let F = Reissue(d, C, true)
140- let G = ScriptTransfer(v.caller, C, d)
141-[F, G, D]
141+ let G = Reissue(d, D, true)
142+ let H = ScriptTransfer(v.caller, D, d)
143+[G, H, E]
142144 }
143145 else throw("Strict value is not equal to itself.")
144146 }
145147 }
146148
147149
148150
149151 @Callable(v)
150152 func depositUsdtUsdnLP () = {
151153 let w = value(v.payments[0])
152154 let x = w.amount
153155 if ((w.assetId != a))
154156 then throw("attach USDTUSDNLP tokens only")
155157 else if (k)
156158 then throw("smart contract is on lock")
157159 else {
158160 let y = valueOrElse(getInteger(this, l), 0)
159161 let z = {
160162 let A = assetInfo(b)
161163 if ($isInstanceOf(A, "Asset"))
162164 then {
163165 let B = A
164166 B.quantity
165167 }
166168 else throw("Can't find asset")
167169 }
168- let C = (x * (z / y))
169- let D = IntegerEntry(l, (y + x))
170- let E = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [w])
171- if ((E == E))
170+ let D = (x * (z / y))
171+ let E = IntegerEntry(l, (y + x))
172+ let F = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [w])
173+ if ((F == F))
172174 then {
173- let F = Reissue(b, C, true)
174- let G = ScriptTransfer(v.caller, C, b)
175-[F, G, D]
175+ let G = Reissue(b, D, true)
176+ let H = ScriptTransfer(v.caller, D, b)
177+[G, H, E]
176178 }
177179 else throw("Strict value is not equal to itself.")
178180 }
179181 }
180182
181183
182184
183185 @Callable(v)
184186 func depositEthUsdnLP () = {
185187 let w = value(v.payments[0])
186188 let x = w.amount
187189 if ((w.assetId != g))
188190 then throw("attach ETHUSDNLP tokens only")
189191 else if (k)
190192 then throw("smart contract is on lock")
191193 else {
192194 let y = valueOrElse(getInteger(this, t), 0)
193195 let z = {
194196 let A = assetInfo(h)
195197 if ($isInstanceOf(A, "Asset"))
196198 then {
197199 let B = A
198200 B.quantity
199201 }
200202 else throw("Can't find asset")
201203 }
202- let C = (x * ((z - assetBalance(this, h)) / y))
203- let D = IntegerEntry(t, (y + x))
204- let E = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [w])
205- if ((E == E))
204+ let D = (x * ((z - assetBalance(this, h)) / y))
205+ let E = IntegerEntry(t, (y + x))
206+ let F = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [w])
207+ if ((F == F))
206208 then {
207- let F = Reissue(h, C, true)
208- let G = ScriptTransfer(v.caller, C, h)
209-[F, G, D]
209+ let G = Reissue(h, D, true)
210+ let H = ScriptTransfer(v.caller, D, h)
211+[G, H, E]
210212 }
211213 else throw("Strict value is not equal to itself.")
212214 }
213215 }
214216
215217
216218
217219 @Callable(v)
218220 func compoundBTCUSDNLP () = {
219221 let I = value(v.payments[0])
220222 let J = I.amount
221223 if ((I.assetId != i))
222224 then throw("attach BTCUSDNLP tokens only")
223225 else {
224226 let K = valueOrElse(getInteger(this, s), 0)
225227 let L = valueOrElse(getInteger(this, r), 0)
226228 let M = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [I])
227229 if ((M == M))
228230 then {
229- let D = IntegerEntry(r, (L + J))
231+ let E = IntegerEntry(r, (L + J))
230232 let N = IntegerEntry(s, (K + J))
231-[D, N]
233+[E, N]
232234 }
233235 else throw("Strict value is not equal to itself.")
234236 }
235237 }
236238
237239
238240
239241 @Callable(v)
240242 func compoundETHUSDNLP () = {
241243 let I = value(v.payments[0])
242244 let J = I.amount
243245 if ((I.assetId != g))
244246 then throw("attach ETHUSDNLP tokens only")
245247 else {
246248 let K = valueOrElse(getInteger(this, u), 0)
247249 let L = valueOrElse(getInteger(this, t), 0)
248250 let M = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [I])
249251 if ((M == M))
250252 then {
251- let D = IntegerEntry(t, (L + J))
253+ let E = IntegerEntry(t, (L + J))
252254 let N = IntegerEntry(u, (K + J))
253-[D, N]
255+[E, N]
254256 }
255257 else throw("Strict value is not equal to itself.")
256258 }
257259 }
258260
259261
260262
261263 @Callable(v)
262264 func compoundWXUSDNLP () = {
263265 let I = value(v.payments[0])
264266 let J = I.amount
265267 if ((I.assetId != c))
266268 then throw("attach WXUSDNLP tokens only")
267269 else {
268270 let K = valueOrElse(getInteger(this, n), 0)
269271 let L = valueOrElse(getInteger(this, o), 0)
270272 let M = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [I])
271273 if ((M == M))
272274 then {
273- let D = IntegerEntry(o, (L + J))
275+ let E = IntegerEntry(o, (L + J))
274276 let N = IntegerEntry(n, (K + J))
275-[D, N]
277+[E, N]
276278 }
277279 else throw("Strict value is not equal to itself.")
278280 }
279281 }
280282
281283
282284
283285 @Callable(v)
284286 func compoundUSDTUSDNLP () = {
285287 let I = value(v.payments[0])
286288 let J = I.amount
287289 if ((I.assetId != a))
288290 then throw("attach USDTUSDNLP tokens only")
289291 else {
290292 let K = valueOrElse(getInteger(this, m), 0)
291293 let L = valueOrElse(getInteger(this, l), 0)
292294 let M = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [I])
293295 if ((M == M))
294296 then {
295- let D = IntegerEntry(l, (L + J))
297+ let E = IntegerEntry(l, (L + J))
296298 let N = IntegerEntry(m, (K + J))
297-[D, N]
299+[E, N]
298300 }
299301 else throw("Strict value is not equal to itself.")
300302 }
301303 }
302304
303305
304306
305307 @Callable(v)
306308 func compoundWAVESUSDNLP () = {
307309 let I = value(v.payments[0])
308310 let J = I.amount
309311 if ((I.assetId != e))
310312 then throw("attach WAVESUSDNLP tokens only")
311313 else {
312314 let K = valueOrElse(getInteger(this, q), 0)
313315 let L = valueOrElse(getInteger(this, p), 0)
314316 let M = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [I])
315317 if ((M == M))
316318 then {
317- let D = IntegerEntry(p, (L + J))
319+ let E = IntegerEntry(p, (L + J))
318320 let N = IntegerEntry(q, (K + J))
319-[D, N]
321+[E, N]
320322 }
321323 else throw("Strict value is not equal to itself.")
322324 }
323325 }
324326
325327
326328
327329 @Callable(v)
328330 func initWX () = {
329331 let O = value(v.payments[0])
330332 let P = O.amount
331333 if ((O.assetId != c))
332334 then throw("Unexpected token")
333335 else {
334336 let Q = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [O])
335337 if ((Q == Q))
336338 then {
337339 let R = IntegerEntry(o, P)
338340 let S = IntegerEntry(n, 0)
339341 [R, S]
340342 }
341343 else throw("Strict value is not equal to itself.")
342344 }
343345 }
344346
345347
346348
347349 @Callable(v)
348350 func initWAVES () = {
349351 let O = value(v.payments[0])
350352 let P = O.amount
351353 if ((O.assetId != e))
352354 then throw("Unexpected token")
353355 else {
354356 let Q = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [O])
355357 if ((Q == Q))
356358 then {
357359 let R = IntegerEntry(p, P)
358360 let S = IntegerEntry(q, 0)
359361 [R, S]
360362 }
361363 else throw("Strict value is not equal to itself.")
362364 }
363365 }
364366
365367
366368
367369 @Callable(v)
368370 func initETH () = {
369371 let O = value(v.payments[0])
370372 let P = O.amount
371373 if ((O.assetId != g))
372374 then throw("Unexpected token")
373375 else {
374376 let Q = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [O])
375377 if ((Q == Q))
376378 then {
377379 let R = IntegerEntry(t, P)
378380 let S = IntegerEntry(u, 0)
379381 let T = Reissue(h, P, true)
380382 let U = ScriptTransfer(v.caller, P, h)
381383 [R, S, T, U]
382384 }
383385 else throw("Strict value is not equal to itself.")
384386 }
385387 }
386388
387389
388390
389391 @Callable(v)
390392 func initBTC () = {
391393 let O = value(v.payments[0])
392394 let P = O.amount
393395 if ((O.assetId != i))
394396 then throw("Unexpected token")
395397 else {
396398 let Q = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [O])
397399 if ((Q == Q))
398400 then {
399401 let R = IntegerEntry(r, P)
400402 let S = IntegerEntry(s, 0)
401- let F = Reissue(j, P, true)
403+ let G = Reissue(j, P, true)
402404 let V = ScriptTransfer(v.caller, P, j)
403-[R, S, F, V]
405+[R, S, G, V]
404406 }
405407 else throw("Strict value is not equal to itself.")
406408 }
407409 }
408410
409411
410412 @Verifier(W)
411413 func X () = sigVerify(W.bodyBytes, W.proofs[0], W.senderPublicKey)
412414

github/deemru/w8io/026f985 
56.53 ms