@snowbridge/contract-types 0.1.47-alpha.9 → 0.1.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +4 -37
- package/dist/{IGateway.d.ts → IGateway.sol/IGatewayV1.d.ts} +28 -90
- package/dist/IGateway.sol/IGatewayV1.d.ts.map +1 -0
- package/dist/IGateway.sol/IGatewayV2.d.ts +340 -0
- package/dist/IGateway.sol/IGatewayV2.d.ts.map +1 -0
- package/dist/IGateway.sol/IGatewayV2.js +2 -0
- package/dist/IGateway.sol/index.d.ts +3 -0
- package/dist/IGateway.sol/index.d.ts.map +1 -0
- package/dist/IGateway.sol/index.js +2 -0
- package/dist/factories/BeefyClient__factory.d.ts +1 -1
- package/dist/factories/BeefyClient__factory.js +1 -1
- package/dist/factories/{IGateway__factory.d.ts → IGateway.sol/IGatewayV1__factory.d.ts} +32 -70
- package/dist/factories/IGateway.sol/IGatewayV1__factory.d.ts.map +1 -0
- package/dist/factories/{IGateway__factory.js → IGateway.sol/IGatewayV1__factory.js} +33 -82
- package/dist/factories/IGateway.sol/IGatewayV2__factory.d.ts +411 -0
- package/dist/factories/IGateway.sol/IGatewayV2__factory.d.ts.map +1 -0
- package/dist/factories/IGateway.sol/IGatewayV2__factory.js +538 -0
- package/dist/factories/IGateway.sol/index.d.ts +3 -0
- package/dist/factories/IGateway.sol/index.d.ts.map +1 -0
- package/dist/factories/IGateway.sol/index.js +10 -0
- package/dist/factories/index.d.ts +1 -1
- package/dist/factories/index.d.ts.map +1 -1
- package/dist/factories/index.js +35 -3
- package/dist/index.d.ts +6 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -3
- package/package.json +2 -2
- package/dist/IGateway.d.ts.map +0 -1
- package/dist/factories/IGateway__factory.d.ts.map +0 -1
- /package/dist/{IGateway.js → IGateway.sol/IGatewayV1.js} +0 -0
|
@@ -0,0 +1,538 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* Autogenerated file. Do not edit manually. */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.IGatewayV2__factory = void 0;
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
|
+
{
|
|
10
|
+
type: "function",
|
|
11
|
+
name: "agentOf",
|
|
12
|
+
inputs: [
|
|
13
|
+
{
|
|
14
|
+
name: "agentID",
|
|
15
|
+
type: "bytes32",
|
|
16
|
+
internalType: "bytes32",
|
|
17
|
+
},
|
|
18
|
+
],
|
|
19
|
+
outputs: [
|
|
20
|
+
{
|
|
21
|
+
name: "",
|
|
22
|
+
type: "address",
|
|
23
|
+
internalType: "address",
|
|
24
|
+
},
|
|
25
|
+
],
|
|
26
|
+
stateMutability: "view",
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
type: "function",
|
|
30
|
+
name: "isTokenRegistered",
|
|
31
|
+
inputs: [
|
|
32
|
+
{
|
|
33
|
+
name: "token",
|
|
34
|
+
type: "address",
|
|
35
|
+
internalType: "address",
|
|
36
|
+
},
|
|
37
|
+
],
|
|
38
|
+
outputs: [
|
|
39
|
+
{
|
|
40
|
+
name: "",
|
|
41
|
+
type: "bool",
|
|
42
|
+
internalType: "bool",
|
|
43
|
+
},
|
|
44
|
+
],
|
|
45
|
+
stateMutability: "view",
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
type: "function",
|
|
49
|
+
name: "operatingMode",
|
|
50
|
+
inputs: [],
|
|
51
|
+
outputs: [
|
|
52
|
+
{
|
|
53
|
+
name: "",
|
|
54
|
+
type: "uint8",
|
|
55
|
+
internalType: "enum OperatingMode",
|
|
56
|
+
},
|
|
57
|
+
],
|
|
58
|
+
stateMutability: "view",
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
type: "function",
|
|
62
|
+
name: "v2_createAgent",
|
|
63
|
+
inputs: [
|
|
64
|
+
{
|
|
65
|
+
name: "id",
|
|
66
|
+
type: "bytes32",
|
|
67
|
+
internalType: "bytes32",
|
|
68
|
+
},
|
|
69
|
+
],
|
|
70
|
+
outputs: [],
|
|
71
|
+
stateMutability: "nonpayable",
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
type: "function",
|
|
75
|
+
name: "v2_isDispatched",
|
|
76
|
+
inputs: [
|
|
77
|
+
{
|
|
78
|
+
name: "nonce",
|
|
79
|
+
type: "uint64",
|
|
80
|
+
internalType: "uint64",
|
|
81
|
+
},
|
|
82
|
+
],
|
|
83
|
+
outputs: [
|
|
84
|
+
{
|
|
85
|
+
name: "",
|
|
86
|
+
type: "bool",
|
|
87
|
+
internalType: "bool",
|
|
88
|
+
},
|
|
89
|
+
],
|
|
90
|
+
stateMutability: "view",
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
type: "function",
|
|
94
|
+
name: "v2_outboundNonce",
|
|
95
|
+
inputs: [],
|
|
96
|
+
outputs: [
|
|
97
|
+
{
|
|
98
|
+
name: "",
|
|
99
|
+
type: "uint64",
|
|
100
|
+
internalType: "uint64",
|
|
101
|
+
},
|
|
102
|
+
],
|
|
103
|
+
stateMutability: "view",
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
type: "function",
|
|
107
|
+
name: "v2_registerToken",
|
|
108
|
+
inputs: [
|
|
109
|
+
{
|
|
110
|
+
name: "token",
|
|
111
|
+
type: "address",
|
|
112
|
+
internalType: "address",
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
name: "network",
|
|
116
|
+
type: "uint8",
|
|
117
|
+
internalType: "uint8",
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
name: "executionFee",
|
|
121
|
+
type: "uint128",
|
|
122
|
+
internalType: "uint128",
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
name: "relayerFee",
|
|
126
|
+
type: "uint128",
|
|
127
|
+
internalType: "uint128",
|
|
128
|
+
},
|
|
129
|
+
],
|
|
130
|
+
outputs: [],
|
|
131
|
+
stateMutability: "payable",
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
type: "function",
|
|
135
|
+
name: "v2_sendMessage",
|
|
136
|
+
inputs: [
|
|
137
|
+
{
|
|
138
|
+
name: "xcm",
|
|
139
|
+
type: "bytes",
|
|
140
|
+
internalType: "bytes",
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
name: "assets",
|
|
144
|
+
type: "bytes[]",
|
|
145
|
+
internalType: "bytes[]",
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
name: "claimer",
|
|
149
|
+
type: "bytes",
|
|
150
|
+
internalType: "bytes",
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
name: "executionFee",
|
|
154
|
+
type: "uint128",
|
|
155
|
+
internalType: "uint128",
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
name: "relayerFee",
|
|
159
|
+
type: "uint128",
|
|
160
|
+
internalType: "uint128",
|
|
161
|
+
},
|
|
162
|
+
],
|
|
163
|
+
outputs: [],
|
|
164
|
+
stateMutability: "payable",
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
type: "function",
|
|
168
|
+
name: "v2_submit",
|
|
169
|
+
inputs: [
|
|
170
|
+
{
|
|
171
|
+
name: "message",
|
|
172
|
+
type: "tuple",
|
|
173
|
+
internalType: "struct InboundMessage",
|
|
174
|
+
components: [
|
|
175
|
+
{
|
|
176
|
+
name: "origin",
|
|
177
|
+
type: "bytes32",
|
|
178
|
+
internalType: "bytes32",
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
name: "nonce",
|
|
182
|
+
type: "uint64",
|
|
183
|
+
internalType: "uint64",
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
name: "topic",
|
|
187
|
+
type: "bytes32",
|
|
188
|
+
internalType: "bytes32",
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
name: "commands",
|
|
192
|
+
type: "tuple[]",
|
|
193
|
+
internalType: "struct Command[]",
|
|
194
|
+
components: [
|
|
195
|
+
{
|
|
196
|
+
name: "kind",
|
|
197
|
+
type: "uint8",
|
|
198
|
+
internalType: "uint8",
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
name: "gas",
|
|
202
|
+
type: "uint64",
|
|
203
|
+
internalType: "uint64",
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
name: "payload",
|
|
207
|
+
type: "bytes",
|
|
208
|
+
internalType: "bytes",
|
|
209
|
+
},
|
|
210
|
+
],
|
|
211
|
+
},
|
|
212
|
+
],
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
name: "leafProof",
|
|
216
|
+
type: "bytes32[]",
|
|
217
|
+
internalType: "bytes32[]",
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
name: "headerProof",
|
|
221
|
+
type: "tuple",
|
|
222
|
+
internalType: "struct Verification.Proof",
|
|
223
|
+
components: [
|
|
224
|
+
{
|
|
225
|
+
name: "header",
|
|
226
|
+
type: "tuple",
|
|
227
|
+
internalType: "struct Verification.ParachainHeader",
|
|
228
|
+
components: [
|
|
229
|
+
{
|
|
230
|
+
name: "parentHash",
|
|
231
|
+
type: "bytes32",
|
|
232
|
+
internalType: "bytes32",
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
name: "number",
|
|
236
|
+
type: "uint256",
|
|
237
|
+
internalType: "uint256",
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
name: "stateRoot",
|
|
241
|
+
type: "bytes32",
|
|
242
|
+
internalType: "bytes32",
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
name: "extrinsicsRoot",
|
|
246
|
+
type: "bytes32",
|
|
247
|
+
internalType: "bytes32",
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
name: "digestItems",
|
|
251
|
+
type: "tuple[]",
|
|
252
|
+
internalType: "struct Verification.DigestItem[]",
|
|
253
|
+
components: [
|
|
254
|
+
{
|
|
255
|
+
name: "kind",
|
|
256
|
+
type: "uint256",
|
|
257
|
+
internalType: "uint256",
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
name: "consensusEngineID",
|
|
261
|
+
type: "bytes4",
|
|
262
|
+
internalType: "bytes4",
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
name: "data",
|
|
266
|
+
type: "bytes",
|
|
267
|
+
internalType: "bytes",
|
|
268
|
+
},
|
|
269
|
+
],
|
|
270
|
+
},
|
|
271
|
+
],
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
name: "headProof",
|
|
275
|
+
type: "tuple",
|
|
276
|
+
internalType: "struct Verification.HeadProof",
|
|
277
|
+
components: [
|
|
278
|
+
{
|
|
279
|
+
name: "pos",
|
|
280
|
+
type: "uint256",
|
|
281
|
+
internalType: "uint256",
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
name: "width",
|
|
285
|
+
type: "uint256",
|
|
286
|
+
internalType: "uint256",
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
name: "proof",
|
|
290
|
+
type: "bytes32[]",
|
|
291
|
+
internalType: "bytes32[]",
|
|
292
|
+
},
|
|
293
|
+
],
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
name: "leafPartial",
|
|
297
|
+
type: "tuple",
|
|
298
|
+
internalType: "struct Verification.MMRLeafPartial",
|
|
299
|
+
components: [
|
|
300
|
+
{
|
|
301
|
+
name: "version",
|
|
302
|
+
type: "uint8",
|
|
303
|
+
internalType: "uint8",
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
name: "parentNumber",
|
|
307
|
+
type: "uint32",
|
|
308
|
+
internalType: "uint32",
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
name: "parentHash",
|
|
312
|
+
type: "bytes32",
|
|
313
|
+
internalType: "bytes32",
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
name: "nextAuthoritySetID",
|
|
317
|
+
type: "uint64",
|
|
318
|
+
internalType: "uint64",
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
name: "nextAuthoritySetLen",
|
|
322
|
+
type: "uint32",
|
|
323
|
+
internalType: "uint32",
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
name: "nextAuthoritySetRoot",
|
|
327
|
+
type: "bytes32",
|
|
328
|
+
internalType: "bytes32",
|
|
329
|
+
},
|
|
330
|
+
],
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
name: "leafProof",
|
|
334
|
+
type: "bytes32[]",
|
|
335
|
+
internalType: "bytes32[]",
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
name: "leafProofOrder",
|
|
339
|
+
type: "uint256",
|
|
340
|
+
internalType: "uint256",
|
|
341
|
+
},
|
|
342
|
+
],
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
name: "rewardAddress",
|
|
346
|
+
type: "bytes32",
|
|
347
|
+
internalType: "bytes32",
|
|
348
|
+
},
|
|
349
|
+
],
|
|
350
|
+
outputs: [],
|
|
351
|
+
stateMutability: "nonpayable",
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
type: "event",
|
|
355
|
+
name: "AgentCreated",
|
|
356
|
+
inputs: [
|
|
357
|
+
{
|
|
358
|
+
name: "agentID",
|
|
359
|
+
type: "bytes32",
|
|
360
|
+
indexed: false,
|
|
361
|
+
internalType: "bytes32",
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
name: "agent",
|
|
365
|
+
type: "address",
|
|
366
|
+
indexed: false,
|
|
367
|
+
internalType: "address",
|
|
368
|
+
},
|
|
369
|
+
],
|
|
370
|
+
anonymous: false,
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
type: "event",
|
|
374
|
+
name: "InboundMessageDispatched",
|
|
375
|
+
inputs: [
|
|
376
|
+
{
|
|
377
|
+
name: "nonce",
|
|
378
|
+
type: "uint64",
|
|
379
|
+
indexed: true,
|
|
380
|
+
internalType: "uint64",
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
name: "topic",
|
|
384
|
+
type: "bytes32",
|
|
385
|
+
indexed: false,
|
|
386
|
+
internalType: "bytes32",
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
name: "success",
|
|
390
|
+
type: "bool",
|
|
391
|
+
indexed: false,
|
|
392
|
+
internalType: "bool",
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
name: "rewardAddress",
|
|
396
|
+
type: "bytes32",
|
|
397
|
+
indexed: false,
|
|
398
|
+
internalType: "bytes32",
|
|
399
|
+
},
|
|
400
|
+
],
|
|
401
|
+
anonymous: false,
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
type: "event",
|
|
405
|
+
name: "OutboundMessageAccepted",
|
|
406
|
+
inputs: [
|
|
407
|
+
{
|
|
408
|
+
name: "nonce",
|
|
409
|
+
type: "uint64",
|
|
410
|
+
indexed: false,
|
|
411
|
+
internalType: "uint64",
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
name: "payload",
|
|
415
|
+
type: "tuple",
|
|
416
|
+
indexed: false,
|
|
417
|
+
internalType: "struct Payload",
|
|
418
|
+
components: [
|
|
419
|
+
{
|
|
420
|
+
name: "origin",
|
|
421
|
+
type: "address",
|
|
422
|
+
internalType: "address",
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
name: "assets",
|
|
426
|
+
type: "tuple[]",
|
|
427
|
+
internalType: "struct Asset[]",
|
|
428
|
+
components: [
|
|
429
|
+
{
|
|
430
|
+
name: "kind",
|
|
431
|
+
type: "uint8",
|
|
432
|
+
internalType: "uint8",
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
name: "data",
|
|
436
|
+
type: "bytes",
|
|
437
|
+
internalType: "bytes",
|
|
438
|
+
},
|
|
439
|
+
],
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
name: "xcm",
|
|
443
|
+
type: "tuple",
|
|
444
|
+
internalType: "struct Xcm",
|
|
445
|
+
components: [
|
|
446
|
+
{
|
|
447
|
+
name: "kind",
|
|
448
|
+
type: "uint8",
|
|
449
|
+
internalType: "uint8",
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
name: "data",
|
|
453
|
+
type: "bytes",
|
|
454
|
+
internalType: "bytes",
|
|
455
|
+
},
|
|
456
|
+
],
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
name: "claimer",
|
|
460
|
+
type: "bytes",
|
|
461
|
+
internalType: "bytes",
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
name: "value",
|
|
465
|
+
type: "uint128",
|
|
466
|
+
internalType: "uint128",
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
name: "executionFee",
|
|
470
|
+
type: "uint128",
|
|
471
|
+
internalType: "uint128",
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
name: "relayerFee",
|
|
475
|
+
type: "uint128",
|
|
476
|
+
internalType: "uint128",
|
|
477
|
+
},
|
|
478
|
+
],
|
|
479
|
+
},
|
|
480
|
+
],
|
|
481
|
+
anonymous: false,
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
type: "error",
|
|
485
|
+
name: "AgentAlreadyExists",
|
|
486
|
+
inputs: [],
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
type: "error",
|
|
490
|
+
name: "ExceededMaximumValue",
|
|
491
|
+
inputs: [],
|
|
492
|
+
},
|
|
493
|
+
{
|
|
494
|
+
type: "error",
|
|
495
|
+
name: "InsufficientGasLimit",
|
|
496
|
+
inputs: [],
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
type: "error",
|
|
500
|
+
name: "InsufficientValue",
|
|
501
|
+
inputs: [],
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
type: "error",
|
|
505
|
+
name: "InvalidAsset",
|
|
506
|
+
inputs: [],
|
|
507
|
+
},
|
|
508
|
+
{
|
|
509
|
+
type: "error",
|
|
510
|
+
name: "InvalidFee",
|
|
511
|
+
inputs: [],
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
type: "error",
|
|
515
|
+
name: "InvalidNetwork",
|
|
516
|
+
inputs: [],
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
type: "error",
|
|
520
|
+
name: "ShouldNotReachHere",
|
|
521
|
+
inputs: [],
|
|
522
|
+
},
|
|
523
|
+
{
|
|
524
|
+
type: "error",
|
|
525
|
+
name: "TooManyAssets",
|
|
526
|
+
inputs: [],
|
|
527
|
+
},
|
|
528
|
+
];
|
|
529
|
+
class IGatewayV2__factory {
|
|
530
|
+
static createInterface() {
|
|
531
|
+
return new ethers_1.Interface(_abi);
|
|
532
|
+
}
|
|
533
|
+
static connect(address, runner) {
|
|
534
|
+
return new ethers_1.Contract(address, _abi, runner);
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
exports.IGatewayV2__factory = IGatewayV2__factory;
|
|
538
|
+
IGatewayV2__factory.abi = _abi;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/factories/IGateway.sol/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IGatewayV2__factory = exports.IGatewayV1__factory = void 0;
|
|
4
|
+
/* Autogenerated file. Do not edit manually. */
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
var IGatewayV1__factory_1 = require("./IGatewayV1__factory");
|
|
8
|
+
Object.defineProperty(exports, "IGatewayV1__factory", { enumerable: true, get: function () { return IGatewayV1__factory_1.IGatewayV1__factory; } });
|
|
9
|
+
var IGatewayV2__factory_1 = require("./IGatewayV2__factory");
|
|
10
|
+
Object.defineProperty(exports, "IGatewayV2__factory", { enumerable: true, get: function () { return IGatewayV2__factory_1.IGatewayV2__factory; } });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
export * as iGatewaySol from "./IGateway.sol";
|
|
1
2
|
export { BeefyClient__factory } from "./BeefyClient__factory";
|
|
2
3
|
export { IERC20__factory } from "./IERC20__factory";
|
|
3
4
|
export { IERC20Metadata__factory } from "./IERC20Metadata__factory";
|
|
4
|
-
export { IGateway__factory } from "./IGateway__factory";
|
|
5
5
|
export { WETH9__factory } from "./WETH9__factory";
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/factories/index.ts"],"names":[],"mappings":"AAGA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/factories/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,WAAW,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC"}
|
package/dist/factories/index.js
CHANGED
|
@@ -1,16 +1,48 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
2
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WETH9__factory = exports.
|
|
36
|
+
exports.WETH9__factory = exports.IERC20Metadata__factory = exports.IERC20__factory = exports.BeefyClient__factory = exports.iGatewaySol = void 0;
|
|
4
37
|
/* Autogenerated file. Do not edit manually. */
|
|
5
38
|
/* tslint:disable */
|
|
6
39
|
/* eslint-disable */
|
|
40
|
+
exports.iGatewaySol = __importStar(require("./IGateway.sol"));
|
|
7
41
|
var BeefyClient__factory_1 = require("./BeefyClient__factory");
|
|
8
42
|
Object.defineProperty(exports, "BeefyClient__factory", { enumerable: true, get: function () { return BeefyClient__factory_1.BeefyClient__factory; } });
|
|
9
43
|
var IERC20__factory_1 = require("./IERC20__factory");
|
|
10
44
|
Object.defineProperty(exports, "IERC20__factory", { enumerable: true, get: function () { return IERC20__factory_1.IERC20__factory; } });
|
|
11
45
|
var IERC20Metadata__factory_1 = require("./IERC20Metadata__factory");
|
|
12
46
|
Object.defineProperty(exports, "IERC20Metadata__factory", { enumerable: true, get: function () { return IERC20Metadata__factory_1.IERC20Metadata__factory; } });
|
|
13
|
-
var IGateway__factory_1 = require("./IGateway__factory");
|
|
14
|
-
Object.defineProperty(exports, "IGateway__factory", { enumerable: true, get: function () { return IGateway__factory_1.IGateway__factory; } });
|
|
15
47
|
var WETH9__factory_1 = require("./WETH9__factory");
|
|
16
48
|
Object.defineProperty(exports, "WETH9__factory", { enumerable: true, get: function () { return WETH9__factory_1.WETH9__factory; } });
|
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
|
+
import type * as iGatewaySol from "./IGateway.sol";
|
|
2
|
+
export type { iGatewaySol };
|
|
1
3
|
export type { BeefyClient } from "./BeefyClient";
|
|
2
4
|
export type { IERC20 } from "./IERC20";
|
|
3
5
|
export type { IERC20Metadata } from "./IERC20Metadata";
|
|
4
|
-
export type { IGateway } from "./IGateway";
|
|
5
6
|
export type { WETH9 } from "./WETH9";
|
|
6
7
|
export * as factories from "./factories";
|
|
7
8
|
export { BeefyClient__factory } from "./factories/BeefyClient__factory";
|
|
8
9
|
export { IERC20__factory } from "./factories/IERC20__factory";
|
|
9
10
|
export { IERC20Metadata__factory } from "./factories/IERC20Metadata__factory";
|
|
10
|
-
export {
|
|
11
|
+
export type { IGatewayV1 } from "./IGateway.sol/IGatewayV1";
|
|
12
|
+
export { IGatewayV1__factory } from "./factories/IGateway.sol/IGatewayV1__factory";
|
|
13
|
+
export type { IGatewayV2 } from "./IGateway.sol/IGatewayV2";
|
|
14
|
+
export { IGatewayV2__factory } from "./factories/IGateway.sol/IGatewayV2__factory";
|
|
11
15
|
export { WETH9__factory } from "./factories/WETH9__factory";
|
|
12
16
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,YAAY,EAAE,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,WAAW,MAAM,gBAAgB,CAAC;AACnD,YAAY,EAAE,WAAW,EAAE,CAAC;AAC5B,YAAY,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,YAAY,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AACvC,YAAY,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,YAAY,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,KAAK,SAAS,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,YAAY,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AACnF,YAAY,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AACnF,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -33,7 +33,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.WETH9__factory = exports.
|
|
36
|
+
exports.WETH9__factory = exports.IGatewayV2__factory = exports.IGatewayV1__factory = exports.IERC20Metadata__factory = exports.IERC20__factory = exports.BeefyClient__factory = exports.factories = void 0;
|
|
37
37
|
exports.factories = __importStar(require("./factories"));
|
|
38
38
|
var BeefyClient__factory_1 = require("./factories/BeefyClient__factory");
|
|
39
39
|
Object.defineProperty(exports, "BeefyClient__factory", { enumerable: true, get: function () { return BeefyClient__factory_1.BeefyClient__factory; } });
|
|
@@ -41,7 +41,9 @@ var IERC20__factory_1 = require("./factories/IERC20__factory");
|
|
|
41
41
|
Object.defineProperty(exports, "IERC20__factory", { enumerable: true, get: function () { return IERC20__factory_1.IERC20__factory; } });
|
|
42
42
|
var IERC20Metadata__factory_1 = require("./factories/IERC20Metadata__factory");
|
|
43
43
|
Object.defineProperty(exports, "IERC20Metadata__factory", { enumerable: true, get: function () { return IERC20Metadata__factory_1.IERC20Metadata__factory; } });
|
|
44
|
-
var
|
|
45
|
-
Object.defineProperty(exports, "
|
|
44
|
+
var IGatewayV1__factory_1 = require("./factories/IGateway.sol/IGatewayV1__factory");
|
|
45
|
+
Object.defineProperty(exports, "IGatewayV1__factory", { enumerable: true, get: function () { return IGatewayV1__factory_1.IGatewayV1__factory; } });
|
|
46
|
+
var IGatewayV2__factory_1 = require("./factories/IGateway.sol/IGatewayV2__factory");
|
|
47
|
+
Object.defineProperty(exports, "IGatewayV2__factory", { enumerable: true, get: function () { return IGatewayV2__factory_1.IGatewayV2__factory; } });
|
|
46
48
|
var WETH9__factory_1 = require("./factories/WETH9__factory");
|
|
47
49
|
Object.defineProperty(exports, "WETH9__factory", { enumerable: true, get: function () { return WETH9__factory_1.WETH9__factory; } });
|