@ensdomains/ensjs 3.2.0 → 3.2.1

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 (153) hide show
  1. package/dist/cjs/clients/public.js.map +1 -1
  2. package/dist/cjs/clients/subgraph.js.map +1 -1
  3. package/dist/cjs/clients/wallet.js.map +1 -1
  4. package/dist/cjs/contracts/addEnsContracts.js.map +1 -1
  5. package/dist/cjs/contracts/consts.js +74 -32
  6. package/dist/cjs/contracts/consts.js.map +1 -1
  7. package/dist/cjs/contracts/dnsRegistrar.js +65 -9
  8. package/dist/cjs/contracts/dnsRegistrar.js.map +1 -1
  9. package/dist/cjs/contracts/dnssecImpl.js +18 -16
  10. package/dist/cjs/contracts/dnssecImpl.js.map +1 -1
  11. package/dist/cjs/contracts/getChainContractAddress.js +5 -1
  12. package/dist/cjs/contracts/getChainContractAddress.js.map +1 -1
  13. package/dist/cjs/contracts/index.js +4 -3
  14. package/dist/cjs/contracts/index.js.map +1 -1
  15. package/dist/cjs/errors/version.js +1 -1
  16. package/dist/cjs/functions/dns/getDnsImportData.js +22 -45
  17. package/dist/cjs/functions/dns/getDnsImportData.js.map +1 -1
  18. package/dist/cjs/functions/dns/importDnsName.js +2 -12
  19. package/dist/cjs/functions/dns/importDnsName.js.map +1 -1
  20. package/dist/cjs/functions/public/_getAbi.js +1 -2
  21. package/dist/cjs/functions/public/_getAbi.js.map +1 -1
  22. package/dist/cjs/functions/public/getAbiRecord.js +2 -2
  23. package/dist/cjs/functions/public/getAbiRecord.js.map +1 -1
  24. package/dist/cjs/functions/public/getRecords.js +2 -2
  25. package/dist/cjs/functions/public/getRecords.js.map +1 -1
  26. package/dist/cjs/utils/generateRecordCallArray.js +6 -3
  27. package/dist/cjs/utils/generateRecordCallArray.js.map +1 -1
  28. package/dist/cjs/utils/generateSupportedContentTypes.js +22 -0
  29. package/dist/cjs/utils/generateSupportedContentTypes.js.map +1 -0
  30. package/dist/cjs/utils/generateSupportedContentTypes.test.ts.js +20 -0
  31. package/dist/cjs/utils/generateSupportedContentTypes.test.ts.js.map +1 -0
  32. package/dist/cjs/utils/index.js +3 -1
  33. package/dist/cjs/utils/index.js.map +1 -1
  34. package/dist/cjs/utils/registerHelpers.js +1 -1
  35. package/dist/cjs/utils/registerHelpers.js.map +1 -1
  36. package/dist/esm/clients/public.js.map +1 -1
  37. package/dist/esm/clients/subgraph.js.map +1 -1
  38. package/dist/esm/clients/wallet.js.map +1 -1
  39. package/dist/esm/contracts/addEnsContracts.js.map +1 -1
  40. package/dist/esm/contracts/consts.js +74 -32
  41. package/dist/esm/contracts/consts.js.map +1 -1
  42. package/dist/esm/contracts/dnsRegistrar.js +64 -8
  43. package/dist/esm/contracts/dnsRegistrar.js.map +1 -1
  44. package/dist/esm/contracts/dnssecImpl.js +17 -15
  45. package/dist/esm/contracts/dnssecImpl.js.map +1 -1
  46. package/dist/esm/contracts/getChainContractAddress.js +5 -1
  47. package/dist/esm/contracts/getChainContractAddress.js.map +1 -1
  48. package/dist/esm/contracts/index.js +2 -2
  49. package/dist/esm/contracts/index.js.map +1 -1
  50. package/dist/esm/errors/version.js +1 -1
  51. package/dist/esm/functions/dns/getDnsImportData.js +25 -48
  52. package/dist/esm/functions/dns/getDnsImportData.js.map +1 -1
  53. package/dist/esm/functions/dns/importDnsName.js +3 -13
  54. package/dist/esm/functions/dns/importDnsName.js.map +1 -1
  55. package/dist/esm/functions/public/_getAbi.js +1 -7
  56. package/dist/esm/functions/public/_getAbi.js.map +1 -1
  57. package/dist/esm/functions/public/getAbiRecord.js +2 -2
  58. package/dist/esm/functions/public/getAbiRecord.js.map +1 -1
  59. package/dist/esm/functions/public/getRecords.js +2 -2
  60. package/dist/esm/functions/public/getRecords.js.map +1 -1
  61. package/dist/esm/utils/generateRecordCallArray.js +6 -3
  62. package/dist/esm/utils/generateRecordCallArray.js.map +1 -1
  63. package/dist/esm/utils/generateSupportedContentTypes.js +18 -0
  64. package/dist/esm/utils/generateSupportedContentTypes.js.map +1 -0
  65. package/dist/esm/utils/generateSupportedContentTypes.test.ts.js +18 -0
  66. package/dist/esm/utils/generateSupportedContentTypes.test.ts.js.map +1 -0
  67. package/dist/esm/utils/index.js +1 -0
  68. package/dist/esm/utils/index.js.map +1 -1
  69. package/dist/esm/utils/registerHelpers.js +1 -1
  70. package/dist/esm/utils/registerHelpers.js.map +1 -1
  71. package/dist/types/clients/decorators/wallet.d.ts +12 -12
  72. package/dist/types/clients/public.d.ts +9 -8
  73. package/dist/types/clients/public.d.ts.map +1 -1
  74. package/dist/types/clients/subgraph.d.ts +4 -4
  75. package/dist/types/clients/subgraph.d.ts.map +1 -1
  76. package/dist/types/clients/wallet.d.ts +116 -116
  77. package/dist/types/clients/wallet.d.ts.map +1 -1
  78. package/dist/types/contracts/addEnsContracts.d.ts +2 -2
  79. package/dist/types/contracts/addEnsContracts.d.ts.map +1 -1
  80. package/dist/types/contracts/consts.d.ts +75 -34
  81. package/dist/types/contracts/consts.d.ts.map +1 -1
  82. package/dist/types/contracts/dnsRegistrar.d.ts +135 -6
  83. package/dist/types/contracts/dnsRegistrar.d.ts.map +1 -1
  84. package/dist/types/contracts/dnssecImpl.d.ts +14 -13
  85. package/dist/types/contracts/dnssecImpl.d.ts.map +1 -1
  86. package/dist/types/contracts/getChainContractAddress.d.ts +15 -7
  87. package/dist/types/contracts/getChainContractAddress.d.ts.map +1 -1
  88. package/dist/types/contracts/index.d.ts +2 -2
  89. package/dist/types/contracts/index.d.ts.map +1 -1
  90. package/dist/types/errors/version.d.ts +1 -1
  91. package/dist/types/functions/dns/getDnsImportData.d.ts +6 -8
  92. package/dist/types/functions/dns/getDnsImportData.d.ts.map +1 -1
  93. package/dist/types/functions/dns/importDnsName.d.ts +25 -25
  94. package/dist/types/functions/dns/importDnsName.d.ts.map +1 -1
  95. package/dist/types/functions/public/_getAbi.d.ts +8 -1
  96. package/dist/types/functions/public/_getAbi.d.ts.map +1 -1
  97. package/dist/types/functions/public/getAbiRecord.d.ts +1 -1
  98. package/dist/types/functions/public/getAbiRecord.d.ts.map +1 -1
  99. package/dist/types/functions/public/getRecords.d.ts +6 -9
  100. package/dist/types/functions/public/getRecords.d.ts.map +1 -1
  101. package/dist/types/functions/wallet/clearRecords.d.ts +24 -24
  102. package/dist/types/functions/wallet/commitName.d.ts +24 -24
  103. package/dist/types/functions/wallet/createSubname.d.ts +24 -24
  104. package/dist/types/functions/wallet/deleteSubname.d.ts +24 -24
  105. package/dist/types/functions/wallet/registerName.d.ts +24 -24
  106. package/dist/types/functions/wallet/renewNames.d.ts +24 -24
  107. package/dist/types/functions/wallet/setAbiRecord.d.ts +24 -24
  108. package/dist/types/functions/wallet/setAddressRecord.d.ts +24 -24
  109. package/dist/types/functions/wallet/setChildFuses.d.ts +24 -24
  110. package/dist/types/functions/wallet/setContentHashRecord.d.ts +24 -24
  111. package/dist/types/functions/wallet/setFuses.d.ts +24 -24
  112. package/dist/types/functions/wallet/setPrimaryName.d.ts +24 -24
  113. package/dist/types/functions/wallet/setRecords.d.ts +24 -24
  114. package/dist/types/functions/wallet/setResolver.d.ts +24 -24
  115. package/dist/types/functions/wallet/setTextRecord.d.ts +24 -24
  116. package/dist/types/functions/wallet/transferName.d.ts +24 -24
  117. package/dist/types/functions/wallet/unwrapName.d.ts +24 -24
  118. package/dist/types/functions/wallet/wrapName.d.ts +24 -24
  119. package/dist/types/types.d.ts +4 -0
  120. package/dist/types/types.d.ts.map +1 -1
  121. package/dist/types/utils/encoders/encodeAbi.d.ts +1 -1
  122. package/dist/types/utils/encoders/encodeAbi.d.ts.map +1 -1
  123. package/dist/types/utils/generateRecordCallArray.d.ts +2 -2
  124. package/dist/types/utils/generateRecordCallArray.d.ts.map +1 -1
  125. package/dist/types/utils/generateSupportedContentTypes.d.ts +3 -0
  126. package/dist/types/utils/generateSupportedContentTypes.d.ts.map +1 -0
  127. package/dist/types/utils/generateSupportedContentTypes.test.ts.d.ts +2 -0
  128. package/dist/types/utils/generateSupportedContentTypes.test.ts.d.ts.map +1 -0
  129. package/dist/types/utils/index.d.ts +1 -0
  130. package/dist/types/utils/index.d.ts.map +1 -1
  131. package/package.json +1 -1
  132. package/src/clients/public.ts +6 -4
  133. package/src/clients/subgraph.ts +6 -4
  134. package/src/clients/wallet.ts +19 -13
  135. package/src/contracts/addEnsContracts.ts +3 -3
  136. package/src/contracts/consts.ts +92 -37
  137. package/src/contracts/dnsRegistrar.ts +65 -8
  138. package/src/contracts/dnssecImpl.ts +17 -15
  139. package/src/contracts/getChainContractAddress.ts +22 -7
  140. package/src/contracts/index.ts +2 -1
  141. package/src/errors/version.ts +1 -1
  142. package/src/functions/dns/getDnsImportData.ts +32 -62
  143. package/src/functions/dns/importDnsName.ts +4 -14
  144. package/src/functions/public/_getAbi.ts +11 -8
  145. package/src/functions/public/getAbiRecord.ts +6 -2
  146. package/src/functions/public/getRecords.ts +23 -31
  147. package/src/types.ts +10 -0
  148. package/src/utils/encoders/encodeAbi.ts +1 -1
  149. package/src/utils/generateRecordCallArray.ts +6 -3
  150. package/src/utils/generateSupportedContentTypes.test.ts.ts +24 -0
  151. package/src/utils/generateSupportedContentTypes.ts +21 -0
  152. package/src/utils/index.ts +1 -0
  153. package/src/utils/registerHelpers.ts +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"subgraph.d.ts","sourceRoot":"","sources":["../../../src/clients/subgraph.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,KAAK,EACV,KAAK,MAAM,EACX,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,KAAK,SAAS,EACf,MAAM,MAAM,CAAA;AAEb,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AAC1D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAC3C,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,0BAA0B,CAAA;AAEjC,MAAM,MAAM,uBAAuB,CACjC,UAAU,SAAS,SAAS,GAAG,SAAS,EACxC,MAAM,SAAS,KAAK,GAAG,KAAK,IAC1B,IAAI,CACN,YAAY,CAAC,UAAU,EAAE,MAAM,CAAC,EAChC,OAAO,GAAG,KAAK,GAAG,MAAM,GAAG,iBAAiB,GAAG,WAAW,CAC3D,GAAG;IACF,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED,MAAM,MAAM,iBAAiB,CAC3B,UAAU,SAAS,SAAS,GAAG,SAAS,EACxC,MAAM,SAAS,YAAY,GAAG,YAAY,IACxC,QAAQ,CACV,MAAM,CAAC,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,eAAe,EAAE,kBAAkB,CAAC,CAC3E,CAAA;AAED;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuBnC,CAAA"}
1
+ {"version":3,"file":"subgraph.d.ts","sourceRoot":"","sources":["../../../src/clients/subgraph.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,MAAM,EACX,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,KAAK,SAAS,EACf,MAAM,MAAM,CAAA;AAEb,OAAO,KAAK,EACV,sBAAsB,EACtB,YAAY,EACb,MAAM,wBAAwB,CAAA;AAC/B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAC3C,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,0BAA0B,CAAA;AAEjC,MAAM,MAAM,uBAAuB,CACjC,UAAU,SAAS,SAAS,GAAG,SAAS,EACxC,MAAM,SAAS,sBAAsB,GAAG,sBAAsB,IAC5D,IAAI,CACN,YAAY,CAAC,UAAU,EAAE,MAAM,CAAC,EAChC,OAAO,GAAG,KAAK,GAAG,MAAM,GAAG,iBAAiB,GAAG,WAAW,CAC3D,GAAG;IACF,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED,MAAM,MAAM,iBAAiB,CAC3B,UAAU,SAAS,SAAS,GAAG,SAAS,EACxC,MAAM,SAAS,YAAY,GAAG,YAAY,IACxC,QAAQ,CACV,MAAM,CAAC,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,eAAe,EAAE,kBAAkB,CAAC,CAC3E,CAAA;AAED;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuBnC,CAAA"}
@@ -1,10 +1,10 @@
1
- import { type Account, type Address, type Chain, type Client, type ClientConfig, type ParseAccount, type Transport, type WalletActions, type WalletRpcSchema } from 'viem';
2
- import type { ChainWithEns } from '../contracts/consts.js';
3
- import type { Prettify } from '../types.js';
1
+ import { type Account, type Address, type Client, type ClientConfig, type ParseAccount, type Transport, type WalletActions, type WalletRpcSchema } from 'viem';
2
+ import type { ChainWithBaseContracts, ChainWithEns, CheckedChainWithEns } from '../contracts/consts.js';
3
+ import type { Assign, Prettify } from '../types.js';
4
4
  import { type EnsWalletActions } from './decorators/wallet.js';
5
- export type EnsWalletClientConfig<TTransport extends Transport, TChain extends Chain, TAccountOrAddress extends Account | Address | undefined = Account | Address | undefined> = Pick<ClientConfig<TTransport, TChain, TAccountOrAddress>, 'account' | 'chain' | 'key' | 'name' | 'pollingInterval' | 'transport'> & {
5
+ export type EnsWalletClientConfig<TTransport extends Transport, TChain extends ChainWithBaseContracts, TAccountOrAddress extends Account | Address | undefined = Account | Address | undefined> = Assign<Pick<ClientConfig<TTransport, TChain, TAccountOrAddress>, 'account' | 'chain' | 'key' | 'name' | 'pollingInterval' | 'transport'>, {
6
6
  chain: TChain;
7
- };
7
+ }>;
8
8
  export type EnsWalletClient<TTransport extends Transport = Transport, TChain extends ChainWithEns = ChainWithEns, TAccount extends Account | undefined = Account | undefined> = Prettify<Client<TTransport, TChain, TAccount, WalletRpcSchema, WalletActions<TChain, TAccount> & EnsWalletActions<TChain, TAccount>>>;
9
9
  /**
10
10
  * Creates an ENS Wallet Client with a given [Transport](https://viem.sh/docs/clients/intro.html) configured for a [Chain](https://viem.sh/docs/clients/chains.html).
@@ -22,7 +22,7 @@ export type EnsWalletClient<TTransport extends Transport = Transport, TChain ext
22
22
  * transport: custom(window.ethereum),
23
23
  * })
24
24
  */
25
- export declare const createEnsWalletClient: <TTransport extends Transport, TChain extends Chain, TAccountOrAddress extends `0x${string}` | Account | undefined = undefined>({ account, chain, key, name, transport, pollingInterval, }: EnsWalletClientConfig<TTransport, TChain, TAccountOrAddress>) => {
25
+ export declare const createEnsWalletClient: <TTransport extends Transport, TChain extends ChainWithBaseContracts, TAccountOrAddress extends `0x${string}` | Account | undefined = undefined>({ account, chain, key, name, transport, pollingInterval, }: EnsWalletClientConfig<TTransport, TChain, TAccountOrAddress>) => {
26
26
  account: ParseAccount<TAccountOrAddress>;
27
27
  batch?: {
28
28
  multicall?: boolean | {
@@ -31,7 +31,7 @@ export declare const createEnsWalletClient: <TTransport extends Transport, TChai
31
31
  } | undefined;
32
32
  } | undefined;
33
33
  cacheTime: number;
34
- chain: ChainWithEns<TChain>;
34
+ chain: CheckedChainWithEns<TChain>;
35
35
  key: string;
36
36
  name: string;
37
37
  pollingInterval: number;
@@ -40,20 +40,20 @@ export declare const createEnsWalletClient: <TTransport extends Transport, TChai
40
40
  type: string;
41
41
  uid: string;
42
42
  addChain: (args: import("viem").AddChainParameters) => Promise<void>;
43
- deployContract: <const TAbi extends import("viem").Abi | readonly unknown[], TChainOverride extends Chain | undefined>(args: import("viem").DeployContractParameters<TAbi, ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, TChainOverride>) => Promise<`0x${string}`>;
43
+ deployContract: <const TAbi extends import("viem").Abi | readonly unknown[], TChainOverride extends import("viem").Chain | undefined>(args: import("viem").DeployContractParameters<TAbi, CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, TChainOverride>) => Promise<`0x${string}`>;
44
44
  getAddresses: () => Promise<import("viem").GetAddressesReturnType>;
45
45
  getChainId: () => Promise<number>;
46
46
  getPermissions: () => Promise<import("viem").GetPermissionsReturnType>;
47
- prepareTransactionRequest: <TChainOverride_1 extends Chain | undefined>(args: import("viem").PrepareTransactionRequestParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, TChainOverride_1>) => Promise<import("viem").PrepareTransactionRequestReturnType>;
47
+ prepareTransactionRequest: <TChainOverride_1 extends import("viem").Chain | undefined>(args: import("viem").PrepareTransactionRequestParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, TChainOverride_1>) => Promise<import("viem").PrepareTransactionRequestReturnType>;
48
48
  requestAddresses: () => Promise<import("viem").RequestAddressesReturnType>;
49
49
  requestPermissions: (args: {
50
50
  [x: string]: Record<string, any>;
51
51
  eth_accounts: Record<string, any>;
52
52
  }) => Promise<import("viem").RequestPermissionsReturnType>;
53
53
  sendRawTransaction: (args: import("viem/actions").SendRawTransactionParameters) => Promise<`0x${string}`>;
54
- sendTransaction: <TChainOverride_2 extends Chain | undefined>(args: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, TChainOverride_2>) => Promise<`0x${string}`>;
54
+ sendTransaction: <TChainOverride_2 extends import("viem").Chain | undefined>(args: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, TChainOverride_2>) => Promise<`0x${string}`>;
55
55
  signMessage: (args: import("viem").SignMessageParameters<ParseAccount<TAccountOrAddress>>) => Promise<`0x${string}`>;
56
- signTransaction: <TChainOverride_3 extends Chain | undefined>(args: import("viem/actions").SignTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, TChainOverride_3>) => Promise<`0x${string}`>;
56
+ signTransaction: <TChainOverride_3 extends import("viem").Chain | undefined>(args: import("viem/actions").SignTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, TChainOverride_3>) => Promise<`0x${string}`>;
57
57
  signTypedData: <const TTypedData extends {
58
58
  [key: string]: unknown;
59
59
  } | {
@@ -63,16 +63,16 @@ export declare const createEnsWalletClient: <TTransport extends Transport, TChai
63
63
  [x: `address[${string}]`]: undefined;
64
64
  [x: `bool[${string}]`]: undefined;
65
65
  [x: `bytes[${string}]`]: undefined;
66
- [x: `bytes3[${string}]`]: undefined;
67
- [x: `bytes10[${string}]`]: undefined;
68
- [x: `bytes16[${string}]`]: undefined;
69
66
  [x: `bytes1[${string}]`]: undefined;
70
67
  [x: `bytes2[${string}]`]: undefined;
71
68
  [x: `bytes4[${string}]`]: undefined;
69
+ [x: `bytes8[${string}]`]: undefined;
70
+ [x: `bytes10[${string}]`]: undefined;
71
+ [x: `bytes16[${string}]`]: undefined;
72
+ [x: `bytes3[${string}]`]: undefined;
72
73
  [x: `bytes5[${string}]`]: undefined;
73
74
  [x: `bytes6[${string}]`]: undefined;
74
75
  [x: `bytes7[${string}]`]: undefined;
75
- [x: `bytes8[${string}]`]: undefined;
76
76
  [x: `bytes9[${string}]`]: undefined;
77
77
  [x: `bytes11[${string}]`]: undefined;
78
78
  [x: `bytes12[${string}]`]: undefined;
@@ -96,8 +96,8 @@ export declare const createEnsWalletClient: <TTransport extends Transport, TChai
96
96
  [x: `bytes31[${string}]`]: undefined;
97
97
  [x: `bytes32[${string}]`]: undefined;
98
98
  [x: `int[${string}]`]: undefined;
99
- [x: `int16[${string}]`]: undefined;
100
99
  [x: `int8[${string}]`]: undefined;
100
+ [x: `int16[${string}]`]: undefined;
101
101
  [x: `int24[${string}]`]: undefined;
102
102
  [x: `int32[${string}]`]: undefined;
103
103
  [x: `int40[${string}]`]: undefined;
@@ -129,8 +129,8 @@ export declare const createEnsWalletClient: <TTransport extends Transport, TChai
129
129
  [x: `int248[${string}]`]: undefined;
130
130
  [x: `int256[${string}]`]: undefined;
131
131
  [x: `uint[${string}]`]: undefined;
132
- [x: `uint16[${string}]`]: undefined;
133
132
  [x: `uint8[${string}]`]: undefined;
133
+ [x: `uint16[${string}]`]: undefined;
134
134
  [x: `uint24[${string}]`]: undefined;
135
135
  [x: `uint32[${string}]`]: undefined;
136
136
  [x: `uint40[${string}]`]: undefined;
@@ -165,16 +165,16 @@ export declare const createEnsWalletClient: <TTransport extends Transport, TChai
165
165
  address?: undefined;
166
166
  bool?: undefined;
167
167
  bytes?: undefined;
168
- bytes3?: undefined;
169
- bytes10?: undefined;
170
- bytes16?: undefined;
171
168
  bytes1?: undefined;
172
169
  bytes2?: undefined;
173
170
  bytes4?: undefined;
171
+ bytes8?: undefined;
172
+ bytes10?: undefined;
173
+ bytes16?: undefined;
174
+ bytes3?: undefined;
174
175
  bytes5?: undefined;
175
176
  bytes6?: undefined;
176
177
  bytes7?: undefined;
177
- bytes8?: undefined;
178
178
  bytes9?: undefined;
179
179
  bytes11?: undefined;
180
180
  bytes12?: undefined;
@@ -197,8 +197,8 @@ export declare const createEnsWalletClient: <TTransport extends Transport, TChai
197
197
  bytes30?: undefined;
198
198
  bytes31?: undefined;
199
199
  bytes32?: undefined;
200
- int16?: undefined;
201
200
  int8?: undefined;
201
+ int16?: undefined;
202
202
  int24?: undefined;
203
203
  int32?: undefined;
204
204
  int40?: undefined;
@@ -229,8 +229,8 @@ export declare const createEnsWalletClient: <TTransport extends Transport, TChai
229
229
  int240?: undefined;
230
230
  int248?: undefined;
231
231
  int256?: undefined;
232
- uint16?: undefined;
233
232
  uint8?: undefined;
233
+ uint16?: undefined;
234
234
  uint24?: undefined;
235
235
  uint32?: undefined;
236
236
  uint40?: undefined;
@@ -264,16 +264,16 @@ export declare const createEnsWalletClient: <TTransport extends Transport, TChai
264
264
  }, TPrimaryType extends string>(args: import("viem").SignTypedDataParameters<TTypedData, TPrimaryType, ParseAccount<TAccountOrAddress>>) => Promise<`0x${string}`>;
265
265
  switchChain: (args: import("viem").SwitchChainParameters) => Promise<void>;
266
266
  watchAsset: (args: import("viem").WatchAssetParams) => Promise<boolean>;
267
- writeContract: <const TAbi_1 extends import("viem").Abi | readonly unknown[], TFunctionName extends string, TChainOverride_4 extends Chain | undefined>(args: import("viem").WriteContractParameters<TAbi_1, TFunctionName, ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, TChainOverride_4>) => Promise<`0x${string}`>;
267
+ writeContract: <const TAbi_1 extends import("viem").Abi | readonly unknown[], TFunctionName extends string, TChainOverride_4 extends import("viem").Chain | undefined>(args: import("viem").WriteContractParameters<TAbi_1, TFunctionName, CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, TChainOverride_4>) => Promise<`0x${string}`>;
268
268
  clearRecords: ({ name, resolverAddress, ...txArgs }: {
269
269
  name: string;
270
270
  resolverAddress: `0x${string}`;
271
- account?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["account"] | undefined;
272
- gasPrice?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gasPrice"] | undefined;
273
- maxFeePerGas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["maxFeePerGas"] | undefined;
274
- maxPriorityFeePerGas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["maxPriorityFeePerGas"] | undefined;
275
- gas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gas"] | undefined;
276
- nonce?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["nonce"] | undefined;
271
+ gasPrice?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["gasPrice"] | undefined;
272
+ maxFeePerGas?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["maxFeePerGas"] | undefined;
273
+ maxPriorityFeePerGas?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["maxPriorityFeePerGas"] | undefined;
274
+ gas?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["gas"] | undefined;
275
+ nonce?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["nonce"] | undefined;
276
+ account?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["account"] | undefined;
277
277
  }) => Promise<`0x${string}`>;
278
278
  commitName: ({ name, owner, duration, secret, resolverAddress, records, reverseRecord, fuses, ...txArgs }: {
279
279
  name: string;
@@ -286,28 +286,28 @@ export declare const createEnsWalletClient: <TTransport extends Transport, TChai
286
286
  contentHash?: string | null | undefined;
287
287
  texts?: Omit<import("../utils/index.js").EncodeSetTextParameters, "namehash">[] | undefined;
288
288
  coins?: Omit<import("../utils/index.js").EncodeSetAddrParameters, "namehash">[] | undefined;
289
- abi?: import("../utils/index.js").EncodedAbi | undefined;
289
+ abi?: import("../utils/index.js").EncodedAbi | import("../utils/index.js").EncodedAbi[] | undefined;
290
290
  } | undefined;
291
291
  reverseRecord?: boolean | undefined;
292
292
  fuses?: import("../utils/fuses.js").EncodeChildFusesInputObject | undefined;
293
- account?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["account"] | undefined;
294
- gasPrice?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gasPrice"] | undefined;
295
- maxFeePerGas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["maxFeePerGas"] | undefined;
296
- maxPriorityFeePerGas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["maxPriorityFeePerGas"] | undefined;
297
- gas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gas"] | undefined;
298
- nonce?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["nonce"] | undefined;
293
+ gasPrice?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["gasPrice"] | undefined;
294
+ maxFeePerGas?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["maxFeePerGas"] | undefined;
295
+ maxPriorityFeePerGas?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["maxPriorityFeePerGas"] | undefined;
296
+ gas?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["gas"] | undefined;
297
+ nonce?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["nonce"] | undefined;
298
+ account?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["account"] | undefined;
299
299
  }) => Promise<`0x${string}`>;
300
- createSubname: ({ name, contract, owner, resolverAddress, expiry, fuses, ...txArgs }: import("../wallet.js").CreateSubnameParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>) => Promise<`0x${string}`>;
300
+ createSubname: ({ name, contract, owner, resolverAddress, expiry, fuses, ...txArgs }: import("../wallet.js").CreateSubnameParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>) => Promise<`0x${string}`>;
301
301
  deleteSubname: ({ name, contract, asOwner, ...txArgs }: {
302
302
  name: string;
303
303
  contract: "nameWrapper" | "registry";
304
304
  asOwner?: boolean | undefined;
305
- account?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["account"] | undefined;
306
- gasPrice?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gasPrice"] | undefined;
307
- maxFeePerGas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["maxFeePerGas"] | undefined;
308
- maxPriorityFeePerGas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["maxPriorityFeePerGas"] | undefined;
309
- gas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gas"] | undefined;
310
- nonce?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["nonce"] | undefined;
305
+ gasPrice?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["gasPrice"] | undefined;
306
+ maxFeePerGas?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["maxFeePerGas"] | undefined;
307
+ maxPriorityFeePerGas?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["maxPriorityFeePerGas"] | undefined;
308
+ gas?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["gas"] | undefined;
309
+ nonce?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["nonce"] | undefined;
310
+ account?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["account"] | undefined;
311
311
  }) => Promise<`0x${string}`>;
312
312
  registerName: ({ name, owner, duration, secret, resolverAddress, records, reverseRecord, fuses, value, ...txArgs }: {
313
313
  name: string;
@@ -320,85 +320,85 @@ export declare const createEnsWalletClient: <TTransport extends Transport, TChai
320
320
  contentHash?: string | null | undefined;
321
321
  texts?: Omit<import("../utils/index.js").EncodeSetTextParameters, "namehash">[] | undefined;
322
322
  coins?: Omit<import("../utils/index.js").EncodeSetAddrParameters, "namehash">[] | undefined;
323
- abi?: import("../utils/index.js").EncodedAbi | undefined;
323
+ abi?: import("../utils/index.js").EncodedAbi | import("../utils/index.js").EncodedAbi[] | undefined;
324
324
  } | undefined;
325
325
  reverseRecord?: boolean | undefined;
326
326
  fuses?: import("../utils/fuses.js").EncodeChildFusesInputObject | undefined;
327
327
  value: bigint;
328
- account?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["account"] | undefined;
329
- gasPrice?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gasPrice"] | undefined;
330
- maxFeePerGas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["maxFeePerGas"] | undefined;
331
- maxPriorityFeePerGas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["maxPriorityFeePerGas"] | undefined;
332
- gas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gas"] | undefined;
333
- nonce?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["nonce"] | undefined;
328
+ gasPrice?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["gasPrice"] | undefined;
329
+ maxFeePerGas?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["maxFeePerGas"] | undefined;
330
+ maxPriorityFeePerGas?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["maxPriorityFeePerGas"] | undefined;
331
+ gas?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["gas"] | undefined;
332
+ nonce?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["nonce"] | undefined;
333
+ account?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["account"] | undefined;
334
334
  }) => Promise<`0x${string}`>;
335
335
  renewNames: ({ nameOrNames, duration, value, ...txArgs }: {
336
336
  nameOrNames: string | string[];
337
337
  duration: number | bigint;
338
338
  value: bigint;
339
- account?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["account"] | undefined;
340
- gasPrice?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gasPrice"] | undefined;
341
- maxFeePerGas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["maxFeePerGas"] | undefined;
342
- maxPriorityFeePerGas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["maxPriorityFeePerGas"] | undefined;
343
- gas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gas"] | undefined;
344
- nonce?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["nonce"] | undefined;
339
+ gasPrice?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["gasPrice"] | undefined;
340
+ maxFeePerGas?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["maxFeePerGas"] | undefined;
341
+ maxPriorityFeePerGas?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["maxPriorityFeePerGas"] | undefined;
342
+ gas?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["gas"] | undefined;
343
+ nonce?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["nonce"] | undefined;
344
+ account?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["account"] | undefined;
345
345
  }) => Promise<`0x${string}`>;
346
346
  setAbiRecord: ({ name, encodedAbi, resolverAddress, ...txArgs }: {
347
347
  name: string;
348
348
  encodedAbi: import("../utils/index.js").EncodedAbi;
349
349
  resolverAddress: `0x${string}`;
350
- account?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["account"] | undefined;
351
- gasPrice?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gasPrice"] | undefined;
352
- maxFeePerGas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["maxFeePerGas"] | undefined;
353
- maxPriorityFeePerGas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["maxPriorityFeePerGas"] | undefined;
354
- gas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gas"] | undefined;
355
- nonce?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["nonce"] | undefined;
350
+ gasPrice?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["gasPrice"] | undefined;
351
+ maxFeePerGas?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["maxFeePerGas"] | undefined;
352
+ maxPriorityFeePerGas?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["maxPriorityFeePerGas"] | undefined;
353
+ gas?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["gas"] | undefined;
354
+ nonce?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["nonce"] | undefined;
355
+ account?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["account"] | undefined;
356
356
  }) => Promise<`0x${string}`>;
357
357
  setAddressRecord: ({ name, coin, value, resolverAddress, ...txArgs }: {
358
358
  name: string;
359
359
  coin: string | number;
360
360
  value: string | null;
361
361
  resolverAddress: `0x${string}`;
362
- account?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["account"] | undefined;
363
- gasPrice?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gasPrice"] | undefined;
364
- maxFeePerGas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["maxFeePerGas"] | undefined;
365
- maxPriorityFeePerGas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["maxPriorityFeePerGas"] | undefined;
366
- gas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gas"] | undefined;
367
- nonce?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["nonce"] | undefined;
362
+ gasPrice?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["gasPrice"] | undefined;
363
+ maxFeePerGas?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["maxFeePerGas"] | undefined;
364
+ maxPriorityFeePerGas?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["maxPriorityFeePerGas"] | undefined;
365
+ gas?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["gas"] | undefined;
366
+ nonce?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["nonce"] | undefined;
367
+ account?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["account"] | undefined;
368
368
  }) => Promise<`0x${string}`>;
369
369
  setChildFuses: ({ name, fuses, expiry, ...txArgs }: {
370
370
  name: string;
371
371
  fuses: import("../utils/fuses.js").EncodeFusesInputObject;
372
372
  expiry?: number | bigint | undefined;
373
- account?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["account"] | undefined;
374
- gasPrice?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gasPrice"] | undefined;
375
- maxFeePerGas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["maxFeePerGas"] | undefined;
376
- maxPriorityFeePerGas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["maxPriorityFeePerGas"] | undefined;
377
- gas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gas"] | undefined;
378
- nonce?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["nonce"] | undefined;
373
+ gasPrice?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["gasPrice"] | undefined;
374
+ maxFeePerGas?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["maxFeePerGas"] | undefined;
375
+ maxPriorityFeePerGas?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["maxPriorityFeePerGas"] | undefined;
376
+ gas?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["gas"] | undefined;
377
+ nonce?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["nonce"] | undefined;
378
+ account?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["account"] | undefined;
379
379
  }) => Promise<`0x${string}`>;
380
380
  setContentHashRecord: ({ name, contentHash, resolverAddress, ...txArgs }: {
381
381
  name: string;
382
382
  contentHash: string | null;
383
383
  resolverAddress: `0x${string}`;
384
- account?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["account"] | undefined;
385
- gasPrice?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gasPrice"] | undefined;
386
- maxFeePerGas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["maxFeePerGas"] | undefined;
387
- maxPriorityFeePerGas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["maxPriorityFeePerGas"] | undefined;
388
- gas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gas"] | undefined;
389
- nonce?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["nonce"] | undefined;
384
+ gasPrice?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["gasPrice"] | undefined;
385
+ maxFeePerGas?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["maxFeePerGas"] | undefined;
386
+ maxPriorityFeePerGas?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["maxPriorityFeePerGas"] | undefined;
387
+ gas?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["gas"] | undefined;
388
+ nonce?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["nonce"] | undefined;
389
+ account?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["account"] | undefined;
390
390
  }) => Promise<`0x${string}`>;
391
391
  setFuses: ({ name, fuses, ...txArgs }: {
392
392
  name: string;
393
393
  fuses: import("../utils/fuses.js").EncodeChildFusesInputObject;
394
- account?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["account"] | undefined;
395
- gasPrice?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gasPrice"] | undefined;
396
- maxFeePerGas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["maxFeePerGas"] | undefined;
397
- maxPriorityFeePerGas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["maxPriorityFeePerGas"] | undefined;
398
- gas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gas"] | undefined;
399
- nonce?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["nonce"] | undefined;
394
+ gasPrice?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["gasPrice"] | undefined;
395
+ maxFeePerGas?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["maxFeePerGas"] | undefined;
396
+ maxPriorityFeePerGas?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["maxPriorityFeePerGas"] | undefined;
397
+ gas?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["gas"] | undefined;
398
+ nonce?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["nonce"] | undefined;
399
+ account?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["account"] | undefined;
400
400
  }) => Promise<`0x${string}`>;
401
- setPrimaryName: ({ name, address, resolverAddress, ...txArgs }: import("../wallet.js").SetPrimaryNameParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>) => Promise<`0x${string}`>;
401
+ setPrimaryName: ({ name, address, resolverAddress, ...txArgs }: import("../wallet.js").SetPrimaryNameParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>) => Promise<`0x${string}`>;
402
402
  setRecords: ({ name, resolverAddress, clearRecords, contentHash, texts, coins, abi, ...txArgs }: {
403
403
  name: string;
404
404
  resolverAddress: `0x${string}`;
@@ -406,50 +406,50 @@ export declare const createEnsWalletClient: <TTransport extends Transport, TChai
406
406
  contentHash?: string | null | undefined;
407
407
  texts?: Omit<import("../utils/index.js").EncodeSetTextParameters, "namehash">[] | undefined;
408
408
  coins?: Omit<import("../utils/index.js").EncodeSetAddrParameters, "namehash">[] | undefined;
409
- abi?: import("../utils/index.js").EncodedAbi | undefined;
410
- account?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["account"] | undefined;
411
- gasPrice?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gasPrice"] | undefined;
412
- maxFeePerGas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["maxFeePerGas"] | undefined;
413
- maxPriorityFeePerGas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["maxPriorityFeePerGas"] | undefined;
414
- gas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gas"] | undefined;
415
- nonce?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["nonce"] | undefined;
409
+ abi?: import("../utils/index.js").EncodedAbi | import("../utils/index.js").EncodedAbi[] | undefined;
410
+ gasPrice?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["gasPrice"] | undefined;
411
+ maxFeePerGas?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["maxFeePerGas"] | undefined;
412
+ maxPriorityFeePerGas?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["maxPriorityFeePerGas"] | undefined;
413
+ gas?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["gas"] | undefined;
414
+ nonce?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["nonce"] | undefined;
415
+ account?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["account"] | undefined;
416
416
  }) => Promise<`0x${string}`>;
417
417
  setResolver: ({ name, contract, resolverAddress, ...txArgs }: {
418
418
  name: string;
419
419
  contract: "nameWrapper" | "registry";
420
420
  resolverAddress: `0x${string}`;
421
- account?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["account"] | undefined;
422
- gasPrice?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gasPrice"] | undefined;
423
- maxFeePerGas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["maxFeePerGas"] | undefined;
424
- maxPriorityFeePerGas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["maxPriorityFeePerGas"] | undefined;
425
- gas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gas"] | undefined;
426
- nonce?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["nonce"] | undefined;
421
+ gasPrice?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["gasPrice"] | undefined;
422
+ maxFeePerGas?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["maxFeePerGas"] | undefined;
423
+ maxPriorityFeePerGas?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["maxPriorityFeePerGas"] | undefined;
424
+ gas?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["gas"] | undefined;
425
+ nonce?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["nonce"] | undefined;
426
+ account?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["account"] | undefined;
427
427
  }) => Promise<`0x${string}`>;
428
428
  setTextRecord: ({ name, key, value, resolverAddress, ...txArgs }: {
429
429
  name: string;
430
430
  key: string;
431
431
  value: string | null;
432
432
  resolverAddress: `0x${string}`;
433
- account?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["account"] | undefined;
434
- gasPrice?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gasPrice"] | undefined;
435
- maxFeePerGas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["maxFeePerGas"] | undefined;
436
- maxPriorityFeePerGas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["maxPriorityFeePerGas"] | undefined;
437
- gas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gas"] | undefined;
438
- nonce?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["nonce"] | undefined;
433
+ gasPrice?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["gasPrice"] | undefined;
434
+ maxFeePerGas?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["maxFeePerGas"] | undefined;
435
+ maxPriorityFeePerGas?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["maxPriorityFeePerGas"] | undefined;
436
+ gas?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["gas"] | undefined;
437
+ nonce?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["nonce"] | undefined;
438
+ account?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["account"] | undefined;
439
439
  }) => Promise<`0x${string}`>;
440
- transferName: ({ name, newOwnerAddress, contract, reclaim, asParent, ...txArgs }: import("../wallet.js").TransferNameParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>) => Promise<`0x${string}`>;
441
- unwrapName: <TName extends string>({ name, newOwnerAddress, newRegistrantAddress, ...txArgs }: import("../wallet.js").UnwrapNameParameters<TName, ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>) => Promise<`0x${string}`>;
440
+ transferName: ({ name, newOwnerAddress, contract, reclaim, asParent, ...txArgs }: import("../wallet.js").TransferNameParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>) => Promise<`0x${string}`>;
441
+ unwrapName: <TName extends string>({ name, newOwnerAddress, newRegistrantAddress, ...txArgs }: import("../wallet.js").UnwrapNameParameters<TName, CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>) => Promise<`0x${string}`>;
442
442
  wrapName: <TName_1 extends string>({ name, newOwnerAddress, fuses, resolverAddress, ...txArgs }: {
443
443
  name: TName_1;
444
444
  newOwnerAddress: `0x${string}`;
445
445
  fuses?: (import("../types.js").GetNameType<TName_1> extends infer T ? T extends import("../types.js").GetNameType<TName_1> ? T extends "eth-2ld" ? import("../utils/fuses.js").EncodeChildFusesInputObject : never : never : never) | undefined;
446
446
  resolverAddress?: `0x${string}` | undefined;
447
- account?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["account"] | undefined;
448
- gasPrice?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gasPrice"] | undefined;
449
- maxFeePerGas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["maxFeePerGas"] | undefined;
450
- maxPriorityFeePerGas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["maxPriorityFeePerGas"] | undefined;
451
- gas?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["gas"] | undefined;
452
- nonce?: import("viem").SendTransactionParameters<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, ChainWithEns<TChain>>["nonce"] | undefined;
447
+ gasPrice?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["gasPrice"] | undefined;
448
+ maxFeePerGas?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["maxFeePerGas"] | undefined;
449
+ maxPriorityFeePerGas?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["maxPriorityFeePerGas"] | undefined;
450
+ gas?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["gas"] | undefined;
451
+ nonce?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["nonce"] | undefined;
452
+ account?: import("viem").SendTransactionParameters<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, CheckedChainWithEns<TChain>>["account"] | undefined;
453
453
  }) => Promise<`0x${string}`>;
454
454
  extend: <const client extends {
455
455
  [x: string]: unknown;
@@ -464,6 +464,6 @@ export declare const createEnsWalletClient: <TTransport extends Transport, TChai
464
464
  transport?: undefined;
465
465
  type?: undefined;
466
466
  uid?: undefined;
467
- }>(fn: (client: Client<TTransport, ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, WalletRpcSchema, WalletActions<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>> & EnsWalletActions<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>>>) => client) => Client<TTransport, ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, WalletRpcSchema, { [K in keyof client]: client[K]; } & WalletActions<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>> & EnsWalletActions<ChainWithEns<TChain>, ParseAccount<TAccountOrAddress>>>;
467
+ }>(fn: (client: Client<TTransport, CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, WalletRpcSchema, WalletActions<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>> & EnsWalletActions<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>>>) => client) => Client<TTransport, CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>, WalletRpcSchema, { [K in keyof client]: client[K]; } & WalletActions<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>> & EnsWalletActions<CheckedChainWithEns<TChain>, ParseAccount<TAccountOrAddress>>>;
468
468
  };
469
469
  //# sourceMappingURL=wallet.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"wallet.d.ts","sourceRoot":"","sources":["../../../src/clients/wallet.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,OAAO,EACZ,KAAK,OAAO,EACZ,KAAK,KAAK,EACV,KAAK,MAAM,EACX,KAAK,YAAY,EACjB,KAAK,YAAY,EACjB,KAAK,SAAS,EACd,KAAK,aAAa,EAClB,KAAK,eAAe,EACrB,MAAM,MAAM,CAAA;AAEb,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AAC1D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAC3C,OAAO,EAAoB,KAAK,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAEhF,MAAM,MAAM,qBAAqB,CAC/B,UAAU,SAAS,SAAS,EAC5B,MAAM,SAAS,KAAK,EACpB,iBAAiB,SAAS,OAAO,GAAG,OAAO,GAAG,SAAS,GACnD,OAAO,GACP,OAAO,GACP,SAAS,IACX,IAAI,CACN,YAAY,CAAC,UAAU,EAAE,MAAM,EAAE,iBAAiB,CAAC,EACnD,SAAS,GAAG,OAAO,GAAG,KAAK,GAAG,MAAM,GAAG,iBAAiB,GAAG,WAAW,CACvE,GAAG;IACF,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED,MAAM,MAAM,eAAe,CACzB,UAAU,SAAS,SAAS,GAAG,SAAS,EACxC,MAAM,SAAS,YAAY,GAAG,YAAY,EAC1C,QAAQ,SAAS,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,IACxD,QAAQ,CACV,MAAM,CACJ,UAAU,EACV,MAAM,EACN,QAAQ,EACR,eAAe,EACf,aAAa,CAAC,MAAM,EAAE,QAAQ,CAAC,GAAG,gBAAgB,CAAC,MAAM,EAAE,QAAQ,CAAC,CACrE,CACF,CAAA;AAED;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4BjC,CAAA"}
1
+ {"version":3,"file":"wallet.d.ts","sourceRoot":"","sources":["../../../src/clients/wallet.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,OAAO,EACZ,KAAK,OAAO,EACZ,KAAK,MAAM,EACX,KAAK,YAAY,EACjB,KAAK,YAAY,EACjB,KAAK,SAAS,EACd,KAAK,aAAa,EAClB,KAAK,eAAe,EACrB,MAAM,MAAM,CAAA;AAEb,OAAO,KAAK,EACV,sBAAsB,EACtB,YAAY,EACZ,mBAAmB,EACpB,MAAM,wBAAwB,CAAA;AAC/B,OAAO,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AACnD,OAAO,EAAoB,KAAK,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAEhF,MAAM,MAAM,qBAAqB,CAC/B,UAAU,SAAS,SAAS,EAC5B,MAAM,SAAS,sBAAsB,EACrC,iBAAiB,SAAS,OAAO,GAAG,OAAO,GAAG,SAAS,GACnD,OAAO,GACP,OAAO,GACP,SAAS,IACX,MAAM,CACR,IAAI,CACF,YAAY,CAAC,UAAU,EAAE,MAAM,EAAE,iBAAiB,CAAC,EACnD,SAAS,GAAG,OAAO,GAAG,KAAK,GAAG,MAAM,GAAG,iBAAiB,GAAG,WAAW,CACvE,EACD;IACE,KAAK,EAAE,MAAM,CAAA;CACd,CACF,CAAA;AAED,MAAM,MAAM,eAAe,CACzB,UAAU,SAAS,SAAS,GAAG,SAAS,EACxC,MAAM,SAAS,YAAY,GAAG,YAAY,EAC1C,QAAQ,SAAS,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,IACxD,QAAQ,CACV,MAAM,CACJ,UAAU,EACV,MAAM,EACN,QAAQ,EACR,eAAe,EACf,aAAa,CAAC,MAAM,EAAE,QAAQ,CAAC,GAAG,gBAAgB,CAAC,MAAM,EAAE,QAAQ,CAAC,CACrE,CACF,CAAA;AAED;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4BjC,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import type { Chain } from 'viem';
2
- import { type ChainWithEns } from './consts.js';
2
+ import { type CheckedChainWithEns } from './consts.js';
3
3
  /**
4
4
  * Adds ENS contract addresses to the viem chain
5
5
  * @param chain - The viem {@link Chain} object to add the ENS contracts to
@@ -14,5 +14,5 @@ import { type ChainWithEns } from './consts.js';
14
14
  * transport: http(),
15
15
  * })
16
16
  */
17
- export declare const addEnsContracts: <TChain extends Chain>(chain: TChain) => ChainWithEns<TChain>;
17
+ export declare const addEnsContracts: <const TChain extends Chain>(chain: TChain) => CheckedChainWithEns<TChain>;
18
18
  //# sourceMappingURL=addEnsContracts.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"addEnsContracts.d.ts","sourceRoot":"","sources":["../../../src/contracts/addEnsContracts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,MAAM,CAAA;AAEjC,OAAO,EAIL,KAAK,YAAY,EAElB,MAAM,aAAa,CAAA;AAEpB;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,eAAe,+DAiB3B,CAAA"}
1
+ {"version":3,"file":"addEnsContracts.d.ts","sourceRoot":"","sources":["../../../src/contracts/addEnsContracts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,MAAM,CAAA;AAEjC,OAAO,EAIL,KAAK,mBAAmB,EAEzB,MAAM,aAAa,CAAA;AAEpB;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,eAAe,4EAiB3B,CAAA"}