viem 1.19.8 → 1.19.10
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.
- package/CHANGELOG.md +425 -405
- package/README.md +46 -46
- package/_cjs/accounts/utils/signTransaction.js.map +1 -1
- package/_cjs/actions/public/createContractEventFilter.js.map +1 -1
- package/_cjs/actions/public/estimateMaxPriorityFeePerGas.js +1 -1
- package/_cjs/actions/public/estimateMaxPriorityFeePerGas.js.map +1 -1
- package/_cjs/chains/celo/serializers.js +3 -7
- package/_cjs/chains/celo/serializers.js.map +1 -1
- package/_cjs/chains/definitions/confluxESpace.js +2 -0
- package/_cjs/chains/definitions/confluxESpace.js.map +1 -1
- package/_cjs/chains/definitions/confluxESpaceTestnet.js +34 -0
- package/_cjs/chains/definitions/confluxESpaceTestnet.js.map +1 -0
- package/_cjs/chains/definitions/filecoin.js +6 -0
- package/_cjs/chains/definitions/filecoin.js.map +1 -1
- package/_cjs/chains/definitions/pgn.js +38 -0
- package/_cjs/chains/definitions/pgn.js.map +1 -0
- package/_cjs/chains/definitions/pgnTestnet.js +39 -0
- package/_cjs/chains/definitions/pgnTestnet.js.map +1 -0
- package/_cjs/chains/definitions/sapphire.js +33 -0
- package/_cjs/chains/definitions/sapphire.js.map +1 -0
- package/_cjs/chains/definitions/sapphireTestnet.js +28 -0
- package/_cjs/chains/definitions/sapphireTestnet.js.map +1 -0
- package/_cjs/chains/index.js +14 -4
- package/_cjs/chains/index.js.map +1 -1
- package/_cjs/errors/base.js.map +1 -1
- package/_cjs/errors/version.js +1 -1
- package/_cjs/errors/version.js.map +1 -1
- package/_cjs/utils/abi/encodeEventTopics.js.map +1 -1
- package/_cjs/utils/ccip.js +3 -1
- package/_cjs/utils/ccip.js.map +1 -1
- package/_cjs/utils/encoding/toBytes.js +2 -2
- package/_cjs/utils/encoding/toBytes.js.map +1 -1
- package/_cjs/utils/ens/avatar/utils.js +1 -1
- package/_cjs/utils/ens/avatar/utils.js.map +1 -1
- package/_cjs/utils/errors/getContractError.js.map +1 -1
- package/_cjs/utils/errors/getNodeError.js +11 -11
- package/_cjs/utils/errors/getNodeError.js.map +1 -1
- package/_cjs/utils/transaction/getTransactionType.js.map +1 -1
- package/_cjs/utils/transaction/serializeTransaction.js.map +1 -1
- package/_esm/accounts/utils/signTransaction.js.map +1 -1
- package/_esm/actions/ens/getEnsAddress.js +2 -2
- package/_esm/actions/ens/getEnsAvatar.js +2 -2
- package/_esm/actions/ens/getEnsName.js +2 -2
- package/_esm/actions/ens/getEnsResolver.js +2 -2
- package/_esm/actions/ens/getEnsText.js +2 -2
- package/_esm/actions/public/createContractEventFilter.js.map +1 -1
- package/_esm/actions/public/estimateMaxPriorityFeePerGas.js +1 -1
- package/_esm/actions/public/estimateMaxPriorityFeePerGas.js.map +1 -1
- package/_esm/actions/public/getBlock.js +1 -1
- package/_esm/actions/public/getBlockNumber.js +1 -1
- package/_esm/actions/public/getLogs.js +1 -1
- package/_esm/actions/public/getTransaction.js +1 -1
- package/_esm/actions/public/getTransactionConfirmations.js +1 -1
- package/_esm/actions/public/getTransactionReceipt.js +1 -1
- package/_esm/actions/public/readContract.js +1 -1
- package/_esm/actions/public/simulateContract.js +1 -1
- package/_esm/actions/public/waitForTransactionReceipt.js +1 -1
- package/_esm/actions/public/watchBlockNumber.js +1 -1
- package/_esm/actions/public/watchBlocks.js +1 -1
- package/_esm/actions/wallet/deployContract.js +1 -1
- package/_esm/actions/wallet/sendTransaction.js +1 -1
- package/_esm/actions/wallet/writeContract.js +1 -1
- package/_esm/chains/celo/serializers.js +3 -7
- package/_esm/chains/celo/serializers.js.map +1 -1
- package/_esm/chains/definitions/confluxESpace.js +2 -0
- package/_esm/chains/definitions/confluxESpace.js.map +1 -1
- package/_esm/chains/definitions/confluxESpaceTestnet.js +31 -0
- package/_esm/chains/definitions/confluxESpaceTestnet.js.map +1 -0
- package/_esm/chains/definitions/filecoin.js +6 -0
- package/_esm/chains/definitions/filecoin.js.map +1 -1
- package/_esm/chains/definitions/pgn.js +35 -0
- package/_esm/chains/definitions/pgn.js.map +1 -0
- package/_esm/chains/definitions/pgnTestnet.js +36 -0
- package/_esm/chains/definitions/pgnTestnet.js.map +1 -0
- package/_esm/chains/definitions/sapphire.js +30 -0
- package/_esm/chains/definitions/sapphire.js.map +1 -0
- package/_esm/chains/definitions/sapphireTestnet.js +25 -0
- package/_esm/chains/definitions/sapphireTestnet.js.map +1 -0
- package/_esm/chains/index.js +5 -0
- package/_esm/chains/index.js.map +1 -1
- package/_esm/errors/base.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_esm/errors/version.js.map +1 -1
- package/_esm/utils/abi/encodeEventTopics.js.map +1 -1
- package/_esm/utils/ccip.js +3 -1
- package/_esm/utils/ccip.js.map +1 -1
- package/_esm/utils/encoding/toBytes.js +2 -2
- package/_esm/utils/encoding/toBytes.js.map +1 -1
- package/_esm/utils/ens/avatar/utils.js +1 -1
- package/_esm/utils/ens/avatar/utils.js.map +1 -1
- package/_esm/utils/ens/namehash.js +1 -1
- package/_esm/utils/ens/normalize.js +2 -2
- package/_esm/utils/errors/getContractError.js.map +1 -1
- package/_esm/utils/errors/getNodeError.js +11 -11
- package/_esm/utils/errors/getNodeError.js.map +1 -1
- package/_esm/utils/transaction/getTransactionType.js.map +1 -1
- package/_esm/utils/transaction/serializeTransaction.js.map +1 -1
- package/_types/accounts/utils/signTransaction.d.ts.map +1 -1
- package/_types/actions/ens/getEnsAddress.d.ts +2 -2
- package/_types/actions/ens/getEnsAvatar.d.ts +2 -2
- package/_types/actions/ens/getEnsName.d.ts +2 -2
- package/_types/actions/ens/getEnsResolver.d.ts +2 -2
- package/_types/actions/ens/getEnsText.d.ts +2 -2
- package/_types/actions/public/createContractEventFilter.d.ts.map +1 -1
- package/_types/actions/public/estimateMaxPriorityFeePerGas.d.ts.map +1 -1
- package/_types/actions/public/getBlock.d.ts +1 -1
- package/_types/actions/public/getBlockNumber.d.ts +1 -1
- package/_types/actions/public/getLogs.d.ts +1 -1
- package/_types/actions/public/getTransaction.d.ts +1 -1
- package/_types/actions/public/getTransactionConfirmations.d.ts +1 -1
- package/_types/actions/public/getTransactionReceipt.d.ts +1 -1
- package/_types/actions/public/readContract.d.ts +1 -1
- package/_types/actions/public/simulateContract.d.ts +1 -1
- package/_types/actions/public/waitForTransactionReceipt.d.ts +1 -1
- package/_types/actions/public/watchBlockNumber.d.ts +1 -1
- package/_types/actions/public/watchBlocks.d.ts +1 -1
- package/_types/actions/wallet/deployContract.d.ts +1 -1
- package/_types/actions/wallet/sendTransaction.d.ts +1 -1
- package/_types/actions/wallet/writeContract.d.ts +1 -1
- package/_types/chains/celo/serializers.d.ts.map +1 -1
- package/_types/chains/definitions/confluxESpace.d.ts +2 -0
- package/_types/chains/definitions/confluxESpace.d.ts.map +1 -1
- package/_types/chains/definitions/confluxESpaceTestnet.d.ts +34 -0
- package/_types/chains/definitions/confluxESpaceTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/filecoin.d.ts +6 -0
- package/_types/chains/definitions/filecoin.d.ts.map +1 -1
- package/_types/chains/definitions/pgn.d.ts +340 -0
- package/_types/chains/definitions/pgn.d.ts.map +1 -0
- package/_types/chains/definitions/pgnTestnet.d.ts +341 -0
- package/_types/chains/definitions/pgnTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/sapphire.d.ts +33 -0
- package/_types/chains/definitions/sapphire.d.ts.map +1 -0
- package/_types/chains/definitions/sapphireTestnet.d.ts +28 -0
- package/_types/chains/definitions/sapphireTestnet.d.ts.map +1 -0
- package/_types/chains/index.d.ts +5 -0
- package/_types/chains/index.d.ts.map +1 -1
- package/_types/clients/decorators/public.d.ts +21 -21
- package/_types/clients/decorators/wallet.d.ts +3 -3
- package/_types/errors/version.d.ts +1 -1
- package/_types/errors/version.d.ts.map +1 -1
- package/_types/types/contract.d.ts.map +1 -1
- package/_types/types/filter.d.ts.map +1 -1
- package/_types/types/log.d.ts.map +1 -1
- package/_types/types/multicall.d.ts.map +1 -1
- package/_types/types/transaction.d.ts.map +1 -1
- package/_types/types/typedData.d.ts.map +1 -1
- package/_types/types/utils.d.ts.map +1 -1
- package/_types/utils/abi/decodeFunctionResult.d.ts.map +1 -1
- package/_types/utils/abi/encodeErrorResult.d.ts.map +1 -1
- package/_types/utils/abi/encodeEventTopics.d.ts.map +1 -1
- package/_types/utils/abi/encodeFunctionData.d.ts.map +1 -1
- package/_types/utils/abi/encodeFunctionResult.d.ts.map +1 -1
- package/_types/utils/ccip.d.ts.map +1 -1
- package/_types/utils/encoding/fromBytes.d.ts.map +1 -1
- package/_types/utils/encoding/fromHex.d.ts.map +1 -1
- package/_types/utils/ens/avatar/utils.d.ts.map +1 -1
- package/_types/utils/ens/namehash.d.ts +1 -1
- package/_types/utils/ens/normalize.d.ts +2 -2
- package/_types/utils/errors/getNodeError.d.ts.map +1 -1
- package/_types/utils/transaction/getSerializedTransactionType.d.ts.map +1 -1
- package/_types/utils/transaction/getTransactionType.d.ts.map +1 -1
- package/_types/utils/transaction/serializeTransaction.d.ts.map +1 -1
- package/accounts/utils/signTransaction.ts +4 -2
- package/actions/ens/getEnsAddress.ts +3 -3
- package/actions/ens/getEnsAvatar.ts +2 -2
- package/actions/ens/getEnsName.ts +2 -2
- package/actions/ens/getEnsResolver.ts +2 -2
- package/actions/ens/getEnsText.ts +2 -2
- package/actions/public/call.ts +1 -1
- package/actions/public/createContractEventFilter.ts +11 -9
- package/actions/public/estimateMaxPriorityFeePerGas.ts +3 -1
- package/actions/public/getBlock.ts +1 -1
- package/actions/public/getBlockNumber.ts +1 -1
- package/actions/public/getLogs.ts +1 -1
- package/actions/public/getTransaction.ts +1 -1
- package/actions/public/getTransactionConfirmations.ts +1 -1
- package/actions/public/getTransactionReceipt.ts +1 -1
- package/actions/public/readContract.ts +1 -1
- package/actions/public/simulateContract.ts +1 -1
- package/actions/public/verifyHash.ts +1 -1
- package/actions/public/verifyMessage.ts +1 -1
- package/actions/public/verifyTypedData.ts +1 -1
- package/actions/public/waitForTransactionReceipt.ts +1 -1
- package/actions/public/watchBlockNumber.ts +1 -1
- package/actions/public/watchBlocks.ts +1 -1
- package/actions/wallet/deployContract.ts +1 -1
- package/actions/wallet/sendRawTransaction.ts +1 -1
- package/actions/wallet/sendTransaction.ts +1 -1
- package/actions/wallet/writeContract.ts +1 -1
- package/chains/celo/serializers.ts +3 -7
- package/chains/definitions/confluxESpace.ts +2 -0
- package/chains/definitions/confluxESpaceTestnet.ts +31 -0
- package/chains/definitions/filecoin.ts +6 -0
- package/chains/definitions/pgn.ts +38 -0
- package/chains/definitions/pgnTestnet.ts +39 -0
- package/chains/definitions/sapphire.ts +30 -0
- package/chains/definitions/sapphireTestnet.ts +25 -0
- package/chains/index.ts +5 -0
- package/clients/decorators/public.ts +21 -21
- package/clients/decorators/wallet.ts +3 -3
- package/errors/base.ts +2 -2
- package/errors/version.ts +1 -1
- package/package.json +3 -3
- package/types/contract.ts +63 -64
- package/types/filter.ts +12 -12
- package/types/log.ts +4 -4
- package/types/multicall.ts +65 -57
- package/types/transaction.ts +4 -4
- package/types/typedData.ts +12 -12
- package/types/utils.ts +6 -7
- package/utils/abi/decodeFunctionResult.ts +2 -2
- package/utils/abi/encodeErrorResult.ts +2 -2
- package/utils/abi/encodeEventTopics.ts +6 -6
- package/utils/abi/encodeFunctionData.ts +2 -2
- package/utils/abi/encodeFunctionResult.ts +5 -5
- package/utils/ccip.ts +4 -2
- package/utils/encoding/fromBytes.ts +8 -8
- package/utils/encoding/fromHex.ts +8 -8
- package/utils/encoding/toBytes.ts +2 -2
- package/utils/ens/avatar/utils.ts +3 -1
- package/utils/ens/namehash.ts +1 -1
- package/utils/ens/normalize.ts +2 -2
- package/utils/errors/getContractError.ts +2 -2
- package/utils/errors/getNodeError.ts +12 -11
- package/utils/rpc.ts +1 -1
- package/utils/transaction/getSerializedTransactionType.ts +2 -2
- package/utils/transaction/getTransactionType.ts +2 -1
- package/utils/transaction/serializeTransaction.ts +6 -3
package/README.md
CHANGED
@@ -3,8 +3,8 @@
|
|
3
3
|
<p align="center">
|
4
4
|
<a href="https://viem.sh">
|
5
5
|
<picture>
|
6
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/
|
7
|
-
<img alt="viem logo" src="https://github.com/
|
6
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/wevm/viem/blob/main/.github/gh-logo-dark.svg">
|
7
|
+
<img alt="viem logo" src="https://github.com/wevm/viem/blob/main/.github/gh-logo-light.svg" width="auto" height="60">
|
8
8
|
</picture>
|
9
9
|
</a>
|
10
10
|
</p>
|
@@ -20,13 +20,13 @@
|
|
20
20
|
<img src="https://img.shields.io/npm/v/viem?colorA=f6f8fa&colorB=f6f8fa&style=flat" alt="Version">
|
21
21
|
</picture>
|
22
22
|
</a>
|
23
|
-
<a href="https://app.codecov.io/gh/
|
23
|
+
<a href="https://app.codecov.io/gh/wevm/viem">
|
24
24
|
<picture>
|
25
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/codecov/c/github/
|
26
|
-
<img src="https://img.shields.io/codecov/c/github/
|
25
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/codecov/c/github/wevm/viem?colorA=21262d&colorB=21262d&style=flat">
|
26
|
+
<img src="https://img.shields.io/codecov/c/github/wevm/viem?colorA=f6f8fa&colorB=f6f8fa&style=flat" alt="Code coverage">
|
27
27
|
</picture>
|
28
28
|
</a>
|
29
|
-
<a href="https://github.com/
|
29
|
+
<a href="https://github.com/wevm/viem/blob/main/LICENSE">
|
30
30
|
<picture>
|
31
31
|
<source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/npm/l/viem?colorA=21262d&colorB=21262d&style=flat">
|
32
32
|
<img src="https://img.shields.io/npm/l/viem?colorA=f6f8fa&colorB=f6f8fa&style=flat" alt="MIT License">
|
@@ -40,8 +40,8 @@
|
|
40
40
|
</a>
|
41
41
|
<a href="https://bestofjs.org/projects/viem">
|
42
42
|
<picture>
|
43
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/endpoint?colorA=21262d&colorB=21262d&style=flat&url=https://bestofjs-serverless.now.sh/api/project-badge?fullName=
|
44
|
-
<img src="https://img.shields.io/endpoint?colorA=f6f8fa&colorB=f6f8fa&style=flat&url=https://bestofjs-serverless.now.sh/api/project-badge?fullName=
|
43
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/endpoint?colorA=21262d&colorB=21262d&style=flat&url=https://bestofjs-serverless.now.sh/api/project-badge?fullName=wevm%2Fviem%26since=daily">
|
44
|
+
<img src="https://img.shields.io/endpoint?colorA=f6f8fa&colorB=f6f8fa&style=flat&url=https://bestofjs-serverless.now.sh/api/project-badge?fullName=wevm%2Fviem%26since=daily" alt="Best of JS">
|
45
45
|
</picture>
|
46
46
|
</a>
|
47
47
|
</p>
|
@@ -88,21 +88,21 @@ const blockNumber = await client.getBlockNumber();
|
|
88
88
|
Check out the following places for more viem-related content:
|
89
89
|
|
90
90
|
- Follow [@wagmi_sh](https://twitter.com/wagmi_sh), [@jakemoxey](https://twitter.com/jakemoxey), and [@awkweb](https://twitter.com/awkweb) on Twitter for project updates
|
91
|
-
- Join the [discussions on GitHub](https://github.com/
|
92
|
-
- [Share your project/organization](https://github.com/
|
91
|
+
- Join the [discussions on GitHub](https://github.com/wevm/viem/discussions)
|
92
|
+
- [Share your project/organization](https://github.com/wevm/viem/discussions/104) that uses viem
|
93
93
|
|
94
94
|
## Support
|
95
95
|
|
96
|
-
- [GitHub Sponsors](https://github.com/sponsors/
|
96
|
+
- [GitHub Sponsors](https://github.com/sponsors/wevm?metadata_campaign=docs_support)
|
97
97
|
- [Gitcoin Grant](https://wagmi.sh/gitcoin)
|
98
|
-
- [
|
98
|
+
- [wevm.eth](https://etherscan.io/enslookup-search?search=wevm.eth)
|
99
99
|
|
100
100
|
## Sponsors
|
101
101
|
|
102
102
|
<a href="https://paradigm.xyz">
|
103
103
|
<picture>
|
104
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/
|
105
|
-
<img alt="paradigm logo" src="https://raw.githubusercontent.com/
|
104
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/paradigm-dark.svg">
|
105
|
+
<img alt="paradigm logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/paradigm-light.svg" width="auto" height="70">
|
106
106
|
</picture>
|
107
107
|
</a>
|
108
108
|
|
@@ -110,98 +110,98 @@ Check out the following places for more viem-related content:
|
|
110
110
|
|
111
111
|
<a href="https://twitter.com/family">
|
112
112
|
<picture>
|
113
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/
|
114
|
-
<img alt="family logo" src="https://raw.githubusercontent.com/
|
113
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/family-dark.svg">
|
114
|
+
<img alt="family logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/family-light.svg" width="auto" height="50">
|
115
115
|
</picture>
|
116
116
|
</a>
|
117
117
|
<a href="https://twitter.com/context">
|
118
118
|
<picture>
|
119
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/
|
120
|
-
<img alt="context logo" src="https://raw.githubusercontent.com/
|
119
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/context-dark.svg">
|
120
|
+
<img alt="context logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/context-light.svg" width="auto" height="50">
|
121
121
|
</picture>
|
122
122
|
</a>
|
123
123
|
<a href="https://walletconnect.com">
|
124
124
|
<picture>
|
125
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/
|
126
|
-
<img alt="WalletConnect logo" src="https://raw.githubusercontent.com/
|
125
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/walletconnect-dark.svg">
|
126
|
+
<img alt="WalletConnect logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/walletconnect-light.svg" width="auto" height="50">
|
127
127
|
</picture>
|
128
128
|
</a>
|
129
129
|
<a href="https://looksrare.org">
|
130
130
|
<picture>
|
131
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/
|
132
|
-
<img alt="LooksRare logo" src="https://raw.githubusercontent.com/
|
131
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/looksrare-dark.svg">
|
132
|
+
<img alt="LooksRare logo" src="https://raw.githubusercontent.com/wevm/.github/8923685e23fe9708b74d456c3f9e7a2b90f6abd9/content/sponsors/looksrare-light.svg" width="auto" height="50">
|
133
133
|
</picture>
|
134
134
|
</a>
|
135
135
|
<a href="https://twitter.com/prtyDAO">
|
136
136
|
<picture>
|
137
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/
|
138
|
-
<img alt="PartyDAO logo" src="https://raw.githubusercontent.com/
|
137
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/partydao-dark.svg">
|
138
|
+
<img alt="PartyDAO logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/partydao-light.svg" width="auto" height="50">
|
139
139
|
</picture>
|
140
140
|
</a>
|
141
141
|
<a href="https://dynamic.xyz">
|
142
142
|
<picture>
|
143
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/
|
144
|
-
<img alt="Dynamic logo" src="https://raw.githubusercontent.com/
|
143
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/dynamic-dark.svg">
|
144
|
+
<img alt="Dynamic logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/dynamic-light.svg" width="auto" height="50">
|
145
145
|
</picture>
|
146
146
|
</a>
|
147
147
|
<a href="https://sushi.com">
|
148
148
|
<picture>
|
149
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/
|
150
|
-
<img alt="Sushi logo" src="https://raw.githubusercontent.com/
|
149
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/sushi-dark.svg">
|
150
|
+
<img alt="Sushi logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/sushi-light.svg" width="auto" height="50">
|
151
151
|
</picture>
|
152
152
|
</a>
|
153
153
|
<a href="https://stripe.com">
|
154
154
|
<picture>
|
155
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/
|
156
|
-
<img alt="Stripe logo" src="https://raw.githubusercontent.com/
|
155
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/stripe-dark.svg">
|
156
|
+
<img alt="Stripe logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/stripe-light.svg" width="auto" height="50">
|
157
157
|
</picture>
|
158
158
|
</a>
|
159
159
|
<a href="https://bitkeep.com">
|
160
160
|
<picture>
|
161
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/
|
162
|
-
<img alt="BitKeep logo" src="https://raw.githubusercontent.com/
|
161
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/bitkeep-dark.svg">
|
162
|
+
<img alt="BitKeep logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/bitkeep-light.svg" width="auto" height="50">
|
163
163
|
</picture>
|
164
164
|
</a>
|
165
165
|
<a href="https://privy.io">
|
166
166
|
<picture>
|
167
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/
|
168
|
-
<img alt="Privy logo" src="https://raw.githubusercontent.com/
|
167
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/privy-dark.svg">
|
168
|
+
<img alt="Privy logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/privy-light.svg" width="auto" height="50">
|
169
169
|
</picture>
|
170
170
|
</a>
|
171
171
|
<a href="https://spruceid.com">
|
172
172
|
<picture>
|
173
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/
|
174
|
-
<img alt="Spruce logo" src="https://raw.githubusercontent.com/
|
173
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/spruce-dark.svg">
|
174
|
+
<img alt="Spruce logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/spruce-light.svg" width="auto" height="50">
|
175
175
|
</picture>
|
176
176
|
</a>
|
177
177
|
<a href="https://rollup.id">
|
178
178
|
<picture>
|
179
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/
|
180
|
-
<img alt="rollup.id logo" src="https://raw.githubusercontent.com/
|
179
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/rollup.id-dark.svg">
|
180
|
+
<img alt="rollup.id logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/rollup.id-light.svg" width="auto" height="50">
|
181
181
|
</picture>
|
182
182
|
</a>
|
183
183
|
<a href="https://pancakeswap.finance/">
|
184
184
|
<picture>
|
185
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/
|
186
|
-
<img alt="pancake logo" src="https://raw.githubusercontent.com/
|
185
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/pancake-dark.svg">
|
186
|
+
<img alt="pancake logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/pancake-light.svg" width="auto" height="50">
|
187
187
|
</picture>
|
188
188
|
</a>
|
189
189
|
<a href="https://celo.org/">
|
190
190
|
<picture>
|
191
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/
|
192
|
-
<img alt="celo logo" src="https://raw.githubusercontent.com/
|
191
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/celo-dark.svg">
|
192
|
+
<img alt="celo logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/celo-light.svg" width="auto" height="50">
|
193
193
|
</picture>
|
194
194
|
</a>
|
195
195
|
<a href="https://pimlico.io/">
|
196
196
|
<picture>
|
197
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/
|
198
|
-
<img alt="pimlico logo" src="https://raw.githubusercontent.com/
|
197
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/pimlico-dark.svg">
|
198
|
+
<img alt="pimlico logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/pimlico-light.svg" width="auto" height="50">
|
199
199
|
</picture>
|
200
200
|
</a>
|
201
201
|
<a href="https://zora.co/">
|
202
202
|
<picture>
|
203
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/
|
204
|
-
<img alt="zora logo" src="https://raw.githubusercontent.com/
|
203
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/zora-dark.svg">
|
204
|
+
<img alt="zora logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/zora-light.svg" width="auto" height="50">
|
205
205
|
</picture>
|
206
206
|
</a>
|
207
207
|
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"signTransaction.js","sourceRoot":"","sources":["../../../accounts/utils/signTransaction.ts"],"names":[],"mappings":";;;AAMA,gEAGsC;AAEtC,6FAGwD;AAExD,uCAAoD;
|
1
|
+
{"version":3,"file":"signTransaction.js","sourceRoot":"","sources":["../../../accounts/utils/signTransaction.ts"],"names":[],"mappings":";;;AAMA,gEAGsC;AAEtC,6FAGwD;AAExD,uCAAoD;AAuB7C,KAAK,UAAU,eAAe,CAEnC,EACA,UAAU,EACV,WAAW,EACX,UAAU,GAAG,8CAAoB,GACmB;IAGpD,MAAM,SAAS,GAAG,MAAM,IAAA,cAAI,EAAC;QAC3B,IAAI,EAAE,IAAA,wBAAS,EAAC,UAAU,CAAC,WAAW,CAAC,CAAC;QACxC,UAAU;KACX,CAAC,CAAA;IACF,OAAO,UAAU,CACf,WAAW,EACX,SAAS,CAC6C,CAAA;AAC1D,CAAC;AAjBD,0CAiBC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"createContractEventFilter.js","sourceRoot":"","sources":["../../../actions/public/createContractEventFilter.ts"],"names":[],"mappings":";;;AAaA,+EAI6C;AAE7C,4DAGsC;AACtC,iGAA0F;
|
1
|
+
{"version":3,"file":"createContractEventFilter.js","sourceRoot":"","sources":["../../../actions/public/createContractEventFilter.ts"],"names":[],"mappings":";;;AAaA,+EAI6C;AAE7C,4DAGsC;AACtC,iGAA0F;AA8EnF,KAAK,UAAU,yBAAyB,CAS7C,MAAiC,EACjC,EACE,OAAO,EACP,GAAG,EACH,IAAI,EACJ,SAAS,EACT,SAAS,EACT,MAAM,EACN,OAAO,GAQR;IAWD,MAAM,UAAU,GAAG,IAAA,sDAAwB,EAAC,MAAM,EAAE;QAClD,MAAM,EAAE,eAAe;KACxB,CAAC,CAAA;IAEF,MAAM,MAAM,GAAG,SAAS;QACtB,CAAC,CAAC,IAAA,wCAAiB,EAAC;YAChB,GAAG;YACH,IAAI;YACJ,SAAS;SACgC,CAAC;QAC9C,CAAC,CAAC,SAAS,CAAA;IACb,MAAM,EAAE,GAAQ,MAAM,MAAM,CAAC,OAAO,CAAC;QACnC,MAAM,EAAE,eAAe;QACvB,MAAM,EAAE;YACN;gBACE,OAAO;gBACP,SAAS,EACP,OAAO,SAAS,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAA,sBAAW,EAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS;gBACpE,OAAO,EAAE,OAAO,OAAO,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAA,sBAAW,EAAC,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO;gBACrE,MAAM;aACP;SACF;KACF,CAAC,CAAA;IAEF,OAAO;QACL,GAAG;QACH,IAAI;QACJ,SAAS;QACT,EAAE;QACF,OAAO,EAAE,UAAU,CAAC,EAAE,CAAC;QACvB,MAAM;QACN,IAAI,EAAE,OAAO;KAQd,CAAA;AACH,CAAC;AA5ED,8DA4EC"}
|
@@ -20,7 +20,7 @@ async function internal_estimateMaxPriorityFeePerGas(client, args) {
|
|
20
20
|
request,
|
21
21
|
});
|
22
22
|
}
|
23
|
-
|
23
|
+
if (typeof chain?.fees?.defaultPriorityFee !== 'undefined')
|
24
24
|
return chain?.fees?.defaultPriorityFee;
|
25
25
|
try {
|
26
26
|
const maxPriorityFeePerGasHex = await client.request({
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"estimateMaxPriorityFeePerGas.js","sourceRoot":"","sources":["../../../actions/public/estimateMaxPriorityFeePerGas.ts"],"names":[],"mappings":";;;AAEA,gDAG4B;AAO5B,gEAGwC;AACxC,2DAAoD;AAEpD,+CAAgE;AAChE,qDAAyE;AAwClE,KAAK,UAAU,4BAA4B,CAIhD,MAAgC,EAChC,IAAmE;IAEnE,OAAO,qCAAqC,CAAC,MAAM,EAAE,IAAW,CAAC,CAAA;AACnE,CAAC;AARD,oEAQC;AAEM,KAAK,UAAU,qCAAqC,CAIzD,MAAgC,EAChC,IAOC;IAED,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,GAAG,MAAM,CAAC,KAAK,EAAE,OAAO,EAAE,GAAG,IAAI,IAAI,EAAE,CAAA;IACnE,IAAI,OAAO,KAAK,EAAE,IAAI,EAAE,kBAAkB,KAAK,UAAU,EAAE;QACzD,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,MAAM,IAAA,wBAAS,EAAC,MAAM,EAAE,sBAAQ,EAAE,UAAU,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;QAC3E,OAAO,KAAK,CAAC,IAAI,CAAC,kBAAkB,CAAC;YACnC,KAAK;YACL,MAAM;YACN,OAAO;SACiB,CAAC,CAAA;KAC5B;
|
1
|
+
{"version":3,"file":"estimateMaxPriorityFeePerGas.js","sourceRoot":"","sources":["../../../actions/public/estimateMaxPriorityFeePerGas.ts"],"names":[],"mappings":";;;AAEA,gDAG4B;AAO5B,gEAGwC;AACxC,2DAAoD;AAEpD,+CAAgE;AAChE,qDAAyE;AAwClE,KAAK,UAAU,4BAA4B,CAIhD,MAAgC,EAChC,IAAmE;IAEnE,OAAO,qCAAqC,CAAC,MAAM,EAAE,IAAW,CAAC,CAAA;AACnE,CAAC;AARD,oEAQC;AAEM,KAAK,UAAU,qCAAqC,CAIzD,MAAgC,EAChC,IAOC;IAED,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,GAAG,MAAM,CAAC,KAAK,EAAE,OAAO,EAAE,GAAG,IAAI,IAAI,EAAE,CAAA;IACnE,IAAI,OAAO,KAAK,EAAE,IAAI,EAAE,kBAAkB,KAAK,UAAU,EAAE;QACzD,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,MAAM,IAAA,wBAAS,EAAC,MAAM,EAAE,sBAAQ,EAAE,UAAU,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;QAC3E,OAAO,KAAK,CAAC,IAAI,CAAC,kBAAkB,CAAC;YACnC,KAAK;YACL,MAAM;YACN,OAAO;SACiB,CAAC,CAAA;KAC5B;IAED,IAAI,OAAO,KAAK,EAAE,IAAI,EAAE,kBAAkB,KAAK,WAAW;QACxD,OAAO,KAAK,EAAE,IAAI,EAAE,kBAAkB,CAAA;IAExC,IAAI;QACF,MAAM,uBAAuB,GAAG,MAAM,MAAM,CAAC,OAAO,CAAC;YACnD,MAAM,EAAE,0BAA0B;SACnC,CAAC,CAAA;QACF,OAAO,IAAA,wBAAW,EAAC,uBAAuB,CAAC,CAAA;KAC5C;IAAC,MAAM;QAIN,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;YAC1C,MAAM;gBACJ,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC;gBACzB,CAAC,CAAC,IAAA,wBAAS,EAAC,MAAM,EAAE,sBAAQ,EAAE,UAAU,CAAC,CAAC,EAAE,CAAC;YAC/C,IAAA,wBAAS,EAAC,MAAM,EAAE,4BAAW,EAAE,aAAa,CAAC,CAAC,EAAE,CAAC;SAClD,CAAC,CAAA;QAEF,IAAI,OAAO,KAAK,CAAC,aAAa,KAAK,QAAQ;YACzC,MAAM,IAAI,qCAA4B,EAAE,CAAA;QAE1C,MAAM,oBAAoB,GAAG,QAAQ,GAAG,KAAK,CAAC,aAAa,CAAA;QAE3D,IAAI,oBAAoB,GAAG,EAAE;YAAE,OAAO,EAAE,CAAA;QACxC,OAAO,oBAAoB,CAAA;KAC5B;AACH,CAAC;AAnDD,sFAmDC"}
|
@@ -14,15 +14,11 @@ const serializeAccessList_js_1 = require("../../utils/transaction/serializeAcces
|
|
14
14
|
const serializeTransaction_js_1 = require("../../utils/transaction/serializeTransaction.js");
|
15
15
|
const utils_js_1 = require("./utils.js");
|
16
16
|
const serializeTransactionCelo = (tx, signature) => {
|
17
|
-
if ((0, utils_js_1.isCIP64)(tx))
|
17
|
+
if ((0, utils_js_1.isCIP64)(tx))
|
18
18
|
return serializeTransactionCIP64(tx, signature);
|
19
|
-
|
20
|
-
else if ((0, utils_js_1.isCIP42)(tx)) {
|
19
|
+
if ((0, utils_js_1.isCIP42)(tx))
|
21
20
|
return serializeTransactionCIP42(tx, signature);
|
22
|
-
|
23
|
-
else {
|
24
|
-
return (0, serializeTransaction_js_1.serializeTransaction)(tx, signature);
|
25
|
-
}
|
21
|
+
return (0, serializeTransaction_js_1.serializeTransaction)(tx, signature);
|
26
22
|
};
|
27
23
|
exports.serializeTransactionCelo = serializeTransactionCelo;
|
28
24
|
exports.serializersCelo = {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"serializers.js","sourceRoot":"","sources":["../../../chains/celo/serializers.ts"],"names":[],"mappings":";;;AAAA,wDAA6D;AAC7D,kDAAgD;AAChD,oDAA2D;AAC3D,kDAA8E;AAI9E,mEAA4D;AAC5D,0DAAsD;AACtD,sDAA+C;AAC/C,4DAAqD;AACrD,4DAAqD;AACrD,2FAAoF;AACpF,6FAGwD;AAQxD,yCAAiE;AAE1D,MAAM,wBAAwB,GAEjC,CAAC,EAAE,EAAE,SAAS,EAAE,EAAE;IACpB,IAAI,IAAA,kBAAO,EAAC,EAAE,CAAC
|
1
|
+
{"version":3,"file":"serializers.js","sourceRoot":"","sources":["../../../chains/celo/serializers.ts"],"names":[],"mappings":";;;AAAA,wDAA6D;AAC7D,kDAAgD;AAChD,oDAA2D;AAC3D,kDAA8E;AAI9E,mEAA4D;AAC5D,0DAAsD;AACtD,sDAA+C;AAC/C,4DAAqD;AACrD,4DAAqD;AACrD,2FAAoF;AACpF,6FAGwD;AAQxD,yCAAiE;AAE1D,MAAM,wBAAwB,GAEjC,CAAC,EAAE,EAAE,SAAS,EAAE,EAAE;IACpB,IAAI,IAAA,kBAAO,EAAC,EAAE,CAAC;QAAE,OAAO,yBAAyB,CAAC,EAAE,EAAE,SAAS,CAAC,CAAA;IAChE,IAAI,IAAA,kBAAO,EAAC,EAAE,CAAC;QAAE,OAAO,yBAAyB,CAAC,EAAE,EAAE,SAAS,CAAC,CAAA;IAChE,OAAO,IAAA,8CAAoB,EAAC,EAA6B,EAAE,SAAS,CAAC,CAAA;AACvE,CAAC,CAAA;AANY,QAAA,wBAAwB,4BAMpC;AAEY,QAAA,eAAe,GAAG;IAC7B,WAAW,EAAE,gCAAwB;CACF,CAAA;AAWrC,SAAS,yBAAyB,CAChC,WAAyC,EACzC,SAAqB;IAErB,sBAAsB,CAAC,WAAW,CAAC,CAAA;IACnC,MAAM,EACJ,OAAO,EACP,GAAG,EACH,KAA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AS,CACjB,gEAAgE,CACjE,CAAA;KACF;IAED,IAAI,IAAA,kBAAO,EAAC,WAAW,CAAC,EAAE;QACxB,MAAM,IAAI,mBAAS,CACjB,yDAAyD,CAC1D,CAAA;KACF;AACH,CAAC;AAxCD,wDAwCC"}
|
@@ -10,9 +10,11 @@ exports.confluxESpace = (0, defineChain_js_1.defineChain)({
|
|
10
10
|
rpcUrls: {
|
11
11
|
default: {
|
12
12
|
http: ['https://evm.confluxrpc.org'],
|
13
|
+
webSocket: ['wss://evm.confluxrpc.org/ws'],
|
13
14
|
},
|
14
15
|
public: {
|
15
16
|
http: ['https://evm.confluxrpc.org'],
|
17
|
+
webSocket: ['wss://evm.confluxrpc.org/ws'],
|
16
18
|
},
|
17
19
|
},
|
18
20
|
blockExplorers: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"confluxESpace.js","sourceRoot":"","sources":["../../../chains/definitions/confluxESpace.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAEjD,QAAA,aAAa,GAAiB,IAAA,4BAAW,EAAC;IACrD,EAAE,EAAE,IAAK;IACT,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,YAAY;IACrB,cAAc,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IAChE,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,4BAA4B,CAAC;
|
1
|
+
{"version":3,"file":"confluxESpace.js","sourceRoot":"","sources":["../../../chains/definitions/confluxESpace.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAEjD,QAAA,aAAa,GAAiB,IAAA,4BAAW,EAAC;IACrD,EAAE,EAAE,IAAK;IACT,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,YAAY;IACrB,cAAc,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IAChE,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,4BAA4B,CAAC;YACpC,SAAS,EAAE,CAAC,6BAA6B,CAAC;SAC3C;QACD,MAAM,EAAE;YACN,IAAI,EAAE,CAAC,4BAA4B,CAAC;YACpC,SAAS,EAAE,CAAC,6BAA6B,CAAC;SAC3C;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,aAAa;YACnB,GAAG,EAAE,4BAA4B;SAClC;KACF;IACD,SAAS,EAAE;QACT,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,QAAQ;SACvB;KACF;CACF,CAAC,CAAA"}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.confluxESpaceTestnet = void 0;
|
4
|
+
const defineChain_js_1 = require("../../utils/chain/defineChain.js");
|
5
|
+
exports.confluxESpaceTestnet = (0, defineChain_js_1.defineChain)({
|
6
|
+
id: 71,
|
7
|
+
name: 'Conflux eSpace Testnet',
|
8
|
+
network: 'cfx-espace-testnet',
|
9
|
+
testnet: true,
|
10
|
+
nativeCurrency: { name: 'Conflux', symbol: 'CFX', decimals: 18 },
|
11
|
+
rpcUrls: {
|
12
|
+
default: {
|
13
|
+
http: ['https://evmtestnet.confluxrpc.org'],
|
14
|
+
webSocket: ['wss://evmtestnet.confluxrpc.org/ws'],
|
15
|
+
},
|
16
|
+
public: {
|
17
|
+
http: ['https://evmtestnet.confluxrpc.org'],
|
18
|
+
webSocket: ['wss://evmtestnet.confluxrpc.org/ws'],
|
19
|
+
},
|
20
|
+
},
|
21
|
+
blockExplorers: {
|
22
|
+
default: {
|
23
|
+
name: 'ConfluxScan',
|
24
|
+
url: 'https://evmtestnet.confluxscan.io',
|
25
|
+
},
|
26
|
+
},
|
27
|
+
contracts: {
|
28
|
+
multicall3: {
|
29
|
+
address: '0xEFf0078910f638cd81996cc117bccD3eDf2B072F',
|
30
|
+
blockCreated: 117499050,
|
31
|
+
},
|
32
|
+
},
|
33
|
+
});
|
34
|
+
//# sourceMappingURL=confluxESpaceTestnet.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"confluxESpaceTestnet.js","sourceRoot":"","sources":["../../../chains/definitions/confluxESpaceTestnet.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAEjD,QAAA,oBAAoB,GAAiB,IAAA,4BAAW,EAAC;IAC5D,EAAE,EAAE,EAAE;IACN,IAAI,EAAE,wBAAwB;IAC9B,OAAO,EAAE,oBAAoB;IAC7B,OAAO,EAAE,IAAI;IACb,cAAc,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IAChE,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,mCAAmC,CAAC;YAC3C,SAAS,EAAE,CAAC,oCAAoC,CAAC;SAClD;QACD,MAAM,EAAE;YACN,IAAI,EAAE,CAAC,mCAAmC,CAAC;YAC3C,SAAS,EAAE,CAAC,oCAAoC,CAAC;SAClD;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,aAAa;YACnB,GAAG,EAAE,mCAAmC;SACzC;KACF;IACD,SAAS,EAAE;QACT,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,SAAS;SACxB;KACF;CACF,CAAC,CAAA"}
|
@@ -21,5 +21,11 @@ exports.filecoin = (0, defineChain_js_1.defineChain)({
|
|
21
21
|
filscout: { name: 'Filscout', url: 'https://filscout.io/en' },
|
22
22
|
glif: { name: 'Glif', url: 'https://explorer.glif.io' },
|
23
23
|
},
|
24
|
+
contracts: {
|
25
|
+
multicall3: {
|
26
|
+
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
27
|
+
blockCreated: 3328594,
|
28
|
+
},
|
29
|
+
},
|
24
30
|
});
|
25
31
|
//# sourceMappingURL=filecoin.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"filecoin.js","sourceRoot":"","sources":["../../../chains/definitions/filecoin.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAEjD,QAAA,QAAQ,GAAiB,IAAA,4BAAW,EAAC;IAChD,EAAE,EAAE,GAAG;IACP,IAAI,EAAE,kBAAkB;IACxB,OAAO,EAAE,kBAAkB;IAC3B,cAAc,EAAE;QACd,QAAQ,EAAE,EAAE;QACZ,IAAI,EAAE,UAAU;QAChB,MAAM,EAAE,KAAK;KACd;IACD,OAAO,EAAE;QACP,OAAO,EAAE,EAAE,IAAI,EAAE,CAAC,iCAAiC,CAAC,EAAE;QACtD,MAAM,EAAE,EAAE,IAAI,EAAE,CAAC,iCAAiC,CAAC,EAAE;KACtD;IACD,cAAc,EAAE;QACd,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,EAAE,wBAAwB,EAAE;QAC1D,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,oBAAoB,EAAE;QACvD,QAAQ,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,GAAG,EAAE,wBAAwB,EAAE;QAC7D,IAAI,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,0BAA0B,EAAE;KACxD;CACF,CAAC,CAAA"}
|
1
|
+
{"version":3,"file":"filecoin.js","sourceRoot":"","sources":["../../../chains/definitions/filecoin.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAEjD,QAAA,QAAQ,GAAiB,IAAA,4BAAW,EAAC;IAChD,EAAE,EAAE,GAAG;IACP,IAAI,EAAE,kBAAkB;IACxB,OAAO,EAAE,kBAAkB;IAC3B,cAAc,EAAE;QACd,QAAQ,EAAE,EAAE;QACZ,IAAI,EAAE,UAAU;QAChB,MAAM,EAAE,KAAK;KACd;IACD,OAAO,EAAE;QACP,OAAO,EAAE,EAAE,IAAI,EAAE,CAAC,iCAAiC,CAAC,EAAE;QACtD,MAAM,EAAE,EAAE,IAAI,EAAE,CAAC,iCAAiC,CAAC,EAAE;KACtD;IACD,cAAc,EAAE;QACd,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,EAAE,wBAAwB,EAAE;QAC1D,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,oBAAoB,EAAE;QACvD,QAAQ,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,GAAG,EAAE,wBAAwB,EAAE;QAC7D,IAAI,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,0BAA0B,EAAE;KACxD;IACD,SAAS,EAAE;QACT,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,OAAO;SACtB;KACF;CACF,CAAC,CAAA"}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.pgn = void 0;
|
4
|
+
const defineChain_js_1 = require("../../utils/chain/defineChain.js");
|
5
|
+
const formatters_js_1 = require("../optimism/formatters.js");
|
6
|
+
exports.pgn = (0, defineChain_js_1.defineChain)({
|
7
|
+
id: 424,
|
8
|
+
network: 'pgn',
|
9
|
+
name: 'PGN',
|
10
|
+
nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 },
|
11
|
+
rpcUrls: {
|
12
|
+
default: {
|
13
|
+
http: ['https://rpc.publicgoods.network'],
|
14
|
+
},
|
15
|
+
public: {
|
16
|
+
http: ['https://rpc.publicgoods.network'],
|
17
|
+
},
|
18
|
+
},
|
19
|
+
blockExplorers: {
|
20
|
+
default: {
|
21
|
+
name: 'PGN Explorer',
|
22
|
+
url: 'https://explorer.publicgoods.network',
|
23
|
+
},
|
24
|
+
blocksout: {
|
25
|
+
name: 'PGN Explorer',
|
26
|
+
url: 'https://explorer.publicgoods.network',
|
27
|
+
},
|
28
|
+
},
|
29
|
+
contracts: {
|
30
|
+
multicall3: {
|
31
|
+
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
32
|
+
blockCreated: 3380209,
|
33
|
+
},
|
34
|
+
},
|
35
|
+
}, {
|
36
|
+
formatters: formatters_js_1.formattersOptimism,
|
37
|
+
});
|
38
|
+
//# sourceMappingURL=pgn.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"pgn.js","sourceRoot":"","sources":["../../../chains/definitions/pgn.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAC9D,6DAA8D;AAEjD,QAAA,GAAG,GAAiB,IAAA,4BAAW,EAC1C;IACE,EAAE,EAAE,GAAG;IACP,OAAO,EAAE,KAAK;IACd,IAAI,EAAE,KAAK;IACX,cAAc,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC9D,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,iCAAiC,CAAC;SAC1C;QACD,MAAM,EAAE;YACN,IAAI,EAAE,CAAC,iCAAiC,CAAC;SAC1C;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,cAAc;YACpB,GAAG,EAAE,sCAAsC;SAC5C;QACD,SAAS,EAAE;YACT,IAAI,EAAE,cAAc;YACpB,GAAG,EAAE,sCAAsC;SAC5C;KACF;IACD,SAAS,EAAE;QACT,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,OAAO;SACtB;KACF;CACF,EACD;IACE,UAAU,EAAE,kCAAkB;CAC/B,CACF,CAAA"}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.pgnTestnet = void 0;
|
4
|
+
const defineChain_js_1 = require("../../utils/chain/defineChain.js");
|
5
|
+
const formatters_js_1 = require("../optimism/formatters.js");
|
6
|
+
exports.pgnTestnet = (0, defineChain_js_1.defineChain)({
|
7
|
+
id: 58008,
|
8
|
+
network: 'pgn-testnet',
|
9
|
+
name: 'PGN ',
|
10
|
+
nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 },
|
11
|
+
rpcUrls: {
|
12
|
+
default: {
|
13
|
+
http: ['https://sepolia.publicgoods.network'],
|
14
|
+
},
|
15
|
+
public: {
|
16
|
+
http: ['https://sepolia.publicgoods.network'],
|
17
|
+
},
|
18
|
+
},
|
19
|
+
blockExplorers: {
|
20
|
+
default: {
|
21
|
+
name: 'PGN Testnet Explorer',
|
22
|
+
url: 'https://explorer.sepolia.publicgoods.network',
|
23
|
+
},
|
24
|
+
blocksout: {
|
25
|
+
name: 'PGN Testnet Explorer',
|
26
|
+
url: 'https://explorer.sepolia.publicgoods.network',
|
27
|
+
},
|
28
|
+
},
|
29
|
+
contracts: {
|
30
|
+
multicall3: {
|
31
|
+
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
32
|
+
blockCreated: 3754925,
|
33
|
+
},
|
34
|
+
},
|
35
|
+
testnet: true,
|
36
|
+
}, {
|
37
|
+
formatters: formatters_js_1.formattersOptimism,
|
38
|
+
});
|
39
|
+
//# sourceMappingURL=pgnTestnet.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"pgnTestnet.js","sourceRoot":"","sources":["../../../chains/definitions/pgnTestnet.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAC9D,6DAA8D;AAEjD,QAAA,UAAU,GAAiB,IAAA,4BAAW,EACjD;IACE,EAAE,EAAE,KAAK;IACT,OAAO,EAAE,aAAa;IACtB,IAAI,EAAE,MAAM;IACZ,cAAc,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC9D,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,qCAAqC,CAAC;SAC9C;QACD,MAAM,EAAE;YACN,IAAI,EAAE,CAAC,qCAAqC,CAAC;SAC9C;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,sBAAsB;YAC5B,GAAG,EAAE,8CAA8C;SACpD;QACD,SAAS,EAAE;YACT,IAAI,EAAE,sBAAsB;YAC5B,GAAG,EAAE,8CAA8C;SACpD;KACF;IACD,SAAS,EAAE;QACT,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,OAAO;SACtB;KACF;IACD,OAAO,EAAE,IAAI;CACd,EACD;IACE,UAAU,EAAE,kCAAkB;CAC/B,CACF,CAAA"}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.sapphire = void 0;
|
4
|
+
const defineChain_js_1 = require("../../utils/chain/defineChain.js");
|
5
|
+
exports.sapphire = (0, defineChain_js_1.defineChain)({
|
6
|
+
id: 23294,
|
7
|
+
name: 'Oasis Sapphire',
|
8
|
+
network: 'sapphire',
|
9
|
+
nativeCurrency: { name: 'Sapphire Rose', symbol: 'ROSE', decimals: 18 },
|
10
|
+
rpcUrls: {
|
11
|
+
default: {
|
12
|
+
http: ['https://sapphire.oasis.io'],
|
13
|
+
webSocket: ['wss://sapphire.oasis.io/ws'],
|
14
|
+
},
|
15
|
+
public: {
|
16
|
+
http: ['https://sapphire.oasis.io'],
|
17
|
+
webSocket: ['wss://sapphire.oasis.io/ws'],
|
18
|
+
},
|
19
|
+
},
|
20
|
+
blockExplorers: {
|
21
|
+
default: {
|
22
|
+
name: 'Oasis Sapphire Explorer',
|
23
|
+
url: 'https://explorer.sapphire.oasis.io',
|
24
|
+
},
|
25
|
+
},
|
26
|
+
contracts: {
|
27
|
+
multicall3: {
|
28
|
+
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
29
|
+
blockCreated: 734531,
|
30
|
+
},
|
31
|
+
},
|
32
|
+
});
|
33
|
+
//# sourceMappingURL=sapphire.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"sapphire.js","sourceRoot":"","sources":["../../../chains/definitions/sapphire.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAEjD,QAAA,QAAQ,GAAiB,IAAA,4BAAW,EAAC;IAChD,EAAE,EAAE,KAAK;IACT,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,UAAU;IACnB,cAAc,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,EAAE;IACvE,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,2BAA2B,CAAC;YACnC,SAAS,EAAE,CAAC,4BAA4B,CAAC;SAC1C;QACD,MAAM,EAAE;YACN,IAAI,EAAE,CAAC,2BAA2B,CAAC;YACnC,SAAS,EAAE,CAAC,4BAA4B,CAAC;SAC1C;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,yBAAyB;YAC/B,GAAG,EAAE,oCAAoC;SAC1C;KACF;IACD,SAAS,EAAE;QACT,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,MAAM;SACrB;KACF;CACF,CAAC,CAAA"}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.sapphireTestnet = void 0;
|
4
|
+
const defineChain_js_1 = require("../../utils/chain/defineChain.js");
|
5
|
+
exports.sapphireTestnet = (0, defineChain_js_1.defineChain)({
|
6
|
+
id: 23295,
|
7
|
+
name: 'Oasis Sapphire Testnet',
|
8
|
+
network: 'sapphire-testnet',
|
9
|
+
nativeCurrency: { name: 'Sapphire Test Rose', symbol: 'TEST', decimals: 18 },
|
10
|
+
rpcUrls: {
|
11
|
+
default: {
|
12
|
+
http: ['https://testnet.sapphire.oasis.dev'],
|
13
|
+
webSocket: ['wss://testnet.sapphire.oasis.dev/ws'],
|
14
|
+
},
|
15
|
+
public: {
|
16
|
+
http: ['https://testnet.sapphire.oasis.dev'],
|
17
|
+
webSocket: ['wss://testnet.sapphire.oasis.dev/ws'],
|
18
|
+
},
|
19
|
+
},
|
20
|
+
blockExplorers: {
|
21
|
+
default: {
|
22
|
+
name: 'Oasis Sapphire Testnet Explorer',
|
23
|
+
url: 'https://testnet.explorer.sapphire.oasis.dev',
|
24
|
+
},
|
25
|
+
},
|
26
|
+
testnet: true,
|
27
|
+
});
|
28
|
+
//# sourceMappingURL=sapphireTestnet.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"sapphireTestnet.js","sourceRoot":"","sources":["../../../chains/definitions/sapphireTestnet.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAEjD,QAAA,eAAe,GAAiB,IAAA,4BAAW,EAAC;IACvD,EAAE,EAAE,KAAK;IACT,IAAI,EAAE,wBAAwB;IAC9B,OAAO,EAAE,kBAAkB;IAC3B,cAAc,EAAE,EAAE,IAAI,EAAE,oBAAoB,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC5E,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,oCAAoC,CAAC;YAC5C,SAAS,EAAE,CAAC,qCAAqC,CAAC;SACnD;QACD,MAAM,EAAE;YACN,IAAI,EAAE,CAAC,oCAAoC,CAAC;YAC5C,SAAS,EAAE,CAAC,qCAAqC,CAAC;SACnD;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,iCAAiC;YACvC,GAAG,EAAE,6CAA6C;SACnD;KACF;IACD,OAAO,EAAE,IAAI;CACd,CAAC,CAAA"}
|
package/_cjs/chains/index.js
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
4
|
-
exports.
|
5
|
-
exports.
|
6
|
-
exports.zoraTestnet = exports.zoraSepolia = exports.zora = exports.zetachainAthensTestnet = exports.zkSyncTestnet = exports.zkSync = exports.zhejiang = exports.xdcTestnet = exports.xdc = exports.wanchainTestnet = exports.wanchain = exports.vechain = exports.thunderTestnet = exports.tenet = void 0;
|
3
|
+
exports.filecoinHyperspace = exports.filecoinCalibration = exports.filecoin = exports.fibo = exports.fantomTestnet = exports.fantom = exports.ektaTestnet = exports.ekta = exports.evmosTestnet = exports.evmos = exports.eosTestnet = exports.eos = exports.edgewareTestnet = exports.edgeware = exports.dogechain = exports.dfk = exports.crossbell = exports.cronosTestnet = exports.cronos = exports.coreDao = exports.confluxESpaceTestnet = exports.confluxESpace = exports.classic = exports.celoCannoli = exports.chiliz = exports.celoAlfajores = exports.celo = exports.canto = exports.bxnTestnet = exports.bxn = exports.bscTestnet = exports.bsc = exports.bronosTestnet = exports.bronos = exports.boba = exports.bearNetworkChainTestnet = exports.bearNetworkChainMainnet = exports.baseSepolia = exports.baseGoerli = exports.base = exports.avalancheFuji = exports.avalanche = exports.auroraTestnet = exports.aurora = exports.astarZkatana = exports.arbitrumSepolia = exports.astar = exports.arbitrumNova = exports.arbitrumGoerli = exports.arbitrum = void 0;
|
4
|
+
exports.optimismGoerli = exports.optimism = exports.okc = exports.oasys = exports.nexilix = exports.nexi = exports.neonMainnet = exports.neonDevnet = exports.moonriver = exports.moonbeamDev = exports.moonbeam = exports.moonbaseAlpha = exports.modeTestnet = exports.mevTestnet = exports.mev = exports.metisGoerli = exports.metis = exports.meterTestnet = exports.meter = exports.mantleTestnet = exports.mantle = exports.mantaTestnet = exports.manta = exports.mainnet = exports.lukso = exports.localhost = exports.lineaTestnet = exports.linea = exports.kromaSepolia = exports.kroma = exports.klaytnBaobab = exports.klaytn = exports.kavaTestnet = exports.kava = exports.holesky = exports.haqqTestedge2 = exports.haqqMainnet = exports.harmonyOne = exports.hardhat = exports.gnosisChiado = exports.gnosis = exports.goerli = exports.gobi = exports.iotexTestnet = exports.iotex = exports.fuseSparknet = exports.fuse = exports.foundry = exports.flareTestnet = exports.flare = void 0;
|
5
|
+
exports.taraxa = exports.syscoinTestnet = exports.syscoin = exports.shibarium = exports.shardeumSphinx = exports.spicy = exports.songbirdTestnet = exports.songbird = exports.skaleTitanTestnet = exports.skaleTitan = exports.skaleRazor = exports.skaleNebulaTestnet = exports.skaleNebula = exports.skaleHumanProtocol = exports.skaleExorde = exports.skaleEuropaTestnet = exports.skaleEuropa = exports.skaleCryptoColosseum = exports.skaleCryptoBlades = exports.skaleChaosTestnet = exports.skaleCalypsoTestnet = exports.skaleCalypso = exports.skaleBlockBrawlers = exports.shimmerTestnet = exports.shimmer = exports.sepolia = exports.scrollTestnet = exports.scrollSepolia = exports.scroll = exports.sapphireTestnet = exports.sapphire = exports.saigon = exports.rootstock = exports.ronin = exports.rolluxTestnet = exports.rollux = exports.qTestnet = exports.qMainnet = exports.pulsechainV4 = exports.pulsechain = exports.polygonZkEvm = exports.polygonZkEvmTestnet = exports.polygonMumbai = exports.polygon = exports.plinga = exports.pgnTestnet = exports.pgn = exports.opBNBTestnet = exports.opBNB = exports.optimismSepolia = void 0;
|
6
|
+
exports.zoraTestnet = exports.zoraSepolia = exports.zora = exports.zetachainAthensTestnet = exports.zkSyncTestnet = exports.zkSync = exports.zhejiang = exports.xdcTestnet = exports.xdc = exports.wanchainTestnet = exports.wanchain = exports.vechain = exports.thunderTestnet = exports.tenet = exports.telosTestnet = exports.telos = exports.taraxaTestnet = exports.taikoTestnetSepolia = exports.taikoJolnir = void 0;
|
7
7
|
var arbitrum_js_1 = require("./definitions/arbitrum.js");
|
8
8
|
Object.defineProperty(exports, "arbitrum", { enumerable: true, get: function () { return arbitrum_js_1.arbitrum; } });
|
9
9
|
var arbitrumGoerli_js_1 = require("./definitions/arbitrumGoerli.js");
|
@@ -62,6 +62,8 @@ var classic_js_1 = require("./definitions/classic.js");
|
|
62
62
|
Object.defineProperty(exports, "classic", { enumerable: true, get: function () { return classic_js_1.classic; } });
|
63
63
|
var confluxESpace_js_1 = require("./definitions/confluxESpace.js");
|
64
64
|
Object.defineProperty(exports, "confluxESpace", { enumerable: true, get: function () { return confluxESpace_js_1.confluxESpace; } });
|
65
|
+
var confluxESpaceTestnet_js_1 = require("./definitions/confluxESpaceTestnet.js");
|
66
|
+
Object.defineProperty(exports, "confluxESpaceTestnet", { enumerable: true, get: function () { return confluxESpaceTestnet_js_1.confluxESpaceTestnet; } });
|
65
67
|
var coreDao_js_1 = require("./definitions/coreDao.js");
|
66
68
|
Object.defineProperty(exports, "coreDao", { enumerable: true, get: function () { return coreDao_js_1.coreDao; } });
|
67
69
|
var cronos_js_1 = require("./definitions/cronos.js");
|
@@ -208,6 +210,10 @@ var opBNB_js_1 = require("./definitions/opBNB.js");
|
|
208
210
|
Object.defineProperty(exports, "opBNB", { enumerable: true, get: function () { return opBNB_js_1.opBNB; } });
|
209
211
|
var opBNBTestnet_js_1 = require("./definitions/opBNBTestnet.js");
|
210
212
|
Object.defineProperty(exports, "opBNBTestnet", { enumerable: true, get: function () { return opBNBTestnet_js_1.opBNBTestnet; } });
|
213
|
+
var pgn_js_1 = require("./definitions/pgn.js");
|
214
|
+
Object.defineProperty(exports, "pgn", { enumerable: true, get: function () { return pgn_js_1.pgn; } });
|
215
|
+
var pgnTestnet_js_1 = require("./definitions/pgnTestnet.js");
|
216
|
+
Object.defineProperty(exports, "pgnTestnet", { enumerable: true, get: function () { return pgnTestnet_js_1.pgnTestnet; } });
|
211
217
|
var plinga_js_1 = require("./definitions/plinga.js");
|
212
218
|
Object.defineProperty(exports, "plinga", { enumerable: true, get: function () { return plinga_js_1.plinga; } });
|
213
219
|
var polygon_js_1 = require("./definitions/polygon.js");
|
@@ -236,6 +242,10 @@ var rootstock_js_1 = require("./definitions/rootstock.js");
|
|
236
242
|
Object.defineProperty(exports, "rootstock", { enumerable: true, get: function () { return rootstock_js_1.rootstock; } });
|
237
243
|
var saigon_js_1 = require("./definitions/saigon.js");
|
238
244
|
Object.defineProperty(exports, "saigon", { enumerable: true, get: function () { return saigon_js_1.saigon; } });
|
245
|
+
var sapphire_js_1 = require("./definitions/sapphire.js");
|
246
|
+
Object.defineProperty(exports, "sapphire", { enumerable: true, get: function () { return sapphire_js_1.sapphire; } });
|
247
|
+
var sapphireTestnet_js_1 = require("./definitions/sapphireTestnet.js");
|
248
|
+
Object.defineProperty(exports, "sapphireTestnet", { enumerable: true, get: function () { return sapphireTestnet_js_1.sapphireTestnet; } });
|
239
249
|
var scroll_js_1 = require("./definitions/scroll.js");
|
240
250
|
Object.defineProperty(exports, "scroll", { enumerable: true, get: function () { return scroll_js_1.scroll; } });
|
241
251
|
var scrollSepolia_js_1 = require("./definitions/scrollSepolia.js");
|