@sentio/sdk 1.7.20 → 1.7.22
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/lib/builtin/erc20/index.d.ts +1 -1
- package/lib/builtin/erc20/index.js +1 -1
- package/lib/builtin/erc20/index.js.map +1 -1
- package/lib/builtin/erc20/test-utils.d.ts +2 -1
- package/lib/builtin/erc20/test-utils.js +14 -3
- package/lib/builtin/erc20/test-utils.js.map +1 -1
- package/lib/builtin/erc20bytes/index.d.ts +2 -0
- package/lib/builtin/erc20bytes/index.js +22 -0
- package/lib/builtin/erc20bytes/index.js.map +1 -0
- package/lib/builtin/erc20bytes/test-utils.d.ts +4 -0
- package/lib/builtin/erc20bytes/test-utils.js +35 -0
- package/lib/builtin/erc20bytes/test-utils.js.map +1 -0
- package/lib/builtin/internal/ERC20.d.ts +307 -0
- package/lib/builtin/internal/{Weth9.js → ERC20.js} +1 -1
- package/lib/builtin/internal/ERC20.js.map +1 -0
- package/lib/builtin/internal/{Erc20.d.ts → ERC20Bytes.d.ts} +62 -46
- package/lib/builtin/internal/ERC20Bytes.js +3 -0
- package/lib/builtin/internal/ERC20Bytes.js.map +1 -0
- package/lib/builtin/internal/{Weth9.d.ts → WETH9.d.ts} +3 -3
- package/lib/builtin/internal/{Erc20.js → WETH9.js} +1 -1
- package/lib/builtin/internal/{Weth9.js.map → WETH9.js.map} +1 -1
- package/lib/builtin/internal/erc20_processor.d.ts +28 -16
- package/lib/builtin/internal/erc20_processor.js +168 -32
- package/lib/builtin/internal/erc20_processor.js.map +1 -1
- package/lib/builtin/internal/erc20bytes_processor.d.ts +42 -0
- package/lib/builtin/internal/erc20bytes_processor.js +271 -0
- package/lib/builtin/internal/erc20bytes_processor.js.map +1 -0
- package/lib/builtin/internal/factories/ERC20Bytes__factory.d.ts +48 -0
- package/lib/builtin/internal/factories/{Erc20__factory.js → ERC20Bytes__factory.js} +127 -89
- package/lib/builtin/internal/factories/ERC20Bytes__factory.js.map +1 -0
- package/lib/builtin/internal/factories/{Erc20__factory.d.ts → ERC20__factory.d.ts} +12 -5
- package/lib/builtin/internal/factories/ERC20__factory.js +404 -0
- package/lib/builtin/internal/factories/ERC20__factory.js.map +1 -0
- package/lib/builtin/internal/factories/{Weth9__factory.d.ts → WETH9__factory.d.ts} +4 -4
- package/lib/builtin/internal/factories/{Weth9__factory.js → WETH9__factory.js} +4 -4
- package/lib/builtin/internal/factories/{Weth9__factory.js.map → WETH9__factory.js.map} +1 -1
- package/lib/builtin/internal/factories/index.d.ts +3 -2
- package/lib/builtin/internal/factories/index.js +7 -5
- package/lib/builtin/internal/factories/index.js.map +1 -1
- package/lib/builtin/internal/index.d.ts +6 -4
- package/lib/builtin/internal/index.js +7 -5
- package/lib/builtin/internal/index.js.map +1 -1
- package/lib/builtin/internal/weth9_processor.d.ts +20 -20
- package/lib/builtin/internal/weth9_processor.js +36 -36
- package/lib/builtin/internal/weth9_processor.js.map +1 -1
- package/lib/builtin/weth9/index.d.ts +1 -1
- package/lib/builtin/weth9/index.js +1 -1
- package/lib/builtin/weth9/index.js.map +1 -1
- package/lib/builtin/weth9/test-utils.js +4 -4
- package/lib/builtin/weth9/test-utils.js.map +1 -1
- package/lib/processor-runner.js +0 -2
- package/lib/processor-runner.js.map +1 -1
- package/lib/test/erc20-template.js +3 -3
- package/lib/test/erc20-template.js.map +1 -1
- package/lib/test/erc20.js +8 -8
- package/lib/test/erc20.js.map +1 -1
- package/lib/test/erc20.test.js +3 -3
- package/lib/test/erc20.test.js.map +1 -1
- package/lib/utils/erc20.d.ts +14 -0
- package/lib/utils/erc20.js +62 -0
- package/lib/utils/erc20.js.map +1 -0
- package/lib/utils/erc20.test.d.ts +1 -0
- package/lib/utils/erc20.test.js +28 -0
- package/lib/utils/erc20.test.js.map +1 -0
- package/lib/utils/index.d.ts +1 -0
- package/lib/utils/index.js +6 -1
- package/lib/utils/index.js.map +1 -1
- package/package.json +1 -1
- package/src/abis/ERC20.json +174 -0
- package/src/abis/{erc20.json → ERC20Bytes.json} +124 -86
- package/src/abis/{weth9.json → WETH9.json} +0 -0
- package/src/builtin/erc20/index.ts +1 -1
- package/src/builtin/erc20/test-utils.ts +25 -3
- package/src/builtin/erc20bytes/index.ts +6 -0
- package/src/builtin/erc20bytes/test-utils.ts +53 -0
- package/src/builtin/internal/ERC20.ts +679 -0
- package/src/builtin/internal/{Erc20.ts → ERC20Bytes.ts} +138 -110
- package/src/builtin/internal/{Weth9.ts → WETH9.ts} +3 -3
- package/src/builtin/internal/erc20_processor.ts +188 -44
- package/src/builtin/internal/erc20bytes_processor.ts +362 -0
- package/src/builtin/internal/factories/{Erc20__factory.ts → ERC20Bytes__factory.ts} +132 -91
- package/src/builtin/internal/factories/ERC20__factory.ts +404 -0
- package/src/builtin/internal/factories/{Weth9__factory.ts → WETH9__factory.ts} +6 -6
- package/src/builtin/internal/factories/index.ts +3 -2
- package/src/builtin/internal/index.ts +6 -4
- package/src/builtin/internal/weth9_processor.ts +52 -52
- package/src/builtin/weth9/index.ts +1 -1
- package/src/builtin/weth9/test-utils.ts +5 -5
- package/src/processor-runner.ts +0 -3
- package/src/test/erc20-template.ts +4 -4
- package/src/test/erc20.test.ts +3 -3
- package/src/test/erc20.ts +9 -9
- package/src/utils/erc20.test.ts +31 -0
- package/src/utils/erc20.ts +66 -0
- package/src/utils/index.ts +1 -0
- package/lib/builtin/internal/Erc20.js.map +0 -1
- package/lib/builtin/internal/factories/Erc20__factory.js.map +0 -1
|
@@ -0,0 +1,404 @@
|
|
|
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.ERC20__factory = void 0;
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
|
+
{
|
|
10
|
+
inputs: [],
|
|
11
|
+
stateMutability: "nonpayable",
|
|
12
|
+
type: "constructor",
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
anonymous: false,
|
|
16
|
+
inputs: [
|
|
17
|
+
{
|
|
18
|
+
indexed: true,
|
|
19
|
+
internalType: "address",
|
|
20
|
+
name: "owner",
|
|
21
|
+
type: "address",
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
indexed: true,
|
|
25
|
+
internalType: "address",
|
|
26
|
+
name: "spender",
|
|
27
|
+
type: "address",
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
indexed: false,
|
|
31
|
+
internalType: "uint256",
|
|
32
|
+
name: "value",
|
|
33
|
+
type: "uint256",
|
|
34
|
+
},
|
|
35
|
+
],
|
|
36
|
+
name: "Approval",
|
|
37
|
+
type: "event",
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
anonymous: false,
|
|
41
|
+
inputs: [
|
|
42
|
+
{
|
|
43
|
+
indexed: true,
|
|
44
|
+
internalType: "address",
|
|
45
|
+
name: "previousOwner",
|
|
46
|
+
type: "address",
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
indexed: true,
|
|
50
|
+
internalType: "address",
|
|
51
|
+
name: "newOwner",
|
|
52
|
+
type: "address",
|
|
53
|
+
},
|
|
54
|
+
],
|
|
55
|
+
name: "OwnershipTransferred",
|
|
56
|
+
type: "event",
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
anonymous: false,
|
|
60
|
+
inputs: [
|
|
61
|
+
{
|
|
62
|
+
indexed: true,
|
|
63
|
+
internalType: "address",
|
|
64
|
+
name: "from",
|
|
65
|
+
type: "address",
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
indexed: true,
|
|
69
|
+
internalType: "address",
|
|
70
|
+
name: "to",
|
|
71
|
+
type: "address",
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
indexed: false,
|
|
75
|
+
internalType: "uint256",
|
|
76
|
+
name: "value",
|
|
77
|
+
type: "uint256",
|
|
78
|
+
},
|
|
79
|
+
],
|
|
80
|
+
name: "Transfer",
|
|
81
|
+
type: "event",
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
inputs: [
|
|
85
|
+
{
|
|
86
|
+
internalType: "address",
|
|
87
|
+
name: "owner",
|
|
88
|
+
type: "address",
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
internalType: "address",
|
|
92
|
+
name: "spender",
|
|
93
|
+
type: "address",
|
|
94
|
+
},
|
|
95
|
+
],
|
|
96
|
+
name: "allowance",
|
|
97
|
+
outputs: [
|
|
98
|
+
{
|
|
99
|
+
internalType: "uint256",
|
|
100
|
+
name: "",
|
|
101
|
+
type: "uint256",
|
|
102
|
+
},
|
|
103
|
+
],
|
|
104
|
+
stateMutability: "view",
|
|
105
|
+
type: "function",
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
inputs: [
|
|
109
|
+
{
|
|
110
|
+
internalType: "address",
|
|
111
|
+
name: "spender",
|
|
112
|
+
type: "address",
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
internalType: "uint256",
|
|
116
|
+
name: "amount",
|
|
117
|
+
type: "uint256",
|
|
118
|
+
},
|
|
119
|
+
],
|
|
120
|
+
name: "approve",
|
|
121
|
+
outputs: [
|
|
122
|
+
{
|
|
123
|
+
internalType: "bool",
|
|
124
|
+
name: "",
|
|
125
|
+
type: "bool",
|
|
126
|
+
},
|
|
127
|
+
],
|
|
128
|
+
stateMutability: "nonpayable",
|
|
129
|
+
type: "function",
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
inputs: [
|
|
133
|
+
{
|
|
134
|
+
internalType: "address",
|
|
135
|
+
name: "account",
|
|
136
|
+
type: "address",
|
|
137
|
+
},
|
|
138
|
+
],
|
|
139
|
+
name: "balanceOf",
|
|
140
|
+
outputs: [
|
|
141
|
+
{
|
|
142
|
+
internalType: "uint256",
|
|
143
|
+
name: "",
|
|
144
|
+
type: "uint256",
|
|
145
|
+
},
|
|
146
|
+
],
|
|
147
|
+
stateMutability: "view",
|
|
148
|
+
type: "function",
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
inputs: [
|
|
152
|
+
{
|
|
153
|
+
internalType: "uint256",
|
|
154
|
+
name: "amount",
|
|
155
|
+
type: "uint256",
|
|
156
|
+
},
|
|
157
|
+
],
|
|
158
|
+
name: "burn",
|
|
159
|
+
outputs: [],
|
|
160
|
+
stateMutability: "nonpayable",
|
|
161
|
+
type: "function",
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
inputs: [
|
|
165
|
+
{
|
|
166
|
+
internalType: "address",
|
|
167
|
+
name: "account",
|
|
168
|
+
type: "address",
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
internalType: "uint256",
|
|
172
|
+
name: "amount",
|
|
173
|
+
type: "uint256",
|
|
174
|
+
},
|
|
175
|
+
],
|
|
176
|
+
name: "burnFrom",
|
|
177
|
+
outputs: [],
|
|
178
|
+
stateMutability: "nonpayable",
|
|
179
|
+
type: "function",
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
inputs: [],
|
|
183
|
+
name: "decimals",
|
|
184
|
+
outputs: [
|
|
185
|
+
{
|
|
186
|
+
internalType: "uint8",
|
|
187
|
+
name: "",
|
|
188
|
+
type: "uint8",
|
|
189
|
+
},
|
|
190
|
+
],
|
|
191
|
+
stateMutability: "view",
|
|
192
|
+
type: "function",
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
inputs: [
|
|
196
|
+
{
|
|
197
|
+
internalType: "address",
|
|
198
|
+
name: "spender",
|
|
199
|
+
type: "address",
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
internalType: "uint256",
|
|
203
|
+
name: "subtractedValue",
|
|
204
|
+
type: "uint256",
|
|
205
|
+
},
|
|
206
|
+
],
|
|
207
|
+
name: "decreaseAllowance",
|
|
208
|
+
outputs: [
|
|
209
|
+
{
|
|
210
|
+
internalType: "bool",
|
|
211
|
+
name: "",
|
|
212
|
+
type: "bool",
|
|
213
|
+
},
|
|
214
|
+
],
|
|
215
|
+
stateMutability: "nonpayable",
|
|
216
|
+
type: "function",
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
inputs: [
|
|
220
|
+
{
|
|
221
|
+
internalType: "address",
|
|
222
|
+
name: "spender",
|
|
223
|
+
type: "address",
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
internalType: "uint256",
|
|
227
|
+
name: "addedValue",
|
|
228
|
+
type: "uint256",
|
|
229
|
+
},
|
|
230
|
+
],
|
|
231
|
+
name: "increaseAllowance",
|
|
232
|
+
outputs: [
|
|
233
|
+
{
|
|
234
|
+
internalType: "bool",
|
|
235
|
+
name: "",
|
|
236
|
+
type: "bool",
|
|
237
|
+
},
|
|
238
|
+
],
|
|
239
|
+
stateMutability: "nonpayable",
|
|
240
|
+
type: "function",
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
inputs: [],
|
|
244
|
+
name: "locker",
|
|
245
|
+
outputs: [
|
|
246
|
+
{
|
|
247
|
+
internalType: "contract ILocker",
|
|
248
|
+
name: "",
|
|
249
|
+
type: "address",
|
|
250
|
+
},
|
|
251
|
+
],
|
|
252
|
+
stateMutability: "view",
|
|
253
|
+
type: "function",
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
inputs: [],
|
|
257
|
+
name: "name",
|
|
258
|
+
outputs: [
|
|
259
|
+
{
|
|
260
|
+
internalType: "string",
|
|
261
|
+
name: "",
|
|
262
|
+
type: "string",
|
|
263
|
+
},
|
|
264
|
+
],
|
|
265
|
+
stateMutability: "view",
|
|
266
|
+
type: "function",
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
inputs: [],
|
|
270
|
+
name: "owner",
|
|
271
|
+
outputs: [
|
|
272
|
+
{
|
|
273
|
+
internalType: "address",
|
|
274
|
+
name: "",
|
|
275
|
+
type: "address",
|
|
276
|
+
},
|
|
277
|
+
],
|
|
278
|
+
stateMutability: "view",
|
|
279
|
+
type: "function",
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
inputs: [],
|
|
283
|
+
name: "renounceOwnership",
|
|
284
|
+
outputs: [],
|
|
285
|
+
stateMutability: "nonpayable",
|
|
286
|
+
type: "function",
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
inputs: [
|
|
290
|
+
{
|
|
291
|
+
internalType: "address",
|
|
292
|
+
name: "_locker",
|
|
293
|
+
type: "address",
|
|
294
|
+
},
|
|
295
|
+
],
|
|
296
|
+
name: "setLocker",
|
|
297
|
+
outputs: [],
|
|
298
|
+
stateMutability: "nonpayable",
|
|
299
|
+
type: "function",
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
inputs: [],
|
|
303
|
+
name: "symbol",
|
|
304
|
+
outputs: [
|
|
305
|
+
{
|
|
306
|
+
internalType: "string",
|
|
307
|
+
name: "",
|
|
308
|
+
type: "string",
|
|
309
|
+
},
|
|
310
|
+
],
|
|
311
|
+
stateMutability: "view",
|
|
312
|
+
type: "function",
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
inputs: [],
|
|
316
|
+
name: "totalSupply",
|
|
317
|
+
outputs: [
|
|
318
|
+
{
|
|
319
|
+
internalType: "uint256",
|
|
320
|
+
name: "",
|
|
321
|
+
type: "uint256",
|
|
322
|
+
},
|
|
323
|
+
],
|
|
324
|
+
stateMutability: "view",
|
|
325
|
+
type: "function",
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
inputs: [
|
|
329
|
+
{
|
|
330
|
+
internalType: "address",
|
|
331
|
+
name: "recipient",
|
|
332
|
+
type: "address",
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
internalType: "uint256",
|
|
336
|
+
name: "amount",
|
|
337
|
+
type: "uint256",
|
|
338
|
+
},
|
|
339
|
+
],
|
|
340
|
+
name: "transfer",
|
|
341
|
+
outputs: [
|
|
342
|
+
{
|
|
343
|
+
internalType: "bool",
|
|
344
|
+
name: "",
|
|
345
|
+
type: "bool",
|
|
346
|
+
},
|
|
347
|
+
],
|
|
348
|
+
stateMutability: "nonpayable",
|
|
349
|
+
type: "function",
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
inputs: [
|
|
353
|
+
{
|
|
354
|
+
internalType: "address",
|
|
355
|
+
name: "sender",
|
|
356
|
+
type: "address",
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
internalType: "address",
|
|
360
|
+
name: "recipient",
|
|
361
|
+
type: "address",
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
internalType: "uint256",
|
|
365
|
+
name: "amount",
|
|
366
|
+
type: "uint256",
|
|
367
|
+
},
|
|
368
|
+
],
|
|
369
|
+
name: "transferFrom",
|
|
370
|
+
outputs: [
|
|
371
|
+
{
|
|
372
|
+
internalType: "bool",
|
|
373
|
+
name: "",
|
|
374
|
+
type: "bool",
|
|
375
|
+
},
|
|
376
|
+
],
|
|
377
|
+
stateMutability: "nonpayable",
|
|
378
|
+
type: "function",
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
inputs: [
|
|
382
|
+
{
|
|
383
|
+
internalType: "address",
|
|
384
|
+
name: "newOwner",
|
|
385
|
+
type: "address",
|
|
386
|
+
},
|
|
387
|
+
],
|
|
388
|
+
name: "transferOwnership",
|
|
389
|
+
outputs: [],
|
|
390
|
+
stateMutability: "nonpayable",
|
|
391
|
+
type: "function",
|
|
392
|
+
},
|
|
393
|
+
];
|
|
394
|
+
class ERC20__factory {
|
|
395
|
+
static abi = _abi;
|
|
396
|
+
static createInterface() {
|
|
397
|
+
return new ethers_1.utils.Interface(_abi);
|
|
398
|
+
}
|
|
399
|
+
static connect(address, signerOrProvider) {
|
|
400
|
+
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
exports.ERC20__factory = ERC20__factory;
|
|
404
|
+
//# sourceMappingURL=ERC20__factory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ERC20__factory.js","sourceRoot":"","sources":["../../../../src/builtin/internal/factories/ERC20__factory.ts"],"names":[],"mappings":";AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;;;AAEpB,mCAAiD;AAIjD,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE,EAAE;QACV,eAAe,EAAE,YAAY;QAC7B,IAAI,EAAE,aAAa;KACpB;IACD;QACE,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE;YACN;gBACE,OAAO,EAAE,IAAI;gBACb,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,OAAO,EAAE,IAAI;gBACb,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,OAAO,EAAE,KAAK;gBACd,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,OAAO;KACd;IACD;QACE,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE;YACN;gBACE,OAAO,EAAE,IAAI;gBACb,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,eAAe;gBACrB,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,OAAO,EAAE,IAAI;gBACb,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,sBAAsB;QAC5B,IAAI,EAAE,OAAO;KACd;IACD;QACE,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE;YACN;gBACE,OAAO,EAAE,IAAI;gBACb,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,OAAO,EAAE,IAAI;gBACb,YAAY,EA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AAI,EAAE,MAAM;aACb;SACF;QACD,eAAe,EAAE,YAAY;QAC7B,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,mBAAmB;QACzB,OAAO,EAAE,EAAE;QACX,eAAe,EAAE,YAAY;QAC7B,IAAI,EAAE,UAAU;KACjB;CACF,CAAC;AAEF,MAAa,cAAc;IACzB,MAAM,CAAU,GAAG,GAAG,IAAI,CAAC;IAC3B,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,cAAK,CAAC,SAAS,CAAC,IAAI,CAAmB,CAAC;IACrD,CAAC;IACD,MAAM,CAAC,OAAO,CAAC,OAAe,EAAE,gBAAmC;QACjE,OAAO,IAAI,iBAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,gBAAgB,CAAU,CAAC;IAChE,CAAC;;AAPH,wCAQC","sourcesContent":["/* Autogenerated file. Do not edit manually. */\n/* tslint:disable */\n/* eslint-disable */\n\nimport { Contract, Signer, utils } from \"ethers\";\nimport type { Provider } from \"@ethersproject/providers\";\nimport type { ERC20, ERC20Interface } from \"../ERC20\";\n\nconst _abi = [\n {\n inputs: [],\n stateMutability: \"nonpayable\",\n type: \"constructor\",\n },\n {\n anonymous: false,\n inputs: [\n {\n indexed: true,\n internalType: \"address\",\n name: \"owner\",\n type: \"address\",\n },\n {\n indexed: true,\n internalType: \"address\",\n name: \"spender\",\n type: \"address\",\n },\n {\n indexed: false,\n internalType: \"uint256\",\n name: \"value\",\n type: \"uint256\",\n },\n ],\n name: \"Approval\",\n type: \"event\",\n },\n {\n anonymous: false,\n inputs: [\n {\n indexed: true,\n internalType: \"address\",\n name: \"previousOwner\",\n type: \"address\",\n },\n {\n indexed: true,\n internalType: \"address\",\n name: \"newOwner\",\n type: \"address\",\n },\n ],\n name: \"OwnershipTransferred\",\n type: \"event\",\n },\n {\n anonymous: false,\n inputs: [\n {\n indexed: true,\n internalType: \"address\",\n name: \"from\",\n type: \"address\",\n },\n {\n indexed: true,\n internalType: \"address\",\n name: \"to\",\n type: \"address\",\n },\n {\n indexed: false,\n internalType: \"uint256\",\n name: \"value\",\n type: \"uint256\",\n },\n ],\n name: \"Transfer\",\n type: \"event\",\n },\n {\n inputs: [\n {\n internalType: \"address\",\n name: \"owner\",\n type: \"address\",\n },\n {\n internalType: \"address\",\n name: \"spender\",\n type: \"address\",\n },\n ],\n name: \"allowance\",\n outputs: [\n {\n internalType: \"uint256\",\n name: \"\",\n type: \"uint256\",\n },\n ],\n stateMutability: \"view\",\n type: \"function\",\n },\n {\n inputs: [\n {\n internalType: \"address\",\n name: \"spender\",\n type: \"address\",\n },\n {\n internalType: \"uint256\",\n name: \"amount\",\n type: \"uint256\",\n },\n ],\n name: \"approve\",\n outputs: [\n {\n internalType: \"bool\",\n name: \"\",\n type: \"bool\",\n },\n ],\n stateMutability: \"nonpayable\",\n type: \"function\",\n },\n {\n inputs: [\n {\n internalType: \"address\",\n name: \"account\",\n type: \"address\",\n },\n ],\n name: \"balanceOf\",\n outputs: [\n {\n internalType: \"uint256\",\n name: \"\",\n type: \"uint256\",\n },\n ],\n stateMutability: \"view\",\n type: \"function\",\n },\n {\n inputs: [\n {\n internalType: \"uint256\",\n name: \"amount\",\n type: \"uint256\",\n },\n ],\n name: \"burn\",\n outputs: [],\n stateMutability: \"nonpayable\",\n type: \"function\",\n },\n {\n inputs: [\n {\n internalType: \"address\",\n name: \"account\",\n type: \"address\",\n },\n {\n internalType: \"uint256\",\n name: \"amount\",\n type: \"uint256\",\n },\n ],\n name: \"burnFrom\",\n outputs: [],\n stateMutability: \"nonpayable\",\n type: \"function\",\n },\n {\n inputs: [],\n name: \"decimals\",\n outputs: [\n {\n internalType: \"uint8\",\n name: \"\",\n type: \"uint8\",\n },\n ],\n stateMutability: \"view\",\n type: \"function\",\n },\n {\n inputs: [\n {\n internalType: \"address\",\n name: \"spender\",\n type: \"address\",\n },\n {\n internalType: \"uint256\",\n name: \"subtractedValue\",\n type: \"uint256\",\n },\n ],\n name: \"decreaseAllowance\",\n outputs: [\n {\n internalType: \"bool\",\n name: \"\",\n type: \"bool\",\n },\n ],\n stateMutability: \"nonpayable\",\n type: \"function\",\n },\n {\n inputs: [\n {\n internalType: \"address\",\n name: \"spender\",\n type: \"address\",\n },\n {\n internalType: \"uint256\",\n name: \"addedValue\",\n type: \"uint256\",\n },\n ],\n name: \"increaseAllowance\",\n outputs: [\n {\n internalType: \"bool\",\n name: \"\",\n type: \"bool\",\n },\n ],\n stateMutability: \"nonpayable\",\n type: \"function\",\n },\n {\n inputs: [],\n name: \"locker\",\n outputs: [\n {\n internalType: \"contract ILocker\",\n name: \"\",\n type: \"address\",\n },\n ],\n stateMutability: \"view\",\n type: \"function\",\n },\n {\n inputs: [],\n name: \"name\",\n outputs: [\n {\n internalType: \"string\",\n name: \"\",\n type: \"string\",\n },\n ],\n stateMutability: \"view\",\n type: \"function\",\n },\n {\n inputs: [],\n name: \"owner\",\n outputs: [\n {\n internalType: \"address\",\n name: \"\",\n type: \"address\",\n },\n ],\n stateMutability: \"view\",\n type: \"function\",\n },\n {\n inputs: [],\n name: \"renounceOwnership\",\n outputs: [],\n stateMutability: \"nonpayable\",\n type: \"function\",\n },\n {\n inputs: [\n {\n internalType: \"address\",\n name: \"_locker\",\n type: \"address\",\n },\n ],\n name: \"setLocker\",\n outputs: [],\n stateMutability: \"nonpayable\",\n type: \"function\",\n },\n {\n inputs: [],\n name: \"symbol\",\n outputs: [\n {\n internalType: \"string\",\n name: \"\",\n type: \"string\",\n },\n ],\n stateMutability: \"view\",\n type: \"function\",\n },\n {\n inputs: [],\n name: \"totalSupply\",\n outputs: [\n {\n internalType: \"uint256\",\n name: \"\",\n type: \"uint256\",\n },\n ],\n stateMutability: \"view\",\n type: \"function\",\n },\n {\n inputs: [\n {\n internalType: \"address\",\n name: \"recipient\",\n type: \"address\",\n },\n {\n internalType: \"uint256\",\n name: \"amount\",\n type: \"uint256\",\n },\n ],\n name: \"transfer\",\n outputs: [\n {\n internalType: \"bool\",\n name: \"\",\n type: \"bool\",\n },\n ],\n stateMutability: \"nonpayable\",\n type: \"function\",\n },\n {\n inputs: [\n {\n internalType: \"address\",\n name: \"sender\",\n type: \"address\",\n },\n {\n internalType: \"address\",\n name: \"recipient\",\n type: \"address\",\n },\n {\n internalType: \"uint256\",\n name: \"amount\",\n type: \"uint256\",\n },\n ],\n name: \"transferFrom\",\n outputs: [\n {\n internalType: \"bool\",\n name: \"\",\n type: \"bool\",\n },\n ],\n stateMutability: \"nonpayable\",\n type: \"function\",\n },\n {\n inputs: [\n {\n internalType: \"address\",\n name: \"newOwner\",\n type: \"address\",\n },\n ],\n name: \"transferOwnership\",\n outputs: [],\n stateMutability: \"nonpayable\",\n type: \"function\",\n },\n];\n\nexport class ERC20__factory {\n static readonly abi = _abi;\n static createInterface(): ERC20Interface {\n return new utils.Interface(_abi) as ERC20Interface;\n }\n static connect(address: string, signerOrProvider: Signer | Provider): ERC20 {\n return new Contract(address, _abi, signerOrProvider) as ERC20;\n }\n}\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Signer } from "ethers";
|
|
2
2
|
import type { Provider } from "@ethersproject/providers";
|
|
3
|
-
import type {
|
|
4
|
-
export declare class
|
|
3
|
+
import type { WETH9, WETH9Interface } from "../WETH9";
|
|
4
|
+
export declare class WETH9__factory {
|
|
5
5
|
static readonly abi: ({
|
|
6
6
|
constant: boolean;
|
|
7
7
|
inputs: {
|
|
@@ -40,6 +40,6 @@ export declare class Weth9__factory {
|
|
|
40
40
|
payable?: undefined;
|
|
41
41
|
stateMutability?: undefined;
|
|
42
42
|
})[];
|
|
43
|
-
static createInterface():
|
|
44
|
-
static connect(address: string, signerOrProvider: Signer | Provider):
|
|
43
|
+
static createInterface(): WETH9Interface;
|
|
44
|
+
static connect(address: string, signerOrProvider: Signer | Provider): WETH9;
|
|
45
45
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
6
|
+
exports.WETH9__factory = void 0;
|
|
7
7
|
const ethers_1 = require("ethers");
|
|
8
8
|
const _abi = [
|
|
9
9
|
{
|
|
@@ -284,7 +284,7 @@ const _abi = [
|
|
|
284
284
|
type: "event",
|
|
285
285
|
},
|
|
286
286
|
];
|
|
287
|
-
class
|
|
287
|
+
class WETH9__factory {
|
|
288
288
|
static abi = _abi;
|
|
289
289
|
static createInterface() {
|
|
290
290
|
return new ethers_1.utils.Interface(_abi);
|
|
@@ -293,5 +293,5 @@ class Weth9__factory {
|
|
|
293
293
|
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
294
294
|
}
|
|
295
295
|
}
|
|
296
|
-
exports.
|
|
297
|
-
//# sourceMappingURL=
|
|
296
|
+
exports.WETH9__factory = WETH9__factory;
|
|
297
|
+
//# sourceMappingURL=WETH9__factory.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"WETH9__factory.js","sourceRoot":"","sources":["../../../../src/builtin/internal/factories/WETH9__factory.ts"],"names":[],"mappings":";AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;;;AAEpB,mCAAiD;AAIjD,MAAM,IAAI,GAAG;IACX;QACE,QAAQ,EAAE,IAAI;QACd,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE;YACP;gBACE,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,QAAQ;aACf;SACF;QACD,OAAO,EAAE,KAAK;QACd,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,QAAQ,EAAE,KAAK;QACf,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,KAAK;gBACX,IAAI,EAAE,SAAS;aA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AI,EAAE,KAAK;gBACX,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,OAAO;KACd;IACD;QACE,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE;YACN;gBACE,OAAO,EAAE,IAAI;gBACb,IAAI,EAAE,KAAK;gBACX,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,OAAO,EAAE,KAAK;gBACd,IAAI,EAAE,KAAK;gBACX,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,OAAO;KACd;CACF,CAAC;AAEF,MAAa,cAAc;IACzB,MAAM,CAAU,GAAG,GAAG,IAAI,CAAC;IAC3B,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,cAAK,CAAC,SAAS,CAAC,IAAI,CAAmB,CAAC;IACrD,CAAC;IACD,MAAM,CAAC,OAAO,CAAC,OAAe,EAAE,gBAAmC;QACjE,OAAO,IAAI,iBAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,gBAAgB,CAAU,CAAC;IAChE,CAAC;;AAPH,wCAQC","sourcesContent":["/* Autogenerated file. Do not edit manually. */\n/* tslint:disable */\n/* eslint-disable */\n\nimport { Contract, Signer, utils } from \"ethers\";\nimport type { Provider } from \"@ethersproject/providers\";\nimport type { WETH9, WETH9Interface } from \"../WETH9\";\n\nconst _abi = [\n {\n constant: true,\n inputs: [],\n name: \"name\",\n outputs: [\n {\n name: \"\",\n type: \"string\",\n },\n ],\n payable: false,\n stateMutability: \"view\",\n type: \"function\",\n },\n {\n constant: false,\n inputs: [\n {\n name: \"guy\",\n type: \"address\",\n },\n {\n name: \"wad\",\n type: \"uint256\",\n },\n ],\n name: \"approve\",\n outputs: [\n {\n name: \"\",\n type: \"bool\",\n },\n ],\n payable: false,\n stateMutability: \"nonpayable\",\n type: \"function\",\n },\n {\n constant: true,\n inputs: [],\n name: \"totalSupply\",\n outputs: [\n {\n name: \"\",\n type: \"uint256\",\n },\n ],\n payable: false,\n stateMutability: \"view\",\n type: \"function\",\n },\n {\n constant: false,\n inputs: [\n {\n name: \"src\",\n type: \"address\",\n },\n {\n name: \"dst\",\n type: \"address\",\n },\n {\n name: \"wad\",\n type: \"uint256\",\n },\n ],\n name: \"transferFrom\",\n outputs: [\n {\n name: \"\",\n type: \"bool\",\n },\n ],\n payable: false,\n stateMutability: \"nonpayable\",\n type: \"function\",\n },\n {\n constant: false,\n inputs: [\n {\n name: \"wad\",\n type: \"uint256\",\n },\n ],\n name: \"withdraw\",\n outputs: [],\n payable: false,\n stateMutability: \"nonpayable\",\n type: \"function\",\n },\n {\n constant: true,\n inputs: [],\n name: \"decimals\",\n outputs: [\n {\n name: \"\",\n type: \"uint8\",\n },\n ],\n payable: false,\n stateMutability: \"view\",\n type: \"function\",\n },\n {\n constant: true,\n inputs: [\n {\n name: \"\",\n type: \"address\",\n },\n ],\n name: \"balanceOf\",\n outputs: [\n {\n name: \"\",\n type: \"uint256\",\n },\n ],\n payable: false,\n stateMutability: \"view\",\n type: \"function\",\n },\n {\n constant: true,\n inputs: [],\n name: \"symbol\",\n outputs: [\n {\n name: \"\",\n type: \"string\",\n },\n ],\n payable: false,\n stateMutability: \"view\",\n type: \"function\",\n },\n {\n constant: false,\n inputs: [\n {\n name: \"dst\",\n type: \"address\",\n },\n {\n name: \"wad\",\n type: \"uint256\",\n },\n ],\n name: \"transfer\",\n outputs: [\n {\n name: \"\",\n type: \"bool\",\n },\n ],\n payable: false,\n stateMutability: \"nonpayable\",\n type: \"function\",\n },\n {\n constant: false,\n inputs: [],\n name: \"deposit\",\n outputs: [],\n payable: true,\n stateMutability: \"payable\",\n type: \"function\",\n },\n {\n constant: true,\n inputs: [\n {\n name: \"\",\n type: \"address\",\n },\n {\n name: \"\",\n type: \"address\",\n },\n ],\n name: \"allowance\",\n outputs: [\n {\n name: \"\",\n type: \"uint256\",\n },\n ],\n payable: false,\n stateMutability: \"view\",\n type: \"function\",\n },\n {\n payable: true,\n stateMutability: \"payable\",\n type: \"fallback\",\n },\n {\n anonymous: false,\n inputs: [\n {\n indexed: true,\n name: \"src\",\n type: \"address\",\n },\n {\n indexed: true,\n name: \"guy\",\n type: \"address\",\n },\n {\n indexed: false,\n name: \"wad\",\n type: \"uint256\",\n },\n ],\n name: \"Approval\",\n type: \"event\",\n },\n {\n anonymous: false,\n inputs: [\n {\n indexed: true,\n name: \"src\",\n type: \"address\",\n },\n {\n indexed: true,\n name: \"dst\",\n type: \"address\",\n },\n {\n indexed: false,\n name: \"wad\",\n type: \"uint256\",\n },\n ],\n name: \"Transfer\",\n type: \"event\",\n },\n {\n anonymous: false,\n inputs: [\n {\n indexed: true,\n name: \"dst\",\n type: \"address\",\n },\n {\n indexed: false,\n name: \"wad\",\n type: \"uint256\",\n },\n ],\n name: \"Deposit\",\n type: \"event\",\n },\n {\n anonymous: false,\n inputs: [\n {\n indexed: true,\n name: \"src\",\n type: \"address\",\n },\n {\n indexed: false,\n name: \"wad\",\n type: \"uint256\",\n },\n ],\n name: \"Withdrawal\",\n type: \"event\",\n },\n];\n\nexport class WETH9__factory {\n static readonly abi = _abi;\n static createInterface(): WETH9Interface {\n return new utils.Interface(_abi) as WETH9Interface;\n }\n static connect(address: string, signerOrProvider: Signer | Provider): WETH9 {\n return new Contract(address, _abi, signerOrProvider) as WETH9;\n }\n}\n"]}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
1
|
+
export { ERC20__factory } from "./ERC20__factory";
|
|
2
|
+
export { ERC20Bytes__factory } from "./ERC20Bytes__factory";
|
|
3
|
+
export { WETH9__factory } from "./WETH9__factory";
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.WETH9__factory = exports.ERC20Bytes__factory = exports.ERC20__factory = void 0;
|
|
4
4
|
/* Autogenerated file. Do not edit manually. */
|
|
5
5
|
/* tslint:disable */
|
|
6
6
|
/* eslint-disable */
|
|
7
|
-
var
|
|
8
|
-
Object.defineProperty(exports, "
|
|
9
|
-
var
|
|
10
|
-
Object.defineProperty(exports, "
|
|
7
|
+
var ERC20__factory_1 = require("./ERC20__factory");
|
|
8
|
+
Object.defineProperty(exports, "ERC20__factory", { enumerable: true, get: function () { return ERC20__factory_1.ERC20__factory; } });
|
|
9
|
+
var ERC20Bytes__factory_1 = require("./ERC20Bytes__factory");
|
|
10
|
+
Object.defineProperty(exports, "ERC20Bytes__factory", { enumerable: true, get: function () { return ERC20Bytes__factory_1.ERC20Bytes__factory; } });
|
|
11
|
+
var WETH9__factory_1 = require("./WETH9__factory");
|
|
12
|
+
Object.defineProperty(exports, "WETH9__factory", { enumerable: true, get: function () { return WETH9__factory_1.WETH9__factory; } });
|
|
11
13
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/builtin/internal/factories/index.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mDAAkD;AAAzC,gHAAA,cAAc,OAAA;AACvB,mDAAkD;AAAzC,gHAAA,cAAc,OAAA","sourcesContent":["/* Autogenerated file. Do not edit manually. */\n/* tslint:disable */\n/* eslint-disable */\nexport {
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/builtin/internal/factories/index.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mDAAkD;AAAzC,gHAAA,cAAc,OAAA;AACvB,6DAA4D;AAAnD,0HAAA,mBAAmB,OAAA;AAC5B,mDAAkD;AAAzC,gHAAA,cAAc,OAAA","sourcesContent":["/* Autogenerated file. Do not edit manually. */\n/* tslint:disable */\n/* eslint-disable */\nexport { ERC20__factory } from \"./ERC20__factory\";\nexport { ERC20Bytes__factory } from \"./ERC20Bytes__factory\";\nexport { WETH9__factory } from \"./WETH9__factory\";\n"]}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
export type {
|
|
2
|
-
export type {
|
|
1
|
+
export type { ERC20 } from "./ERC20";
|
|
2
|
+
export type { ERC20Bytes } from "./ERC20Bytes";
|
|
3
|
+
export type { WETH9 } from "./WETH9";
|
|
3
4
|
export * as factories from "./factories";
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
5
|
+
export { ERC20__factory } from "./factories/ERC20__factory";
|
|
6
|
+
export { ERC20Bytes__factory } from "./factories/ERC20Bytes__factory";
|
|
7
|
+
export { WETH9__factory } from "./factories/WETH9__factory";
|
|
@@ -23,10 +23,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.
|
|
26
|
+
exports.WETH9__factory = exports.ERC20Bytes__factory = exports.ERC20__factory = exports.factories = void 0;
|
|
27
27
|
exports.factories = __importStar(require("./factories"));
|
|
28
|
-
var
|
|
29
|
-
Object.defineProperty(exports, "
|
|
30
|
-
var
|
|
31
|
-
Object.defineProperty(exports, "
|
|
28
|
+
var ERC20__factory_1 = require("./factories/ERC20__factory");
|
|
29
|
+
Object.defineProperty(exports, "ERC20__factory", { enumerable: true, get: function () { return ERC20__factory_1.ERC20__factory; } });
|
|
30
|
+
var ERC20Bytes__factory_1 = require("./factories/ERC20Bytes__factory");
|
|
31
|
+
Object.defineProperty(exports, "ERC20Bytes__factory", { enumerable: true, get: function () { return ERC20Bytes__factory_1.ERC20Bytes__factory; } });
|
|
32
|
+
var WETH9__factory_1 = require("./factories/WETH9__factory");
|
|
33
|
+
Object.defineProperty(exports, "WETH9__factory", { enumerable: true, get: function () { return WETH9__factory_1.WETH9__factory; } });
|
|
32
34
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/builtin/internal/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/builtin/internal/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,yDAAyC;AACzC,6DAA4D;AAAnD,gHAAA,cAAc,OAAA;AACvB,uEAAsE;AAA7D,0HAAA,mBAAmB,OAAA;AAC5B,6DAA4D;AAAnD,gHAAA,cAAc,OAAA","sourcesContent":["/* Autogenerated file. Do not edit manually. */\n/* tslint:disable */\n/* eslint-disable */\nexport type { ERC20 } from \"./ERC20\";\nexport type { ERC20Bytes } from \"./ERC20Bytes\";\nexport type { WETH9 } from \"./WETH9\";\nexport * as factories from \"./factories\";\nexport { ERC20__factory } from \"./factories/ERC20__factory\";\nexport { ERC20Bytes__factory } from \"./factories/ERC20Bytes__factory\";\nexport { WETH9__factory } from \"./factories/WETH9__factory\";\n"]}
|