@ape.swap/bonds-sdk 1.0.470 → 1.0.474
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/dist/components/Modals/BondModal/BondModal.d.ts +6 -2
- package/dist/components/Modals/BondModal/BondModal.js +6 -7
- package/dist/components/YourBondsModal/YourBondsModal.d.ts +6 -2
- package/dist/components/YourBondsModal/YourBondsModal.js +8 -9
- package/dist/config/abi/bondNft.json +424 -0
- package/dist/config/abi/ens-public-resolver.json +816 -0
- package/dist/config/abi/ens-registrar.json +422 -0
- package/dist/config/abi/erc20_bytes32.json +30 -0
- package/dist/config/abi/jungleChef.json +291 -0
- package/dist/config/abi/launchBonds.json +2014 -0
- package/dist/config/abi/lockVeAbond.json +2198 -0
- package/dist/config/abi/migrationBond.json +1639 -0
- package/dist/config/abi/migrationFveAbond.json +160 -0
- package/dist/config/abi/multicallv3.json +92 -0
- package/dist/config/abi/sousChef.json +649 -0
- package/dist/config/abi/types/Banana.d.ts +417 -0
- package/dist/config/abi/types/Banana.js +1 -0
- package/dist/config/abi/types/Bond.d.ts +803 -0
- package/dist/config/abi/types/Bond.js +1 -0
- package/dist/config/abi/types/BondNft.d.ts +603 -0
- package/dist/config/abi/types/BondNft.js +1 -0
- package/dist/config/abi/types/EnsPublicResolver.d.ts +513 -0
- package/dist/config/abi/types/EnsPublicResolver.js +1 -0
- package/dist/config/abi/types/EnsRegistrar.d.ts +274 -0
- package/dist/config/abi/types/EnsRegistrar.js +1 -0
- package/dist/config/abi/types/Erc20.d.ts +168 -0
- package/dist/config/abi/types/Erc20.js +1 -0
- package/dist/config/abi/types/Erc20_bytes32.d.ts +50 -0
- package/dist/config/abi/types/Erc20_bytes32.js +1 -0
- package/dist/config/abi/types/JungleChef.d.ts +260 -0
- package/dist/config/abi/types/JungleChef.js +1 -0
- package/dist/config/abi/types/LaunchBonds.d.ts +1362 -0
- package/dist/config/abi/types/LaunchBonds.js +1 -0
- package/dist/config/abi/types/LensContract.d.ts +295 -0
- package/dist/config/abi/types/LensContract.js +1 -0
- package/dist/config/abi/types/LockVeAbond.d.ts +1279 -0
- package/dist/config/abi/types/LockVeAbond.js +1 -0
- package/dist/config/abi/types/MigrationBond.d.ts +1136 -0
- package/dist/config/abi/types/MigrationBond.js +1 -0
- package/dist/config/abi/types/MigrationFveAbond.d.ts +290 -0
- package/dist/config/abi/types/MigrationFveAbond.js +1 -0
- package/dist/config/abi/types/MiniComplexRewarder.d.ts +469 -0
- package/dist/config/abi/types/MiniComplexRewarder.js +1 -0
- package/dist/config/abi/types/Multicallv2.d.ts +150 -0
- package/dist/config/abi/types/Multicallv2.js +1 -0
- package/dist/config/abi/types/Multicallv3.d.ts +98 -0
- package/dist/config/abi/types/Multicallv3.js +1 -0
- package/dist/config/abi/types/NonFungibleApes.d.ts +532 -0
- package/dist/config/abi/types/NonFungibleApes.js +1 -0
- package/dist/config/abi/types/NonFungibleBananas.d.ts +505 -0
- package/dist/config/abi/types/NonFungibleBananas.js +1 -0
- package/dist/config/abi/types/PriceGetter.d.ts +713 -0
- package/dist/config/abi/types/PriceGetter.js +1 -0
- package/dist/config/abi/types/PriceGetterLinea.d.ts +789 -0
- package/dist/config/abi/types/PriceGetterLinea.js +1 -0
- package/dist/config/abi/types/PriceGetterV2.d.ts +729 -0
- package/dist/config/abi/types/PriceGetterV2.js +1 -0
- package/dist/config/abi/types/SousChef.d.ts +579 -0
- package/dist/config/abi/types/SousChef.js +1 -0
- package/dist/config/abi/types/Treasury.d.ts +277 -0
- package/dist/config/abi/types/Treasury.js +1 -0
- package/dist/config/abi/types/Weth.d.ts +221 -0
- package/dist/config/abi/types/Weth.js +1 -0
- package/dist/config/abi/types/Zap.d.ts +528 -0
- package/dist/config/abi/types/Zap.js +1 -0
- package/dist/config/abi/types/common.d.ts +22 -0
- package/dist/config/abi/types/common.js +1 -0
- package/dist/config/abi/types/factories/Banana__factory.d.ts +475 -0
- package/dist/config/abi/types/factories/Banana__factory.js +628 -0
- package/dist/config/abi/types/factories/BondNft__factory.d.ts +723 -0
- package/dist/config/abi/types/factories/BondNft__factory.js +951 -0
- package/dist/config/abi/types/factories/Bond__factory.d.ts +799 -0
- package/dist/config/abi/types/factories/Bond__factory.js +1042 -0
- package/dist/config/abi/types/factories/EnsPublicResolver__factory.d.ts +649 -0
- package/dist/config/abi/types/factories/EnsPublicResolver__factory.js +833 -0
- package/dist/config/abi/types/factories/EnsRegistrar__factory.d.ts +338 -0
- package/dist/config/abi/types/factories/EnsRegistrar__factory.js +439 -0
- package/dist/config/abi/types/factories/Erc20__factory.d.ts +175 -0
- package/dist/config/abi/types/factories/Erc20__factory.js +239 -0
- package/dist/config/abi/types/factories/Erc20_bytes32__factory.d.ts +30 -0
- package/dist/config/abi/types/factories/Erc20_bytes32__factory.js +47 -0
- package/dist/config/abi/types/factories/JungleChef__factory.d.ts +247 -0
- package/dist/config/abi/types/factories/JungleChef__factory.js +326 -0
- package/dist/config/abi/types/factories/LaunchBonds__factory.d.ts +1560 -0
- package/dist/config/abi/types/factories/LaunchBonds__factory.js +2031 -0
- package/dist/config/abi/types/factories/LensContract__factory.d.ts +254 -0
- package/dist/config/abi/types/factories/LensContract__factory.js +338 -0
- package/dist/config/abi/types/factories/LockVeAbond__factory.d.ts +1698 -0
- package/dist/config/abi/types/factories/LockVeAbond__factory.js +2215 -0
- package/dist/config/abi/types/factories/MigrationBond__factory.d.ts +1268 -0
- package/dist/config/abi/types/factories/MigrationBond__factory.js +1656 -0
- package/dist/config/abi/types/factories/MigrationFveAbond__factory.d.ts +262 -0
- package/dist/config/abi/types/factories/MigrationFveAbond__factory.js +346 -0
- package/dist/config/abi/types/factories/MiniComplexRewarder__factory.d.ts +448 -0
- package/dist/config/abi/types/factories/MiniComplexRewarder__factory.js +586 -0
- package/dist/config/abi/types/factories/Multicallv2__factory.d.ts +115 -0
- package/dist/config/abi/types/factories/Multicallv2__factory.js +160 -0
- package/dist/config/abi/types/factories/Multicallv3__factory.d.ts +76 -0
- package/dist/config/abi/types/factories/Multicallv3__factory.js +109 -0
- package/dist/config/abi/types/factories/NonFungibleApes__factory.d.ts +617 -0
- package/dist/config/abi/types/factories/NonFungibleApes__factory.js +810 -0
- package/dist/config/abi/types/factories/NonFungibleBananas__factory.d.ts +576 -0
- package/dist/config/abi/types/factories/NonFungibleBananas__factory.js +756 -0
- package/dist/config/abi/types/factories/PriceGetterLinea__factory.d.ts +1105 -0
- package/dist/config/abi/types/factories/PriceGetterLinea__factory.js +1465 -0
- package/dist/config/abi/types/factories/PriceGetterV2__factory.d.ts +1027 -0
- package/dist/config/abi/types/factories/PriceGetterV2__factory.js +1364 -0
- package/dist/config/abi/types/factories/PriceGetter__factory.d.ts +999 -0
- package/dist/config/abi/types/factories/PriceGetter__factory.js +1326 -0
- package/dist/config/abi/types/factories/SousChef__factory.d.ts +511 -0
- package/dist/config/abi/types/factories/SousChef__factory.js +666 -0
- package/dist/config/abi/types/factories/Treasury__factory.d.ts +235 -0
- package/dist/config/abi/types/factories/Treasury__factory.js +309 -0
- package/dist/config/abi/types/factories/Weth__factory.d.ts +220 -0
- package/dist/config/abi/types/factories/Weth__factory.js +296 -0
- package/dist/config/abi/types/factories/Zap__factory.d.ts +695 -0
- package/dist/config/abi/types/factories/Zap__factory.js +889 -0
- package/dist/config/abi/types/factories/index.d.ts +25 -0
- package/dist/config/abi/types/factories/index.js +28 -0
- package/dist/config/abi/types/index.d.ts +51 -0
- package/dist/config/abi/types/index.js +26 -0
- package/dist/config/abi/weth.json +279 -0
- package/dist/hooks/useClaimBill.d.ts +4 -0
- package/dist/hooks/useClaimBill.js +59 -0
- package/dist/hooks/useContract.d.ts +25 -0
- package/dist/hooks/useContract.js +107 -0
- package/dist/pages/Bonds/Bonds.d.ts +6 -1
- package/dist/pages/Bonds/Bonds.js +12 -13
- package/dist/pages/YourBonds/YourBonds.js +37 -10
- package/dist/utils/index.d.ts +16 -0
- package/dist/utils/index.js +127 -0
- package/dist/utils/track.d.ts +7 -0
- package/dist/utils/track.js +17 -0
- package/package.json +1 -1
|
@@ -0,0 +1,439 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { Contract, utils } from "ethers";
|
|
5
|
+
var _abi = [
|
|
6
|
+
{
|
|
7
|
+
inputs: [
|
|
8
|
+
{
|
|
9
|
+
internalType: "contract ENS",
|
|
10
|
+
name: "_old",
|
|
11
|
+
type: "address",
|
|
12
|
+
},
|
|
13
|
+
],
|
|
14
|
+
payable: false,
|
|
15
|
+
stateMutability: "nonpayable",
|
|
16
|
+
type: "constructor",
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
anonymous: false,
|
|
20
|
+
inputs: [
|
|
21
|
+
{
|
|
22
|
+
indexed: true,
|
|
23
|
+
internalType: "address",
|
|
24
|
+
name: "owner",
|
|
25
|
+
type: "address",
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
indexed: true,
|
|
29
|
+
internalType: "address",
|
|
30
|
+
name: "operator",
|
|
31
|
+
type: "address",
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
indexed: false,
|
|
35
|
+
internalType: "bool",
|
|
36
|
+
name: "approved",
|
|
37
|
+
type: "bool",
|
|
38
|
+
},
|
|
39
|
+
],
|
|
40
|
+
name: "ApprovalForAll",
|
|
41
|
+
type: "event",
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
anonymous: false,
|
|
45
|
+
inputs: [
|
|
46
|
+
{
|
|
47
|
+
indexed: true,
|
|
48
|
+
internalType: "bytes32",
|
|
49
|
+
name: "node",
|
|
50
|
+
type: "bytes32",
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
indexed: true,
|
|
54
|
+
internalType: "bytes32",
|
|
55
|
+
name: "label",
|
|
56
|
+
type: "bytes32",
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
indexed: false,
|
|
60
|
+
internalType: "address",
|
|
61
|
+
name: "owner",
|
|
62
|
+
type: "address",
|
|
63
|
+
},
|
|
64
|
+
],
|
|
65
|
+
name: "NewOwner",
|
|
66
|
+
type: "event",
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
anonymous: false,
|
|
70
|
+
inputs: [
|
|
71
|
+
{
|
|
72
|
+
indexed: true,
|
|
73
|
+
internalType: "bytes32",
|
|
74
|
+
name: "node",
|
|
75
|
+
type: "bytes32",
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
indexed: false,
|
|
79
|
+
internalType: "address",
|
|
80
|
+
name: "resolver",
|
|
81
|
+
type: "address",
|
|
82
|
+
},
|
|
83
|
+
],
|
|
84
|
+
name: "NewResolver",
|
|
85
|
+
type: "event",
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
anonymous: false,
|
|
89
|
+
inputs: [
|
|
90
|
+
{
|
|
91
|
+
indexed: true,
|
|
92
|
+
internalType: "bytes32",
|
|
93
|
+
name: "node",
|
|
94
|
+
type: "bytes32",
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
indexed: false,
|
|
98
|
+
internalType: "uint64",
|
|
99
|
+
name: "ttl",
|
|
100
|
+
type: "uint64",
|
|
101
|
+
},
|
|
102
|
+
],
|
|
103
|
+
name: "NewTTL",
|
|
104
|
+
type: "event",
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
anonymous: false,
|
|
108
|
+
inputs: [
|
|
109
|
+
{
|
|
110
|
+
indexed: true,
|
|
111
|
+
internalType: "bytes32",
|
|
112
|
+
name: "node",
|
|
113
|
+
type: "bytes32",
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
indexed: false,
|
|
117
|
+
internalType: "address",
|
|
118
|
+
name: "owner",
|
|
119
|
+
type: "address",
|
|
120
|
+
},
|
|
121
|
+
],
|
|
122
|
+
name: "Transfer",
|
|
123
|
+
type: "event",
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
constant: true,
|
|
127
|
+
inputs: [
|
|
128
|
+
{
|
|
129
|
+
internalType: "address",
|
|
130
|
+
name: "owner",
|
|
131
|
+
type: "address",
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
internalType: "address",
|
|
135
|
+
name: "operator",
|
|
136
|
+
type: "address",
|
|
137
|
+
},
|
|
138
|
+
],
|
|
139
|
+
name: "isApprovedForAll",
|
|
140
|
+
outputs: [
|
|
141
|
+
{
|
|
142
|
+
internalType: "bool",
|
|
143
|
+
name: "",
|
|
144
|
+
type: "bool",
|
|
145
|
+
},
|
|
146
|
+
],
|
|
147
|
+
payable: false,
|
|
148
|
+
stateMutability: "view",
|
|
149
|
+
type: "function",
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
constant: true,
|
|
153
|
+
inputs: [],
|
|
154
|
+
name: "old",
|
|
155
|
+
outputs: [
|
|
156
|
+
{
|
|
157
|
+
internalType: "contract ENS",
|
|
158
|
+
name: "",
|
|
159
|
+
type: "address",
|
|
160
|
+
},
|
|
161
|
+
],
|
|
162
|
+
payable: false,
|
|
163
|
+
stateMutability: "view",
|
|
164
|
+
type: "function",
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
constant: true,
|
|
168
|
+
inputs: [
|
|
169
|
+
{
|
|
170
|
+
internalType: "bytes32",
|
|
171
|
+
name: "node",
|
|
172
|
+
type: "bytes32",
|
|
173
|
+
},
|
|
174
|
+
],
|
|
175
|
+
name: "owner",
|
|
176
|
+
outputs: [
|
|
177
|
+
{
|
|
178
|
+
internalType: "address",
|
|
179
|
+
name: "",
|
|
180
|
+
type: "address",
|
|
181
|
+
},
|
|
182
|
+
],
|
|
183
|
+
payable: false,
|
|
184
|
+
stateMutability: "view",
|
|
185
|
+
type: "function",
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
constant: true,
|
|
189
|
+
inputs: [
|
|
190
|
+
{
|
|
191
|
+
internalType: "bytes32",
|
|
192
|
+
name: "node",
|
|
193
|
+
type: "bytes32",
|
|
194
|
+
},
|
|
195
|
+
],
|
|
196
|
+
name: "recordExists",
|
|
197
|
+
outputs: [
|
|
198
|
+
{
|
|
199
|
+
internalType: "bool",
|
|
200
|
+
name: "",
|
|
201
|
+
type: "bool",
|
|
202
|
+
},
|
|
203
|
+
],
|
|
204
|
+
payable: false,
|
|
205
|
+
stateMutability: "view",
|
|
206
|
+
type: "function",
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
constant: true,
|
|
210
|
+
inputs: [
|
|
211
|
+
{
|
|
212
|
+
internalType: "bytes32",
|
|
213
|
+
name: "node",
|
|
214
|
+
type: "bytes32",
|
|
215
|
+
},
|
|
216
|
+
],
|
|
217
|
+
name: "resolver",
|
|
218
|
+
outputs: [
|
|
219
|
+
{
|
|
220
|
+
internalType: "address",
|
|
221
|
+
name: "",
|
|
222
|
+
type: "address",
|
|
223
|
+
},
|
|
224
|
+
],
|
|
225
|
+
payable: false,
|
|
226
|
+
stateMutability: "view",
|
|
227
|
+
type: "function",
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
constant: false,
|
|
231
|
+
inputs: [
|
|
232
|
+
{
|
|
233
|
+
internalType: "address",
|
|
234
|
+
name: "operator",
|
|
235
|
+
type: "address",
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
internalType: "bool",
|
|
239
|
+
name: "approved",
|
|
240
|
+
type: "bool",
|
|
241
|
+
},
|
|
242
|
+
],
|
|
243
|
+
name: "setApprovalForAll",
|
|
244
|
+
outputs: [],
|
|
245
|
+
payable: false,
|
|
246
|
+
stateMutability: "nonpayable",
|
|
247
|
+
type: "function",
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
constant: false,
|
|
251
|
+
inputs: [
|
|
252
|
+
{
|
|
253
|
+
internalType: "bytes32",
|
|
254
|
+
name: "node",
|
|
255
|
+
type: "bytes32",
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
internalType: "address",
|
|
259
|
+
name: "owner",
|
|
260
|
+
type: "address",
|
|
261
|
+
},
|
|
262
|
+
],
|
|
263
|
+
name: "setOwner",
|
|
264
|
+
outputs: [],
|
|
265
|
+
payable: false,
|
|
266
|
+
stateMutability: "nonpayable",
|
|
267
|
+
type: "function",
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
constant: false,
|
|
271
|
+
inputs: [
|
|
272
|
+
{
|
|
273
|
+
internalType: "bytes32",
|
|
274
|
+
name: "node",
|
|
275
|
+
type: "bytes32",
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
internalType: "address",
|
|
279
|
+
name: "owner",
|
|
280
|
+
type: "address",
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
internalType: "address",
|
|
284
|
+
name: "resolver",
|
|
285
|
+
type: "address",
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
internalType: "uint64",
|
|
289
|
+
name: "ttl",
|
|
290
|
+
type: "uint64",
|
|
291
|
+
},
|
|
292
|
+
],
|
|
293
|
+
name: "setRecord",
|
|
294
|
+
outputs: [],
|
|
295
|
+
payable: false,
|
|
296
|
+
stateMutability: "nonpayable",
|
|
297
|
+
type: "function",
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
constant: false,
|
|
301
|
+
inputs: [
|
|
302
|
+
{
|
|
303
|
+
internalType: "bytes32",
|
|
304
|
+
name: "node",
|
|
305
|
+
type: "bytes32",
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
internalType: "address",
|
|
309
|
+
name: "resolver",
|
|
310
|
+
type: "address",
|
|
311
|
+
},
|
|
312
|
+
],
|
|
313
|
+
name: "setResolver",
|
|
314
|
+
outputs: [],
|
|
315
|
+
payable: false,
|
|
316
|
+
stateMutability: "nonpayable",
|
|
317
|
+
type: "function",
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
constant: false,
|
|
321
|
+
inputs: [
|
|
322
|
+
{
|
|
323
|
+
internalType: "bytes32",
|
|
324
|
+
name: "node",
|
|
325
|
+
type: "bytes32",
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
internalType: "bytes32",
|
|
329
|
+
name: "label",
|
|
330
|
+
type: "bytes32",
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
internalType: "address",
|
|
334
|
+
name: "owner",
|
|
335
|
+
type: "address",
|
|
336
|
+
},
|
|
337
|
+
],
|
|
338
|
+
name: "setSubnodeOwner",
|
|
339
|
+
outputs: [
|
|
340
|
+
{
|
|
341
|
+
internalType: "bytes32",
|
|
342
|
+
name: "",
|
|
343
|
+
type: "bytes32",
|
|
344
|
+
},
|
|
345
|
+
],
|
|
346
|
+
payable: false,
|
|
347
|
+
stateMutability: "nonpayable",
|
|
348
|
+
type: "function",
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
constant: false,
|
|
352
|
+
inputs: [
|
|
353
|
+
{
|
|
354
|
+
internalType: "bytes32",
|
|
355
|
+
name: "node",
|
|
356
|
+
type: "bytes32",
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
internalType: "bytes32",
|
|
360
|
+
name: "label",
|
|
361
|
+
type: "bytes32",
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
internalType: "address",
|
|
365
|
+
name: "owner",
|
|
366
|
+
type: "address",
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
internalType: "address",
|
|
370
|
+
name: "resolver",
|
|
371
|
+
type: "address",
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
internalType: "uint64",
|
|
375
|
+
name: "ttl",
|
|
376
|
+
type: "uint64",
|
|
377
|
+
},
|
|
378
|
+
],
|
|
379
|
+
name: "setSubnodeRecord",
|
|
380
|
+
outputs: [],
|
|
381
|
+
payable: false,
|
|
382
|
+
stateMutability: "nonpayable",
|
|
383
|
+
type: "function",
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
constant: false,
|
|
387
|
+
inputs: [
|
|
388
|
+
{
|
|
389
|
+
internalType: "bytes32",
|
|
390
|
+
name: "node",
|
|
391
|
+
type: "bytes32",
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
internalType: "uint64",
|
|
395
|
+
name: "ttl",
|
|
396
|
+
type: "uint64",
|
|
397
|
+
},
|
|
398
|
+
],
|
|
399
|
+
name: "setTTL",
|
|
400
|
+
outputs: [],
|
|
401
|
+
payable: false,
|
|
402
|
+
stateMutability: "nonpayable",
|
|
403
|
+
type: "function",
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
constant: true,
|
|
407
|
+
inputs: [
|
|
408
|
+
{
|
|
409
|
+
internalType: "bytes32",
|
|
410
|
+
name: "node",
|
|
411
|
+
type: "bytes32",
|
|
412
|
+
},
|
|
413
|
+
],
|
|
414
|
+
name: "ttl",
|
|
415
|
+
outputs: [
|
|
416
|
+
{
|
|
417
|
+
internalType: "uint64",
|
|
418
|
+
name: "",
|
|
419
|
+
type: "uint64",
|
|
420
|
+
},
|
|
421
|
+
],
|
|
422
|
+
payable: false,
|
|
423
|
+
stateMutability: "view",
|
|
424
|
+
type: "function",
|
|
425
|
+
},
|
|
426
|
+
];
|
|
427
|
+
var EnsRegistrar__factory = /** @class */ (function () {
|
|
428
|
+
function EnsRegistrar__factory() {
|
|
429
|
+
}
|
|
430
|
+
EnsRegistrar__factory.createInterface = function () {
|
|
431
|
+
return new utils.Interface(_abi);
|
|
432
|
+
};
|
|
433
|
+
EnsRegistrar__factory.connect = function (address, signerOrProvider) {
|
|
434
|
+
return new Contract(address, _abi, signerOrProvider);
|
|
435
|
+
};
|
|
436
|
+
EnsRegistrar__factory.abi = _abi;
|
|
437
|
+
return EnsRegistrar__factory;
|
|
438
|
+
}());
|
|
439
|
+
export { EnsRegistrar__factory };
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
import { Signer } from "ethers";
|
|
2
|
+
import type { Provider } from "@ethersproject/providers";
|
|
3
|
+
import type { Erc20, Erc20Interface } from "../Erc20";
|
|
4
|
+
export declare class Erc20__factory {
|
|
5
|
+
static readonly abi: readonly [{
|
|
6
|
+
readonly constant: true;
|
|
7
|
+
readonly inputs: readonly [];
|
|
8
|
+
readonly name: "name";
|
|
9
|
+
readonly outputs: readonly [{
|
|
10
|
+
readonly name: "";
|
|
11
|
+
readonly type: "string";
|
|
12
|
+
}];
|
|
13
|
+
readonly payable: false;
|
|
14
|
+
readonly stateMutability: "view";
|
|
15
|
+
readonly type: "function";
|
|
16
|
+
}, {
|
|
17
|
+
readonly constant: false;
|
|
18
|
+
readonly inputs: readonly [{
|
|
19
|
+
readonly name: "_spender";
|
|
20
|
+
readonly type: "address";
|
|
21
|
+
}, {
|
|
22
|
+
readonly name: "_value";
|
|
23
|
+
readonly type: "uint256";
|
|
24
|
+
}];
|
|
25
|
+
readonly name: "approve";
|
|
26
|
+
readonly outputs: readonly [{
|
|
27
|
+
readonly name: "";
|
|
28
|
+
readonly type: "bool";
|
|
29
|
+
}];
|
|
30
|
+
readonly payable: false;
|
|
31
|
+
readonly stateMutability: "nonpayable";
|
|
32
|
+
readonly type: "function";
|
|
33
|
+
}, {
|
|
34
|
+
readonly constant: true;
|
|
35
|
+
readonly inputs: readonly [];
|
|
36
|
+
readonly name: "totalSupply";
|
|
37
|
+
readonly outputs: readonly [{
|
|
38
|
+
readonly name: "";
|
|
39
|
+
readonly type: "uint256";
|
|
40
|
+
}];
|
|
41
|
+
readonly payable: false;
|
|
42
|
+
readonly stateMutability: "view";
|
|
43
|
+
readonly type: "function";
|
|
44
|
+
}, {
|
|
45
|
+
readonly constant: false;
|
|
46
|
+
readonly inputs: readonly [{
|
|
47
|
+
readonly name: "_from";
|
|
48
|
+
readonly type: "address";
|
|
49
|
+
}, {
|
|
50
|
+
readonly name: "_to";
|
|
51
|
+
readonly type: "address";
|
|
52
|
+
}, {
|
|
53
|
+
readonly name: "_value";
|
|
54
|
+
readonly type: "uint256";
|
|
55
|
+
}];
|
|
56
|
+
readonly name: "transferFrom";
|
|
57
|
+
readonly outputs: readonly [{
|
|
58
|
+
readonly name: "";
|
|
59
|
+
readonly type: "bool";
|
|
60
|
+
}];
|
|
61
|
+
readonly payable: false;
|
|
62
|
+
readonly stateMutability: "nonpayable";
|
|
63
|
+
readonly type: "function";
|
|
64
|
+
}, {
|
|
65
|
+
readonly constant: true;
|
|
66
|
+
readonly inputs: readonly [];
|
|
67
|
+
readonly name: "decimals";
|
|
68
|
+
readonly outputs: readonly [{
|
|
69
|
+
readonly name: "";
|
|
70
|
+
readonly type: "uint8";
|
|
71
|
+
}];
|
|
72
|
+
readonly payable: false;
|
|
73
|
+
readonly stateMutability: "view";
|
|
74
|
+
readonly type: "function";
|
|
75
|
+
}, {
|
|
76
|
+
readonly constant: true;
|
|
77
|
+
readonly inputs: readonly [{
|
|
78
|
+
readonly name: "_owner";
|
|
79
|
+
readonly type: "address";
|
|
80
|
+
}];
|
|
81
|
+
readonly name: "balanceOf";
|
|
82
|
+
readonly outputs: readonly [{
|
|
83
|
+
readonly name: "balance";
|
|
84
|
+
readonly type: "uint256";
|
|
85
|
+
}];
|
|
86
|
+
readonly payable: false;
|
|
87
|
+
readonly stateMutability: "view";
|
|
88
|
+
readonly type: "function";
|
|
89
|
+
}, {
|
|
90
|
+
readonly constant: true;
|
|
91
|
+
readonly inputs: readonly [];
|
|
92
|
+
readonly name: "symbol";
|
|
93
|
+
readonly outputs: readonly [{
|
|
94
|
+
readonly name: "";
|
|
95
|
+
readonly type: "string";
|
|
96
|
+
}];
|
|
97
|
+
readonly payable: false;
|
|
98
|
+
readonly stateMutability: "view";
|
|
99
|
+
readonly type: "function";
|
|
100
|
+
}, {
|
|
101
|
+
readonly constant: false;
|
|
102
|
+
readonly inputs: readonly [{
|
|
103
|
+
readonly name: "_to";
|
|
104
|
+
readonly type: "address";
|
|
105
|
+
}, {
|
|
106
|
+
readonly name: "_value";
|
|
107
|
+
readonly type: "uint256";
|
|
108
|
+
}];
|
|
109
|
+
readonly name: "transfer";
|
|
110
|
+
readonly outputs: readonly [{
|
|
111
|
+
readonly name: "";
|
|
112
|
+
readonly type: "bool";
|
|
113
|
+
}];
|
|
114
|
+
readonly payable: false;
|
|
115
|
+
readonly stateMutability: "nonpayable";
|
|
116
|
+
readonly type: "function";
|
|
117
|
+
}, {
|
|
118
|
+
readonly constant: true;
|
|
119
|
+
readonly inputs: readonly [{
|
|
120
|
+
readonly name: "_owner";
|
|
121
|
+
readonly type: "address";
|
|
122
|
+
}, {
|
|
123
|
+
readonly name: "_spender";
|
|
124
|
+
readonly type: "address";
|
|
125
|
+
}];
|
|
126
|
+
readonly name: "allowance";
|
|
127
|
+
readonly outputs: readonly [{
|
|
128
|
+
readonly name: "";
|
|
129
|
+
readonly type: "uint256";
|
|
130
|
+
}];
|
|
131
|
+
readonly payable: false;
|
|
132
|
+
readonly stateMutability: "view";
|
|
133
|
+
readonly type: "function";
|
|
134
|
+
}, {
|
|
135
|
+
readonly payable: true;
|
|
136
|
+
readonly stateMutability: "payable";
|
|
137
|
+
readonly type: "fallback";
|
|
138
|
+
}, {
|
|
139
|
+
readonly anonymous: false;
|
|
140
|
+
readonly inputs: readonly [{
|
|
141
|
+
readonly indexed: true;
|
|
142
|
+
readonly name: "owner";
|
|
143
|
+
readonly type: "address";
|
|
144
|
+
}, {
|
|
145
|
+
readonly indexed: true;
|
|
146
|
+
readonly name: "spender";
|
|
147
|
+
readonly type: "address";
|
|
148
|
+
}, {
|
|
149
|
+
readonly indexed: false;
|
|
150
|
+
readonly name: "value";
|
|
151
|
+
readonly type: "uint256";
|
|
152
|
+
}];
|
|
153
|
+
readonly name: "Approval";
|
|
154
|
+
readonly type: "event";
|
|
155
|
+
}, {
|
|
156
|
+
readonly anonymous: false;
|
|
157
|
+
readonly inputs: readonly [{
|
|
158
|
+
readonly indexed: true;
|
|
159
|
+
readonly name: "from";
|
|
160
|
+
readonly type: "address";
|
|
161
|
+
}, {
|
|
162
|
+
readonly indexed: true;
|
|
163
|
+
readonly name: "to";
|
|
164
|
+
readonly type: "address";
|
|
165
|
+
}, {
|
|
166
|
+
readonly indexed: false;
|
|
167
|
+
readonly name: "value";
|
|
168
|
+
readonly type: "uint256";
|
|
169
|
+
}];
|
|
170
|
+
readonly name: "Transfer";
|
|
171
|
+
readonly type: "event";
|
|
172
|
+
}];
|
|
173
|
+
static createInterface(): Erc20Interface;
|
|
174
|
+
static connect(address: string, signerOrProvider: Signer | Provider): Erc20;
|
|
175
|
+
}
|