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+eEAAAAADGV0aFVzZG5MUFRDSQEAAAAg4e0WyvKtIAu2EMEK2Ns8J2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WdlckVudHJ5AAAAAgUAAAASa2V5QnRjVXNkbkNvbXBvdW5kAAAAAAAAAAAABAAAAAdMUElzc3VlCQEAAAAHUmVpc3N1ZQAAAAMFAAAADGJ0Y1VzZG5MUFRDSQUAAAACYW0GBAAAAAJ0cgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyBQAAAAJhbQUAAAAMYnRjVXNkbkxQVENJCQAETAAAAAIFAAAAA3VwZAkABEwAAAACBQAAAAR1cGRLCQAETAAAAAIFAAAAB0xQSXNzdWUJAARMAAAAAgUAAAACdHIFAAAAA25pbAkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4AAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleXuKHqA=", "height": 2136248, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 75G5dLJ2XDaeJs1wA7jUbntu4rqKrpf1yiQRFoq2KCJc Next: 6jmXJHpXx2K6YY2uUoaf5a5wYZ2mVbK4UdrB3MNnkZ5A Diff:
Old | New | Differences | |
---|---|---|---|
62 | 62 | } | |
63 | 63 | else throw("Can't find asset") | |
64 | 64 | } | |
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)) | |
69 | 70 | then { | |
70 | - | let | |
71 | - | let | |
72 | - | [ | |
71 | + | let G = Reissue(j, D, true) | |
72 | + | let H = ScriptTransfer(v.caller, D, j) | |
73 | + | [G, H, E] | |
73 | 74 | } | |
74 | 75 | else throw("Strict value is not equal to itself.") | |
75 | 76 | } | |
96 | 97 | } | |
97 | 98 | else throw("Can't find asset") | |
98 | 99 | } | |
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)) | |
103 | 105 | then { | |
104 | - | let | |
105 | - | let | |
106 | - | [ | |
106 | + | let G = Reissue(f, D, true) | |
107 | + | let H = ScriptTransfer(v.caller, D, f) | |
108 | + | [G, H, E] | |
107 | 109 | } | |
108 | 110 | else throw("Strict value is not equal to itself.") | |
109 | 111 | } | |
130 | 132 | } | |
131 | 133 | else throw("Can't find asset") | |
132 | 134 | } | |
133 | - | let | |
134 | - | let | |
135 | - | let | |
136 | - | let | |
137 | - | if (( | |
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)) | |
138 | 140 | then { | |
139 | - | let | |
140 | - | let | |
141 | - | [ | |
141 | + | let G = Reissue(d, D, true) | |
142 | + | let H = ScriptTransfer(v.caller, D, d) | |
143 | + | [G, H, E] | |
142 | 144 | } | |
143 | 145 | else throw("Strict value is not equal to itself.") | |
144 | 146 | } | |
165 | 167 | } | |
166 | 168 | else throw("Can't find asset") | |
167 | 169 | } | |
168 | - | let | |
169 | - | let | |
170 | - | let | |
171 | - | if (( | |
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)) | |
172 | 174 | then { | |
173 | - | let | |
174 | - | let | |
175 | - | [ | |
175 | + | let G = Reissue(b, D, true) | |
176 | + | let H = ScriptTransfer(v.caller, D, b) | |
177 | + | [G, H, E] | |
176 | 178 | } | |
177 | 179 | else throw("Strict value is not equal to itself.") | |
178 | 180 | } | |
199 | 201 | } | |
200 | 202 | else throw("Can't find asset") | |
201 | 203 | } | |
202 | - | let | |
203 | - | let | |
204 | - | let | |
205 | - | if (( | |
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)) | |
206 | 208 | then { | |
207 | - | let | |
208 | - | let | |
209 | - | [ | |
209 | + | let G = Reissue(h, D, true) | |
210 | + | let H = ScriptTransfer(v.caller, D, h) | |
211 | + | [G, H, E] | |
210 | 212 | } | |
211 | 213 | else throw("Strict value is not equal to itself.") | |
212 | 214 | } | |
226 | 228 | let M = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [I]) | |
227 | 229 | if ((M == M)) | |
228 | 230 | then { | |
229 | - | let | |
231 | + | let E = IntegerEntry(r, (L + J)) | |
230 | 232 | let N = IntegerEntry(s, (K + J)) | |
231 | - | [ | |
233 | + | [E, N] | |
232 | 234 | } | |
233 | 235 | else throw("Strict value is not equal to itself.") | |
234 | 236 | } | |
248 | 250 | let M = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [I]) | |
249 | 251 | if ((M == M)) | |
250 | 252 | then { | |
251 | - | let | |
253 | + | let E = IntegerEntry(t, (L + J)) | |
252 | 254 | let N = IntegerEntry(u, (K + J)) | |
253 | - | [ | |
255 | + | [E, N] | |
254 | 256 | } | |
255 | 257 | else throw("Strict value is not equal to itself.") | |
256 | 258 | } | |
270 | 272 | let M = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [I]) | |
271 | 273 | if ((M == M)) | |
272 | 274 | then { | |
273 | - | let | |
275 | + | let E = IntegerEntry(o, (L + J)) | |
274 | 276 | let N = IntegerEntry(n, (K + J)) | |
275 | - | [ | |
277 | + | [E, N] | |
276 | 278 | } | |
277 | 279 | else throw("Strict value is not equal to itself.") | |
278 | 280 | } | |
292 | 294 | let M = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [I]) | |
293 | 295 | if ((M == M)) | |
294 | 296 | then { | |
295 | - | let | |
297 | + | let E = IntegerEntry(l, (L + J)) | |
296 | 298 | let N = IntegerEntry(m, (K + J)) | |
297 | - | [ | |
299 | + | [E, N] | |
298 | 300 | } | |
299 | 301 | else throw("Strict value is not equal to itself.") | |
300 | 302 | } | |
314 | 316 | let M = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [I]) | |
315 | 317 | if ((M == M)) | |
316 | 318 | then { | |
317 | - | let | |
319 | + | let E = IntegerEntry(p, (L + J)) | |
318 | 320 | let N = IntegerEntry(q, (K + J)) | |
319 | - | [ | |
321 | + | [E, N] | |
320 | 322 | } | |
321 | 323 | else throw("Strict value is not equal to itself.") | |
322 | 324 | } | |
398 | 400 | then { | |
399 | 401 | let R = IntegerEntry(r, P) | |
400 | 402 | let S = IntegerEntry(s, 0) | |
401 | - | let | |
403 | + | let G = Reissue(j, P, true) | |
402 | 404 | let V = ScriptTransfer(v.caller, P, j) | |
403 | - | [R, S, | |
405 | + | [R, S, G, V] | |
404 | 406 | } | |
405 | 407 | else throw("Strict value is not equal to itself.") | |
406 | 408 | } |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
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'FLdC14nUVRyiSYjVrMo3X4g8rXQjLbNRaGAyQAm8V68V' | |
13 | 13 | ||
14 | 14 | let f = base58'EGQiqw8jLjg6SVLUeeqMLjk3EjhEVHtjkJ6w46HyFfep' | |
15 | 15 | ||
16 | 16 | let g = base58'9ZkS8GoUWn69QhgF1RsRtS9CFtc7ZbDNX5N238Jmqjdr' | |
17 | 17 | ||
18 | 18 | let h = base58'GCvR4BmCSjncVEEwr9psvhN5mctdNTGPs8Xp4b2oQNFZ' | |
19 | 19 | ||
20 | 20 | let i = base58'2RmyyZ39ZoPoTWksM6urmjgx9mB8ksP8Ru6ba8u89mZm' | |
21 | 21 | ||
22 | 22 | let j = base58'4jarprgmcev38EU5p2duJAznZSLUxZ831jCT2vf95Hey' | |
23 | 23 | ||
24 | 24 | let k = false | |
25 | 25 | ||
26 | 26 | let l = "STAKED_LP" | |
27 | 27 | ||
28 | 28 | let m = "From_Compound" | |
29 | 29 | ||
30 | 30 | let n = "WX_USDN_compound" | |
31 | 31 | ||
32 | 32 | let o = "WX_USDN" | |
33 | 33 | ||
34 | 34 | let p = "WAVES_USDN" | |
35 | 35 | ||
36 | 36 | let q = "WAVES_USDN_COMPOUND" | |
37 | 37 | ||
38 | 38 | let r = "BTC_USDN" | |
39 | 39 | ||
40 | 40 | let s = "BTC_USDN_COMPOUND" | |
41 | 41 | ||
42 | 42 | let t = "ETH_USDN" | |
43 | 43 | ||
44 | 44 | let u = "ETH_USDN_COMPOUND" | |
45 | 45 | ||
46 | 46 | @Callable(v) | |
47 | 47 | func depositBtcUsdnLP () = { | |
48 | 48 | let w = value(v.payments[0]) | |
49 | 49 | let x = w.amount | |
50 | 50 | if ((w.assetId != i)) | |
51 | 51 | then throw("attach BTCUSDNLP tokens only") | |
52 | 52 | else if (k) | |
53 | 53 | then throw("smart contract is on lock") | |
54 | 54 | else { | |
55 | 55 | let y = valueOrElse(getInteger(this, r), 0) | |
56 | 56 | let z = { | |
57 | 57 | let A = assetInfo(j) | |
58 | 58 | if ($isInstanceOf(A, "Asset")) | |
59 | 59 | then { | |
60 | 60 | let B = A | |
61 | 61 | B.quantity | |
62 | 62 | } | |
63 | 63 | else throw("Can't find asset") | |
64 | 64 | } | |
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)) | |
69 | 70 | then { | |
70 | - | let | |
71 | - | let | |
72 | - | [ | |
71 | + | let G = Reissue(j, D, true) | |
72 | + | let H = ScriptTransfer(v.caller, D, j) | |
73 | + | [G, H, E] | |
73 | 74 | } | |
74 | 75 | else throw("Strict value is not equal to itself.") | |
75 | 76 | } | |
76 | 77 | } | |
77 | 78 | ||
78 | 79 | ||
79 | 80 | ||
80 | 81 | @Callable(v) | |
81 | 82 | func depositWavesUsdnLP () = { | |
82 | 83 | let w = value(v.payments[0]) | |
83 | 84 | let x = w.amount | |
84 | 85 | if ((w.assetId != e)) | |
85 | 86 | then throw("attach WAVESUSDNLP tokens only") | |
86 | 87 | else if (k) | |
87 | 88 | then throw("smart contract is on lock") | |
88 | 89 | else { | |
89 | 90 | let y = valueOrElse(getInteger(this, p), 0) | |
90 | 91 | let z = { | |
91 | 92 | let A = assetInfo(f) | |
92 | 93 | if ($isInstanceOf(A, "Asset")) | |
93 | 94 | then { | |
94 | 95 | let B = A | |
95 | 96 | B.quantity | |
96 | 97 | } | |
97 | 98 | else throw("Can't find asset") | |
98 | 99 | } | |
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)) | |
103 | 105 | then { | |
104 | - | let | |
105 | - | let | |
106 | - | [ | |
106 | + | let G = Reissue(f, D, true) | |
107 | + | let H = ScriptTransfer(v.caller, D, f) | |
108 | + | [G, H, E] | |
107 | 109 | } | |
108 | 110 | else throw("Strict value is not equal to itself.") | |
109 | 111 | } | |
110 | 112 | } | |
111 | 113 | ||
112 | 114 | ||
113 | 115 | ||
114 | 116 | @Callable(v) | |
115 | 117 | func depositWxUsdnLP () = { | |
116 | 118 | let w = value(v.payments[0]) | |
117 | 119 | let x = w.amount | |
118 | 120 | if ((w.assetId != c)) | |
119 | 121 | then throw("attach WXUSDNLP tokens only") | |
120 | 122 | else if (k) | |
121 | 123 | then throw("smart contract is on lock") | |
122 | 124 | else { | |
123 | 125 | let y = valueOrElse(getInteger(this, o), 0) | |
124 | 126 | let z = { | |
125 | 127 | let A = assetInfo(d) | |
126 | 128 | if ($isInstanceOf(A, "Asset")) | |
127 | 129 | then { | |
128 | 130 | let B = A | |
129 | 131 | B.quantity | |
130 | 132 | } | |
131 | 133 | else throw("Can't find asset") | |
132 | 134 | } | |
133 | - | let | |
134 | - | let | |
135 | - | let | |
136 | - | let | |
137 | - | if (( | |
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)) | |
138 | 140 | then { | |
139 | - | let | |
140 | - | let | |
141 | - | [ | |
141 | + | let G = Reissue(d, D, true) | |
142 | + | let H = ScriptTransfer(v.caller, D, d) | |
143 | + | [G, H, E] | |
142 | 144 | } | |
143 | 145 | else throw("Strict value is not equal to itself.") | |
144 | 146 | } | |
145 | 147 | } | |
146 | 148 | ||
147 | 149 | ||
148 | 150 | ||
149 | 151 | @Callable(v) | |
150 | 152 | func depositUsdtUsdnLP () = { | |
151 | 153 | let w = value(v.payments[0]) | |
152 | 154 | let x = w.amount | |
153 | 155 | if ((w.assetId != a)) | |
154 | 156 | then throw("attach USDTUSDNLP tokens only") | |
155 | 157 | else if (k) | |
156 | 158 | then throw("smart contract is on lock") | |
157 | 159 | else { | |
158 | 160 | let y = valueOrElse(getInteger(this, l), 0) | |
159 | 161 | let z = { | |
160 | 162 | let A = assetInfo(b) | |
161 | 163 | if ($isInstanceOf(A, "Asset")) | |
162 | 164 | then { | |
163 | 165 | let B = A | |
164 | 166 | B.quantity | |
165 | 167 | } | |
166 | 168 | else throw("Can't find asset") | |
167 | 169 | } | |
168 | - | let | |
169 | - | let | |
170 | - | let | |
171 | - | if (( | |
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)) | |
172 | 174 | then { | |
173 | - | let | |
174 | - | let | |
175 | - | [ | |
175 | + | let G = Reissue(b, D, true) | |
176 | + | let H = ScriptTransfer(v.caller, D, b) | |
177 | + | [G, H, E] | |
176 | 178 | } | |
177 | 179 | else throw("Strict value is not equal to itself.") | |
178 | 180 | } | |
179 | 181 | } | |
180 | 182 | ||
181 | 183 | ||
182 | 184 | ||
183 | 185 | @Callable(v) | |
184 | 186 | func depositEthUsdnLP () = { | |
185 | 187 | let w = value(v.payments[0]) | |
186 | 188 | let x = w.amount | |
187 | 189 | if ((w.assetId != g)) | |
188 | 190 | then throw("attach ETHUSDNLP tokens only") | |
189 | 191 | else if (k) | |
190 | 192 | then throw("smart contract is on lock") | |
191 | 193 | else { | |
192 | 194 | let y = valueOrElse(getInteger(this, t), 0) | |
193 | 195 | let z = { | |
194 | 196 | let A = assetInfo(h) | |
195 | 197 | if ($isInstanceOf(A, "Asset")) | |
196 | 198 | then { | |
197 | 199 | let B = A | |
198 | 200 | B.quantity | |
199 | 201 | } | |
200 | 202 | else throw("Can't find asset") | |
201 | 203 | } | |
202 | - | let | |
203 | - | let | |
204 | - | let | |
205 | - | if (( | |
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)) | |
206 | 208 | then { | |
207 | - | let | |
208 | - | let | |
209 | - | [ | |
209 | + | let G = Reissue(h, D, true) | |
210 | + | let H = ScriptTransfer(v.caller, D, h) | |
211 | + | [G, H, E] | |
210 | 212 | } | |
211 | 213 | else throw("Strict value is not equal to itself.") | |
212 | 214 | } | |
213 | 215 | } | |
214 | 216 | ||
215 | 217 | ||
216 | 218 | ||
217 | 219 | @Callable(v) | |
218 | 220 | func compoundBTCUSDNLP () = { | |
219 | 221 | let I = value(v.payments[0]) | |
220 | 222 | let J = I.amount | |
221 | 223 | if ((I.assetId != i)) | |
222 | 224 | then throw("attach BTCUSDNLP tokens only") | |
223 | 225 | else { | |
224 | 226 | let K = valueOrElse(getInteger(this, s), 0) | |
225 | 227 | let L = valueOrElse(getInteger(this, r), 0) | |
226 | 228 | let M = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [I]) | |
227 | 229 | if ((M == M)) | |
228 | 230 | then { | |
229 | - | let | |
231 | + | let E = IntegerEntry(r, (L + J)) | |
230 | 232 | let N = IntegerEntry(s, (K + J)) | |
231 | - | [ | |
233 | + | [E, N] | |
232 | 234 | } | |
233 | 235 | else throw("Strict value is not equal to itself.") | |
234 | 236 | } | |
235 | 237 | } | |
236 | 238 | ||
237 | 239 | ||
238 | 240 | ||
239 | 241 | @Callable(v) | |
240 | 242 | func compoundETHUSDNLP () = { | |
241 | 243 | let I = value(v.payments[0]) | |
242 | 244 | let J = I.amount | |
243 | 245 | if ((I.assetId != g)) | |
244 | 246 | then throw("attach ETHUSDNLP tokens only") | |
245 | 247 | else { | |
246 | 248 | let K = valueOrElse(getInteger(this, u), 0) | |
247 | 249 | let L = valueOrElse(getInteger(this, t), 0) | |
248 | 250 | let M = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [I]) | |
249 | 251 | if ((M == M)) | |
250 | 252 | then { | |
251 | - | let | |
253 | + | let E = IntegerEntry(t, (L + J)) | |
252 | 254 | let N = IntegerEntry(u, (K + J)) | |
253 | - | [ | |
255 | + | [E, N] | |
254 | 256 | } | |
255 | 257 | else throw("Strict value is not equal to itself.") | |
256 | 258 | } | |
257 | 259 | } | |
258 | 260 | ||
259 | 261 | ||
260 | 262 | ||
261 | 263 | @Callable(v) | |
262 | 264 | func compoundWXUSDNLP () = { | |
263 | 265 | let I = value(v.payments[0]) | |
264 | 266 | let J = I.amount | |
265 | 267 | if ((I.assetId != c)) | |
266 | 268 | then throw("attach WXUSDNLP tokens only") | |
267 | 269 | else { | |
268 | 270 | let K = valueOrElse(getInteger(this, n), 0) | |
269 | 271 | let L = valueOrElse(getInteger(this, o), 0) | |
270 | 272 | let M = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [I]) | |
271 | 273 | if ((M == M)) | |
272 | 274 | then { | |
273 | - | let | |
275 | + | let E = IntegerEntry(o, (L + J)) | |
274 | 276 | let N = IntegerEntry(n, (K + J)) | |
275 | - | [ | |
277 | + | [E, N] | |
276 | 278 | } | |
277 | 279 | else throw("Strict value is not equal to itself.") | |
278 | 280 | } | |
279 | 281 | } | |
280 | 282 | ||
281 | 283 | ||
282 | 284 | ||
283 | 285 | @Callable(v) | |
284 | 286 | func compoundUSDTUSDNLP () = { | |
285 | 287 | let I = value(v.payments[0]) | |
286 | 288 | let J = I.amount | |
287 | 289 | if ((I.assetId != a)) | |
288 | 290 | then throw("attach USDTUSDNLP tokens only") | |
289 | 291 | else { | |
290 | 292 | let K = valueOrElse(getInteger(this, m), 0) | |
291 | 293 | let L = valueOrElse(getInteger(this, l), 0) | |
292 | 294 | let M = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [I]) | |
293 | 295 | if ((M == M)) | |
294 | 296 | then { | |
295 | - | let | |
297 | + | let E = IntegerEntry(l, (L + J)) | |
296 | 298 | let N = IntegerEntry(m, (K + J)) | |
297 | - | [ | |
299 | + | [E, N] | |
298 | 300 | } | |
299 | 301 | else throw("Strict value is not equal to itself.") | |
300 | 302 | } | |
301 | 303 | } | |
302 | 304 | ||
303 | 305 | ||
304 | 306 | ||
305 | 307 | @Callable(v) | |
306 | 308 | func compoundWAVESUSDNLP () = { | |
307 | 309 | let I = value(v.payments[0]) | |
308 | 310 | let J = I.amount | |
309 | 311 | if ((I.assetId != e)) | |
310 | 312 | then throw("attach WAVESUSDNLP tokens only") | |
311 | 313 | else { | |
312 | 314 | let K = valueOrElse(getInteger(this, q), 0) | |
313 | 315 | let L = valueOrElse(getInteger(this, p), 0) | |
314 | 316 | let M = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [I]) | |
315 | 317 | if ((M == M)) | |
316 | 318 | then { | |
317 | - | let | |
319 | + | let E = IntegerEntry(p, (L + J)) | |
318 | 320 | let N = IntegerEntry(q, (K + J)) | |
319 | - | [ | |
321 | + | [E, N] | |
320 | 322 | } | |
321 | 323 | else throw("Strict value is not equal to itself.") | |
322 | 324 | } | |
323 | 325 | } | |
324 | 326 | ||
325 | 327 | ||
326 | 328 | ||
327 | 329 | @Callable(v) | |
328 | 330 | func initWX () = { | |
329 | 331 | let O = value(v.payments[0]) | |
330 | 332 | let P = O.amount | |
331 | 333 | if ((O.assetId != c)) | |
332 | 334 | then throw("Unexpected token") | |
333 | 335 | else { | |
334 | 336 | let Q = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [O]) | |
335 | 337 | if ((Q == Q)) | |
336 | 338 | then { | |
337 | 339 | let R = IntegerEntry(o, P) | |
338 | 340 | let S = IntegerEntry(n, 0) | |
339 | 341 | [R, S] | |
340 | 342 | } | |
341 | 343 | else throw("Strict value is not equal to itself.") | |
342 | 344 | } | |
343 | 345 | } | |
344 | 346 | ||
345 | 347 | ||
346 | 348 | ||
347 | 349 | @Callable(v) | |
348 | 350 | func initWAVES () = { | |
349 | 351 | let O = value(v.payments[0]) | |
350 | 352 | let P = O.amount | |
351 | 353 | if ((O.assetId != e)) | |
352 | 354 | then throw("Unexpected token") | |
353 | 355 | else { | |
354 | 356 | let Q = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [O]) | |
355 | 357 | if ((Q == Q)) | |
356 | 358 | then { | |
357 | 359 | let R = IntegerEntry(p, P) | |
358 | 360 | let S = IntegerEntry(q, 0) | |
359 | 361 | [R, S] | |
360 | 362 | } | |
361 | 363 | else throw("Strict value is not equal to itself.") | |
362 | 364 | } | |
363 | 365 | } | |
364 | 366 | ||
365 | 367 | ||
366 | 368 | ||
367 | 369 | @Callable(v) | |
368 | 370 | func initETH () = { | |
369 | 371 | let O = value(v.payments[0]) | |
370 | 372 | let P = O.amount | |
371 | 373 | if ((O.assetId != g)) | |
372 | 374 | then throw("Unexpected token") | |
373 | 375 | else { | |
374 | 376 | let Q = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [O]) | |
375 | 377 | if ((Q == Q)) | |
376 | 378 | then { | |
377 | 379 | let R = IntegerEntry(t, P) | |
378 | 380 | let S = IntegerEntry(u, 0) | |
379 | 381 | let T = Reissue(h, P, true) | |
380 | 382 | let U = ScriptTransfer(v.caller, P, h) | |
381 | 383 | [R, S, T, U] | |
382 | 384 | } | |
383 | 385 | else throw("Strict value is not equal to itself.") | |
384 | 386 | } | |
385 | 387 | } | |
386 | 388 | ||
387 | 389 | ||
388 | 390 | ||
389 | 391 | @Callable(v) | |
390 | 392 | func initBTC () = { | |
391 | 393 | let O = value(v.payments[0]) | |
392 | 394 | let P = O.amount | |
393 | 395 | if ((O.assetId != i)) | |
394 | 396 | then throw("Unexpected token") | |
395 | 397 | else { | |
396 | 398 | let Q = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [O]) | |
397 | 399 | if ((Q == Q)) | |
398 | 400 | then { | |
399 | 401 | let R = IntegerEntry(r, P) | |
400 | 402 | let S = IntegerEntry(s, 0) | |
401 | - | let | |
403 | + | let G = Reissue(j, P, true) | |
402 | 404 | let V = ScriptTransfer(v.caller, P, j) | |
403 | - | [R, S, | |
405 | + | [R, S, G, V] | |
404 | 406 | } | |
405 | 407 | else throw("Strict value is not equal to itself.") | |
406 | 408 | } | |
407 | 409 | } | |
408 | 410 | ||
409 | 411 | ||
410 | 412 | @Verifier(W) | |
411 | 413 | func X () = sigVerify(W.bodyBytes, W.proofs[0], W.senderPublicKey) | |
412 | 414 |
github/deemru/w8io/026f985 56.53 ms ◑