essential-eth 0.5.11-next.1 → 0.5.12

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 (185) hide show
  1. package/lib/cjs/classes/Contract.d.ts +78 -0
  2. package/lib/cjs/classes/Contract.js +140 -0
  3. package/{dist → lib/cjs}/classes/test/Contract/crv-abi.d.ts +2 -2
  4. package/lib/cjs/classes/test/Contract/crv-abi.js +488 -0
  5. package/{dist → lib/cjs}/classes/test/Contract/ens-abi.d.ts +2 -2
  6. package/lib/cjs/classes/test/Contract/ens-abi.js +453 -0
  7. package/{dist → lib/cjs}/classes/test/Contract/fei-abi.d.ts +2 -2
  8. package/lib/cjs/classes/test/Contract/fei-abi.js +526 -0
  9. package/{dist → lib/cjs}/classes/test/Contract/foo-abi.d.ts +2 -2
  10. package/lib/cjs/classes/test/Contract/foo-abi.js +42 -0
  11. package/{dist → lib/cjs}/classes/test/Contract/uniswap-abi.d.ts +2 -2
  12. package/lib/cjs/classes/test/Contract/uniswap-abi.js +121 -0
  13. package/lib/cjs/classes/utils/clean-block.d.ts +121 -0
  14. package/lib/cjs/classes/utils/clean-block.js +160 -0
  15. package/lib/cjs/classes/utils/clean-log.d.ts +9 -0
  16. package/lib/cjs/classes/utils/clean-log.js +37 -0
  17. package/lib/cjs/classes/utils/clean-transaction-receipt.d.ts +14 -0
  18. package/lib/cjs/classes/utils/clean-transaction-receipt.js +50 -0
  19. package/lib/cjs/classes/utils/clean-transaction.d.ts +14 -0
  20. package/lib/cjs/classes/utils/clean-transaction.js +51 -0
  21. package/lib/cjs/classes/utils/encode-decode-transaction.d.ts +16 -0
  22. package/lib/cjs/classes/utils/encode-decode-transaction.js +137 -0
  23. package/lib/cjs/classes/utils/fetchers.d.ts +39 -0
  24. package/lib/cjs/classes/utils/fetchers.js +81 -0
  25. package/lib/cjs/classes/utils/hex-to-decimal.d.ts +18 -0
  26. package/lib/cjs/classes/utils/hex-to-decimal.js +24 -0
  27. package/lib/cjs/classes/utils/prepare-transaction.d.ts +6 -0
  28. package/lib/cjs/classes/utils/prepare-transaction.js +45 -0
  29. package/{dist → lib/cjs}/index.d.ts +25 -25
  30. package/lib/cjs/index.js +54 -0
  31. package/{dist → lib/cjs}/logger/logger.d.ts +11 -11
  32. package/lib/cjs/logger/logger.js +36 -0
  33. package/lib/cjs/logger/package-version.d.ts +1 -0
  34. package/lib/cjs/logger/package-version.js +5 -0
  35. package/lib/cjs/providers/BaseProvider.d.ts +353 -0
  36. package/lib/cjs/providers/BaseProvider.js +512 -0
  37. package/lib/cjs/providers/FallthroughProvider.d.ts +24 -0
  38. package/lib/cjs/providers/FallthroughProvider.js +65 -0
  39. package/lib/cjs/providers/JsonRpcProvider.d.ts +33 -0
  40. package/lib/cjs/providers/JsonRpcProvider.js +46 -0
  41. package/{dist → lib/cjs}/providers/test/rpc-urls.d.ts +11 -11
  42. package/lib/cjs/providers/test/rpc-urls.js +14 -0
  43. package/{dist → lib/cjs}/providers/utils/chains-info.d.ts +467 -467
  44. package/lib/cjs/providers/utils/chains-info.js +1402 -0
  45. package/lib/cjs/shared/tiny-big/helpers.d.ts +17 -0
  46. package/lib/cjs/shared/tiny-big/helpers.js +97 -0
  47. package/lib/cjs/shared/tiny-big/tiny-big.d.ts +58 -0
  48. package/lib/cjs/shared/tiny-big/tiny-big.js +101 -0
  49. package/{dist → lib/cjs}/shared/validate-type.d.ts +3 -3
  50. package/lib/cjs/shared/validate-type.js +9 -0
  51. package/{dist → lib/cjs}/types/Block.types.d.ts +41 -40
  52. package/lib/cjs/types/Block.types.js +2 -0
  53. package/{dist → lib/cjs}/types/Contract.types.d.ts +24 -24
  54. package/lib/cjs/types/Contract.types.js +2 -0
  55. package/lib/cjs/types/Filter.types.d.ts +16 -0
  56. package/lib/cjs/types/Filter.types.js +2 -0
  57. package/lib/cjs/types/Network.types.d.ts +8 -0
  58. package/lib/cjs/types/Network.types.js +2 -0
  59. package/lib/cjs/types/Transaction.types.d.ts +123 -0
  60. package/lib/cjs/types/Transaction.types.js +2 -0
  61. package/lib/cjs/utils/bytes.d.ts +289 -0
  62. package/lib/cjs/utils/bytes.js +711 -0
  63. package/lib/cjs/utils/compute-address.d.ts +17 -0
  64. package/lib/cjs/utils/compute-address.js +33 -0
  65. package/lib/cjs/utils/compute-public-key.d.ts +18 -0
  66. package/lib/cjs/utils/compute-public-key.js +26 -0
  67. package/lib/cjs/utils/ether-to-gwei.d.ts +27 -0
  68. package/lib/cjs/utils/ether-to-gwei.js +35 -0
  69. package/lib/cjs/utils/ether-to-wei.d.ts +27 -0
  70. package/lib/cjs/utils/ether-to-wei.js +35 -0
  71. package/lib/cjs/utils/gwei-to-ether.d.ts +27 -0
  72. package/lib/cjs/utils/gwei-to-ether.js +35 -0
  73. package/lib/cjs/utils/hash-message.d.ts +14 -0
  74. package/lib/cjs/utils/hash-message.js +28 -0
  75. package/lib/cjs/utils/is-address.d.ts +24 -0
  76. package/lib/cjs/utils/is-address.js +39 -0
  77. package/lib/cjs/utils/keccak256.d.ts +16 -0
  78. package/lib/cjs/utils/keccak256.js +31 -0
  79. package/lib/cjs/utils/solidity-keccak256.d.ts +39 -0
  80. package/lib/cjs/utils/solidity-keccak256.js +138 -0
  81. package/lib/cjs/utils/split-signature.d.ts +24 -0
  82. package/lib/cjs/utils/split-signature.js +163 -0
  83. package/lib/cjs/utils/to-checksum-address.d.ts +17 -0
  84. package/lib/cjs/utils/to-checksum-address.js +46 -0
  85. package/lib/cjs/utils/to-utf8-bytes.d.ts +15 -0
  86. package/lib/cjs/utils/to-utf8-bytes.js +21 -0
  87. package/lib/cjs/utils/wei-to-ether.d.ts +27 -0
  88. package/lib/cjs/utils/wei-to-ether.js +45 -0
  89. package/{dist → lib/esm}/classes/Contract.d.ts +11 -11
  90. package/lib/esm/classes/Contract.js +65 -0
  91. package/lib/esm/classes/test/Contract/crv-abi.d.ts +2 -0
  92. package/lib/esm/classes/test/Contract/crv-abi.js +470 -0
  93. package/lib/esm/classes/test/Contract/ens-abi.d.ts +2 -0
  94. package/lib/esm/classes/test/Contract/ens-abi.js +435 -0
  95. package/lib/esm/classes/test/Contract/fei-abi.d.ts +2 -0
  96. package/lib/esm/classes/test/Contract/fei-abi.js +521 -0
  97. package/lib/esm/classes/test/Contract/foo-abi.d.ts +2 -0
  98. package/lib/esm/classes/test/Contract/foo-abi.js +33 -0
  99. package/lib/esm/classes/test/Contract/uniswap-abi.d.ts +2 -0
  100. package/lib/esm/classes/test/Contract/uniswap-abi.js +116 -0
  101. package/{dist → lib/esm}/classes/utils/clean-block.d.ts +3 -3
  102. package/lib/esm/classes/utils/clean-block.js +35 -0
  103. package/{dist → lib/esm}/classes/utils/clean-log.d.ts +2 -2
  104. package/lib/esm/classes/utils/clean-log.js +26 -0
  105. package/{dist → lib/esm}/classes/utils/clean-transaction-receipt.d.ts +2 -2
  106. package/lib/esm/classes/utils/clean-transaction-receipt.js +34 -0
  107. package/{dist → lib/esm}/classes/utils/clean-transaction.d.ts +2 -2
  108. package/lib/esm/classes/utils/clean-transaction.js +33 -0
  109. package/{dist → lib/esm}/classes/utils/encode-decode-transaction.d.ts +4 -4
  110. package/lib/esm/classes/utils/encode-decode-transaction.js +98 -0
  111. package/{dist → lib/esm}/classes/utils/fetchers.d.ts +9 -9
  112. package/lib/esm/classes/utils/fetchers.js +43 -0
  113. package/{dist → lib/esm}/classes/utils/hex-to-decimal.d.ts +1 -1
  114. package/lib/esm/classes/utils/hex-to-decimal.js +3 -0
  115. package/{dist → lib/esm}/classes/utils/prepare-transaction.d.ts +2 -2
  116. package/lib/esm/classes/utils/prepare-transaction.js +34 -0
  117. package/lib/esm/index.d.ts +25 -0
  118. package/lib/esm/index.js +20 -0
  119. package/lib/esm/logger/logger.d.ts +11 -0
  120. package/lib/esm/logger/logger.js +33 -0
  121. package/lib/esm/logger/package-version.d.ts +1 -0
  122. package/lib/esm/logger/package-version.js +1 -0
  123. package/{dist → lib/esm}/providers/BaseProvider.d.ts +24 -24
  124. package/lib/esm/providers/BaseProvider.js +157 -0
  125. package/{dist → lib/esm}/providers/FallthroughProvider.d.ts +11 -11
  126. package/lib/esm/providers/FallthroughProvider.js +41 -0
  127. package/{dist → lib/esm}/providers/JsonRpcProvider.d.ts +7 -7
  128. package/lib/esm/providers/JsonRpcProvider.js +15 -0
  129. package/lib/esm/providers/test/rpc-urls.d.ts +11 -0
  130. package/lib/esm/providers/test/rpc-urls.js +11 -0
  131. package/lib/esm/providers/utils/chains-info.d.ts +467 -0
  132. package/lib/esm/providers/utils/chains-info.js +1398 -0
  133. package/{dist → lib/esm}/shared/tiny-big/helpers.d.ts +1 -1
  134. package/lib/esm/shared/tiny-big/helpers.js +58 -0
  135. package/{dist → lib/esm}/shared/tiny-big/tiny-big.d.ts +10 -10
  136. package/lib/esm/shared/tiny-big/tiny-big.js +45 -0
  137. package/lib/esm/shared/validate-type.d.ts +3 -0
  138. package/lib/esm/shared/validate-type.js +5 -0
  139. package/lib/esm/types/Block.types.d.ts +40 -0
  140. package/lib/esm/types/Block.types.js +1 -0
  141. package/lib/esm/types/Contract.types.d.ts +24 -0
  142. package/lib/esm/types/Contract.types.js +1 -0
  143. package/{dist → lib/esm}/types/Filter.types.d.ts +12 -12
  144. package/lib/esm/types/Filter.types.js +1 -0
  145. package/{dist → lib/esm}/types/Network.types.d.ts +5 -5
  146. package/lib/esm/types/Network.types.js +1 -0
  147. package/{dist → lib/esm}/types/Transaction.types.d.ts +113 -113
  148. package/lib/esm/types/Transaction.types.js +1 -0
  149. package/{dist → lib/esm}/utils/bytes.d.ts +40 -40
  150. package/lib/esm/utils/bytes.js +245 -0
  151. package/{dist → lib/esm}/utils/compute-address.d.ts +1 -1
  152. package/lib/esm/utils/compute-address.js +11 -0
  153. package/{dist → lib/esm}/utils/compute-public-key.d.ts +2 -2
  154. package/lib/esm/utils/compute-public-key.js +6 -0
  155. package/{dist → lib/esm}/utils/ether-to-gwei.d.ts +3 -3
  156. package/lib/esm/utils/ether-to-gwei.js +7 -0
  157. package/{dist → lib/esm}/utils/ether-to-wei.d.ts +3 -3
  158. package/lib/esm/utils/ether-to-wei.js +7 -0
  159. package/{dist → lib/esm}/utils/gwei-to-ether.d.ts +3 -3
  160. package/lib/esm/utils/gwei-to-ether.js +7 -0
  161. package/{dist → lib/esm}/utils/hash-message.d.ts +2 -2
  162. package/lib/esm/utils/hash-message.js +12 -0
  163. package/{dist → lib/esm}/utils/is-address.d.ts +1 -1
  164. package/lib/esm/utils/is-address.js +12 -0
  165. package/{dist → lib/esm}/utils/keccak256.d.ts +2 -2
  166. package/lib/esm/utils/keccak256.js +13 -0
  167. package/{dist → lib/esm}/utils/solidity-keccak256.d.ts +2 -2
  168. package/lib/esm/utils/solidity-keccak256.js +85 -0
  169. package/{dist → lib/esm}/utils/split-signature.d.ts +2 -2
  170. package/lib/esm/utils/split-signature.js +126 -0
  171. package/{dist → lib/esm}/utils/to-checksum-address.d.ts +1 -1
  172. package/lib/esm/utils/to-checksum-address.js +25 -0
  173. package/{dist → lib/esm}/utils/to-utf8-bytes.d.ts +1 -1
  174. package/lib/esm/utils/to-utf8-bytes.js +3 -0
  175. package/{dist → lib/esm}/utils/wei-to-ether.d.ts +3 -3
  176. package/lib/esm/utils/wei-to-ether.js +16 -0
  177. package/package.json +14 -26
  178. package/readme.md +51 -66
  179. package/dist/index.js +0 -1904
  180. package/dist/index.js.map +0 -1
  181. package/dist/index.module.js +0 -1865
  182. package/dist/index.module.js.map +0 -1
  183. package/dist/index.umd.js +0 -2
  184. package/dist/index.umd.js.map +0 -1
  185. package/dist/logger/package-version.d.ts +0 -1
@@ -0,0 +1,435 @@
1
+ export const ensABI = [
2
+ {
3
+ inputs: [
4
+ { internalType: 'contract ENS', name: '_ens', type: 'address' },
5
+ { internalType: 'bytes32', name: '_baseNode', type: 'bytes32' },
6
+ ],
7
+ payable: false,
8
+ stateMutability: 'nonpayable',
9
+ type: 'constructor',
10
+ },
11
+ {
12
+ anonymous: false,
13
+ inputs: [
14
+ {
15
+ indexed: true,
16
+ internalType: 'address',
17
+ name: 'owner',
18
+ type: 'address',
19
+ },
20
+ {
21
+ indexed: true,
22
+ internalType: 'address',
23
+ name: 'approved',
24
+ type: 'address',
25
+ },
26
+ {
27
+ indexed: true,
28
+ internalType: 'uint256',
29
+ name: 'tokenId',
30
+ type: 'uint256',
31
+ },
32
+ ],
33
+ name: 'Approval',
34
+ type: 'event',
35
+ },
36
+ {
37
+ anonymous: false,
38
+ inputs: [
39
+ {
40
+ indexed: true,
41
+ internalType: 'address',
42
+ name: 'owner',
43
+ type: 'address',
44
+ },
45
+ {
46
+ indexed: true,
47
+ internalType: 'address',
48
+ name: 'operator',
49
+ type: 'address',
50
+ },
51
+ { indexed: false, internalType: 'bool', name: 'approved', type: 'bool' },
52
+ ],
53
+ name: 'ApprovalForAll',
54
+ type: 'event',
55
+ },
56
+ {
57
+ anonymous: false,
58
+ inputs: [
59
+ {
60
+ indexed: true,
61
+ internalType: 'address',
62
+ name: 'controller',
63
+ type: 'address',
64
+ },
65
+ ],
66
+ name: 'ControllerAdded',
67
+ type: 'event',
68
+ },
69
+ {
70
+ anonymous: false,
71
+ inputs: [
72
+ {
73
+ indexed: true,
74
+ internalType: 'address',
75
+ name: 'controller',
76
+ type: 'address',
77
+ },
78
+ ],
79
+ name: 'ControllerRemoved',
80
+ type: 'event',
81
+ },
82
+ {
83
+ anonymous: false,
84
+ inputs: [
85
+ { indexed: true, internalType: 'uint256', name: 'id', type: 'uint256' },
86
+ {
87
+ indexed: true,
88
+ internalType: 'address',
89
+ name: 'owner',
90
+ type: 'address',
91
+ },
92
+ {
93
+ indexed: false,
94
+ internalType: 'uint256',
95
+ name: 'expires',
96
+ type: 'uint256',
97
+ },
98
+ ],
99
+ name: 'NameMigrated',
100
+ type: 'event',
101
+ },
102
+ {
103
+ anonymous: false,
104
+ inputs: [
105
+ { indexed: true, internalType: 'uint256', name: 'id', type: 'uint256' },
106
+ {
107
+ indexed: true,
108
+ internalType: 'address',
109
+ name: 'owner',
110
+ type: 'address',
111
+ },
112
+ {
113
+ indexed: false,
114
+ internalType: 'uint256',
115
+ name: 'expires',
116
+ type: 'uint256',
117
+ },
118
+ ],
119
+ name: 'NameRegistered',
120
+ type: 'event',
121
+ },
122
+ {
123
+ anonymous: false,
124
+ inputs: [
125
+ { indexed: true, internalType: 'uint256', name: 'id', type: 'uint256' },
126
+ {
127
+ indexed: false,
128
+ internalType: 'uint256',
129
+ name: 'expires',
130
+ type: 'uint256',
131
+ },
132
+ ],
133
+ name: 'NameRenewed',
134
+ type: 'event',
135
+ },
136
+ {
137
+ anonymous: false,
138
+ inputs: [
139
+ {
140
+ indexed: true,
141
+ internalType: 'address',
142
+ name: 'previousOwner',
143
+ type: 'address',
144
+ },
145
+ {
146
+ indexed: true,
147
+ internalType: 'address',
148
+ name: 'newOwner',
149
+ type: 'address',
150
+ },
151
+ ],
152
+ name: 'OwnershipTransferred',
153
+ type: 'event',
154
+ },
155
+ {
156
+ anonymous: false,
157
+ inputs: [
158
+ { indexed: true, internalType: 'address', name: 'from', type: 'address' },
159
+ { indexed: true, internalType: 'address', name: 'to', type: 'address' },
160
+ {
161
+ indexed: true,
162
+ internalType: 'uint256',
163
+ name: 'tokenId',
164
+ type: 'uint256',
165
+ },
166
+ ],
167
+ name: 'Transfer',
168
+ type: 'event',
169
+ },
170
+ {
171
+ constant: true,
172
+ inputs: [],
173
+ name: 'GRACE_PERIOD',
174
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
175
+ payable: false,
176
+ stateMutability: 'view',
177
+ type: 'function',
178
+ },
179
+ {
180
+ constant: false,
181
+ inputs: [{ internalType: 'address', name: 'controller', type: 'address' }],
182
+ name: 'addController',
183
+ outputs: [],
184
+ payable: false,
185
+ stateMutability: 'nonpayable',
186
+ type: 'function',
187
+ },
188
+ {
189
+ constant: false,
190
+ inputs: [
191
+ { internalType: 'address', name: 'to', type: 'address' },
192
+ { internalType: 'uint256', name: 'tokenId', type: 'uint256' },
193
+ ],
194
+ name: 'approve',
195
+ outputs: [],
196
+ payable: false,
197
+ stateMutability: 'nonpayable',
198
+ type: 'function',
199
+ },
200
+ {
201
+ constant: true,
202
+ inputs: [{ internalType: 'uint256', name: 'id', type: 'uint256' }],
203
+ name: 'available',
204
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
205
+ payable: false,
206
+ stateMutability: 'view',
207
+ type: 'function',
208
+ },
209
+ {
210
+ constant: true,
211
+ inputs: [{ internalType: 'address', name: 'owner', type: 'address' }],
212
+ name: 'balanceOf',
213
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
214
+ payable: false,
215
+ stateMutability: 'view',
216
+ type: 'function',
217
+ },
218
+ {
219
+ constant: true,
220
+ inputs: [],
221
+ name: 'baseNode',
222
+ outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }],
223
+ payable: false,
224
+ stateMutability: 'view',
225
+ type: 'function',
226
+ },
227
+ {
228
+ constant: true,
229
+ inputs: [{ internalType: 'address', name: '', type: 'address' }],
230
+ name: 'controllers',
231
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
232
+ payable: false,
233
+ stateMutability: 'view',
234
+ type: 'function',
235
+ },
236
+ {
237
+ constant: true,
238
+ inputs: [],
239
+ name: 'ens',
240
+ outputs: [{ internalType: 'contract ENS', name: '', type: 'address' }],
241
+ payable: false,
242
+ stateMutability: 'view',
243
+ type: 'function',
244
+ },
245
+ {
246
+ constant: true,
247
+ inputs: [{ internalType: 'uint256', name: 'tokenId', type: 'uint256' }],
248
+ name: 'getApproved',
249
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
250
+ payable: false,
251
+ stateMutability: 'view',
252
+ type: 'function',
253
+ },
254
+ {
255
+ constant: true,
256
+ inputs: [
257
+ { internalType: 'address', name: 'owner', type: 'address' },
258
+ { internalType: 'address', name: 'operator', type: 'address' },
259
+ ],
260
+ name: 'isApprovedForAll',
261
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
262
+ payable: false,
263
+ stateMutability: 'view',
264
+ type: 'function',
265
+ },
266
+ {
267
+ constant: true,
268
+ inputs: [],
269
+ name: 'isOwner',
270
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
271
+ payable: false,
272
+ stateMutability: 'view',
273
+ type: 'function',
274
+ },
275
+ {
276
+ constant: true,
277
+ inputs: [{ internalType: 'uint256', name: 'id', type: 'uint256' }],
278
+ name: 'nameExpires',
279
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
280
+ payable: false,
281
+ stateMutability: 'view',
282
+ type: 'function',
283
+ },
284
+ {
285
+ constant: true,
286
+ inputs: [],
287
+ name: 'owner',
288
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
289
+ payable: false,
290
+ stateMutability: 'view',
291
+ type: 'function',
292
+ },
293
+ {
294
+ constant: true,
295
+ inputs: [{ internalType: 'uint256', name: 'tokenId', type: 'uint256' }],
296
+ name: 'ownerOf',
297
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
298
+ payable: false,
299
+ stateMutability: 'view',
300
+ type: 'function',
301
+ },
302
+ {
303
+ constant: false,
304
+ inputs: [
305
+ { internalType: 'uint256', name: 'id', type: 'uint256' },
306
+ { internalType: 'address', name: 'owner', type: 'address' },
307
+ ],
308
+ name: 'reclaim',
309
+ outputs: [],
310
+ payable: false,
311
+ stateMutability: 'nonpayable',
312
+ type: 'function',
313
+ },
314
+ {
315
+ constant: false,
316
+ inputs: [
317
+ { internalType: 'uint256', name: 'id', type: 'uint256' },
318
+ { internalType: 'address', name: 'owner', type: 'address' },
319
+ { internalType: 'uint256', name: 'duration', type: 'uint256' },
320
+ ],
321
+ name: 'register',
322
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
323
+ payable: false,
324
+ stateMutability: 'nonpayable',
325
+ type: 'function',
326
+ },
327
+ {
328
+ constant: false,
329
+ inputs: [
330
+ { internalType: 'uint256', name: 'id', type: 'uint256' },
331
+ { internalType: 'address', name: 'owner', type: 'address' },
332
+ { internalType: 'uint256', name: 'duration', type: 'uint256' },
333
+ ],
334
+ name: 'registerOnly',
335
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
336
+ payable: false,
337
+ stateMutability: 'nonpayable',
338
+ type: 'function',
339
+ },
340
+ {
341
+ constant: false,
342
+ inputs: [{ internalType: 'address', name: 'controller', type: 'address' }],
343
+ name: 'removeController',
344
+ outputs: [],
345
+ payable: false,
346
+ stateMutability: 'nonpayable',
347
+ type: 'function',
348
+ },
349
+ {
350
+ constant: false,
351
+ inputs: [
352
+ { internalType: 'uint256', name: 'id', type: 'uint256' },
353
+ { internalType: 'uint256', name: 'duration', type: 'uint256' },
354
+ ],
355
+ name: 'renew',
356
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
357
+ payable: false,
358
+ stateMutability: 'nonpayable',
359
+ type: 'function',
360
+ },
361
+ {
362
+ constant: false,
363
+ inputs: [],
364
+ name: 'renounceOwnership',
365
+ outputs: [],
366
+ payable: false,
367
+ stateMutability: 'nonpayable',
368
+ type: 'function',
369
+ },
370
+ {
371
+ constant: false,
372
+ inputs: [
373
+ { internalType: 'address', name: 'from', type: 'address' },
374
+ { internalType: 'address', name: 'to', type: 'address' },
375
+ { internalType: 'uint256', name: 'tokenId', type: 'uint256' },
376
+ ],
377
+ name: 'safeTransferFrom',
378
+ outputs: [],
379
+ payable: false,
380
+ stateMutability: 'nonpayable',
381
+ type: 'function',
382
+ },
383
+ {
384
+ constant: false,
385
+ inputs: [
386
+ { internalType: 'address', name: 'to', type: 'address' },
387
+ { internalType: 'bool', name: 'approved', type: 'bool' },
388
+ ],
389
+ name: 'setApprovalForAll',
390
+ outputs: [],
391
+ payable: false,
392
+ stateMutability: 'nonpayable',
393
+ type: 'function',
394
+ },
395
+ {
396
+ constant: false,
397
+ inputs: [{ internalType: 'address', name: 'resolver', type: 'address' }],
398
+ name: 'setResolver',
399
+ outputs: [],
400
+ payable: false,
401
+ stateMutability: 'nonpayable',
402
+ type: 'function',
403
+ },
404
+ {
405
+ constant: true,
406
+ inputs: [{ internalType: 'bytes4', name: 'interfaceID', type: 'bytes4' }],
407
+ name: 'supportsInterface',
408
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
409
+ payable: false,
410
+ stateMutability: 'view',
411
+ type: 'function',
412
+ },
413
+ {
414
+ constant: false,
415
+ inputs: [
416
+ { internalType: 'address', name: 'from', type: 'address' },
417
+ { internalType: 'address', name: 'to', type: 'address' },
418
+ { internalType: 'uint256', name: 'tokenId', type: 'uint256' },
419
+ ],
420
+ name: 'transferFrom',
421
+ outputs: [],
422
+ payable: false,
423
+ stateMutability: 'nonpayable',
424
+ type: 'function',
425
+ },
426
+ {
427
+ constant: false,
428
+ inputs: [{ internalType: 'address', name: 'newOwner', type: 'address' }],
429
+ name: 'transferOwnership',
430
+ outputs: [],
431
+ payable: false,
432
+ stateMutability: 'nonpayable',
433
+ type: 'function',
434
+ },
435
+ ];
@@ -0,0 +1,2 @@
1
+ import type { JSONABI } from '../../../types/Contract.types';
2
+ export declare const feiABI: JSONABI;