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