@ape.swap/bonds-sdk 1.0.473 → 1.0.475

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.
Files changed (128) hide show
  1. package/dist/config/abi/bondNft.json +424 -0
  2. package/dist/config/abi/ens-public-resolver.json +816 -0
  3. package/dist/config/abi/ens-registrar.json +422 -0
  4. package/dist/config/abi/erc20_bytes32.json +30 -0
  5. package/dist/config/abi/jungleChef.json +291 -0
  6. package/dist/config/abi/launchBonds.json +2014 -0
  7. package/dist/config/abi/lockVeAbond.json +2198 -0
  8. package/dist/config/abi/migrationBond.json +1639 -0
  9. package/dist/config/abi/migrationFveAbond.json +160 -0
  10. package/dist/config/abi/multicallv3.json +92 -0
  11. package/dist/config/abi/sousChef.json +649 -0
  12. package/dist/config/abi/types/Banana.d.ts +417 -0
  13. package/dist/config/abi/types/Banana.js +1 -0
  14. package/dist/config/abi/types/Bond.d.ts +803 -0
  15. package/dist/config/abi/types/Bond.js +1 -0
  16. package/dist/config/abi/types/BondNft.d.ts +603 -0
  17. package/dist/config/abi/types/BondNft.js +1 -0
  18. package/dist/config/abi/types/EnsPublicResolver.d.ts +513 -0
  19. package/dist/config/abi/types/EnsPublicResolver.js +1 -0
  20. package/dist/config/abi/types/EnsRegistrar.d.ts +274 -0
  21. package/dist/config/abi/types/EnsRegistrar.js +1 -0
  22. package/dist/config/abi/types/Erc20.d.ts +168 -0
  23. package/dist/config/abi/types/Erc20.js +1 -0
  24. package/dist/config/abi/types/Erc20_bytes32.d.ts +50 -0
  25. package/dist/config/abi/types/Erc20_bytes32.js +1 -0
  26. package/dist/config/abi/types/JungleChef.d.ts +260 -0
  27. package/dist/config/abi/types/JungleChef.js +1 -0
  28. package/dist/config/abi/types/LaunchBonds.d.ts +1362 -0
  29. package/dist/config/abi/types/LaunchBonds.js +1 -0
  30. package/dist/config/abi/types/LensContract.d.ts +295 -0
  31. package/dist/config/abi/types/LensContract.js +1 -0
  32. package/dist/config/abi/types/LockVeAbond.d.ts +1279 -0
  33. package/dist/config/abi/types/LockVeAbond.js +1 -0
  34. package/dist/config/abi/types/MigrationBond.d.ts +1136 -0
  35. package/dist/config/abi/types/MigrationBond.js +1 -0
  36. package/dist/config/abi/types/MigrationFveAbond.d.ts +290 -0
  37. package/dist/config/abi/types/MigrationFveAbond.js +1 -0
  38. package/dist/config/abi/types/MiniComplexRewarder.d.ts +469 -0
  39. package/dist/config/abi/types/MiniComplexRewarder.js +1 -0
  40. package/dist/config/abi/types/Multicallv2.d.ts +150 -0
  41. package/dist/config/abi/types/Multicallv2.js +1 -0
  42. package/dist/config/abi/types/Multicallv3.d.ts +98 -0
  43. package/dist/config/abi/types/Multicallv3.js +1 -0
  44. package/dist/config/abi/types/NonFungibleApes.d.ts +532 -0
  45. package/dist/config/abi/types/NonFungibleApes.js +1 -0
  46. package/dist/config/abi/types/NonFungibleBananas.d.ts +505 -0
  47. package/dist/config/abi/types/NonFungibleBananas.js +1 -0
  48. package/dist/config/abi/types/PriceGetter.d.ts +713 -0
  49. package/dist/config/abi/types/PriceGetter.js +1 -0
  50. package/dist/config/abi/types/PriceGetterLinea.d.ts +789 -0
  51. package/dist/config/abi/types/PriceGetterLinea.js +1 -0
  52. package/dist/config/abi/types/PriceGetterV2.d.ts +729 -0
  53. package/dist/config/abi/types/PriceGetterV2.js +1 -0
  54. package/dist/config/abi/types/SousChef.d.ts +579 -0
  55. package/dist/config/abi/types/SousChef.js +1 -0
  56. package/dist/config/abi/types/Treasury.d.ts +277 -0
  57. package/dist/config/abi/types/Treasury.js +1 -0
  58. package/dist/config/abi/types/Weth.d.ts +221 -0
  59. package/dist/config/abi/types/Weth.js +1 -0
  60. package/dist/config/abi/types/Zap.d.ts +528 -0
  61. package/dist/config/abi/types/Zap.js +1 -0
  62. package/dist/config/abi/types/common.d.ts +22 -0
  63. package/dist/config/abi/types/common.js +1 -0
  64. package/dist/config/abi/types/factories/Banana__factory.d.ts +475 -0
  65. package/dist/config/abi/types/factories/Banana__factory.js +628 -0
  66. package/dist/config/abi/types/factories/BondNft__factory.d.ts +723 -0
  67. package/dist/config/abi/types/factories/BondNft__factory.js +951 -0
  68. package/dist/config/abi/types/factories/Bond__factory.d.ts +799 -0
  69. package/dist/config/abi/types/factories/Bond__factory.js +1042 -0
  70. package/dist/config/abi/types/factories/EnsPublicResolver__factory.d.ts +649 -0
  71. package/dist/config/abi/types/factories/EnsPublicResolver__factory.js +833 -0
  72. package/dist/config/abi/types/factories/EnsRegistrar__factory.d.ts +338 -0
  73. package/dist/config/abi/types/factories/EnsRegistrar__factory.js +439 -0
  74. package/dist/config/abi/types/factories/Erc20__factory.d.ts +175 -0
  75. package/dist/config/abi/types/factories/Erc20__factory.js +239 -0
  76. package/dist/config/abi/types/factories/Erc20_bytes32__factory.d.ts +30 -0
  77. package/dist/config/abi/types/factories/Erc20_bytes32__factory.js +47 -0
  78. package/dist/config/abi/types/factories/JungleChef__factory.d.ts +247 -0
  79. package/dist/config/abi/types/factories/JungleChef__factory.js +326 -0
  80. package/dist/config/abi/types/factories/LaunchBonds__factory.d.ts +1560 -0
  81. package/dist/config/abi/types/factories/LaunchBonds__factory.js +2031 -0
  82. package/dist/config/abi/types/factories/LensContract__factory.d.ts +254 -0
  83. package/dist/config/abi/types/factories/LensContract__factory.js +338 -0
  84. package/dist/config/abi/types/factories/LockVeAbond__factory.d.ts +1698 -0
  85. package/dist/config/abi/types/factories/LockVeAbond__factory.js +2215 -0
  86. package/dist/config/abi/types/factories/MigrationBond__factory.d.ts +1268 -0
  87. package/dist/config/abi/types/factories/MigrationBond__factory.js +1656 -0
  88. package/dist/config/abi/types/factories/MigrationFveAbond__factory.d.ts +262 -0
  89. package/dist/config/abi/types/factories/MigrationFveAbond__factory.js +346 -0
  90. package/dist/config/abi/types/factories/MiniComplexRewarder__factory.d.ts +448 -0
  91. package/dist/config/abi/types/factories/MiniComplexRewarder__factory.js +586 -0
  92. package/dist/config/abi/types/factories/Multicallv2__factory.d.ts +115 -0
  93. package/dist/config/abi/types/factories/Multicallv2__factory.js +160 -0
  94. package/dist/config/abi/types/factories/Multicallv3__factory.d.ts +76 -0
  95. package/dist/config/abi/types/factories/Multicallv3__factory.js +109 -0
  96. package/dist/config/abi/types/factories/NonFungibleApes__factory.d.ts +617 -0
  97. package/dist/config/abi/types/factories/NonFungibleApes__factory.js +810 -0
  98. package/dist/config/abi/types/factories/NonFungibleBananas__factory.d.ts +576 -0
  99. package/dist/config/abi/types/factories/NonFungibleBananas__factory.js +756 -0
  100. package/dist/config/abi/types/factories/PriceGetterLinea__factory.d.ts +1105 -0
  101. package/dist/config/abi/types/factories/PriceGetterLinea__factory.js +1465 -0
  102. package/dist/config/abi/types/factories/PriceGetterV2__factory.d.ts +1027 -0
  103. package/dist/config/abi/types/factories/PriceGetterV2__factory.js +1364 -0
  104. package/dist/config/abi/types/factories/PriceGetter__factory.d.ts +999 -0
  105. package/dist/config/abi/types/factories/PriceGetter__factory.js +1326 -0
  106. package/dist/config/abi/types/factories/SousChef__factory.d.ts +511 -0
  107. package/dist/config/abi/types/factories/SousChef__factory.js +666 -0
  108. package/dist/config/abi/types/factories/Treasury__factory.d.ts +235 -0
  109. package/dist/config/abi/types/factories/Treasury__factory.js +309 -0
  110. package/dist/config/abi/types/factories/Weth__factory.d.ts +220 -0
  111. package/dist/config/abi/types/factories/Weth__factory.js +296 -0
  112. package/dist/config/abi/types/factories/Zap__factory.d.ts +695 -0
  113. package/dist/config/abi/types/factories/Zap__factory.js +889 -0
  114. package/dist/config/abi/types/factories/index.d.ts +25 -0
  115. package/dist/config/abi/types/factories/index.js +28 -0
  116. package/dist/config/abi/types/index.d.ts +51 -0
  117. package/dist/config/abi/types/index.js +26 -0
  118. package/dist/config/abi/weth.json +279 -0
  119. package/dist/hooks/useClaimBill.d.ts +4 -0
  120. package/dist/hooks/useClaimBill.js +59 -0
  121. package/dist/hooks/useContract.d.ts +25 -0
  122. package/dist/hooks/useContract.js +107 -0
  123. package/dist/pages/YourBonds/YourBonds.js +37 -10
  124. package/dist/utils/index.d.ts +16 -0
  125. package/dist/utils/index.js +127 -0
  126. package/dist/utils/track.d.ts +7 -0
  127. package/dist/utils/track.js +17 -0
  128. package/package.json +1 -1
@@ -0,0 +1,833 @@
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: "_ens",
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: "bytes32",
24
+ name: "node",
25
+ type: "bytes32",
26
+ },
27
+ {
28
+ indexed: true,
29
+ internalType: "uint256",
30
+ name: "contentType",
31
+ type: "uint256",
32
+ },
33
+ ],
34
+ name: "ABIChanged",
35
+ type: "event",
36
+ },
37
+ {
38
+ anonymous: false,
39
+ inputs: [
40
+ {
41
+ indexed: true,
42
+ internalType: "bytes32",
43
+ name: "node",
44
+ type: "bytes32",
45
+ },
46
+ {
47
+ indexed: false,
48
+ internalType: "address",
49
+ name: "a",
50
+ type: "address",
51
+ },
52
+ ],
53
+ name: "AddrChanged",
54
+ type: "event",
55
+ },
56
+ {
57
+ anonymous: false,
58
+ inputs: [
59
+ {
60
+ indexed: true,
61
+ internalType: "bytes32",
62
+ name: "node",
63
+ type: "bytes32",
64
+ },
65
+ {
66
+ indexed: false,
67
+ internalType: "uint256",
68
+ name: "coinType",
69
+ type: "uint256",
70
+ },
71
+ {
72
+ indexed: false,
73
+ internalType: "bytes",
74
+ name: "newAddress",
75
+ type: "bytes",
76
+ },
77
+ ],
78
+ name: "AddressChanged",
79
+ type: "event",
80
+ },
81
+ {
82
+ anonymous: false,
83
+ inputs: [
84
+ {
85
+ indexed: true,
86
+ internalType: "bytes32",
87
+ name: "node",
88
+ type: "bytes32",
89
+ },
90
+ {
91
+ indexed: true,
92
+ internalType: "address",
93
+ name: "owner",
94
+ type: "address",
95
+ },
96
+ {
97
+ indexed: true,
98
+ internalType: "address",
99
+ name: "target",
100
+ type: "address",
101
+ },
102
+ {
103
+ indexed: false,
104
+ internalType: "bool",
105
+ name: "isAuthorised",
106
+ type: "bool",
107
+ },
108
+ ],
109
+ name: "AuthorisationChanged",
110
+ type: "event",
111
+ },
112
+ {
113
+ anonymous: false,
114
+ inputs: [
115
+ {
116
+ indexed: true,
117
+ internalType: "bytes32",
118
+ name: "node",
119
+ type: "bytes32",
120
+ },
121
+ {
122
+ indexed: false,
123
+ internalType: "bytes",
124
+ name: "hash",
125
+ type: "bytes",
126
+ },
127
+ ],
128
+ name: "ContenthashChanged",
129
+ type: "event",
130
+ },
131
+ {
132
+ anonymous: false,
133
+ inputs: [
134
+ {
135
+ indexed: true,
136
+ internalType: "bytes32",
137
+ name: "node",
138
+ type: "bytes32",
139
+ },
140
+ {
141
+ indexed: false,
142
+ internalType: "bytes",
143
+ name: "name",
144
+ type: "bytes",
145
+ },
146
+ {
147
+ indexed: false,
148
+ internalType: "uint16",
149
+ name: "resource",
150
+ type: "uint16",
151
+ },
152
+ {
153
+ indexed: false,
154
+ internalType: "bytes",
155
+ name: "record",
156
+ type: "bytes",
157
+ },
158
+ ],
159
+ name: "DNSRecordChanged",
160
+ type: "event",
161
+ },
162
+ {
163
+ anonymous: false,
164
+ inputs: [
165
+ {
166
+ indexed: true,
167
+ internalType: "bytes32",
168
+ name: "node",
169
+ type: "bytes32",
170
+ },
171
+ {
172
+ indexed: false,
173
+ internalType: "bytes",
174
+ name: "name",
175
+ type: "bytes",
176
+ },
177
+ {
178
+ indexed: false,
179
+ internalType: "uint16",
180
+ name: "resource",
181
+ type: "uint16",
182
+ },
183
+ ],
184
+ name: "DNSRecordDeleted",
185
+ type: "event",
186
+ },
187
+ {
188
+ anonymous: false,
189
+ inputs: [
190
+ {
191
+ indexed: true,
192
+ internalType: "bytes32",
193
+ name: "node",
194
+ type: "bytes32",
195
+ },
196
+ ],
197
+ name: "DNSZoneCleared",
198
+ type: "event",
199
+ },
200
+ {
201
+ anonymous: false,
202
+ inputs: [
203
+ {
204
+ indexed: true,
205
+ internalType: "bytes32",
206
+ name: "node",
207
+ type: "bytes32",
208
+ },
209
+ {
210
+ indexed: true,
211
+ internalType: "bytes4",
212
+ name: "interfaceID",
213
+ type: "bytes4",
214
+ },
215
+ {
216
+ indexed: false,
217
+ internalType: "address",
218
+ name: "implementer",
219
+ type: "address",
220
+ },
221
+ ],
222
+ name: "InterfaceChanged",
223
+ type: "event",
224
+ },
225
+ {
226
+ anonymous: false,
227
+ inputs: [
228
+ {
229
+ indexed: true,
230
+ internalType: "bytes32",
231
+ name: "node",
232
+ type: "bytes32",
233
+ },
234
+ {
235
+ indexed: false,
236
+ internalType: "string",
237
+ name: "name",
238
+ type: "string",
239
+ },
240
+ ],
241
+ name: "NameChanged",
242
+ type: "event",
243
+ },
244
+ {
245
+ anonymous: false,
246
+ inputs: [
247
+ {
248
+ indexed: true,
249
+ internalType: "bytes32",
250
+ name: "node",
251
+ type: "bytes32",
252
+ },
253
+ {
254
+ indexed: false,
255
+ internalType: "bytes32",
256
+ name: "x",
257
+ type: "bytes32",
258
+ },
259
+ {
260
+ indexed: false,
261
+ internalType: "bytes32",
262
+ name: "y",
263
+ type: "bytes32",
264
+ },
265
+ ],
266
+ name: "PubkeyChanged",
267
+ type: "event",
268
+ },
269
+ {
270
+ anonymous: false,
271
+ inputs: [
272
+ {
273
+ indexed: true,
274
+ internalType: "bytes32",
275
+ name: "node",
276
+ type: "bytes32",
277
+ },
278
+ {
279
+ indexed: true,
280
+ internalType: "string",
281
+ name: "indexedKey",
282
+ type: "string",
283
+ },
284
+ {
285
+ indexed: false,
286
+ internalType: "string",
287
+ name: "key",
288
+ type: "string",
289
+ },
290
+ ],
291
+ name: "TextChanged",
292
+ type: "event",
293
+ },
294
+ {
295
+ constant: true,
296
+ inputs: [
297
+ {
298
+ internalType: "bytes32",
299
+ name: "node",
300
+ type: "bytes32",
301
+ },
302
+ {
303
+ internalType: "uint256",
304
+ name: "contentTypes",
305
+ type: "uint256",
306
+ },
307
+ ],
308
+ name: "ABI",
309
+ outputs: [
310
+ {
311
+ internalType: "uint256",
312
+ name: "",
313
+ type: "uint256",
314
+ },
315
+ {
316
+ internalType: "bytes",
317
+ name: "",
318
+ type: "bytes",
319
+ },
320
+ ],
321
+ payable: false,
322
+ stateMutability: "view",
323
+ type: "function",
324
+ },
325
+ {
326
+ constant: true,
327
+ inputs: [
328
+ {
329
+ internalType: "bytes32",
330
+ name: "node",
331
+ type: "bytes32",
332
+ },
333
+ ],
334
+ name: "addr",
335
+ outputs: [
336
+ {
337
+ internalType: "address payable",
338
+ name: "",
339
+ type: "address",
340
+ },
341
+ ],
342
+ payable: false,
343
+ stateMutability: "view",
344
+ type: "function",
345
+ },
346
+ {
347
+ constant: true,
348
+ inputs: [
349
+ {
350
+ internalType: "bytes32",
351
+ name: "",
352
+ type: "bytes32",
353
+ },
354
+ {
355
+ internalType: "address",
356
+ name: "",
357
+ type: "address",
358
+ },
359
+ {
360
+ internalType: "address",
361
+ name: "",
362
+ type: "address",
363
+ },
364
+ ],
365
+ name: "authorisations",
366
+ outputs: [
367
+ {
368
+ internalType: "bool",
369
+ name: "",
370
+ type: "bool",
371
+ },
372
+ ],
373
+ payable: false,
374
+ stateMutability: "view",
375
+ type: "function",
376
+ },
377
+ {
378
+ constant: false,
379
+ inputs: [
380
+ {
381
+ internalType: "bytes32",
382
+ name: "node",
383
+ type: "bytes32",
384
+ },
385
+ ],
386
+ name: "clearDNSZone",
387
+ outputs: [],
388
+ payable: false,
389
+ stateMutability: "nonpayable",
390
+ type: "function",
391
+ },
392
+ {
393
+ constant: true,
394
+ inputs: [
395
+ {
396
+ internalType: "bytes32",
397
+ name: "node",
398
+ type: "bytes32",
399
+ },
400
+ ],
401
+ name: "contenthash",
402
+ outputs: [
403
+ {
404
+ internalType: "bytes",
405
+ name: "",
406
+ type: "bytes",
407
+ },
408
+ ],
409
+ payable: false,
410
+ stateMutability: "view",
411
+ type: "function",
412
+ },
413
+ {
414
+ constant: true,
415
+ inputs: [
416
+ {
417
+ internalType: "bytes32",
418
+ name: "node",
419
+ type: "bytes32",
420
+ },
421
+ {
422
+ internalType: "bytes32",
423
+ name: "name",
424
+ type: "bytes32",
425
+ },
426
+ {
427
+ internalType: "uint16",
428
+ name: "resource",
429
+ type: "uint16",
430
+ },
431
+ ],
432
+ name: "dnsRecord",
433
+ outputs: [
434
+ {
435
+ internalType: "bytes",
436
+ name: "",
437
+ type: "bytes",
438
+ },
439
+ ],
440
+ payable: false,
441
+ stateMutability: "view",
442
+ type: "function",
443
+ },
444
+ {
445
+ constant: true,
446
+ inputs: [
447
+ {
448
+ internalType: "bytes32",
449
+ name: "node",
450
+ type: "bytes32",
451
+ },
452
+ {
453
+ internalType: "bytes32",
454
+ name: "name",
455
+ type: "bytes32",
456
+ },
457
+ ],
458
+ name: "hasDNSRecords",
459
+ outputs: [
460
+ {
461
+ internalType: "bool",
462
+ name: "",
463
+ type: "bool",
464
+ },
465
+ ],
466
+ payable: false,
467
+ stateMutability: "view",
468
+ type: "function",
469
+ },
470
+ {
471
+ constant: true,
472
+ inputs: [
473
+ {
474
+ internalType: "bytes32",
475
+ name: "node",
476
+ type: "bytes32",
477
+ },
478
+ {
479
+ internalType: "bytes4",
480
+ name: "interfaceID",
481
+ type: "bytes4",
482
+ },
483
+ ],
484
+ name: "interfaceImplementer",
485
+ outputs: [
486
+ {
487
+ internalType: "address",
488
+ name: "",
489
+ type: "address",
490
+ },
491
+ ],
492
+ payable: false,
493
+ stateMutability: "view",
494
+ type: "function",
495
+ },
496
+ {
497
+ constant: true,
498
+ inputs: [
499
+ {
500
+ internalType: "bytes32",
501
+ name: "node",
502
+ type: "bytes32",
503
+ },
504
+ ],
505
+ name: "name",
506
+ outputs: [
507
+ {
508
+ internalType: "string",
509
+ name: "",
510
+ type: "string",
511
+ },
512
+ ],
513
+ payable: false,
514
+ stateMutability: "view",
515
+ type: "function",
516
+ },
517
+ {
518
+ constant: true,
519
+ inputs: [
520
+ {
521
+ internalType: "bytes32",
522
+ name: "node",
523
+ type: "bytes32",
524
+ },
525
+ ],
526
+ name: "pubkey",
527
+ outputs: [
528
+ {
529
+ internalType: "bytes32",
530
+ name: "x",
531
+ type: "bytes32",
532
+ },
533
+ {
534
+ internalType: "bytes32",
535
+ name: "y",
536
+ type: "bytes32",
537
+ },
538
+ ],
539
+ payable: false,
540
+ stateMutability: "view",
541
+ type: "function",
542
+ },
543
+ {
544
+ constant: false,
545
+ inputs: [
546
+ {
547
+ internalType: "bytes32",
548
+ name: "node",
549
+ type: "bytes32",
550
+ },
551
+ {
552
+ internalType: "uint256",
553
+ name: "contentType",
554
+ type: "uint256",
555
+ },
556
+ {
557
+ internalType: "bytes",
558
+ name: "data",
559
+ type: "bytes",
560
+ },
561
+ ],
562
+ name: "setABI",
563
+ outputs: [],
564
+ payable: false,
565
+ stateMutability: "nonpayable",
566
+ type: "function",
567
+ },
568
+ {
569
+ constant: false,
570
+ inputs: [
571
+ {
572
+ internalType: "bytes32",
573
+ name: "node",
574
+ type: "bytes32",
575
+ },
576
+ {
577
+ internalType: "uint256",
578
+ name: "coinType",
579
+ type: "uint256",
580
+ },
581
+ {
582
+ internalType: "bytes",
583
+ name: "a",
584
+ type: "bytes",
585
+ },
586
+ ],
587
+ name: "setAddr",
588
+ outputs: [],
589
+ payable: false,
590
+ stateMutability: "nonpayable",
591
+ type: "function",
592
+ },
593
+ {
594
+ constant: false,
595
+ inputs: [
596
+ {
597
+ internalType: "bytes32",
598
+ name: "node",
599
+ type: "bytes32",
600
+ },
601
+ {
602
+ internalType: "address",
603
+ name: "a",
604
+ type: "address",
605
+ },
606
+ ],
607
+ name: "setAddr",
608
+ outputs: [],
609
+ payable: false,
610
+ stateMutability: "nonpayable",
611
+ type: "function",
612
+ },
613
+ {
614
+ constant: false,
615
+ inputs: [
616
+ {
617
+ internalType: "bytes32",
618
+ name: "node",
619
+ type: "bytes32",
620
+ },
621
+ {
622
+ internalType: "address",
623
+ name: "target",
624
+ type: "address",
625
+ },
626
+ {
627
+ internalType: "bool",
628
+ name: "isAuthorised",
629
+ type: "bool",
630
+ },
631
+ ],
632
+ name: "setAuthorisation",
633
+ outputs: [],
634
+ payable: false,
635
+ stateMutability: "nonpayable",
636
+ type: "function",
637
+ },
638
+ {
639
+ constant: false,
640
+ inputs: [
641
+ {
642
+ internalType: "bytes32",
643
+ name: "node",
644
+ type: "bytes32",
645
+ },
646
+ {
647
+ internalType: "bytes",
648
+ name: "hash",
649
+ type: "bytes",
650
+ },
651
+ ],
652
+ name: "setContenthash",
653
+ outputs: [],
654
+ payable: false,
655
+ stateMutability: "nonpayable",
656
+ type: "function",
657
+ },
658
+ {
659
+ constant: false,
660
+ inputs: [
661
+ {
662
+ internalType: "bytes32",
663
+ name: "node",
664
+ type: "bytes32",
665
+ },
666
+ {
667
+ internalType: "bytes",
668
+ name: "data",
669
+ type: "bytes",
670
+ },
671
+ ],
672
+ name: "setDNSRecords",
673
+ outputs: [],
674
+ payable: false,
675
+ stateMutability: "nonpayable",
676
+ type: "function",
677
+ },
678
+ {
679
+ constant: false,
680
+ inputs: [
681
+ {
682
+ internalType: "bytes32",
683
+ name: "node",
684
+ type: "bytes32",
685
+ },
686
+ {
687
+ internalType: "bytes4",
688
+ name: "interfaceID",
689
+ type: "bytes4",
690
+ },
691
+ {
692
+ internalType: "address",
693
+ name: "implementer",
694
+ type: "address",
695
+ },
696
+ ],
697
+ name: "setInterface",
698
+ outputs: [],
699
+ payable: false,
700
+ stateMutability: "nonpayable",
701
+ type: "function",
702
+ },
703
+ {
704
+ constant: false,
705
+ inputs: [
706
+ {
707
+ internalType: "bytes32",
708
+ name: "node",
709
+ type: "bytes32",
710
+ },
711
+ {
712
+ internalType: "string",
713
+ name: "name",
714
+ type: "string",
715
+ },
716
+ ],
717
+ name: "setName",
718
+ outputs: [],
719
+ payable: false,
720
+ stateMutability: "nonpayable",
721
+ type: "function",
722
+ },
723
+ {
724
+ constant: false,
725
+ inputs: [
726
+ {
727
+ internalType: "bytes32",
728
+ name: "node",
729
+ type: "bytes32",
730
+ },
731
+ {
732
+ internalType: "bytes32",
733
+ name: "x",
734
+ type: "bytes32",
735
+ },
736
+ {
737
+ internalType: "bytes32",
738
+ name: "y",
739
+ type: "bytes32",
740
+ },
741
+ ],
742
+ name: "setPubkey",
743
+ outputs: [],
744
+ payable: false,
745
+ stateMutability: "nonpayable",
746
+ type: "function",
747
+ },
748
+ {
749
+ constant: false,
750
+ inputs: [
751
+ {
752
+ internalType: "bytes32",
753
+ name: "node",
754
+ type: "bytes32",
755
+ },
756
+ {
757
+ internalType: "string",
758
+ name: "key",
759
+ type: "string",
760
+ },
761
+ {
762
+ internalType: "string",
763
+ name: "value",
764
+ type: "string",
765
+ },
766
+ ],
767
+ name: "setText",
768
+ outputs: [],
769
+ payable: false,
770
+ stateMutability: "nonpayable",
771
+ type: "function",
772
+ },
773
+ {
774
+ constant: true,
775
+ inputs: [
776
+ {
777
+ internalType: "bytes4",
778
+ name: "interfaceID",
779
+ type: "bytes4",
780
+ },
781
+ ],
782
+ name: "supportsInterface",
783
+ outputs: [
784
+ {
785
+ internalType: "bool",
786
+ name: "",
787
+ type: "bool",
788
+ },
789
+ ],
790
+ payable: false,
791
+ stateMutability: "pure",
792
+ type: "function",
793
+ },
794
+ {
795
+ constant: true,
796
+ inputs: [
797
+ {
798
+ internalType: "bytes32",
799
+ name: "node",
800
+ type: "bytes32",
801
+ },
802
+ {
803
+ internalType: "string",
804
+ name: "key",
805
+ type: "string",
806
+ },
807
+ ],
808
+ name: "text",
809
+ outputs: [
810
+ {
811
+ internalType: "string",
812
+ name: "",
813
+ type: "string",
814
+ },
815
+ ],
816
+ payable: false,
817
+ stateMutability: "view",
818
+ type: "function",
819
+ },
820
+ ];
821
+ var EnsPublicResolver__factory = /** @class */ (function () {
822
+ function EnsPublicResolver__factory() {
823
+ }
824
+ EnsPublicResolver__factory.createInterface = function () {
825
+ return new utils.Interface(_abi);
826
+ };
827
+ EnsPublicResolver__factory.connect = function (address, signerOrProvider) {
828
+ return new Contract(address, _abi, signerOrProvider);
829
+ };
830
+ EnsPublicResolver__factory.abi = _abi;
831
+ return EnsPublicResolver__factory;
832
+ }());
833
+ export { EnsPublicResolver__factory };