viem 2.0.0-rc.3 → 2.0.0

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 (98) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/_cjs/actions/getContract.js +6 -6
  3. package/_cjs/actions/getContract.js.map +1 -1
  4. package/_cjs/chains/definitions/acala.js +32 -0
  5. package/_cjs/chains/definitions/acala.js.map +1 -0
  6. package/_cjs/chains/definitions/bahamut.js +43 -0
  7. package/_cjs/chains/definitions/bahamut.js.map +1 -0
  8. package/_cjs/chains/definitions/defichainEvm.js +39 -0
  9. package/_cjs/chains/definitions/defichainEvm.js.map +1 -0
  10. package/_cjs/chains/definitions/defichainEvmTestnet.js +40 -0
  11. package/_cjs/chains/definitions/defichainEvmTestnet.js.map +1 -0
  12. package/_cjs/chains/definitions/karura.js +32 -0
  13. package/_cjs/chains/definitions/karura.js.map +1 -0
  14. package/_cjs/chains/definitions/klaytn.js +1 -1
  15. package/_cjs/chains/definitions/klaytn.js.map +1 -1
  16. package/_cjs/chains/definitions/mandala.js +32 -0
  17. package/_cjs/chains/definitions/mandala.js.map +1 -0
  18. package/_cjs/chains/definitions/oasisTestnet.js +22 -0
  19. package/_cjs/chains/definitions/oasisTestnet.js.map +1 -0
  20. package/_cjs/chains/definitions/opBNBTestnet.js +1 -1
  21. package/_cjs/chains/definitions/opBNBTestnet.js.map +1 -1
  22. package/_cjs/chains/definitions/zkFair.js +30 -0
  23. package/_cjs/chains/definitions/zkFair.js.map +1 -0
  24. package/_cjs/chains/definitions/zkFairTestnet.js +30 -0
  25. package/_cjs/chains/definitions/zkFairTestnet.js.map +1 -0
  26. package/_cjs/chains/index.js +22 -4
  27. package/_cjs/chains/index.js.map +1 -1
  28. package/_cjs/errors/version.js +1 -1
  29. package/_cjs/errors/version.js.map +1 -1
  30. package/_esm/actions/getContract.js +6 -6
  31. package/_esm/actions/getContract.js.map +1 -1
  32. package/_esm/chains/definitions/acala.js +29 -0
  33. package/_esm/chains/definitions/acala.js.map +1 -0
  34. package/_esm/chains/definitions/bahamut.js +40 -0
  35. package/_esm/chains/definitions/bahamut.js.map +1 -0
  36. package/_esm/chains/definitions/defichainEvm.js +36 -0
  37. package/_esm/chains/definitions/defichainEvm.js.map +1 -0
  38. package/_esm/chains/definitions/defichainEvmTestnet.js +37 -0
  39. package/_esm/chains/definitions/defichainEvmTestnet.js.map +1 -0
  40. package/_esm/chains/definitions/karura.js +29 -0
  41. package/_esm/chains/definitions/karura.js.map +1 -0
  42. package/_esm/chains/definitions/klaytn.js +1 -1
  43. package/_esm/chains/definitions/klaytn.js.map +1 -1
  44. package/_esm/chains/definitions/mandala.js +29 -0
  45. package/_esm/chains/definitions/mandala.js.map +1 -0
  46. package/_esm/chains/definitions/oasisTestnet.js +19 -0
  47. package/_esm/chains/definitions/oasisTestnet.js.map +1 -0
  48. package/_esm/chains/definitions/opBNBTestnet.js +1 -1
  49. package/_esm/chains/definitions/opBNBTestnet.js.map +1 -1
  50. package/_esm/chains/definitions/zkFair.js +27 -0
  51. package/_esm/chains/definitions/zkFair.js.map +1 -0
  52. package/_esm/chains/definitions/zkFairTestnet.js +27 -0
  53. package/_esm/chains/definitions/zkFairTestnet.js.map +1 -0
  54. package/_esm/chains/index.js +9 -0
  55. package/_esm/chains/index.js.map +1 -1
  56. package/_esm/errors/version.js +1 -1
  57. package/_esm/errors/version.js.map +1 -1
  58. package/_types/actions/getContract.d.ts +12 -9
  59. package/_types/actions/getContract.d.ts.map +1 -1
  60. package/_types/chains/definitions/acala.d.ts +40 -0
  61. package/_types/chains/definitions/acala.d.ts.map +1 -0
  62. package/_types/chains/definitions/bahamut.d.ts +40 -0
  63. package/_types/chains/definitions/bahamut.d.ts.map +1 -0
  64. package/_types/chains/definitions/defichainEvm.d.ts +40 -0
  65. package/_types/chains/definitions/defichainEvm.d.ts.map +1 -0
  66. package/_types/chains/definitions/defichainEvmTestnet.d.ts +40 -0
  67. package/_types/chains/definitions/defichainEvmTestnet.d.ts.map +1 -0
  68. package/_types/chains/definitions/karura.d.ts +40 -0
  69. package/_types/chains/definitions/karura.d.ts.map +1 -0
  70. package/_types/chains/definitions/klaytn.d.ts +1 -1
  71. package/_types/chains/definitions/mandala.d.ts +40 -0
  72. package/_types/chains/definitions/mandala.d.ts.map +1 -0
  73. package/_types/chains/definitions/oasisTestnet.d.ts +38 -0
  74. package/_types/chains/definitions/oasisTestnet.d.ts.map +1 -0
  75. package/_types/chains/definitions/opBNBTestnet.d.ts +1 -1
  76. package/_types/chains/definitions/zkFair.d.ts +38 -0
  77. package/_types/chains/definitions/zkFair.d.ts.map +1 -0
  78. package/_types/chains/definitions/zkFairTestnet.d.ts +38 -0
  79. package/_types/chains/definitions/zkFairTestnet.d.ts.map +1 -0
  80. package/_types/chains/index.d.ts +9 -0
  81. package/_types/chains/index.d.ts.map +1 -1
  82. package/_types/errors/version.d.ts +1 -1
  83. package/_types/errors/version.d.ts.map +1 -1
  84. package/actions/getContract.ts +24 -24
  85. package/chains/definitions/acala.ts +29 -0
  86. package/chains/definitions/bahamut.ts +40 -0
  87. package/chains/definitions/defichainEvm.ts +36 -0
  88. package/chains/definitions/defichainEvmTestnet.ts +37 -0
  89. package/chains/definitions/karura.ts +29 -0
  90. package/chains/definitions/klaytn.ts +1 -1
  91. package/chains/definitions/mandala.ts +29 -0
  92. package/chains/definitions/oasisTestnet.ts +19 -0
  93. package/chains/definitions/opBNBTestnet.ts +1 -1
  94. package/chains/definitions/zkFair.ts +27 -0
  95. package/chains/definitions/zkFairTestnet.ts +27 -0
  96. package/chains/index.ts +9 -0
  97. package/errors/version.ts +1 -1
  98. package/package.json +1 -1
@@ -36,12 +36,12 @@ export function getContract({ abi, address, client: client_, }) {
36
36
  const [publicClient, walletClient] = (() => {
37
37
  if (!client)
38
38
  return [undefined, undefined];
39
- if ('publicClient' in client && 'walletClient' in client)
40
- return [client.publicClient, client.walletClient];
41
- if ('publicClient' in client)
42
- return [client.publicClient, undefined];
43
- if ('walletClient' in client)
44
- return [undefined, client.walletClient];
39
+ if ('public' in client && 'wallet' in client)
40
+ return [client.public, client.wallet];
41
+ if ('public' in client)
42
+ return [client.public, undefined];
43
+ if ('wallet' in client)
44
+ return [undefined, client.wallet];
45
45
  return [client, client];
46
46
  })();
47
47
  const hasPublicClient = publicClient !== undefined && publicClient !== null;
@@ -1 +1 @@
1
- {"version":3,"file":"getContract.js","sourceRoot":"","sources":["../../actions/getContract.ts"],"names":[],"mappings":"AAiCA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACjD,OAAO,EAGL,yBAAyB,GAC1B,MAAM,uCAAuC,CAAA;AAC9C,OAAO,EAGL,mBAAmB,GACpB,MAAM,iCAAiC,CAAA;AACxC,OAAO,EAGL,iBAAiB,GAClB,MAAM,+BAA+B,CAAA;AACtC,OAAO,EAGL,YAAY,GACb,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAGL,gBAAgB,GACjB,MAAM,8BAA8B,CAAA;AACrC,OAAO,EAGL,kBAAkB,GACnB,MAAM,gCAAgC,CAAA;AACvC,OAAO,EAGL,aAAa,GACd,MAAM,2BAA2B,CAAA;AAwXlC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAM,UAAU,WAAW,CAazB,EACA,GAAG,EACH,OAAO,EACP,MAAM,EAAE,OAAO,GAQhB;IACC,MAAM,MAAM,GAAG,OAE8B,CAAA;IAE7C,MAAM,CAAC,YAAY,EAAE,YAAY,CAAC,GAAG,CAAC,GAAG,EAAE;QACzC,IAAI,CAAC,MAAM;YAAE,OAAO,CAAC,SAAS,EAAE,SAAS,CAAC,CAAA;QAC1C,IAAI,cAAc,IAAI,MAAM,IAAI,cAAc,IAAI,MAAM;YACtD,OAAO,CAAC,MAAM,CAAC,YAAsB,EAAE,MAAM,CAAC,YAAsB,CAAC,CAAA;QACvE,IAAI,cAAc,IAAI,MAAM;YAC1B,OAAO,CAAC,MAAM,CAAC,YAAsB,EAAE,SAAS,CAAC,C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C,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAA;IACvD,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,CAAA;AAC1B,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,kBAAkB,CAChC,MAAqD,EACrD,QAAkB;IAElB,IAAI,OAAO,GAAG,KAAK,CAAA;IACnB,yCAAyC;IACzC,IAAI,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;QAAE,OAAO,GAAG,IAAI,CAAA;IAC5C,6CAA6C;SACxC,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC7B,gDAAgD;QAChD,OAAO,GAAG,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,CAAA;QAChD,oDAAoD;IACtD,CAAC;SAAM,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC/B,OAAO,GAAG,IAAI,CAAA;IAChB,CAAC;IAED,MAAM,IAAI,GAAG,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAE,CAAC,CAAC,CAAC,SAAS,CAAA;IAC7C,MAAM,OAAO,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAA;IACvD,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,CAAA;AAC1B,CAAC"}
@@ -0,0 +1,29 @@
1
+ import { defineChain } from '../../utils/chain/defineChain.js';
2
+ export const acala = /*#__PURE__*/ defineChain({
3
+ id: 787,
4
+ name: 'Acala',
5
+ network: 'acala',
6
+ nativeCurrency: {
7
+ name: 'Acala',
8
+ symbol: 'ACA',
9
+ decimals: 18,
10
+ },
11
+ rpcUrls: {
12
+ public: {
13
+ http: ['https://eth-rpc-acala.aca-api.network'],
14
+ webSocket: ['wss://eth-rpc-acala.aca-api.network'],
15
+ },
16
+ default: {
17
+ http: ['https://eth-rpc-acala.aca-api.network'],
18
+ webSocket: ['wss://eth-rpc-acala.aca-api.network'],
19
+ },
20
+ },
21
+ blockExplorers: {
22
+ default: {
23
+ name: 'Acala Blockscout',
24
+ url: 'https://blockscout.acala.network',
25
+ },
26
+ },
27
+ testnet: false,
28
+ });
29
+ //# sourceMappingURL=acala.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acala.js","sourceRoot":"","sources":["../../../chains/definitions/acala.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAE9D,MAAM,CAAC,MAAM,KAAK,GAAG,aAAa,CAAC,WAAW,CAAC;IAC7C,EAAE,EAAE,GAAG;IACP,IAAI,EAAE,OAAO;IACb,OAAO,EAAE,OAAO;IAChB,cAAc,EAAE;QACd,IAAI,EAAE,OAAO;QACb,MAAM,EAAE,KAAK;QACb,QAAQ,EAAE,EAAE;KACb;IACD,OAAO,EAAE;QACP,MAAM,EAAE;YACN,IAAI,EAAE,CAAC,uCAAuC,CAAC;YAC/C,SAAS,EAAE,CAAC,qCAAqC,CAAC;SACnD;QACD,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,uCAAuC,CAAC;YAC/C,SAAS,EAAE,CAAC,qCAAqC,CAAC;SACnD;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,kBAAkB;YACxB,GAAG,EAAE,kCAAkC;SACxC;KACF;IACD,OAAO,EAAE,KAAK;CACf,CAAC,CAAA"}
@@ -0,0 +1,40 @@
1
+ import { defineChain } from '../../utils/chain/defineChain.js';
2
+ export const bahamut = /*#__PURE__*/ defineChain({
3
+ id: 5165,
4
+ network: 'bahamut',
5
+ name: 'Bahamut',
6
+ nativeCurrency: { name: 'Fasttoken', symbol: 'FTN', decimals: 18 },
7
+ rpcUrls: {
8
+ default: {
9
+ http: [
10
+ 'https://rpc1.bahamut.io',
11
+ 'https://bahamut.publicnode.com',
12
+ 'https://rpc2.bahamut.io',
13
+ ],
14
+ webSocket: [
15
+ 'wss://ws1.sahara.bahamutchain.com',
16
+ 'wss://bahamut.publicnode.com',
17
+ 'wss://ws2.sahara.bahamutchain.com',
18
+ ],
19
+ },
20
+ public: {
21
+ http: [
22
+ 'https://rpc1.bahamut.io',
23
+ 'https://bahamut.publicnode.com',
24
+ 'https://rpc2.bahamut.io',
25
+ ],
26
+ webSocket: [
27
+ 'wss://ws1.sahara.bahamutchain.com',
28
+ 'wss://bahamut.publicnode.com',
29
+ 'wss://ws2.sahara.bahamutchain.com',
30
+ ],
31
+ },
32
+ },
33
+ blockExplorers: {
34
+ default: {
35
+ name: 'Ftnscan',
36
+ url: 'https://www.ftnscan.com',
37
+ },
38
+ },
39
+ });
40
+ //# sourceMappingURL=bahamut.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bahamut.js","sourceRoot":"","sources":["../../../chains/definitions/bahamut.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAE9D,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,WAAW,CAAC;IAC/C,EAAE,EAAE,IAAI;IACR,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,SAAS;IACf,cAAc,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IAClE,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE;gBACJ,yBAAyB;gBACzB,gCAAgC;gBAChC,yBAAyB;aAC1B;YACD,SAAS,EAAE;gBACT,mCAAmC;gBACnC,8BAA8B;gBAC9B,mCAAmC;aACpC;SACF;QACD,MAAM,EAAE;YACN,IAAI,EAAE;gBACJ,yBAAyB;gBACzB,gCAAgC;gBAChC,yBAAyB;aAC1B;YACD,SAAS,EAAE;gBACT,mCAAmC;gBACnC,8BAA8B;gBAC9B,mCAAmC;aACpC;SACF;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,SAAS;YACf,GAAG,EAAE,yBAAyB;SAC/B;KACF;CACF,CAAC,CAAA"}
@@ -0,0 +1,36 @@
1
+ import { defineChain } from '../../utils/chain/defineChain.js';
2
+ export const defichainEvm = /*#__PURE__*/ defineChain({
3
+ id: 1130,
4
+ network: 'defichain-evm',
5
+ name: 'DeFiChain EVM Mainnet',
6
+ nativeCurrency: {
7
+ name: 'DeFiChain',
8
+ symbol: 'DFI',
9
+ decimals: 8,
10
+ },
11
+ rpcUrls: {
12
+ default: {
13
+ http: ['https://eth.mainnet.ocean.jellyfishsdk.com'],
14
+ },
15
+ public: {
16
+ http: ['https://eth.mainnet.ocean.jellyfishsdk.com'],
17
+ },
18
+ },
19
+ blockExplorers: {
20
+ default: {
21
+ name: 'DeFiScan',
22
+ url: 'https://meta.defiscan.live',
23
+ },
24
+ blockscout: {
25
+ name: 'Blockscout',
26
+ url: 'https://blockscout.mainnet.ocean.jellyfishsdk.com',
27
+ },
28
+ },
29
+ contracts: {
30
+ multicall3: {
31
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
32
+ blockCreated: 137852,
33
+ },
34
+ },
35
+ });
36
+ //# sourceMappingURL=defichainEvm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"defichainEvm.js","sourceRoot":"","sources":["../../../chains/definitions/defichainEvm.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAE9D,MAAM,CAAC,MAAM,YAAY,GAAG,aAAa,CAAC,WAAW,CAAC;IACpD,EAAE,EAAE,IAAI;IACR,OAAO,EAAE,eAAe;IACxB,IAAI,EAAE,uBAAuB;IAC7B,cAAc,EAAE;QACd,IAAI,EAAE,WAAW;QACjB,MAAM,EAAE,KAAK;QACb,QAAQ,EAAE,CAAC;KACZ;IACD,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,4CAA4C,CAAC;SACrD;QACD,MAAM,EAAE;YACN,IAAI,EAAE,CAAC,4CAA4C,CAAC;SACrD;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,UAAU;YAChB,GAAG,EAAE,4BAA4B;SAClC;QACD,UAAU,EAAE;YACV,IAAI,EAAE,YAAY;YAClB,GAAG,EAAE,mDAAmD;SACzD;KACF;IACD,SAAS,EAAE;QACT,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,MAAM;SACrB;KACF;CACF,CAAC,CAAA"}
@@ -0,0 +1,37 @@
1
+ import { defineChain } from '../../utils/chain/defineChain.js';
2
+ export const defichainEvmTestnet = /*#__PURE__*/ defineChain({
3
+ id: 1131,
4
+ network: 'defichain-evm-testnet',
5
+ name: 'DeFiChain EVM Testnet',
6
+ nativeCurrency: {
7
+ name: 'DeFiChain',
8
+ symbol: 'DFI',
9
+ decimals: 8,
10
+ },
11
+ rpcUrls: {
12
+ default: {
13
+ http: ['https://eth.testnet.ocean.jellyfishsdk.com'],
14
+ },
15
+ public: {
16
+ http: ['https://eth.testnet.ocean.jellyfishsdk.com'],
17
+ },
18
+ },
19
+ blockExplorers: {
20
+ default: {
21
+ name: 'DeFiScan',
22
+ url: 'https://meta.defiscan.live/?network=TestNet',
23
+ },
24
+ blockscout: {
25
+ name: 'Blockscout',
26
+ url: 'https://blockscout.testnet.ocean.jellyfishsdk.com',
27
+ },
28
+ },
29
+ contracts: {
30
+ multicall3: {
31
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
32
+ blockCreated: 156462,
33
+ },
34
+ },
35
+ testnet: true,
36
+ });
37
+ //# sourceMappingURL=defichainEvmTestnet.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"defichainEvmTestnet.js","sourceRoot":"","sources":["../../../chains/definitions/defichainEvmTestnet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAE9D,MAAM,CAAC,MAAM,mBAAmB,GAAG,aAAa,CAAC,WAAW,CAAC;IAC3D,EAAE,EAAE,IAAI;IACR,OAAO,EAAE,uBAAuB;IAChC,IAAI,EAAE,uBAAuB;IAC7B,cAAc,EAAE;QACd,IAAI,EAAE,WAAW;QACjB,MAAM,EAAE,KAAK;QACb,QAAQ,EAAE,CAAC;KACZ;IACD,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,4CAA4C,CAAC;SACrD;QACD,MAAM,EAAE;YACN,IAAI,EAAE,CAAC,4CAA4C,CAAC;SACrD;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,UAAU;YAChB,GAAG,EAAE,6CAA6C;SACnD;QACD,UAAU,EAAE;YACV,IAAI,EAAE,YAAY;YAClB,GAAG,EAAE,mDAAmD;SACzD;KACF;IACD,SAAS,EAAE;QACT,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,MAAM;SACrB;KACF;IACD,OAAO,EAAE,IAAI;CACd,CAAC,CAAA"}
@@ -0,0 +1,29 @@
1
+ import { defineChain } from '../../utils/chain/defineChain.js';
2
+ export const karura = /*#__PURE__*/ defineChain({
3
+ id: 686,
4
+ name: 'Karura',
5
+ network: 'karura',
6
+ nativeCurrency: {
7
+ name: 'Karura',
8
+ symbol: 'KAR',
9
+ decimals: 18,
10
+ },
11
+ rpcUrls: {
12
+ public: {
13
+ http: ['https://eth-rpc-karura.aca-api.network'],
14
+ webSocket: ['wss://eth-rpc-karura.aca-api.network'],
15
+ },
16
+ default: {
17
+ http: ['https://eth-rpc-karura.aca-api.network'],
18
+ webSocket: ['wss://eth-rpc-karura.aca-api.network'],
19
+ },
20
+ },
21
+ blockExplorers: {
22
+ default: {
23
+ name: 'Karura Blockscout',
24
+ url: 'https://blockscout.karura.network',
25
+ },
26
+ },
27
+ testnet: false,
28
+ });
29
+ //# sourceMappingURL=karura.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"karura.js","sourceRoot":"","sources":["../../../chains/definitions/karura.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAE9D,MAAM,CAAC,MAAM,MAAM,GAAG,aAAa,CAAC,WAAW,CAAC;IAC9C,EAAE,EAAE,GAAG;IACP,IAAI,EAAE,QAAQ;IACd,OAAO,EAAE,QAAQ;IACjB,cAAc,EAAE;QACd,IAAI,EAAE,QAAQ;QACd,MAAM,EAAE,KAAK;QACb,QAAQ,EAAE,EAAE;KACb;IACD,OAAO,EAAE;QACP,MAAM,EAAE;YACN,IAAI,EAAE,CAAC,wCAAwC,CAAC;YAChD,SAAS,EAAE,CAAC,sCAAsC,CAAC;SACpD;QACD,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,wCAAwC,CAAC;YAChD,SAAS,EAAE,CAAC,sCAAsC,CAAC;SACpD;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,mBAAmB;YACzB,GAAG,EAAE,mCAAmC;SACzC;KACF;IACD,OAAO,EAAE,KAAK;CACf,CAAC,CAAA"}
@@ -8,7 +8,7 @@ export const klaytn = /*#__PURE__*/ defineChain({
8
8
  symbol: 'KLAY',
9
9
  },
10
10
  rpcUrls: {
11
- default: { http: ['https://cypress.fautor.app/archive'] },
11
+ default: { http: ['https://public-en-cypress.klaytn.net'] },
12
12
  },
13
13
  blockExplorers: {
14
14
  default: { name: 'KlaytnScope', url: 'https://scope.klaytn.com' },
@@ -1 +1 @@
1
- {"version":3,"file":"klaytn.js","sourceRoot":"","sources":["../../../chains/definitions/klaytn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAE9D,MAAM,CAAC,MAAM,MAAM,GAAG,aAAa,CAAC,WAAW,CAAC;IAC9C,EAAE,EAAE,IAAK;IACT,IAAI,EAAE,QAAQ;IACd,cAAc,EAAE;QACd,QAAQ,EAAE,EAAE;QACZ,IAAI,EAAE,QAAQ;QACd,MAAM,EAAE,MAAM;KACf;IACD,OAAO,EAAE;QACP,OAAO,EAAE,EAAE,IAAI,EAAE,CAAC,oCAAoC,CAAC,EAAE;KAC1D;IACD,cAAc,EAAE;QACd,OAAO,EAAE,EAAE,IAAI,EAAE,aAAa,EAAE,GAAG,EAAE,0BAA0B,EAAE;KAClE;IACD,SAAS,EAAE;QACT,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,QAAQ;SACvB;KACF;CACF,CAAC,CAAA"}
1
+ {"version":3,"file":"klaytn.js","sourceRoot":"","sources":["../../../chains/definitions/klaytn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAE9D,MAAM,CAAC,MAAM,MAAM,GAAG,aAAa,CAAC,WAAW,CAAC;IAC9C,EAAE,EAAE,IAAK;IACT,IAAI,EAAE,QAAQ;IACd,cAAc,EAAE;QACd,QAAQ,EAAE,EAAE;QACZ,IAAI,EAAE,QAAQ;QACd,MAAM,EAAE,MAAM;KACf;IACD,OAAO,EAAE;QACP,OAAO,EAAE,EAAE,IAAI,EAAE,CAAC,sCAAsC,CAAC,EAAE;KAC5D;IACD,cAAc,EAAE;QACd,OAAO,EAAE,EAAE,IAAI,EAAE,aAAa,EAAE,GAAG,EAAE,0BAA0B,EAAE;KAClE;IACD,SAAS,EAAE;QACT,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,QAAQ;SACvB;KACF;CACF,CAAC,CAAA"}
@@ -0,0 +1,29 @@
1
+ import { defineChain } from '../../utils/chain/defineChain.js';
2
+ export const mandala = /*#__PURE__*/ defineChain({
3
+ id: 595,
4
+ name: 'Mandala TC9',
5
+ network: 'mandala',
6
+ nativeCurrency: {
7
+ name: 'Mandala',
8
+ symbol: 'mACA',
9
+ decimals: 18,
10
+ },
11
+ rpcUrls: {
12
+ public: {
13
+ http: ['https://eth-rpc-tc9.aca-staging.network'],
14
+ webSocket: ['wss://eth-rpc-tc9.aca-staging.network'],
15
+ },
16
+ default: {
17
+ http: ['https://eth-rpc-tc9.aca-staging.network'],
18
+ webSocket: ['wss://eth-rpc-tc9.aca-staging.network'],
19
+ },
20
+ },
21
+ blockExplorers: {
22
+ default: {
23
+ name: 'Mandala Blockscout',
24
+ url: 'https://blockscout.mandala.aca-staging.network',
25
+ },
26
+ },
27
+ testnet: true,
28
+ });
29
+ //# sourceMappingURL=mandala.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mandala.js","sourceRoot":"","sources":["../../../chains/definitions/mandala.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAE9D,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,WAAW,CAAC;IAC/C,EAAE,EAAE,GAAG;IACP,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,SAAS;IAClB,cAAc,EAAE;QACd,IAAI,EAAE,SAAS;QACf,MAAM,EAAE,MAAM;QACd,QAAQ,EAAE,EAAE;KACb;IACD,OAAO,EAAE;QACP,MAAM,EAAE;YACN,IAAI,EAAE,CAAC,yCAAyC,CAAC;YACjD,SAAS,EAAE,CAAC,uCAAuC,CAAC;SACrD;QACD,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,yCAAyC,CAAC;YACjD,SAAS,EAAE,CAAC,uCAAuC,CAAC;SACrD;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,oBAAoB;YAC1B,GAAG,EAAE,gDAAgD;SACtD;KACF;IACD,OAAO,EAAE,IAAI;CACd,CAAC,CAAA"}
@@ -0,0 +1,19 @@
1
+ import { defineChain } from '../../utils/chain/defineChain.js';
2
+ export const oasisTestnet = /*#__PURE__*/ defineChain({
3
+ id: 4090,
4
+ network: 'oasis-testnet',
5
+ name: 'Oasis Testnet',
6
+ nativeCurrency: { name: 'Fasttoken', symbol: 'FTN', decimals: 18 },
7
+ rpcUrls: {
8
+ default: { http: ['https://rpc1.oasis.bahamutchain.com'] },
9
+ public: { http: ['https://rpc1.oasis.bahamutchain.com'] },
10
+ },
11
+ blockExplorers: {
12
+ default: {
13
+ name: 'Ftnscan',
14
+ url: 'https://oasis.ftnscan.com',
15
+ },
16
+ },
17
+ testnet: true,
18
+ });
19
+ //# sourceMappingURL=oasisTestnet.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"oasisTestnet.js","sourceRoot":"","sources":["../../../chains/definitions/oasisTestnet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAE9D,MAAM,CAAC,MAAM,YAAY,GAAG,aAAa,CAAC,WAAW,CAAC;IACpD,EAAE,EAAE,IAAI;IACR,OAAO,EAAE,eAAe;IACxB,IAAI,EAAE,eAAe;IACrB,cAAc,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IAClE,OAAO,EAAE;QACP,OAAO,EAAE,EAAE,IAAI,EAAE,CAAC,qCAAqC,CAAC,EAAE;QAC1D,MAAM,EAAE,EAAE,IAAI,EAAE,CAAC,qCAAqC,CAAC,EAAE;KAC1D;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,SAAS;YACf,GAAG,EAAE,2BAA2B;SACjC;KACF;IACD,OAAO,EAAE,IAAI;CACd,CAAC,CAAA"}
@@ -11,7 +11,7 @@ export const opBNBTestnet = /*#__PURE__*/ defineChain({
11
11
  default: { http: ['https://opbnb-testnet-rpc.bnbchain.org'] },
12
12
  },
13
13
  blockExplorers: {
14
- default: { name: 'opbnbscan', url: 'https://opbnbscan.com' },
14
+ default: { name: 'opbnbscan', url: 'https://testnet.opbnbscan.com' },
15
15
  },
16
16
  contracts: {
17
17
  multicall3: {
@@ -1 +1 @@
1
- {"version":3,"file":"opBNBTestnet.js","sourceRoot":"","sources":["../../../chains/definitions/opBNBTestnet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAE9D,MAAM,CAAC,MAAM,YAAY,GAAG,aAAa,CAAC,WAAW,CAAC;IACpD,EAAE,EAAE,IAAI;IACR,IAAI,EAAE,eAAe;IACrB,cAAc,EAAE;QACd,QAAQ,EAAE,EAAE;QACZ,IAAI,EAAE,MAAM;QACZ,MAAM,EAAE,MAAM;KACf;IACD,OAAO,EAAE;QACP,OAAO,EAAE,EAAE,IAAI,EAAE,CAAC,wCAAwC,CAAC,EAAE;KAC9D;IACD,cAAc,EAAE;QACd,OAAO,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,GAAG,EAAE,uBAAuB,EAAE;KAC7D;IACD,SAAS,EAAE;QACT,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,OAAO;SACtB;KACF;IACD,OAAO,EAAE,IAAI;CACd,CAAC,CAAA"}
1
+ {"version":3,"file":"opBNBTestnet.js","sourceRoot":"","sources":["../../../chains/definitions/opBNBTestnet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAE9D,MAAM,CAAC,MAAM,YAAY,GAAG,aAAa,CAAC,WAAW,CAAC;IACpD,EAAE,EAAE,IAAI;IACR,IAAI,EAAE,eAAe;IACrB,cAAc,EAAE;QACd,QAAQ,EAAE,EAAE;QACZ,IAAI,EAAE,MAAM;QACZ,MAAM,EAAE,MAAM;KACf;IACD,OAAO,EAAE;QACP,OAAO,EAAE,EAAE,IAAI,EAAE,CAAC,wCAAwC,CAAC,EAAE;KAC9D;IACD,cAAc,EAAE;QACd,OAAO,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,GAAG,EAAE,+BAA+B,EAAE;KACrE;IACD,SAAS,EAAE;QACT,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,OAAO;SACtB;KACF;IACD,OAAO,EAAE,IAAI;CACd,CAAC,CAAA"}
@@ -0,0 +1,27 @@
1
+ import { defineChain } from '../../utils/chain/defineChain.js';
2
+ export const zkFair = /*#__PURE__*/ defineChain({
3
+ id: 42766,
4
+ name: 'ZKFair Mainnet',
5
+ network: 'zkfair-mainnet',
6
+ nativeCurrency: {
7
+ decimals: 18,
8
+ name: 'USD Coin',
9
+ symbol: 'USDC',
10
+ },
11
+ rpcUrls: {
12
+ default: {
13
+ http: ['https://rpc.zkfair.io'],
14
+ },
15
+ public: {
16
+ http: ['https://rpc.zkfair.io'],
17
+ },
18
+ },
19
+ blockExplorers: {
20
+ default: {
21
+ name: 'zkFair Explorer',
22
+ url: 'https://scan.zkfair.io',
23
+ },
24
+ },
25
+ testnet: false,
26
+ });
27
+ //# sourceMappingURL=zkFair.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"zkFair.js","sourceRoot":"","sources":["../../../chains/definitions/zkFair.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAE9D,MAAM,CAAC,MAAM,MAAM,GAAG,aAAa,CAAC,WAAW,CAAC;IAC9C,EAAE,EAAE,KAAK;IACT,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,gBAAgB;IACzB,cAAc,EAAE;QACd,QAAQ,EAAE,EAAE;QACZ,IAAI,EAAE,UAAU;QAChB,MAAM,EAAE,MAAM;KACf;IACD,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,uBAAuB,CAAC;SAChC;QACD,MAAM,EAAE;YACN,IAAI,EAAE,CAAC,uBAAuB,CAAC;SAChC;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,iBAAiB;YACvB,GAAG,EAAE,wBAAwB;SAC9B;KACF;IACD,OAAO,EAAE,KAAK;CACf,CAAC,CAAA"}
@@ -0,0 +1,27 @@
1
+ import { defineChain } from '../../utils/chain/defineChain.js';
2
+ export const zkFairTestnet = /*#__PURE__*/ defineChain({
3
+ id: 43851,
4
+ name: 'ZKFair Testnet',
5
+ network: 'zkfair-testnet',
6
+ nativeCurrency: {
7
+ decimals: 18,
8
+ name: 'USD Coin',
9
+ symbol: 'USDC',
10
+ },
11
+ rpcUrls: {
12
+ default: {
13
+ http: ['https://testnet-rpc.zkfair.io'],
14
+ },
15
+ public: {
16
+ http: ['https://testnet-rpc.zkfair.io'],
17
+ },
18
+ },
19
+ blockExplorers: {
20
+ default: {
21
+ name: 'zkFair Explorer',
22
+ url: 'https://testnet-scan.zkfair.io',
23
+ },
24
+ },
25
+ testnet: true,
26
+ });
27
+ //# sourceMappingURL=zkFairTestnet.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"zkFairTestnet.js","sourceRoot":"","sources":["../../../chains/definitions/zkFairTestnet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAE9D,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAC,WAAW,CAAC;IACrD,EAAE,EAAE,KAAK;IACT,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,gBAAgB;IACzB,cAAc,EAAE;QACd,QAAQ,EAAE,EAAE;QACZ,IAAI,EAAE,UAAU;QAChB,MAAM,EAAE,MAAM;KACf;IACD,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,+BAA+B,CAAC;SACxC;QACD,MAAM,EAAE;YACN,IAAI,EAAE,CAAC,+BAA+B,CAAC;SACxC;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,iBAAiB;YACvB,GAAG,EAAE,gCAAgC;SACtC;KACF;IACD,OAAO,EAAE,IAAI;CACd,CAAC,CAAA"}
@@ -1,3 +1,4 @@
1
+ export { acala } from './definitions/acala.js';
1
2
  export { arbitrum } from './definitions/arbitrum.js';
2
3
  export { arbitrumGoerli } from './definitions/arbitrumGoerli.js';
3
4
  export { arbitrumNova } from './definitions/arbitrumNova.js';
@@ -8,6 +9,7 @@ export { aurora } from './definitions/aurora.js';
8
9
  export { auroraTestnet } from './definitions/auroraTestnet.js';
9
10
  export { avalanche } from './definitions/avalanche.js';
10
11
  export { avalancheFuji } from './definitions/avalancheFuji.js';
12
+ export { bahamut } from './definitions/bahamut.js';
11
13
  export { base } from './definitions/base.js';
12
14
  export { baseGoerli } from './definitions/baseGoerli.js';
13
15
  export { baseSepolia } from './definitions/baseSepolia.js';
@@ -34,6 +36,8 @@ export { coreDao } from './definitions/coreDao.js';
34
36
  export { cronos } from './definitions/cronos.js';
35
37
  export { cronosTestnet } from './definitions/cronosTestnet.js';
36
38
  export { crossbell } from './definitions/crossbell.js';
39
+ export { defichainEvm } from './definitions/defichainEvm.js';
40
+ export { defichainEvmTestnet } from './definitions/defichainEvmTestnet.js';
37
41
  export { dfk } from './definitions/dfk.js';
38
42
  export { dogechain } from './definitions/dogechain.js';
39
43
  export { edgeware } from './definitions/edgeware.js';
@@ -59,6 +63,7 @@ export { fuseSparknet } from './definitions/fuseSparknet.js';
59
63
  export { iotex } from './definitions/iotex.js';
60
64
  export { iotexTestnet } from './definitions/iotexTestnet.js';
61
65
  export { jbc } from './definitions/jbc.js';
66
+ export { karura } from './definitions/karura.js';
62
67
  export { gobi } from './definitions/gobi.js';
63
68
  export { goerli } from './definitions/goerli.js';
64
69
  export { gnosis } from './definitions/gnosis.js';
@@ -79,6 +84,7 @@ export { lineaTestnet } from './definitions/lineaTestnet.js';
79
84
  export { localhost } from './definitions/localhost.js';
80
85
  export { lukso } from './definitions/lukso.js';
81
86
  export { mainnet } from './definitions/mainnet.js';
87
+ export { mandala } from './definitions/mandala.js';
82
88
  export { manta } from './definitions/manta.js';
83
89
  export { mantaTestnet } from './definitions/mantaTestnet.js';
84
90
  export { mantle } from './definitions/mantle.js';
@@ -99,6 +105,7 @@ export { neonMainnet } from './definitions/neonMainnet.js';
99
105
  export { nexi } from './definitions/nexi.js';
100
106
  export { nexilix } from './definitions/nexilix.js';
101
107
  export { oasys } from './definitions/oasys.js';
108
+ export { oasisTestnet } from './definitions/oasisTestnet.js';
102
109
  export { okc } from './definitions/okc.js';
103
110
  export { optimism } from './definitions/optimism.js';
104
111
  export { optimismGoerli } from './definitions/optimismGoerli.js';
@@ -167,6 +174,8 @@ export { wemixTestnet } from './definitions/wemixTestnet.js';
167
174
  export { xdc } from './definitions/xdc.js';
168
175
  export { xdcTestnet } from './definitions/xdcTestnet.js';
169
176
  export { zhejiang } from './definitions/zhejiang.js';
177
+ export { zkFair } from './definitions/zkFair.js';
178
+ export { zkFairTestnet } from './definitions/zkFairTestnet.js';
170
179
  export { zkSync } from './definitions/zkSync.js';
171
180
  export { zkSyncTestnet } from './definitions/zkSyncTestnet.js';
172
181
  export { zkSyncSepoliaTestnet } from './definitions/zkSyncSepoliaTestnet.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../chains/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAA;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAA;AAChE,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAA;AAC5D,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAA;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAA;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAA;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAA;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAA;AAC9D,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAA;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAA;AAC9D,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAA;AAC5C,OAAO,EAAE,UAAU,EAAE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OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAA;AAChE,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAA;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAA;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAA;AAClE,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAA;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAA;AAC5D,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAA;AACxD,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAA;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAA;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAA;AAC9D,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAA;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAA;AAC9D,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAA;AAC5E,OAAO,EAAE,sBAAsB,EAAE,MAAM,yCAAyC,CAAA;AAChF,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAA;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAA;AAChE,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAA;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAA;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAA"}
@@ -1,2 +1,2 @@
1
- export const version = '2.0.0-rc.3';
1
+ export const version = '2.0.0';
2
2
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["../../errors/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,YAAY,CAAA"}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../../errors/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,OAAO,CAAA"}
@@ -14,10 +14,13 @@ import { type SimulateContractParameters, type SimulateContractReturnType } from
14
14
  import { type WatchContractEventParameters, type WatchContractEventReturnType } from './public/watchContractEvent.js';
15
15
  import { type WriteContractParameters, type WriteContractReturnType } from './wallet/writeContract.js';
16
16
  type KeyedClient<TTransport extends Transport = Transport, TChain extends Chain | undefined = Chain | undefined, TAccount extends Account | undefined = Account | undefined> = {
17
- publicClient: Client<TTransport, TChain>;
18
- walletClient: Client<TTransport, TChain, TAccount>;
17
+ public?: Client<TTransport, TChain>;
18
+ wallet: Client<TTransport, TChain, TAccount>;
19
+ } | {
20
+ public: Client<TTransport, TChain>;
21
+ wallet?: Client<TTransport, TChain, TAccount>;
19
22
  };
20
- export type GetContractParameters<TTransport extends Transport = Transport, TChain extends Chain | undefined = Chain | undefined, TAccount extends Account | undefined = Account | undefined, TAbi extends Abi | readonly unknown[] = Abi, TClient extends Client<TTransport, TChain, TAccount> | KeyedClient<TTransport, TChain, TAccount> | unknown = unknown, TAddress extends Address = Address> = {
23
+ export type GetContractParameters<TTransport extends Transport = Transport, TChain extends Chain | undefined = Chain | undefined, TAccount extends Account | undefined = Account | undefined, TAbi extends Abi | readonly unknown[] = Abi, TClient extends Client<TTransport, TChain, TAccount> | KeyedClient<TTransport, TChain, TAccount> = Client<TTransport, TChain, TAccount> | KeyedClient<TTransport, TChain, TAccount>, TAddress extends Address = Address> = {
21
24
  /** Contract ABI */
22
25
  abi: TAbi;
23
26
  /** Contract address */
@@ -40,11 +43,11 @@ export type GetContractParameters<TTransport extends Transport = Transport, TCha
40
43
  */
41
44
  client: TClient;
42
45
  };
43
- export type GetContractReturnType<TAbi extends Abi | readonly unknown[] = Abi, TClient extends Client | KeyedClient | unknown = unknown, TAddress extends Address = Address, _EventNames extends string = TAbi extends Abi ? Abi extends TAbi ? string : ExtractAbiEventNames<TAbi> : string, _ReadFunctionNames extends string = TAbi extends Abi ? Abi extends TAbi ? string : ExtractAbiFunctionNames<TAbi, 'pure' | 'view'> : string, _WriteFunctionNames extends string = TAbi extends Abi ? Abi extends TAbi ? string : ExtractAbiFunctionNames<TAbi, 'nonpayable' | 'payable'> : string, _Narrowable extends boolean = IsNarrowable<TAbi, Abi>, _PublicClient extends Client | unknown = TClient extends {
44
- publicClient: Client;
45
- } ? TClient['publicClient'] : TClient, _WalletClient extends Client | unknown = TClient extends {
46
- walletClient: Client;
47
- } ? TClient['walletClient'] : TClient> = Prettify<Prettify<(_PublicClient extends Client ? (IsNever<_ReadFunctionNames> extends true ? unknown : {
46
+ export type GetContractReturnType<TAbi extends Abi | readonly unknown[] = Abi, TClient extends Client | KeyedClient = Client | KeyedClient, TAddress extends Address = Address, _EventNames extends string = TAbi extends Abi ? Abi extends TAbi ? string : ExtractAbiEventNames<TAbi> : string, _ReadFunctionNames extends string = TAbi extends Abi ? Abi extends TAbi ? string : ExtractAbiFunctionNames<TAbi, 'pure' | 'view'> : string, _WriteFunctionNames extends string = TAbi extends Abi ? Abi extends TAbi ? string : ExtractAbiFunctionNames<TAbi, 'nonpayable' | 'payable'> : string, _Narrowable extends boolean = IsNarrowable<TAbi, Abi>, _PublicClient extends Client | unknown = TClient extends {
47
+ public: Client;
48
+ } ? TClient['public'] : TClient, _WalletClient extends Client | unknown = TClient extends {
49
+ wallet: Client;
50
+ } ? TClient['wallet'] : TClient> = Prettify<Prettify<(_PublicClient extends Client ? (IsNever<_ReadFunctionNames> extends true ? unknown : {
48
51
  /**
49
52
  * Calls a read-only function on a contract, and returns the response.
50
53
  *
@@ -279,7 +282,7 @@ export type GetContractErrorType = ErrorType;
279
282
  * client: publicClient,
280
283
  * })
281
284
  */
282
- export declare function getContract<TTransport extends Transport, TAddress extends Address, const TAbi extends Abi | readonly unknown[], TChain extends Chain | undefined = Chain | undefined, TAccount extends Account | undefined = Account | undefined, const TClient extends Client<TTransport, TChain, TAccount> | KeyedClient<TTransport, TChain, TAccount> | unknown = Client<TTransport, TChain, TAccount> | KeyedClient<TTransport, TChain, TAccount> | unknown>({ abi, address, client: client_, }: GetContractParameters<TTransport, TChain, TAccount, TAbi, TClient, TAddress>): GetContractReturnType<TAbi, TClient, TAddress>;
285
+ export declare function getContract<TTransport extends Transport, TAddress extends Address, const TAbi extends Abi | readonly unknown[], const TClient extends Client<TTransport, TChain, TAccount> | KeyedClient<TTransport, TChain, TAccount>, TChain extends Chain | undefined = Chain | undefined, TAccount extends Account | undefined = Account | undefined>({ abi, address, client: client_, }: GetContractParameters<TTransport, TChain, TAccount, TAbi, TClient, TAddress>): GetContractReturnType<TAbi, TClient, TAddress>;
283
286
  /**
284
287
  * @internal exporting for testing only
285
288
  */