tx · 6F6VbezHHgUhSS6XuWdKGcxtPAKQhppk1pmZKXFAu7KW 3N8n6BtTBKRZBoPuMzaPBH9FyJhfv9xDFJH: -0.01700000 Waves 2022.06.30 09:22 [2118804] smart account 3N8n6BtTBKRZBoPuMzaPBH9FyJhfv9xDFJH > SELF 0.00000000 Waves
{ "type": 13, "id": "6F6VbezHHgUhSS6XuWdKGcxtPAKQhppk1pmZKXFAu7KW", "fee": 1700000, "feeAssetId": null, "timestamp": 1656570142452, "version": 2, "chainId": 84, "sender": "3N8n6BtTBKRZBoPuMzaPBH9FyJhfv9xDFJH", "senderPublicKey": "4hcnYaYoB2XaCzyJ7wfePpG7EfTd6st6aCAhkskJ9cQ5", "proofs": [ "5e3ah1BhfrkxkM4NxpoigwwbZst74JskoTLNDs45iA4cMYnNjKpnXbM6gVw46vndQRm6fcdyC61QaZ6Dqw7wn2rV" ], "script": "base64:AAIFAAAAAAAAAB4IAhIAEgASABIAEgASABIAEgASABIAEgASABIAEgAAAAAVAAAAAAh1c2RuVXNkdAEAAAAg202DNWRHG5bvnwwvoM991XmdkujhmzUPwT/MewJwKQsAAAAADXVzZG5Vc2R0TFBUQ0kBAAAAIAqBzantQGEdmEq4Oth6BGhTCCbAyZjxYcEpfvod3iryAAAAAAh3eFVzZG5MUAEAAAAgG7mhj3vOTKXN+s5HyQsWjk32W97C65PB1sWo0bGqCxwAAAAAC3d4VXNkbkxQVENJAQAAACC37N3mGwJ72rYTh/1V0NY8tseiNz1LiL3Be29IRACYLwAAAAALd2F2ZXNVc2RuTHABAAAAINUKknePcghEmMkNN/IegHNiilmrJ+abeEGdbsH03iJ2AAAAAA53YXZlc1VzZG5MUFRDSQEAAAAgxRp2zzmtZIv1fW7qZyCOpdLB08oGyQGtTSaCWHrWElkAAAAACWV0aFVzZG5MUAEAAAAgf0Ew/c/5+Zy9fq7UHSNMMuNJS4SB4kp3y/IQBPX7+eEAAAAADGV0aFVzZG5MUFRDSQEAAAAg4e0WyvKtIAu2EMEK2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lAAAAAwUAAAAMYnRjVXNkbkxQVENJBQAAAAJhbQYEAAAAAnRyCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIFAAAAAmFtBQAAAAxidGNVc2RuTFBUQ0kJAARMAAAAAgUAAAADdXBkCQAETAAAAAIFAAAABHVwZEsJAARMAAAAAgUAAAAHTFBJc3N1ZQkABEwAAAACBQAAAAJ0cgUAAAADbmlsCQAAAgAAAAECAAAAJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5oG+JjA==", "height": 2118804, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8eT2ZgEuJvCAxujfcHqa6191efX6MKXkE25gNwXQ67hD Next: D3nDpm1uYyPTv2F79h7y4RXdwguxyxd3k24j4CQEZ2HA Diff:
Old | New | Differences | |
---|---|---|---|
96 | 96 | } | |
97 | 97 | else throw("Can't find asset") | |
98 | 98 | } | |
99 | - | let C = (x * (z | |
99 | + | let C = (x * (z / y)) | |
100 | 100 | let D = IntegerEntry(p, (y + x)) | |
101 | 101 | let E = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [w]) | |
102 | 102 | if ((E == E)) | |
130 | 130 | } | |
131 | 131 | else throw("Can't find asset") | |
132 | 132 | } | |
133 | - | let C = (x * ( | |
133 | + | let C = (x * (z / y)) | |
134 | 134 | let D = IntegerEntry(l, (y + x)) | |
135 | 135 | let E = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [w]) | |
136 | 136 | if ((E == E)) | |
335 | 335 | then { | |
336 | 336 | let Q = IntegerEntry(o, O) | |
337 | 337 | let R = IntegerEntry(n, 0) | |
338 | - | let S = Reissue(d, O, true) | |
339 | - | let T = ScriptTransfer(v.caller, O, d) | |
340 | - | [Q, R, S, T] | |
338 | + | [Q, R] | |
341 | 339 | } | |
342 | 340 | else throw("Strict value is not equal to itself.") | |
343 | 341 | } | |
357 | 355 | then { | |
358 | 356 | let Q = IntegerEntry(p, O) | |
359 | 357 | let R = IntegerEntry(q, 0) | |
360 | - | let F = Reissue(f, O, true) | |
361 | - | let U = ScriptTransfer(v.caller, O, f) | |
362 | - | [Q, R, F, U] | |
358 | + | [Q, R] | |
363 | 359 | } | |
364 | 360 | else throw("Strict value is not equal to itself.") | |
365 | 361 | } | |
379 | 375 | then { | |
380 | 376 | let Q = IntegerEntry(t, O) | |
381 | 377 | let R = IntegerEntry(u, 0) | |
382 | - | let | |
383 | - | let | |
384 | - | [Q, R, | |
378 | + | let S = Reissue(h, O, true) | |
379 | + | let T = ScriptTransfer(v.caller, O, h) | |
380 | + | [Q, R, S, T] | |
385 | 381 | } | |
386 | 382 | else throw("Strict value is not equal to itself.") | |
387 | 383 | } | |
402 | 398 | let Q = IntegerEntry(r, O) | |
403 | 399 | let R = IntegerEntry(s, 0) | |
404 | 400 | let F = Reissue(j, O, true) | |
405 | - | let | |
406 | - | [Q, R, F, | |
401 | + | let U = ScriptTransfer(v.caller, O, j) | |
402 | + | [Q, R, F, U] | |
407 | 403 | } | |
408 | 404 | else throw("Strict value is not equal to itself.") | |
409 | 405 | } | |
410 | 406 | } | |
411 | 407 | ||
412 | 408 | ||
413 | - | @Verifier( | |
414 | - | func | |
409 | + | @Verifier(V) | |
410 | + | func W () = sigVerify(V.bodyBytes, V.proofs[0], V.senderPublicKey) | |
415 | 411 |
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 | 65 | let C = (x * ((z - assetBalance(this, j)) / y)) | |
66 | 66 | let D = IntegerEntry(r, (y + x)) | |
67 | 67 | let E = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [w]) | |
68 | 68 | if ((E == E)) | |
69 | 69 | then { | |
70 | 70 | let F = Reissue(j, C, true) | |
71 | 71 | let G = ScriptTransfer(v.caller, C, j) | |
72 | 72 | [F, G, D] | |
73 | 73 | } | |
74 | 74 | else throw("Strict value is not equal to itself.") | |
75 | 75 | } | |
76 | 76 | } | |
77 | 77 | ||
78 | 78 | ||
79 | 79 | ||
80 | 80 | @Callable(v) | |
81 | 81 | func depositWavesUsdnLP () = { | |
82 | 82 | let w = value(v.payments[0]) | |
83 | 83 | let x = w.amount | |
84 | 84 | if ((w.assetId != e)) | |
85 | 85 | then throw("attach WAVESUSDNLP tokens only") | |
86 | 86 | else if (k) | |
87 | 87 | then throw("smart contract is on lock") | |
88 | 88 | else { | |
89 | 89 | let y = valueOrElse(getInteger(this, p), 0) | |
90 | 90 | let z = { | |
91 | 91 | let A = assetInfo(f) | |
92 | 92 | if ($isInstanceOf(A, "Asset")) | |
93 | 93 | then { | |
94 | 94 | let B = A | |
95 | 95 | B.quantity | |
96 | 96 | } | |
97 | 97 | else throw("Can't find asset") | |
98 | 98 | } | |
99 | - | let C = (x * (z | |
99 | + | let C = (x * (z / y)) | |
100 | 100 | let D = IntegerEntry(p, (y + x)) | |
101 | 101 | let E = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [w]) | |
102 | 102 | if ((E == E)) | |
103 | 103 | then { | |
104 | 104 | let F = Reissue(f, C, true) | |
105 | 105 | let G = ScriptTransfer(v.caller, C, f) | |
106 | 106 | [F, G, D] | |
107 | 107 | } | |
108 | 108 | else throw("Strict value is not equal to itself.") | |
109 | 109 | } | |
110 | 110 | } | |
111 | 111 | ||
112 | 112 | ||
113 | 113 | ||
114 | 114 | @Callable(v) | |
115 | 115 | func depositWxUsdnLP () = { | |
116 | 116 | let w = value(v.payments[0]) | |
117 | 117 | let x = w.amount | |
118 | 118 | if ((w.assetId != c)) | |
119 | 119 | then throw("attach WXUSDNLP tokens only") | |
120 | 120 | else if (k) | |
121 | 121 | then throw("smart contract is on lock") | |
122 | 122 | else { | |
123 | 123 | let y = valueOrElse(getInteger(this, o), 0) | |
124 | 124 | let z = { | |
125 | 125 | let A = assetInfo(d) | |
126 | 126 | if ($isInstanceOf(A, "Asset")) | |
127 | 127 | then { | |
128 | 128 | let B = A | |
129 | 129 | B.quantity | |
130 | 130 | } | |
131 | 131 | else throw("Can't find asset") | |
132 | 132 | } | |
133 | - | let C = (x * ( | |
133 | + | let C = (x * (z / y)) | |
134 | 134 | let D = IntegerEntry(l, (y + x)) | |
135 | 135 | let E = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [w]) | |
136 | 136 | if ((E == E)) | |
137 | 137 | then { | |
138 | 138 | let F = Reissue(d, C, true) | |
139 | 139 | let G = ScriptTransfer(v.caller, C, d) | |
140 | 140 | [F, G, D] | |
141 | 141 | } | |
142 | 142 | else throw("Strict value is not equal to itself.") | |
143 | 143 | } | |
144 | 144 | } | |
145 | 145 | ||
146 | 146 | ||
147 | 147 | ||
148 | 148 | @Callable(v) | |
149 | 149 | func depositUsdtUsdnLP () = { | |
150 | 150 | let w = value(v.payments[0]) | |
151 | 151 | let x = w.amount | |
152 | 152 | if ((w.assetId != a)) | |
153 | 153 | then throw("attach USDTUSDNLP tokens only") | |
154 | 154 | else if (k) | |
155 | 155 | then throw("smart contract is on lock") | |
156 | 156 | else { | |
157 | 157 | let y = valueOrElse(getInteger(this, l), 0) | |
158 | 158 | let z = { | |
159 | 159 | let A = assetInfo(b) | |
160 | 160 | if ($isInstanceOf(A, "Asset")) | |
161 | 161 | then { | |
162 | 162 | let B = A | |
163 | 163 | B.quantity | |
164 | 164 | } | |
165 | 165 | else throw("Can't find asset") | |
166 | 166 | } | |
167 | 167 | let C = (x * (z / y)) | |
168 | 168 | let D = IntegerEntry(l, (y + x)) | |
169 | 169 | let E = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [w]) | |
170 | 170 | if ((E == E)) | |
171 | 171 | then { | |
172 | 172 | let F = Reissue(b, C, true) | |
173 | 173 | let G = ScriptTransfer(v.caller, C, b) | |
174 | 174 | [F, G, D] | |
175 | 175 | } | |
176 | 176 | else throw("Strict value is not equal to itself.") | |
177 | 177 | } | |
178 | 178 | } | |
179 | 179 | ||
180 | 180 | ||
181 | 181 | ||
182 | 182 | @Callable(v) | |
183 | 183 | func depositEthUsdnLP () = { | |
184 | 184 | let w = value(v.payments[0]) | |
185 | 185 | let x = w.amount | |
186 | 186 | if ((w.assetId != g)) | |
187 | 187 | then throw("attach ETHUSDNLP tokens only") | |
188 | 188 | else if (k) | |
189 | 189 | then throw("smart contract is on lock") | |
190 | 190 | else { | |
191 | 191 | let y = valueOrElse(getInteger(this, t), 0) | |
192 | 192 | let z = { | |
193 | 193 | let A = assetInfo(h) | |
194 | 194 | if ($isInstanceOf(A, "Asset")) | |
195 | 195 | then { | |
196 | 196 | let B = A | |
197 | 197 | B.quantity | |
198 | 198 | } | |
199 | 199 | else throw("Can't find asset") | |
200 | 200 | } | |
201 | 201 | let C = (x * ((z - assetBalance(this, h)) / y)) | |
202 | 202 | let D = IntegerEntry(t, (y + x)) | |
203 | 203 | let E = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [w]) | |
204 | 204 | if ((E == E)) | |
205 | 205 | then { | |
206 | 206 | let F = Reissue(h, C, true) | |
207 | 207 | let G = ScriptTransfer(v.caller, C, h) | |
208 | 208 | [F, G, D] | |
209 | 209 | } | |
210 | 210 | else throw("Strict value is not equal to itself.") | |
211 | 211 | } | |
212 | 212 | } | |
213 | 213 | ||
214 | 214 | ||
215 | 215 | ||
216 | 216 | @Callable(v) | |
217 | 217 | func compoundBTCUSDNLP () = { | |
218 | 218 | let H = value(v.payments[0]) | |
219 | 219 | let I = H.amount | |
220 | 220 | if ((H.assetId != i)) | |
221 | 221 | then throw("attach BTCUSDNLP tokens only") | |
222 | 222 | else { | |
223 | 223 | let J = valueOrElse(getInteger(this, s), 0) | |
224 | 224 | let K = valueOrElse(getInteger(this, r), 0) | |
225 | 225 | let L = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [H]) | |
226 | 226 | if ((L == L)) | |
227 | 227 | then { | |
228 | 228 | let D = IntegerEntry(r, (K + I)) | |
229 | 229 | let M = IntegerEntry(s, (J + I)) | |
230 | 230 | [D, M] | |
231 | 231 | } | |
232 | 232 | else throw("Strict value is not equal to itself.") | |
233 | 233 | } | |
234 | 234 | } | |
235 | 235 | ||
236 | 236 | ||
237 | 237 | ||
238 | 238 | @Callable(v) | |
239 | 239 | func compoundETHUSDNLP () = { | |
240 | 240 | let H = value(v.payments[0]) | |
241 | 241 | let I = H.amount | |
242 | 242 | if ((H.assetId != g)) | |
243 | 243 | then throw("attach ETHUSDNLP tokens only") | |
244 | 244 | else { | |
245 | 245 | let J = valueOrElse(getInteger(this, u), 0) | |
246 | 246 | let K = valueOrElse(getInteger(this, t), 0) | |
247 | 247 | let L = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [H]) | |
248 | 248 | if ((L == L)) | |
249 | 249 | then { | |
250 | 250 | let D = IntegerEntry(t, (K + I)) | |
251 | 251 | let M = IntegerEntry(u, (J + I)) | |
252 | 252 | [D, M] | |
253 | 253 | } | |
254 | 254 | else throw("Strict value is not equal to itself.") | |
255 | 255 | } | |
256 | 256 | } | |
257 | 257 | ||
258 | 258 | ||
259 | 259 | ||
260 | 260 | @Callable(v) | |
261 | 261 | func compoundWXUSDNLP () = { | |
262 | 262 | let H = value(v.payments[0]) | |
263 | 263 | let I = H.amount | |
264 | 264 | if ((H.assetId != c)) | |
265 | 265 | then throw("attach WXUSDNLP tokens only") | |
266 | 266 | else { | |
267 | 267 | let J = valueOrElse(getInteger(this, n), 0) | |
268 | 268 | let K = valueOrElse(getInteger(this, o), 0) | |
269 | 269 | let L = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [H]) | |
270 | 270 | if ((L == L)) | |
271 | 271 | then { | |
272 | 272 | let D = IntegerEntry(o, (K + I)) | |
273 | 273 | let M = IntegerEntry(n, (J + I)) | |
274 | 274 | [D, M] | |
275 | 275 | } | |
276 | 276 | else throw("Strict value is not equal to itself.") | |
277 | 277 | } | |
278 | 278 | } | |
279 | 279 | ||
280 | 280 | ||
281 | 281 | ||
282 | 282 | @Callable(v) | |
283 | 283 | func compoundUSDTUSDNLP () = { | |
284 | 284 | let H = value(v.payments[0]) | |
285 | 285 | let I = H.amount | |
286 | 286 | if ((H.assetId != a)) | |
287 | 287 | then throw("attach USDTUSDNLP tokens only") | |
288 | 288 | else { | |
289 | 289 | let J = valueOrElse(getInteger(this, m), 0) | |
290 | 290 | let K = valueOrElse(getInteger(this, l), 0) | |
291 | 291 | let L = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [H]) | |
292 | 292 | if ((L == L)) | |
293 | 293 | then { | |
294 | 294 | let D = IntegerEntry(l, (K + I)) | |
295 | 295 | let M = IntegerEntry(m, (J + I)) | |
296 | 296 | [D, M] | |
297 | 297 | } | |
298 | 298 | else throw("Strict value is not equal to itself.") | |
299 | 299 | } | |
300 | 300 | } | |
301 | 301 | ||
302 | 302 | ||
303 | 303 | ||
304 | 304 | @Callable(v) | |
305 | 305 | func compoundWAVESUSDNLP () = { | |
306 | 306 | let H = value(v.payments[0]) | |
307 | 307 | let I = H.amount | |
308 | 308 | if ((H.assetId != e)) | |
309 | 309 | then throw("attach WAVESUSDNLP tokens only") | |
310 | 310 | else { | |
311 | 311 | let J = valueOrElse(getInteger(this, q), 0) | |
312 | 312 | let K = valueOrElse(getInteger(this, p), 0) | |
313 | 313 | let L = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [H]) | |
314 | 314 | if ((L == L)) | |
315 | 315 | then { | |
316 | 316 | let D = IntegerEntry(p, (K + I)) | |
317 | 317 | let M = IntegerEntry(q, (J + I)) | |
318 | 318 | [D, M] | |
319 | 319 | } | |
320 | 320 | else throw("Strict value is not equal to itself.") | |
321 | 321 | } | |
322 | 322 | } | |
323 | 323 | ||
324 | 324 | ||
325 | 325 | ||
326 | 326 | @Callable(v) | |
327 | 327 | func initWX () = { | |
328 | 328 | let N = value(v.payments[0]) | |
329 | 329 | let O = N.amount | |
330 | 330 | if ((N.assetId != c)) | |
331 | 331 | then throw("Unexpected token") | |
332 | 332 | else { | |
333 | 333 | let P = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [N]) | |
334 | 334 | if ((P == P)) | |
335 | 335 | then { | |
336 | 336 | let Q = IntegerEntry(o, O) | |
337 | 337 | let R = IntegerEntry(n, 0) | |
338 | - | let S = Reissue(d, O, true) | |
339 | - | let T = ScriptTransfer(v.caller, O, d) | |
340 | - | [Q, R, S, T] | |
338 | + | [Q, R] | |
341 | 339 | } | |
342 | 340 | else throw("Strict value is not equal to itself.") | |
343 | 341 | } | |
344 | 342 | } | |
345 | 343 | ||
346 | 344 | ||
347 | 345 | ||
348 | 346 | @Callable(v) | |
349 | 347 | func initWAVES () = { | |
350 | 348 | let N = value(v.payments[0]) | |
351 | 349 | let O = N.amount | |
352 | 350 | if ((N.assetId != e)) | |
353 | 351 | then throw("Unexpected token") | |
354 | 352 | else { | |
355 | 353 | let P = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [N]) | |
356 | 354 | if ((P == P)) | |
357 | 355 | then { | |
358 | 356 | let Q = IntegerEntry(p, O) | |
359 | 357 | let R = IntegerEntry(q, 0) | |
360 | - | let F = Reissue(f, O, true) | |
361 | - | let U = ScriptTransfer(v.caller, O, f) | |
362 | - | [Q, R, F, U] | |
358 | + | [Q, R] | |
363 | 359 | } | |
364 | 360 | else throw("Strict value is not equal to itself.") | |
365 | 361 | } | |
366 | 362 | } | |
367 | 363 | ||
368 | 364 | ||
369 | 365 | ||
370 | 366 | @Callable(v) | |
371 | 367 | func initETH () = { | |
372 | 368 | let N = value(v.payments[0]) | |
373 | 369 | let O = N.amount | |
374 | 370 | if ((N.assetId != g)) | |
375 | 371 | then throw("Unexpected token") | |
376 | 372 | else { | |
377 | 373 | let P = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [N]) | |
378 | 374 | if ((P == P)) | |
379 | 375 | then { | |
380 | 376 | let Q = IntegerEntry(t, O) | |
381 | 377 | let R = IntegerEntry(u, 0) | |
382 | - | let | |
383 | - | let | |
384 | - | [Q, R, | |
378 | + | let S = Reissue(h, O, true) | |
379 | + | let T = ScriptTransfer(v.caller, O, h) | |
380 | + | [Q, R, S, T] | |
385 | 381 | } | |
386 | 382 | else throw("Strict value is not equal to itself.") | |
387 | 383 | } | |
388 | 384 | } | |
389 | 385 | ||
390 | 386 | ||
391 | 387 | ||
392 | 388 | @Callable(v) | |
393 | 389 | func initBTC () = { | |
394 | 390 | let N = value(v.payments[0]) | |
395 | 391 | let O = N.amount | |
396 | 392 | if ((N.assetId != i)) | |
397 | 393 | then throw("Unexpected token") | |
398 | 394 | else { | |
399 | 395 | let P = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [N]) | |
400 | 396 | if ((P == P)) | |
401 | 397 | then { | |
402 | 398 | let Q = IntegerEntry(r, O) | |
403 | 399 | let R = IntegerEntry(s, 0) | |
404 | 400 | let F = Reissue(j, O, true) | |
405 | - | let | |
406 | - | [Q, R, F, | |
401 | + | let U = ScriptTransfer(v.caller, O, j) | |
402 | + | [Q, R, F, U] | |
407 | 403 | } | |
408 | 404 | else throw("Strict value is not equal to itself.") | |
409 | 405 | } | |
410 | 406 | } | |
411 | 407 | ||
412 | 408 | ||
413 | - | @Verifier( | |
414 | - | func | |
409 | + | @Verifier(V) | |
410 | + | func W () = sigVerify(V.bodyBytes, V.proofs[0], V.senderPublicKey) | |
415 | 411 |
github/deemru/w8io/026f985 69.21 ms ◑