viem 2.0.0-beta.8 → 2.0.0-rc.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.
- package/CHANGELOG.md +44 -0
- package/README.md +9 -3
- package/_cjs/actions/ens/getEnsName.js +4 -2
- package/_cjs/actions/ens/getEnsName.js.map +1 -1
- package/_cjs/actions/index.js +16 -2
- package/_cjs/actions/index.js.map +1 -1
- package/_cjs/actions/wallet/prepareTransactionRequest.js.map +1 -1
- package/_cjs/chains/definitions/arbitrumSepolia.js +4 -0
- package/_cjs/chains/definitions/arbitrumSepolia.js.map +1 -1
- package/_cjs/chains/definitions/base.js +5 -0
- package/_cjs/chains/definitions/base.js.map +1 -1
- package/_cjs/chains/definitions/baseGoerli.js +5 -0
- package/_cjs/chains/definitions/baseGoerli.js.map +1 -1
- package/_cjs/chains/definitions/baseSepolia.js +5 -0
- package/_cjs/chains/definitions/baseSepolia.js.map +1 -1
- package/_cjs/chains/definitions/fantomSonicTestnet.js +26 -0
- package/_cjs/chains/definitions/fantomSonicTestnet.js.map +1 -0
- package/_cjs/chains/definitions/optimism.js +5 -0
- package/_cjs/chains/definitions/optimism.js.map +1 -1
- package/_cjs/chains/definitions/optimismGoerli.js +5 -0
- package/_cjs/chains/definitions/optimismGoerli.js.map +1 -1
- package/_cjs/chains/definitions/optimismSepolia.js +5 -0
- package/_cjs/chains/definitions/optimismSepolia.js.map +1 -1
- package/_cjs/chains/definitions/pgn.js +12 -0
- package/_cjs/chains/definitions/pgn.js.map +1 -1
- package/_cjs/chains/definitions/pgnTestnet.js +7 -0
- package/_cjs/chains/definitions/pgnTestnet.js.map +1 -1
- package/_cjs/chains/definitions/zilliqa.js +26 -0
- package/_cjs/chains/definitions/zilliqa.js.map +1 -0
- package/_cjs/chains/definitions/zilliqaTestnet.js +26 -0
- package/_cjs/chains/definitions/zilliqaTestnet.js.map +1 -0
- package/_cjs/chains/definitions/zkSyncSepoliaTestnet.js +35 -0
- package/_cjs/chains/definitions/zkSyncSepoliaTestnet.js.map +1 -0
- package/_cjs/chains/definitions/zkSyncTestnet.js +4 -0
- package/_cjs/chains/definitions/zkSyncTestnet.js.map +1 -1
- package/_cjs/chains/definitions/zora.js +5 -0
- package/_cjs/chains/definitions/zora.js.map +1 -1
- package/_cjs/chains/definitions/zoraSepolia.js +5 -0
- package/_cjs/chains/definitions/zoraSepolia.js.map +1 -1
- package/_cjs/chains/index.js +12 -4
- package/_cjs/chains/index.js.map +1 -1
- package/_cjs/chains/opStack/abis.js +366 -1
- package/_cjs/chains/opStack/abis.js.map +1 -1
- package/_cjs/chains/opStack/actions/buildDepositTransaction.js +1 -1
- package/_cjs/chains/opStack/actions/buildDepositTransaction.js.map +1 -1
- package/_cjs/chains/opStack/actions/buildInitiateWithdrawal.js +29 -0
- package/_cjs/chains/opStack/actions/buildInitiateWithdrawal.js.map +1 -0
- package/_cjs/chains/opStack/actions/buildProveWithdrawal.js +39 -0
- package/_cjs/chains/opStack/actions/buildProveWithdrawal.js.map +1 -0
- package/_cjs/chains/opStack/actions/depositTransaction.js +11 -6
- package/_cjs/chains/opStack/actions/depositTransaction.js.map +1 -1
- package/_cjs/chains/opStack/actions/estimateDepositTransactionGas.js +37 -0
- package/_cjs/chains/opStack/actions/estimateDepositTransactionGas.js.map +1 -0
- package/_cjs/chains/opStack/actions/estimateFinalizeWithdrawalGas.js +29 -0
- package/_cjs/chains/opStack/actions/estimateFinalizeWithdrawalGas.js.map +1 -0
- package/_cjs/chains/opStack/actions/estimateInitiateWithdrawalGas.js +24 -0
- package/_cjs/chains/opStack/actions/estimateInitiateWithdrawalGas.js.map +1 -0
- package/_cjs/chains/opStack/actions/estimateProveWithdrawalGas.js +29 -0
- package/_cjs/chains/opStack/actions/estimateProveWithdrawalGas.js.map +1 -0
- package/_cjs/chains/opStack/actions/finalizeWithdrawal.js +33 -0
- package/_cjs/chains/opStack/actions/finalizeWithdrawal.js.map +1 -0
- package/_cjs/chains/opStack/actions/getL2Output.js +30 -0
- package/_cjs/chains/opStack/actions/getL2Output.js.map +1 -0
- package/_cjs/chains/opStack/actions/getTimeToFinalize.js +46 -0
- package/_cjs/chains/opStack/actions/getTimeToFinalize.js.map +1 -0
- package/_cjs/chains/opStack/actions/getTimeToNextL2Output.js +63 -0
- package/_cjs/chains/opStack/actions/getTimeToNextL2Output.js.map +1 -0
- package/_cjs/chains/opStack/actions/getTimeToProve.js +13 -0
- package/_cjs/chains/opStack/actions/getTimeToProve.js.map +1 -0
- package/_cjs/chains/opStack/actions/getWithdrawalStatus.js +71 -0
- package/_cjs/chains/opStack/actions/getWithdrawalStatus.js.map +1 -0
- package/_cjs/chains/opStack/actions/initiateWithdrawal.js +28 -0
- package/_cjs/chains/opStack/actions/initiateWithdrawal.js.map +1 -0
- package/_cjs/chains/opStack/actions/proveWithdrawal.js +33 -0
- package/_cjs/chains/opStack/actions/proveWithdrawal.js.map +1 -0
- package/_cjs/chains/opStack/actions/waitForNextL2Output.js +32 -0
- package/_cjs/chains/opStack/actions/waitForNextL2Output.js.map +1 -0
- package/_cjs/chains/opStack/actions/waitToFinalize.js +11 -0
- package/_cjs/chains/opStack/actions/waitToFinalize.js.map +1 -0
- package/_cjs/chains/opStack/actions/waitToProve.js +21 -0
- package/_cjs/chains/opStack/actions/waitToProve.js.map +1 -0
- package/_cjs/chains/opStack/chains.js +5 -1
- package/_cjs/chains/opStack/chains.js.map +1 -1
- package/_cjs/chains/opStack/decorators/publicL1.js +35 -0
- package/_cjs/chains/opStack/decorators/publicL1.js.map +1 -0
- package/_cjs/chains/opStack/decorators/publicL2.js +5 -1
- package/_cjs/chains/opStack/decorators/publicL2.js.map +1 -1
- package/_cjs/chains/opStack/decorators/walletL1.js +4 -0
- package/_cjs/chains/opStack/decorators/walletL1.js.map +1 -1
- package/_cjs/chains/opStack/decorators/walletL2.js +13 -0
- package/_cjs/chains/opStack/decorators/walletL2.js.map +1 -0
- package/_cjs/chains/opStack/errors/withdrawal.js +17 -0
- package/_cjs/chains/opStack/errors/withdrawal.js.map +1 -0
- package/_cjs/chains/opStack/index.js +43 -15
- package/_cjs/chains/opStack/index.js.map +1 -1
- package/_cjs/chains/opStack/types/deposit.js +3 -0
- package/_cjs/chains/opStack/types/deposit.js.map +1 -0
- package/_cjs/chains/opStack/types/withdrawal.js +3 -0
- package/_cjs/chains/opStack/types/withdrawal.js.map +1 -0
- package/_cjs/chains/opStack/utils/extractWithdrawalMessageLogs.js +14 -0
- package/_cjs/chains/opStack/utils/extractWithdrawalMessageLogs.js.map +1 -0
- package/_cjs/chains/opStack/utils/getL2TransactionHash.js +2 -2
- package/_cjs/chains/opStack/utils/getL2TransactionHash.js.map +1 -1
- package/_cjs/chains/opStack/utils/getWithdrawalHashStorageSlot.js +11 -0
- package/_cjs/chains/opStack/utils/getWithdrawalHashStorageSlot.js.map +1 -0
- package/_cjs/chains/opStack/utils/getWithdrawals.js +10 -0
- package/_cjs/chains/opStack/utils/getWithdrawals.js.map +1 -0
- package/_cjs/chains/opStack/utils/{fromOpaqueData.js → opaqueDataToDepositData.js} +4 -4
- package/_cjs/chains/opStack/utils/opaqueDataToDepositData.js.map +1 -0
- package/_cjs/errors/abi.js +21 -1
- package/_cjs/errors/abi.js.map +1 -1
- package/_cjs/errors/version.js +1 -1
- package/_cjs/errors/version.js.map +1 -1
- package/_cjs/index.js +10 -2
- package/_cjs/index.js.map +1 -1
- package/_cjs/utils/abi/getAbiItem.js +46 -3
- package/_cjs/utils/abi/getAbiItem.js.map +1 -1
- package/_cjs/utils/hash/ripemd160.js +16 -0
- package/_cjs/utils/hash/ripemd160.js.map +1 -0
- package/_cjs/utils/hash/sha256.js +16 -0
- package/_cjs/utils/hash/sha256.js.map +1 -0
- package/_cjs/utils/index.js +5 -1
- package/_cjs/utils/index.js.map +1 -1
- package/_esm/actions/ens/getEnsName.js +4 -2
- package/_esm/actions/ens/getEnsName.js.map +1 -1
- package/_esm/actions/index.js +7 -0
- package/_esm/actions/index.js.map +1 -1
- package/_esm/actions/wallet/prepareTransactionRequest.js.map +1 -1
- package/_esm/chains/definitions/arbitrumSepolia.js +4 -0
- package/_esm/chains/definitions/arbitrumSepolia.js.map +1 -1
- package/_esm/chains/definitions/base.js +5 -0
- package/_esm/chains/definitions/base.js.map +1 -1
- package/_esm/chains/definitions/baseGoerli.js +5 -0
- package/_esm/chains/definitions/baseGoerli.js.map +1 -1
- package/_esm/chains/definitions/baseSepolia.js +5 -0
- package/_esm/chains/definitions/baseSepolia.js.map +1 -1
- package/_esm/chains/definitions/fantomSonicTestnet.js +23 -0
- package/_esm/chains/definitions/fantomSonicTestnet.js.map +1 -0
- package/_esm/chains/definitions/optimism.js +5 -0
- package/_esm/chains/definitions/optimism.js.map +1 -1
- package/_esm/chains/definitions/optimismGoerli.js +5 -0
- package/_esm/chains/definitions/optimismGoerli.js.map +1 -1
- package/_esm/chains/definitions/optimismSepolia.js +5 -0
- package/_esm/chains/definitions/optimismSepolia.js.map +1 -1
- package/_esm/chains/definitions/pgn.js +12 -0
- package/_esm/chains/definitions/pgn.js.map +1 -1
- package/_esm/chains/definitions/pgnTestnet.js +7 -0
- package/_esm/chains/definitions/pgnTestnet.js.map +1 -1
- package/_esm/chains/definitions/zilliqa.js +23 -0
- package/_esm/chains/definitions/zilliqa.js.map +1 -0
- package/_esm/chains/definitions/zilliqaTestnet.js +23 -0
- package/_esm/chains/definitions/zilliqaTestnet.js.map +1 -0
- package/_esm/chains/definitions/zkSyncSepoliaTestnet.js +32 -0
- package/_esm/chains/definitions/zkSyncSepoliaTestnet.js.map +1 -0
- package/_esm/chains/definitions/zkSyncTestnet.js +5 -0
- package/_esm/chains/definitions/zkSyncTestnet.js.map +1 -1
- package/_esm/chains/definitions/zora.js +5 -0
- package/_esm/chains/definitions/zora.js.map +1 -1
- package/_esm/chains/definitions/zoraSepolia.js +5 -0
- package/_esm/chains/definitions/zoraSepolia.js.map +1 -1
- package/_esm/chains/index.js +4 -0
- package/_esm/chains/index.js.map +1 -1
- package/_esm/chains/opStack/abis.js +365 -0
- package/_esm/chains/opStack/abis.js.map +1 -1
- package/_esm/chains/opStack/actions/buildDepositTransaction.js +2 -2
- package/_esm/chains/opStack/actions/buildDepositTransaction.js.map +1 -1
- package/_esm/chains/opStack/actions/buildInitiateWithdrawal.js +50 -0
- package/_esm/chains/opStack/actions/buildInitiateWithdrawal.js.map +1 -0
- package/_esm/chains/opStack/actions/buildProveWithdrawal.js +59 -0
- package/_esm/chains/opStack/actions/buildProveWithdrawal.js.map +1 -0
- package/_esm/chains/opStack/actions/depositTransaction.js +17 -14
- package/_esm/chains/opStack/actions/depositTransaction.js.map +1 -1
- package/_esm/chains/opStack/actions/estimateDepositTransactionGas.js +62 -0
- package/_esm/chains/opStack/actions/estimateDepositTransactionGas.js.map +1 -0
- package/_esm/chains/opStack/actions/estimateFinalizeWithdrawalGas.js +50 -0
- package/_esm/chains/opStack/actions/estimateFinalizeWithdrawalGas.js.map +1 -0
- package/_esm/chains/opStack/actions/estimateInitiateWithdrawalGas.js +48 -0
- package/_esm/chains/opStack/actions/estimateInitiateWithdrawalGas.js.map +1 -0
- package/_esm/chains/opStack/actions/estimateProveWithdrawalGas.js +53 -0
- package/_esm/chains/opStack/actions/estimateProveWithdrawalGas.js.map +1 -0
- package/_esm/chains/opStack/actions/finalizeWithdrawal.js +53 -0
- package/_esm/chains/opStack/actions/finalizeWithdrawal.js.map +1 -0
- package/_esm/chains/opStack/actions/getL2Output.js +50 -0
- package/_esm/chains/opStack/actions/getL2Output.js.map +1 -0
- package/_esm/chains/opStack/actions/getTimeToFinalize.js +77 -0
- package/_esm/chains/opStack/actions/getTimeToFinalize.js.map +1 -0
- package/_esm/chains/opStack/actions/getTimeToNextL2Output.js +91 -0
- package/_esm/chains/opStack/actions/getTimeToNextL2Output.js.map +1 -0
- package/_esm/chains/opStack/actions/getTimeToProve.js +39 -0
- package/_esm/chains/opStack/actions/getTimeToProve.js.map +1 -0
- package/_esm/chains/opStack/actions/getWithdrawalStatus.js +99 -0
- package/_esm/chains/opStack/actions/getWithdrawalStatus.js.map +1 -0
- package/_esm/chains/opStack/actions/initiateWithdrawal.js +76 -0
- package/_esm/chains/opStack/actions/initiateWithdrawal.js.map +1 -0
- package/_esm/chains/opStack/actions/proveWithdrawal.js +57 -0
- package/_esm/chains/opStack/actions/proveWithdrawal.js.map +1 -0
- package/_esm/chains/opStack/actions/waitForNextL2Output.js +58 -0
- package/_esm/chains/opStack/actions/waitForNextL2Output.js.map +1 -0
- package/_esm/chains/opStack/actions/waitToFinalize.js +41 -0
- package/_esm/chains/opStack/actions/waitToFinalize.js.map +1 -0
- package/_esm/chains/opStack/actions/waitToProve.js +47 -0
- package/_esm/chains/opStack/actions/waitToProve.js.map +1 -0
- package/_esm/chains/opStack/chains.js +2 -0
- package/_esm/chains/opStack/chains.js.map +1 -1
- package/_esm/chains/opStack/decorators/publicL1.js +31 -0
- package/_esm/chains/opStack/decorators/publicL1.js.map +1 -0
- package/_esm/chains/opStack/decorators/publicL2.js +5 -1
- package/_esm/chains/opStack/decorators/publicL2.js.map +1 -1
- package/_esm/chains/opStack/decorators/walletL1.js +4 -0
- package/_esm/chains/opStack/decorators/walletL1.js.map +1 -1
- package/_esm/chains/opStack/decorators/walletL2.js +9 -0
- package/_esm/chains/opStack/decorators/walletL2.js.map +1 -0
- package/_esm/chains/opStack/errors/withdrawal.js +13 -0
- package/_esm/chains/opStack/errors/withdrawal.js.map +1 -0
- package/_esm/chains/opStack/index.js +21 -3
- package/_esm/chains/opStack/index.js.map +1 -1
- package/_esm/chains/opStack/types/deposit.js +2 -0
- package/_esm/chains/opStack/types/deposit.js.map +1 -0
- package/_esm/chains/opStack/types/withdrawal.js +2 -0
- package/_esm/chains/opStack/types/withdrawal.js.map +1 -0
- package/_esm/chains/opStack/utils/extractWithdrawalMessageLogs.js +10 -0
- package/_esm/chains/opStack/utils/extractWithdrawalMessageLogs.js.map +1 -0
- package/_esm/chains/opStack/utils/getL2TransactionHash.js +2 -2
- package/_esm/chains/opStack/utils/getL2TransactionHash.js.map +1 -1
- package/_esm/chains/opStack/utils/getWithdrawalHashStorageSlot.js +7 -0
- package/_esm/chains/opStack/utils/getWithdrawalHashStorageSlot.js.map +1 -0
- package/_esm/chains/opStack/utils/getWithdrawals.js +6 -0
- package/_esm/chains/opStack/utils/getWithdrawals.js.map +1 -0
- package/_esm/chains/opStack/utils/{fromOpaqueData.js → opaqueDataToDepositData.js} +2 -2
- package/_esm/chains/opStack/utils/opaqueDataToDepositData.js.map +1 -0
- package/_esm/errors/abi.js +19 -0
- package/_esm/errors/abi.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_esm/errors/version.js.map +1 -1
- package/_esm/index.js +4 -0
- package/_esm/index.js.map +1 -1
- package/_esm/utils/abi/getAbiItem.js +46 -2
- package/_esm/utils/abi/getAbiItem.js.map +1 -1
- package/_esm/utils/hash/ripemd160.js +12 -0
- package/_esm/utils/hash/ripemd160.js.map +1 -0
- package/_esm/utils/hash/sha256.js +12 -0
- package/_esm/utils/hash/sha256.js.map +1 -0
- package/_esm/utils/index.js +2 -0
- package/_esm/utils/index.js.map +1 -1
- package/_types/actions/ens/getEnsName.d.ts.map +1 -1
- package/_types/actions/index.d.ts +7 -0
- package/_types/actions/index.d.ts.map +1 -1
- package/_types/actions/public/getBlock.d.ts +1 -1
- package/_types/actions/public/getBlock.d.ts.map +1 -1
- package/_types/actions/public/getTransaction.d.ts +1 -1
- package/_types/actions/public/getTransaction.d.ts.map +1 -1
- package/_types/actions/public/getTransactionReceipt.d.ts +1 -1
- package/_types/actions/public/getTransactionReceipt.d.ts.map +1 -1
- package/_types/actions/wallet/prepareTransactionRequest.d.ts +5 -5
- package/_types/actions/wallet/prepareTransactionRequest.d.ts.map +1 -1
- package/_types/chains/celo/chainConfig.d.ts +180 -180
- package/_types/chains/celo/formatters.d.ts +180 -180
- package/_types/chains/definitions/arbitrumSepolia.d.ts +4 -0
- package/_types/chains/definitions/arbitrumSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/base.d.ts +142 -137
- package/_types/chains/definitions/base.d.ts.map +1 -1
- package/_types/chains/definitions/baseGoerli.d.ts +142 -137
- package/_types/chains/definitions/baseGoerli.d.ts.map +1 -1
- package/_types/chains/definitions/baseSepolia.d.ts +142 -137
- package/_types/chains/definitions/baseSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/celo.d.ts +180 -180
- package/_types/chains/definitions/celoAlfajores.d.ts +180 -180
- package/_types/chains/definitions/celoCannoli.d.ts +180 -180
- package/_types/chains/definitions/fantomSonicTestnet.d.ts +38 -0
- package/_types/chains/definitions/fantomSonicTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/optimism.d.ts +142 -137
- package/_types/chains/definitions/optimism.d.ts.map +1 -1
- package/_types/chains/definitions/optimismGoerli.d.ts +142 -137
- package/_types/chains/definitions/optimismGoerli.d.ts.map +1 -1
- package/_types/chains/definitions/optimismSepolia.d.ts +142 -137
- package/_types/chains/definitions/optimismSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/pgn.d.ts +147 -137
- package/_types/chains/definitions/pgn.d.ts.map +1 -1
- package/_types/chains/definitions/pgnTestnet.d.ts +142 -137
- package/_types/chains/definitions/pgnTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/zilliqa.d.ts +38 -0
- package/_types/chains/definitions/zilliqa.d.ts.map +1 -0
- package/_types/chains/definitions/zilliqaTestnet.d.ts +38 -0
- package/_types/chains/definitions/zilliqaTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/zkSync.d.ts +24 -24
- package/_types/chains/definitions/zkSyncSepoliaTestnet.d.ts +533 -0
- package/_types/chains/definitions/zkSyncSepoliaTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/zkSyncTestnet.d.ts +29 -24
- package/_types/chains/definitions/zkSyncTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/zora.d.ts +142 -137
- package/_types/chains/definitions/zora.d.ts.map +1 -1
- package/_types/chains/definitions/zoraSepolia.d.ts +142 -137
- package/_types/chains/definitions/zoraSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/zoraTestnet.d.ts +137 -137
- package/_types/chains/index.d.ts +5 -1
- package/_types/chains/index.d.ts.map +1 -1
- package/_types/chains/opStack/abis.d.ts +457 -0
- package/_types/chains/opStack/abis.d.ts.map +1 -1
- package/_types/chains/opStack/actions/buildDepositTransaction.d.ts +5 -3
- package/_types/chains/opStack/actions/buildDepositTransaction.d.ts.map +1 -1
- package/_types/chains/opStack/actions/buildInitiateWithdrawal.d.ts +50 -0
- package/_types/chains/opStack/actions/buildInitiateWithdrawal.d.ts.map +1 -0
- package/_types/chains/opStack/actions/buildProveWithdrawal.d.ts +48 -0
- package/_types/chains/opStack/actions/buildProveWithdrawal.d.ts.map +1 -0
- package/_types/chains/opStack/actions/depositTransaction.d.ts +18 -34
- package/_types/chains/opStack/actions/depositTransaction.d.ts.map +1 -1
- package/_types/chains/opStack/actions/estimateDepositTransactionGas.d.ts +50 -0
- package/_types/chains/opStack/actions/estimateDepositTransactionGas.d.ts.map +1 -0
- package/_types/chains/opStack/actions/estimateFinalizeWithdrawalGas.d.ts +45 -0
- package/_types/chains/opStack/actions/estimateFinalizeWithdrawalGas.d.ts.map +1 -0
- package/_types/chains/opStack/actions/estimateInitiateWithdrawalGas.d.ts +51 -0
- package/_types/chains/opStack/actions/estimateInitiateWithdrawalGas.d.ts.map +1 -0
- package/_types/chains/opStack/actions/estimateProveWithdrawalGas.d.ts +63 -0
- package/_types/chains/opStack/actions/estimateProveWithdrawalGas.d.ts.map +1 -0
- package/_types/chains/opStack/actions/finalizeWithdrawal.d.ts +49 -0
- package/_types/chains/opStack/actions/finalizeWithdrawal.d.ts.map +1 -0
- package/_types/chains/opStack/actions/getL2Output.d.ts +44 -0
- package/_types/chains/opStack/actions/getL2Output.d.ts.map +1 -0
- package/_types/chains/opStack/actions/getTimeToFinalize.d.ts +57 -0
- package/_types/chains/opStack/actions/getTimeToFinalize.d.ts.map +1 -0
- package/_types/chains/opStack/actions/getTimeToNextL2Output.d.ts +61 -0
- package/_types/chains/opStack/actions/getTimeToNextL2Output.d.ts.map +1 -0
- package/_types/chains/opStack/actions/getTimeToProve.d.ts +50 -0
- package/_types/chains/opStack/actions/getTimeToProve.d.ts.map +1 -0
- package/_types/chains/opStack/actions/getWithdrawalStatus.d.ts +48 -0
- package/_types/chains/opStack/actions/getWithdrawalStatus.d.ts.map +1 -0
- package/_types/chains/opStack/actions/initiateWithdrawal.d.ts +77 -0
- package/_types/chains/opStack/actions/initiateWithdrawal.d.ts.map +1 -0
- package/_types/chains/opStack/actions/proveWithdrawal.d.ts +67 -0
- package/_types/chains/opStack/actions/proveWithdrawal.d.ts.map +1 -0
- package/_types/chains/opStack/actions/waitForNextL2Output.d.ts +55 -0
- package/_types/chains/opStack/actions/waitForNextL2Output.d.ts.map +1 -0
- package/_types/chains/opStack/actions/waitToFinalize.d.ts +45 -0
- package/_types/chains/opStack/actions/waitToFinalize.d.ts.map +1 -0
- package/_types/chains/opStack/actions/waitToProve.d.ts +55 -0
- package/_types/chains/opStack/actions/waitToProve.d.ts.map +1 -0
- package/_types/chains/opStack/chainConfig.d.ts +136 -136
- package/_types/chains/opStack/chains.d.ts +2 -0
- package/_types/chains/opStack/chains.d.ts.map +1 -1
- package/_types/chains/opStack/decorators/publicL1.d.ts +386 -0
- package/_types/chains/opStack/decorators/publicL1.d.ts.map +1 -0
- package/_types/chains/opStack/decorators/publicL2.d.ts +82 -26
- package/_types/chains/opStack/decorators/publicL2.d.ts.map +1 -1
- package/_types/chains/opStack/decorators/walletL1.d.ts +57 -2
- package/_types/chains/opStack/decorators/walletL1.d.ts.map +1 -1
- package/_types/chains/opStack/decorators/walletL2.d.ts +62 -0
- package/_types/chains/opStack/decorators/walletL2.d.ts.map +1 -0
- package/_types/chains/opStack/errors/withdrawal.d.ts +12 -0
- package/_types/chains/opStack/errors/withdrawal.d.ts.map +1 -0
- package/_types/chains/opStack/formatters.d.ts +136 -136
- package/_types/chains/opStack/index.d.ts +21 -3
- package/_types/chains/opStack/index.d.ts.map +1 -1
- package/_types/chains/opStack/types/deposit.d.ts +25 -0
- package/_types/chains/opStack/types/deposit.d.ts.map +1 -0
- package/_types/chains/opStack/types/withdrawal.d.ts +22 -0
- package/_types/chains/opStack/types/withdrawal.d.ts.map +1 -0
- package/_types/chains/opStack/utils/extractWithdrawalMessageLogs.d.ts +137 -0
- package/_types/chains/opStack/utils/extractWithdrawalMessageLogs.d.ts.map +1 -0
- package/_types/chains/opStack/utils/getWithdrawalHashStorageSlot.d.ts +11 -0
- package/_types/chains/opStack/utils/getWithdrawalHashStorageSlot.d.ts.map +1 -0
- package/_types/chains/opStack/utils/getWithdrawals.d.ts +12 -0
- package/_types/chains/opStack/utils/getWithdrawals.d.ts.map +1 -0
- package/_types/chains/opStack/utils/opaqueDataToDepositData.d.ts +15 -0
- package/_types/chains/opStack/utils/opaqueDataToDepositData.d.ts.map +1 -0
- package/_types/chains/zksync/chainConfig.d.ts +24 -24
- package/_types/chains/zksync/formatters.d.ts +24 -24
- package/_types/clients/decorators/public.d.ts +2 -2
- package/_types/clients/decorators/public.d.ts.map +1 -1
- package/_types/clients/decorators/wallet.d.ts +2 -2
- package/_types/clients/decorators/wallet.d.ts.map +1 -1
- package/_types/errors/abi.d.ts +14 -1
- package/_types/errors/abi.d.ts.map +1 -1
- package/_types/errors/version.d.ts +1 -1
- package/_types/errors/version.d.ts.map +1 -1
- package/_types/index.d.ts +15 -1
- package/_types/index.d.ts.map +1 -1
- package/_types/types/account.d.ts +1 -1
- package/_types/types/account.d.ts.map +1 -1
- package/_types/types/eip1193.d.ts +12 -0
- package/_types/types/eip1193.d.ts.map +1 -1
- package/_types/utils/abi/getAbiItem.d.ts +2 -1
- package/_types/utils/abi/getAbiItem.d.ts.map +1 -1
- package/_types/utils/formatters/block.d.ts +1 -1
- package/_types/utils/formatters/block.d.ts.map +1 -1
- package/_types/utils/formatters/transaction.d.ts +2 -2
- package/_types/utils/formatters/transaction.d.ts.map +1 -1
- package/_types/utils/formatters/transactionReceipt.d.ts +1 -1
- package/_types/utils/formatters/transactionReceipt.d.ts.map +1 -1
- package/_types/utils/formatters/transactionRequest.d.ts +1 -1
- package/_types/utils/hash/ripemd160.d.ts +11 -0
- package/_types/utils/hash/ripemd160.d.ts.map +1 -0
- package/_types/utils/hash/sha256.d.ts +11 -0
- package/_types/utils/hash/sha256.d.ts.map +1 -0
- package/_types/utils/index.d.ts +2 -0
- package/_types/utils/index.d.ts.map +1 -1
- package/actions/ens/getEnsName.ts +3 -2
- package/actions/index.ts +31 -0
- package/actions/public/getBlock.ts +1 -1
- package/actions/public/getTransaction.ts +1 -1
- package/actions/public/getTransactionReceipt.ts +1 -1
- package/actions/wallet/prepareTransactionRequest.ts +16 -9
- package/chains/definitions/arbitrumSepolia.ts +4 -0
- package/chains/definitions/base.ts +5 -0
- package/chains/definitions/baseGoerli.ts +5 -0
- package/chains/definitions/baseSepolia.ts +5 -0
- package/chains/definitions/fantomSonicTestnet.ts +23 -0
- package/chains/definitions/optimism.ts +5 -0
- package/chains/definitions/optimismGoerli.ts +5 -0
- package/chains/definitions/optimismSepolia.ts +5 -0
- package/chains/definitions/pgn.ts +13 -0
- package/chains/definitions/pgnTestnet.ts +8 -0
- package/chains/definitions/zilliqa.ts +23 -0
- package/chains/definitions/zilliqaTestnet.ts +23 -0
- package/chains/definitions/zkSyncSepoliaTestnet.ts +32 -0
- package/chains/definitions/zkSyncTestnet.ts +5 -0
- package/chains/definitions/zora.ts +5 -0
- package/chains/definitions/zoraSepolia.ts +5 -0
- package/chains/index.ts +9 -0
- package/chains/opStack/abis.ts +367 -0
- package/chains/opStack/actions/buildDepositTransaction.ts +11 -6
- package/chains/opStack/actions/buildInitiateWithdrawal.ts +118 -0
- package/chains/opStack/actions/buildProveWithdrawal.ts +149 -0
- package/chains/opStack/actions/depositTransaction.ts +50 -44
- package/chains/opStack/actions/estimateDepositTransactionGas.ts +138 -0
- package/chains/opStack/actions/estimateFinalizeWithdrawalGas.ts +118 -0
- package/chains/opStack/actions/estimateInitiateWithdrawalGas.ts +118 -0
- package/chains/opStack/actions/estimateProveWithdrawalGas.ts +139 -0
- package/chains/opStack/actions/finalizeWithdrawal.ts +130 -0
- package/chains/opStack/actions/getL2Output.ts +89 -0
- package/chains/opStack/actions/getTimeToFinalize.ts +122 -0
- package/chains/opStack/actions/getTimeToNextL2Output.ts +162 -0
- package/chains/opStack/actions/getTimeToProve.ts +79 -0
- package/chains/opStack/actions/getWithdrawalStatus.ts +152 -0
- package/chains/opStack/actions/initiateWithdrawal.ts +153 -0
- package/chains/opStack/actions/proveWithdrawal.ts +151 -0
- package/chains/opStack/actions/waitForNextL2Output.ts +111 -0
- package/chains/opStack/actions/waitToFinalize.ts +64 -0
- package/chains/opStack/actions/waitToProve.ts +99 -0
- package/chains/opStack/chains.ts +2 -0
- package/chains/opStack/decorators/publicL1.ts +514 -0
- package/chains/opStack/decorators/publicL2.ts +129 -37
- package/chains/opStack/decorators/walletL1.ts +71 -2
- package/chains/opStack/decorators/walletL2.ts +84 -0
- package/chains/opStack/errors/withdrawal.ts +15 -0
- package/chains/opStack/index.ts +112 -21
- package/chains/opStack/types/deposit.ts +28 -0
- package/chains/opStack/types/withdrawal.ts +23 -0
- package/chains/opStack/utils/extractWithdrawalMessageLogs.ts +36 -0
- package/chains/opStack/utils/getL2TransactionHash.ts +2 -2
- package/chains/opStack/utils/getWithdrawalHashStorageSlot.ts +29 -0
- package/chains/opStack/utils/getWithdrawals.ts +25 -0
- package/chains/opStack/utils/{fromOpaqueData.ts → opaqueDataToDepositData.ts} +9 -4
- package/clients/decorators/public.ts +2 -2
- package/clients/decorators/wallet.ts +2 -2
- package/errors/abi.ts +22 -1
- package/errors/version.ts +1 -1
- package/index.ts +40 -0
- package/package.json +1 -1
- package/types/account.ts +1 -1
- package/types/eip1193.ts +12 -0
- package/utils/abi/getAbiItem.ts +71 -2
- package/utils/formatters/block.ts +1 -1
- package/utils/formatters/transaction.ts +1 -1
- package/utils/formatters/transactionReceipt.ts +1 -1
- package/utils/hash/ripemd160.ts +31 -0
- package/utils/hash/sha256.ts +31 -0
- package/utils/index.ts +2 -0
- package/_cjs/chains/opStack/utils/fromOpaqueData.js.map +0 -1
- package/_esm/chains/opStack/utils/fromOpaqueData.js.map +0 -1
- package/_types/chains/opStack/utils/fromOpaqueData.d.ts +0 -15
- package/_types/chains/opStack/utils/fromOpaqueData.d.ts.map +0 -1
- package/chains/celo/package.json +0 -6
- package/chains/opStack/package.json +0 -6
- package/chains/zksync/package.json +0 -6
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,49 @@
|
|
1
1
|
# viem
|
2
2
|
|
3
|
+
## 1.20.2
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- [#1560](https://github.com/wevm/viem/pull/1560) [`664778d0`](https://github.com/wevm/viem/commit/664778d0858ebc7c6bfc24a9be096c04d4e604e0) Thanks [@dutterbutter](https://github.com/dutterbutter)! - Added zkSync Sepolia Testnet.
|
8
|
+
|
9
|
+
## 1.20.1
|
10
|
+
|
11
|
+
### Patch Changes
|
12
|
+
|
13
|
+
- [#1570](https://github.com/wevm/viem/pull/1570) [`cbd24e84`](https://github.com/wevm/viem/commit/cbd24e8436da4eb0a0526657ebb9f3175d0c10bd) Thanks [@crackcodesprogramloads](https://github.com/crackcodesprogramloads)! - Added optional alchemy rpcUrls for arbitrumSepolia
|
14
|
+
|
15
|
+
- [#1592](https://github.com/wevm/viem/pull/1592) [`482ca63e`](https://github.com/wevm/viem/commit/482ca63eb2c56705ca6c96b766fa98286339091c) Thanks [@roninjin10](https://github.com/roninjin10)! - Added `eth_blobGasFee` type.
|
16
|
+
|
17
|
+
## 1.20.0
|
18
|
+
|
19
|
+
### Minor Changes
|
20
|
+
|
21
|
+
- [#1589](https://github.com/wevm/viem/pull/1589) [`69cf2d05`](https://github.com/wevm/viem/commit/69cf2d05100a211e737ba81718c11b864785d5f3) Thanks [@jxom](https://github.com/jxom)! - Added `ripemd160` and `sha256` hashing functions (re-exported from `@noble/hashes`).
|
22
|
+
|
23
|
+
## 1.19.15
|
24
|
+
|
25
|
+
### Patch Changes
|
26
|
+
|
27
|
+
- [#1586](https://github.com/wevm/viem/pull/1586) [`f9bfa727`](https://github.com/wevm/viem/commit/f9bfa727671452c46df7db4837457d1d9296b8c8) Thanks [@jxom](https://github.com/jxom)! - Fixed an issue where Viem could extract the wrong ABI item if ambiguity is detected within overload ABI items. Now, if ambiguity is detected, an error will be thrown.
|
28
|
+
|
29
|
+
## 1.19.14
|
30
|
+
|
31
|
+
### Patch Changes
|
32
|
+
|
33
|
+
- [#1585](https://github.com/wevm/viem/pull/1585) [`5f54c878`](https://github.com/wevm/viem/commit/5f54c8780be1895d7f22f5d2b90878a81c67ac1f) Thanks [@zapnap](https://github.com/zapnap)! - Added Fantom Sonic Open Testnet
|
34
|
+
|
35
|
+
## 1.19.13
|
36
|
+
|
37
|
+
### Patch Changes
|
38
|
+
|
39
|
+
- [`007fe124`](https://github.com/wevm/viem/commit/007fe124d2c8a5f709a0d691ccbcaaf5f9a6d411) Thanks [@jxom](https://github.com/jxom)! - Fixed issue where `getEnsName` was returning stale results for updated eth records.
|
40
|
+
|
41
|
+
## 1.19.12
|
42
|
+
|
43
|
+
### Patch Changes
|
44
|
+
|
45
|
+
- [#1561](https://github.com/wevm/viem/pull/1561) [`ca3514e7`](https://github.com/wevm/viem/commit/ca3514e7784d2ee6849423b6c97cb235b4a97e16) Thanks [@harisaginting](https://github.com/harisaginting)! - Added Zilliqa chain.
|
46
|
+
|
3
47
|
## 1.19.11
|
4
48
|
|
5
49
|
### Patch Changes
|
package/README.md
CHANGED
@@ -126,10 +126,10 @@ Check out the following places for more viem-related content:
|
|
126
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
|
-
<a href="https://
|
129
|
+
<a href="https://zksync.io/">
|
130
130
|
<picture>
|
131
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/
|
132
|
-
<img alt="
|
131
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/zksync-dark.svg">
|
132
|
+
<img alt="zksync logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/zksync-light.svg" width="auto" height="50">
|
133
133
|
</picture>
|
134
134
|
</a>
|
135
135
|
<a href="https://twitter.com/prtyDAO">
|
@@ -204,6 +204,12 @@ Check out the following places for more viem-related content:
|
|
204
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
|
+
<a href="https://lattice.xyz">
|
208
|
+
<picture>
|
209
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/lattice-dark.svg">
|
210
|
+
<img alt="lattice logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/lattice-light.svg" width="auto" height="50">
|
211
|
+
</picture>
|
212
|
+
</a>
|
207
213
|
<a href="https://twitter.com/supafinance">
|
208
214
|
<picture>
|
209
215
|
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/supa-dark.svg">
|
@@ -21,7 +21,7 @@ async function getEnsName(client, { address, blockNumber, blockTag, universalRes
|
|
21
21
|
}
|
22
22
|
const reverseNode = `${address.toLowerCase().substring(2)}.addr.reverse`;
|
23
23
|
try {
|
24
|
-
const
|
24
|
+
const [name, resolvedAddress] = await (0, getAction_js_1.getAction)(client, readContract_js_1.readContract, 'readContract')({
|
25
25
|
address: universalResolverAddress,
|
26
26
|
abi: abis_js_1.universalResolverReverseAbi,
|
27
27
|
functionName: 'reverse',
|
@@ -29,7 +29,9 @@ async function getEnsName(client, { address, blockNumber, blockTag, universalRes
|
|
29
29
|
blockNumber,
|
30
30
|
blockTag,
|
31
31
|
});
|
32
|
-
|
32
|
+
if (address.toLowerCase() !== resolvedAddress.toLowerCase())
|
33
|
+
return null;
|
34
|
+
return name;
|
33
35
|
}
|
34
36
|
catch (err) {
|
35
37
|
if ((0, errors_js_1.isNullUniversalResolverError)(err, 'reverse'))
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getEnsName.js","sourceRoot":"","sources":["../../../actions/ens/getEnsName.ts"],"names":[],"mappings":";;;AAIA,qDAAqE;AAIrE,6FAGqD;AACrD,4DAA0E;AAC1E,yDAAwE;AACxE,uEAGyC;AACzC,2DAAoD;AACpD,+DAIkC;AA8C3B,KAAK,UAAU,UAAU,CAC9B,MAAiC,EACjC,EACE,OAAO,EACP,WAAW,EACX,QAAQ,EACR,wBAAwB,EAAE,yBAAyB,GAC9B;IAEvB,IAAI,wBAAwB,GAAG,yBAAyB,CAAA;IACxD,IAAI,CAAC,wBAAwB,EAAE,CAAC;QAC9B,IAAI,CAAC,MAAM,CAAC,KAAK;YACf,MAAM,IAAI,KAAK,CACb,oEAAoE,CACrE,CAAA;QAEH,wBAAwB,GAAG,IAAA,oDAAuB,EAAC;YACjD,WAAW;YACX,KAAK,EAAE,MAAM,CAAC,KAAK;YACnB,QAAQ,EAAE,sBAAsB;SACjC,CAAC,CAAA;IACJ,CAAC;IAED,MAAM,WAAW,GAAG,GAAG,OAAO,CAAC,WAAW,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,eAAe,CAAA;IACxE,IAAI,CAAC;QACH,MAAM,
|
1
|
+
{"version":3,"file":"getEnsName.js","sourceRoot":"","sources":["../../../actions/ens/getEnsName.ts"],"names":[],"mappings":";;;AAIA,qDAAqE;AAIrE,6FAGqD;AACrD,4DAA0E;AAC1E,yDAAwE;AACxE,uEAGyC;AACzC,2DAAoD;AACpD,+DAIkC;AA8C3B,KAAK,UAAU,UAAU,CAC9B,MAAiC,EACjC,EACE,OAAO,EACP,WAAW,EACX,QAAQ,EACR,wBAAwB,EAAE,yBAAyB,GAC9B;IAEvB,IAAI,wBAAwB,GAAG,yBAAyB,CAAA;IACxD,IAAI,CAAC,wBAAwB,EAAE,CAAC;QAC9B,IAAI,CAAC,MAAM,CAAC,KAAK;YACf,MAAM,IAAI,KAAK,CACb,oEAAoE,CACrE,CAAA;QAEH,wBAAwB,GAAG,IAAA,oDAAuB,EAAC;YACjD,WAAW;YACX,KAAK,EAAE,MAAM,CAAC,KAAK;YACnB,QAAQ,EAAE,sBAAsB;SACjC,CAAC,CAAA;IACJ,CAAC;IAED,MAAM,WAAW,GAAG,GAAG,OAAO,CAAC,WAAW,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,eAAe,CAAA;IACxE,IAAI,CAAC;QACH,MAAM,CAAC,IAAI,EAAE,eAAe,CAAC,GAAG,MAAM,IAAA,wBAAS,EAC7C,MAAM,EACN,8BAAY,EACZ,cAAc,CACf,CAAC;YACA,OAAO,EAAE,wBAAwB;YACjC,GAAG,EAAE,qCAA2B;YAChC,YAAY,EAAE,SAAS;YACvB,IAAI,EAAE,CAAC,IAAA,gBAAK,EAAC,IAAA,gCAAa,EAAC,WAAW,CAAC,CAAC,CAAC;YACzC,WAAW;YACX,QAAQ;SACT,CAAC,CAAA;QACF,IAAI,OAAO,CAAC,WAAW,EAAE,KAAK,eAAe,CAAC,WAAW,EAAE;YAAE,OAAO,IAAI,CAAA;QACxE,OAAO,IAAI,CAAA;IACb,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,IAAI,IAAA,wCAA4B,EAAC,GAAG,EAAE,SAAS,CAAC;YAAE,OAAO,IAAI,CAAA;QAC7D,MAAM,GAAG,CAAA;IACX,CAAC;AACH,CAAC;AA3CD,gCA2CC"}
|
package/_cjs/actions/index.js
CHANGED
@@ -1,7 +1,9 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
4
|
-
exports.writeContract = exports.watchContractEvent = exports.watchAsset = exports.verifyTypedData = exports.verifyMessage = exports.verifyHash = exports.uninstallFilter = exports.switchChain = exports.stopImpersonatingAccount = exports.simulateContract = exports.signTypedData = exports.signMessage = exports.snapshot = exports.setStorageAt = exports.setNonce = exports.setNextBlockTimestamp = exports.setNextBlockBaseFeePerGas = exports.setMinGasPrice = exports.setIntervalMining = exports.setCoinbase = exports.setCode = exports.setBlockTimestampInterval = exports.setBlockGasLimit = exports.setAutomine = exports.setBalance = exports.sendUnsignedTransaction = exports.sendRawTransaction = exports.signTransaction = exports.sendTransaction = exports.prepareTransactionRequest = exports.revert = void 0;
|
3
|
+
exports.getAutomine = exports.dropTransaction = exports.requestPermissions = exports.requestAddresses = exports.waitForTransactionReceipt = exports.getProof = exports.getPermissions = exports.getAddresses = exports.readContract = exports.watchPendingTransactions = exports.watchEvent = exports.watchBlockNumber = exports.watchBlocks = exports.multicall = exports.mine = exports.loadState = exports.increaseTime = exports.impersonateAccount = exports.getTransactionReceipt = exports.getTransaction = exports.getTransactionCount = exports.getTransactionConfirmations = exports.getStorageAt = exports.getLogs = exports.getGasPrice = exports.getFilterLogs = exports.getFilterChanges = exports.getFeeHistory = exports.getChainId = exports.getBytecode = exports.getBlockTransactionCount = exports.getBlockNumber = exports.getBlock = exports.getBalance = exports.estimateGas = exports.estimateMaxPriorityFeePerGas = exports.estimateFeesPerGas = exports.estimateContractGas = exports.dumpState = exports.createPendingTransactionFilter = exports.createEventFilter = exports.createContractEventFilter = exports.createBlockFilter = exports.call = exports.getEnsText = exports.getEnsResolver = exports.getEnsName = exports.getEnsAvatar = exports.getEnsAddress = exports.addChain = void 0;
|
4
|
+
exports.writeContract = exports.watchContractEvent = exports.watchAsset = exports.verifyTypedData = exports.verifyMessage = exports.verifyHash = exports.uninstallFilter = exports.switchChain = exports.stopImpersonatingAccount = exports.simulateContract = exports.signTypedData = exports.signMessage = exports.snapshot = exports.setStorageAt = exports.setRpcUrl = exports.setNonce = exports.setNextBlockTimestamp = exports.setNextBlockBaseFeePerGas = exports.setMinGasPrice = exports.setLoggingEnabled = exports.setIntervalMining = exports.setCoinbase = exports.setCode = exports.setBlockTimestampInterval = exports.setBlockGasLimit = exports.setAutomine = exports.setBalance = exports.sendUnsignedTransaction = exports.sendRawTransaction = exports.signTransaction = exports.sendTransaction = exports.prepareTransactionRequest = exports.revert = exports.reset = exports.removeBlockTimestampInterval = exports.inspectTxpool = exports.getTxpoolStatus = exports.getTxpoolContent = void 0;
|
5
|
+
var addChain_js_1 = require("./wallet/addChain.js");
|
6
|
+
Object.defineProperty(exports, "addChain", { enumerable: true, get: function () { return addChain_js_1.addChain; } });
|
5
7
|
var getEnsAddress_js_1 = require("./ens/getEnsAddress.js");
|
6
8
|
Object.defineProperty(exports, "getEnsAddress", { enumerable: true, get: function () { return getEnsAddress_js_1.getEnsAddress; } });
|
7
9
|
var getEnsAvatar_js_1 = require("./ens/getEnsAvatar.js");
|
@@ -22,6 +24,8 @@ var createEventFilter_js_1 = require("./public/createEventFilter.js");
|
|
22
24
|
Object.defineProperty(exports, "createEventFilter", { enumerable: true, get: function () { return createEventFilter_js_1.createEventFilter; } });
|
23
25
|
var createPendingTransactionFilter_js_1 = require("./public/createPendingTransactionFilter.js");
|
24
26
|
Object.defineProperty(exports, "createPendingTransactionFilter", { enumerable: true, get: function () { return createPendingTransactionFilter_js_1.createPendingTransactionFilter; } });
|
27
|
+
var dumpState_js_1 = require("./test/dumpState.js");
|
28
|
+
Object.defineProperty(exports, "dumpState", { enumerable: true, get: function () { return dumpState_js_1.dumpState; } });
|
25
29
|
var estimateContractGas_js_1 = require("./public/estimateContractGas.js");
|
26
30
|
Object.defineProperty(exports, "estimateContractGas", { enumerable: true, get: function () { return estimateContractGas_js_1.estimateContractGas; } });
|
27
31
|
var estimateFeesPerGas_js_1 = require("./public/estimateFeesPerGas.js");
|
@@ -66,6 +70,8 @@ var impersonateAccount_js_1 = require("./test/impersonateAccount.js");
|
|
66
70
|
Object.defineProperty(exports, "impersonateAccount", { enumerable: true, get: function () { return impersonateAccount_js_1.impersonateAccount; } });
|
67
71
|
var increaseTime_js_1 = require("./test/increaseTime.js");
|
68
72
|
Object.defineProperty(exports, "increaseTime", { enumerable: true, get: function () { return increaseTime_js_1.increaseTime; } });
|
73
|
+
var loadState_js_1 = require("./test/loadState.js");
|
74
|
+
Object.defineProperty(exports, "loadState", { enumerable: true, get: function () { return loadState_js_1.loadState; } });
|
69
75
|
var mine_js_1 = require("./test/mine.js");
|
70
76
|
Object.defineProperty(exports, "mine", { enumerable: true, get: function () { return mine_js_1.mine; } });
|
71
77
|
var multicall_js_1 = require("./public/multicall.js");
|
@@ -84,6 +90,8 @@ var getAddresses_js_1 = require("./wallet/getAddresses.js");
|
|
84
90
|
Object.defineProperty(exports, "getAddresses", { enumerable: true, get: function () { return getAddresses_js_1.getAddresses; } });
|
85
91
|
var getPermissions_js_1 = require("./wallet/getPermissions.js");
|
86
92
|
Object.defineProperty(exports, "getPermissions", { enumerable: true, get: function () { return getPermissions_js_1.getPermissions; } });
|
93
|
+
var getProof_js_1 = require("./public/getProof.js");
|
94
|
+
Object.defineProperty(exports, "getProof", { enumerable: true, get: function () { return getProof_js_1.getProof; } });
|
87
95
|
var waitForTransactionReceipt_js_1 = require("./public/waitForTransactionReceipt.js");
|
88
96
|
Object.defineProperty(exports, "waitForTransactionReceipt", { enumerable: true, get: function () { return waitForTransactionReceipt_js_1.waitForTransactionReceipt; } });
|
89
97
|
var requestAddresses_js_1 = require("./wallet/requestAddresses.js");
|
@@ -100,6 +108,8 @@ var getTxpoolStatus_js_1 = require("./test/getTxpoolStatus.js");
|
|
100
108
|
Object.defineProperty(exports, "getTxpoolStatus", { enumerable: true, get: function () { return getTxpoolStatus_js_1.getTxpoolStatus; } });
|
101
109
|
var inspectTxpool_js_1 = require("./test/inspectTxpool.js");
|
102
110
|
Object.defineProperty(exports, "inspectTxpool", { enumerable: true, get: function () { return inspectTxpool_js_1.inspectTxpool; } });
|
111
|
+
var removeBlockTimestampInterval_js_1 = require("./test/removeBlockTimestampInterval.js");
|
112
|
+
Object.defineProperty(exports, "removeBlockTimestampInterval", { enumerable: true, get: function () { return removeBlockTimestampInterval_js_1.removeBlockTimestampInterval; } });
|
103
113
|
var reset_js_1 = require("./test/reset.js");
|
104
114
|
Object.defineProperty(exports, "reset", { enumerable: true, get: function () { return reset_js_1.reset; } });
|
105
115
|
var revert_js_1 = require("./test/revert.js");
|
@@ -128,6 +138,8 @@ var setCoinbase_js_1 = require("./test/setCoinbase.js");
|
|
128
138
|
Object.defineProperty(exports, "setCoinbase", { enumerable: true, get: function () { return setCoinbase_js_1.setCoinbase; } });
|
129
139
|
var setIntervalMining_js_1 = require("./test/setIntervalMining.js");
|
130
140
|
Object.defineProperty(exports, "setIntervalMining", { enumerable: true, get: function () { return setIntervalMining_js_1.setIntervalMining; } });
|
141
|
+
var setLoggingEnabled_js_1 = require("./test/setLoggingEnabled.js");
|
142
|
+
Object.defineProperty(exports, "setLoggingEnabled", { enumerable: true, get: function () { return setLoggingEnabled_js_1.setLoggingEnabled; } });
|
131
143
|
var setMinGasPrice_js_1 = require("./test/setMinGasPrice.js");
|
132
144
|
Object.defineProperty(exports, "setMinGasPrice", { enumerable: true, get: function () { return setMinGasPrice_js_1.setMinGasPrice; } });
|
133
145
|
var setNextBlockBaseFeePerGas_js_1 = require("./test/setNextBlockBaseFeePerGas.js");
|
@@ -136,6 +148,8 @@ var setNextBlockTimestamp_js_1 = require("./test/setNextBlockTimestamp.js");
|
|
136
148
|
Object.defineProperty(exports, "setNextBlockTimestamp", { enumerable: true, get: function () { return setNextBlockTimestamp_js_1.setNextBlockTimestamp; } });
|
137
149
|
var setNonce_js_1 = require("./test/setNonce.js");
|
138
150
|
Object.defineProperty(exports, "setNonce", { enumerable: true, get: function () { return setNonce_js_1.setNonce; } });
|
151
|
+
var setRpcUrl_js_1 = require("./test/setRpcUrl.js");
|
152
|
+
Object.defineProperty(exports, "setRpcUrl", { enumerable: true, get: function () { return setRpcUrl_js_1.setRpcUrl; } });
|
139
153
|
var setStorageAt_js_1 = require("./test/setStorageAt.js");
|
140
154
|
Object.defineProperty(exports, "setStorageAt", { enumerable: true, get: function () { return setStorageAt_js_1.setStorageAt; } });
|
141
155
|
var snapshot_js_1 = require("./test/snapshot.js");
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../actions/index.ts"],"names":[],"mappings":";;;;AAAA,2DAK+B;AAD7B,iHAAA,aAAa,OAAA;AAEf,yDAK8B;AAD5B,+GAAA,YAAY,OAAA;AAEd,qDAK4B;AAD1B,2GAAA,UAAU,OAAA;AAEZ,6DAKgC;AAD9B,mHAAA,cAAc,OAAA;AAEhB,qDAK4B;AAD1B,2GAAA,UAAU,OAAA;AAEZ,4CAKyB;AADvB,+FAAA,IAAI,OAAA;AAEN,sEAIsC;AADpC,yHAAA,iBAAiB,OAAA;AAEnB,sFAK8C;AAD5C,yIAAA,yBAAyB,OAAA;AAE3B,sEAKsC;AADpC,yHAAA,iBAAiB,OAAA;AAEnB,gGAImD;AADjD,mJAAA,8BAA8B,OAAA;AAEhC,0EAKwC;AADtC,6HAAA,mBAAmB,OAAA;AAErB,wEAKuC;AADrC,2HAAA,kBAAkB,OAAA;AAEpB,4FAKiD;AAD/C,+IAAA,4BAA4B,OAAA;AAE9B,0DAKgC;AAD9B,6GAAA,WAAW,OAAA;AAEb,wDAK+B;AAD7B,2GAAA,UAAU,OAAA;AAEZ,oDAK6B;AAD3B,uGAAA,QAAQ,OAAA;AAEV,gEAKmC;AADjC,mHAAA,cAAc,OAAA;AAEhB,oFAK6C;AAD3C,uIAAA,wBAAwB,OAAA;AAE1B,0DAKgC;AAD9B,6GAAA,WAAW,OAAA;AAEb,wDAI+B;AAD7B,2GAAA,UAAU,OAAA;AAEZ,8DAKkC;AADhC,iHAAA,aAAa,OAAA;AAEf,oEAKqC;AADnC,uHAAA,gBAAgB,OAAA;AAElB,8DAKkC;AADhC,iHAAA,aAAa,OAAA;AAEf,0DAIgC;AAD9B,6GAAA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|
1
|
-
{"version":3,"file":"prepareTransactionRequest.js","sourceRoot":"","sources":["../../../actions/wallet/prepareTransactionRequest.ts"],"names":[],"mappings":";;;AAEA,0EAG6C;AAC7C,sFAGmD;AACnD,wEAI4C;AAC5C,kEAGyC;AACzC,wFAGoD;AAIpD,gDAG4B;AAQ5B,2DAAoD;AAKpD,+EAAwE;AACxE,yFAAkF;
|
1
|
+
{"version":3,"file":"prepareTransactionRequest.js","sourceRoot":"","sources":["../../../actions/wallet/prepareTransactionRequest.ts"],"names":[],"mappings":";;;AAEA,0EAG6C;AAC7C,sFAGmD;AACnD,wEAI4C;AAC5C,kEAGyC;AACzC,wFAGoD;AAIpD,gDAG4B;AAQ5B,2DAAoD;AAKpD,+EAAwE;AACxE,yFAAkF;AAyG3E,KAAK,UAAU,yBAAyB,CAO7C,MAA2C,EAC3C,IAMC;IAUD,MAAM,EACJ,OAAO,EAAE,QAAQ,GAAG,MAAM,CAAC,OAAO,EAClC,KAAK,EACL,GAAG,EACH,KAAK,EACL,UAAU,GAAG,CAAC,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,CAAC,EAC7C,IAAI,GACL,GAAG,IAAI,CAAA;IACR,MAAM,OAAO,GAAG,QAAQ,CAAC,CAAC,CAAC,IAAA,8BAAY,EAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,CAAA;IAE7D,MAAM,KAAK,GAAG,MAAM,IAAA,wBAAS,EAC3B,MAAM,EACN,sBAAQ,EACR,UAAU,CACX,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC,CAAA;IAEzB,MAAM,OAAO,GAAG,EAAE,GAAG,IAAI,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAA;IAE3E,IAAI,UAAU,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,OAAO,KAAK,KAAK,WAAW,IA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W;gBACxC,OAAO,IAAI,CAAC,oBAAoB,KAAK,WAAW;gBAEhD,MAAM,IAAI,qCAA4B,EAAE,CAAA;YAE1C,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,MAAM,IAAA,mDAA2B,EAC/D,MAAM,EACN;gBACE,KAAK,EAAE,KAAc;gBACrB,KAAK;gBACL,OAAO,EAAE,OAA8C;gBACvD,IAAI,EAAE,QAAQ;aACf,CACF,CAAA;YACD,OAAO,CAAC,QAAQ,GAAG,SAAS,CAAA;QAC9B,CAAC;IACH,CAAC;IAED,IAAI,UAAU,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,OAAO,GAAG,KAAK,WAAW;QAC1D,OAAO,CAAC,GAAG,GAAG,MAAM,IAAA,wBAAS,EAC3B,MAAM,EACN,4BAAW,EACX,aAAa,CACd,CAAC;YACA,GAAG,OAAO;YACV,OAAO,EAAE,OAAO;gBACd,CAAC,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE;gBAChD,CAAC,CAAC,SAAS;SACW,CAAC,CAAA;IAE7B,IAAA,gCAAa,EAAC,OAAkC,CAAC,CAAA;IAEjD,OAAO,OAAO,CAAC,UAAU,CAAA;IAEzB,OAAO,OAMN,CAAA;AACH,CAAC;AApID,8DAoIC"}
|
@@ -11,6 +11,10 @@ exports.arbitrumSepolia = (0, defineChain_js_1.defineChain)({
|
|
11
11
|
decimals: 18,
|
12
12
|
},
|
13
13
|
rpcUrls: {
|
14
|
+
alchemy: {
|
15
|
+
http: ['https://arb-sepolia.g.alchemy.com/v2'],
|
16
|
+
webSocket: ['wss://arb-sepolia.g.alchemy.com/v2'],
|
17
|
+
},
|
14
18
|
default: {
|
15
19
|
http: ['https://sepolia-rollup.arbitrum.io/rpc'],
|
16
20
|
},
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"arbitrumSepolia.js","sourceRoot":"","sources":["../../../chains/definitions/arbitrumSepolia.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAEjD,QAAA,eAAe,GAAiB,IAAA,4BAAW,EAAC;IACvD,EAAE,EAAE,MAAO;IACX,IAAI,EAAE,kBAAkB;IACxB,cAAc,EAAE;QACd,IAAI,EAAE,wBAAwB;QAC9B,MAAM,EAAE,KAAK;QACb,QAAQ,EAAE,EAAE;KACb;IACD,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,wCAAwC,CAAC;SACjD;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,YAAY;YAClB,GAAG,EAAE,sCAAsC;SAC5C;KACF;IACD,SAAS,EAAE;QACT,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,KAAK;SACpB;KACF;IACD,OAAO,EAAE,IAAI;CACd,CAAC,CAAA"}
|
1
|
+
{"version":3,"file":"arbitrumSepolia.js","sourceRoot":"","sources":["../../../chains/definitions/arbitrumSepolia.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAEjD,QAAA,eAAe,GAAiB,IAAA,4BAAW,EAAC;IACvD,EAAE,EAAE,MAAO;IACX,IAAI,EAAE,kBAAkB;IACxB,cAAc,EAAE;QACd,IAAI,EAAE,wBAAwB;QAC9B,MAAM,EAAE,KAAK;QACb,QAAQ,EAAE,EAAE;KACb;IACD,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,sCAAsC,CAAC;YAC9C,SAAS,EAAE,CAAC,oCAAoC,CAAC;SAClD;QACD,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,wCAAwC,CAAC;SACjD;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,YAAY;YAClB,GAAG,EAAE,sCAAsC;SAC5C;KACF;IACD,SAAS,EAAE;QACT,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,KAAK;SACpB;KACF;IACD,OAAO,EAAE,IAAI;CACd,CAAC,CAAA"}
|
@@ -22,6 +22,11 @@ exports.base = (0, defineChain_js_1.defineChain)({
|
|
22
22
|
},
|
23
23
|
contracts: {
|
24
24
|
...chainConfig_js_1.chainConfig.contracts,
|
25
|
+
l2OutputOracle: {
|
26
|
+
[sourceId]: {
|
27
|
+
address: '0x56315b90c40730925ec5485cf004d835058518A0',
|
28
|
+
},
|
29
|
+
},
|
25
30
|
multicall3: {
|
26
31
|
address: '0xca11bde05977b3631167028862be2a173976ca11',
|
27
32
|
blockCreated: 5022,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"base.js","sourceRoot":"","sources":["../../../chains/definitions/base.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAC9D,8DAAuD;AAEvD,MAAM,QAAQ,GAAG,CAAC,CAAA;AAEL,QAAA,IAAI,GAAiB,IAAA,4BAAW,EAAC;IAC5C,GAAG,4BAAW;IACd,EAAE,EAAE,IAAI;IACR,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,0BAA0B,CAAC;SACnC;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,UAAU;YAChB,GAAG,EAAE,sBAAsB;SAC5B;KACF;IACD,SAAS,EAAE;QACT,GAAG,4BAAW,CAAC,SAAS;QACxB,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,IAAI;SACnB;QACD,MAAM,EAAE;YACN,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;gBACrD,YAAY,EAAE,QAAQ;aACvB;SACF;KACF;IACD,QAAQ;CACT,CAAC,CAAA"}
|
1
|
+
{"version":3,"file":"base.js","sourceRoot":"","sources":["../../../chains/definitions/base.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAC9D,8DAAuD;AAEvD,MAAM,QAAQ,GAAG,CAAC,CAAA;AAEL,QAAA,IAAI,GAAiB,IAAA,4BAAW,EAAC;IAC5C,GAAG,4BAAW;IACd,EAAE,EAAE,IAAI;IACR,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,0BAA0B,CAAC;SACnC;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,UAAU;YAChB,GAAG,EAAE,sBAAsB;SAC5B;KACF;IACD,SAAS,EAAE;QACT,GAAG,4BAAW,CAAC,SAAS;QACxB,cAAc,EAAE;YACd,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;aACtD;SACF;QACD,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,IAAI;SACnB;QACD,MAAM,EAAE;YACN,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;gBACrD,YAAY,EAAE,QAAQ;aACvB;SACF;KACF;IACD,QAAQ;CACT,CAAC,CAAA"}
|
@@ -20,6 +20,11 @@ exports.baseGoerli = (0, defineChain_js_1.defineChain)({
|
|
20
20
|
},
|
21
21
|
contracts: {
|
22
22
|
...chainConfig_js_1.chainConfig.contracts,
|
23
|
+
l2OutputOracle: {
|
24
|
+
[sourceId]: {
|
25
|
+
address: '0x2A35891ff30313CcFa6CE88dcf3858bb075A2298',
|
26
|
+
},
|
27
|
+
},
|
23
28
|
multicall3: {
|
24
29
|
address: '0xca11bde05977b3631167028862be2a173976ca11',
|
25
30
|
blockCreated: 1376988,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"baseGoerli.js","sourceRoot":"","sources":["../../../chains/definitions/baseGoerli.ts"],"names":[],"mappings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YAChB,GAAG,EAAE,6BAA6B;SACnC;KACF;IACD,SAAS,EAAE;QACT,GAAG,4BAAW,CAAC,SAAS;QACxB,cAAc,EAAE;YACd,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;aACtD;SACF;QACD,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,OAAO;SACtB;QACD,MAAM,EAAE;YACN,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;aACtD;SACF;KACF;IACD,OAAO,EAAE,IAAI;IACb,QAAQ;CACT,CAAC,CAAA"}
|
@@ -30,6 +30,11 @@ exports.baseSepolia = (0, defineChain_js_1.defineChain)({
|
|
30
30
|
},
|
31
31
|
contracts: {
|
32
32
|
...chainConfig_js_1.chainConfig.contracts,
|
33
|
+
l2OutputOracle: {
|
34
|
+
[sourceId]: {
|
35
|
+
address: '0x84457ca9D0163FbC4bbfe4Dfbb20ba46e48DF254',
|
36
|
+
},
|
37
|
+
},
|
33
38
|
portal: {
|
34
39
|
[sourceId]: {
|
35
40
|
address: '0x49f53e41452c74589e85ca1677426ba426459e85',
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"baseSepolia.js","sourceRoot":"","sources":["../../../chains/definitions/baseSepolia.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAC9D,8DAAuD;AAEvD,MAAM,QAAQ,GAAG,QAAU,CAAA;AAEd,QAAA,WAAW,GAAiB,IAAA,4BAAW,EAAC;IACnD,GAAG,4BAAW;IACd,EAAE,EAAE,KAAK;IACT,OAAO,EAAE,cAAc;IACvB,IAAI,EAAE,cAAc;IACpB,cAAc,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IACtE,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,0BAA0B,CAAC;SACnC;QACD,MAAM,EAAE;YACN,IAAI,EAAE,CAAC,0BAA0B,CAAC;SACnC;KACF;IACD,cAAc,EAAE;QACd,UAAU,EAAE;YACV,IAAI,EAAE,YAAY;YAClB,GAAG,EAAE,qCAAqC;SAC3C;QACD,OAAO,EAAE;YACP,IAAI,EAAE,YAAY;YAClB,GAAG,EAAE,qCAAqC;SAC3C;KACF;IACD,SAAS,EAAE;QACT,GAAG,4BAAW,CAAC,SAAS;QACxB,MAAM,EAAE;YACN,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;gBACrD,YAAY,EAAE,OAAO;aACtB;SACF;KACF;IACD,OAAO,EAAE,IAAI;IACb,QAAQ;CACT,CAAC,CAAA"}
|
1
|
+
{"version":3,"file":"baseSepolia.js","sourceRoot":"","sources":["../../../chains/definitions/baseSepolia.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAC9D,8DAAuD;AAEvD,MAAM,QAAQ,GAAG,QAAU,CAAA;AAEd,QAAA,WAAW,GAAiB,IAAA,4BAAW,EAAC;IACnD,GAAG,4BAAW;IACd,EAAE,EAAE,KAAK;IACT,OAAO,EAAE,cAAc;IACvB,IAAI,EAAE,cAAc;IACpB,cAAc,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IACtE,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,0BAA0B,CAAC;SACnC;QACD,MAAM,EAAE;YACN,IAAI,EAAE,CAAC,0BAA0B,CAAC;SACnC;KACF;IACD,cAAc,EAAE;QACd,UAAU,EAAE;YACV,IAAI,EAAE,YAAY;YAClB,GAAG,EAAE,qCAAqC;SAC3C;QACD,OAAO,EAAE;YACP,IAAI,EAAE,YAAY;YAClB,GAAG,EAAE,qCAAqC;SAC3C;KACF;IACD,SAAS,EAAE;QACT,GAAG,4BAAW,CAAC,SAAS;QACxB,cAAc,EAAE;YACd,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;aACtD;SACF;QACD,MAAM,EAAE;YACN,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;gBACrD,YAAY,EAAE,OAAO;aACtB;SACF;KACF;IACD,OAAO,EAAE,IAAI;IACb,QAAQ;CACT,CAAC,CAAA"}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.fantomSonicTestnet = void 0;
|
4
|
+
const defineChain_js_1 = require("../../utils/chain/defineChain.js");
|
5
|
+
exports.fantomSonicTestnet = (0, defineChain_js_1.defineChain)({
|
6
|
+
id: 64240,
|
7
|
+
name: 'Fantom Sonic Open Testnet',
|
8
|
+
network: 'fantom-sonic-testnet',
|
9
|
+
nativeCurrency: {
|
10
|
+
decimals: 18,
|
11
|
+
name: 'Fantom',
|
12
|
+
symbol: 'FTM',
|
13
|
+
},
|
14
|
+
rpcUrls: {
|
15
|
+
default: { http: ['https://rpcapi.sonic.fantom.network'] },
|
16
|
+
public: { http: ['https://rpcapi.sonic.fantom.network'] },
|
17
|
+
},
|
18
|
+
blockExplorers: {
|
19
|
+
default: {
|
20
|
+
name: 'Fantom Sonic Open Testnet Explorer',
|
21
|
+
url: 'https://public-sonic.fantom.network',
|
22
|
+
},
|
23
|
+
},
|
24
|
+
testnet: true,
|
25
|
+
});
|
26
|
+
//# sourceMappingURL=fantomSonicTestnet.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"fantomSonicTestnet.js","sourceRoot":"","sources":["../../../chains/definitions/fantomSonicTestnet.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAEjD,QAAA,kBAAkB,GAAiB,IAAA,4BAAW,EAAC;IAC1D,EAAE,EAAE,KAAM;IACV,IAAI,EAAE,2BAA2B;IACjC,OAAO,EAAE,sBAAsB;IAC/B,cAAc,EAAE;QACd,QAAQ,EAAE,EAAE;QACZ,IAAI,EAAE,QAAQ;QACd,MAAM,EAAE,KAAK;KACd;IACD,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,oCAAoC;YAC1C,GAAG,EAAE,qCAAqC;SAC3C;KACF;IACD,OAAO,EAAE,IAAI;CACd,CAAC,CAAA"}
|
@@ -22,6 +22,11 @@ exports.optimism = (0, defineChain_js_1.defineChain)({
|
|
22
22
|
},
|
23
23
|
contracts: {
|
24
24
|
...chainConfig_js_1.chainConfig.contracts,
|
25
|
+
l2OutputOracle: {
|
26
|
+
[sourceId]: {
|
27
|
+
address: '0xdfe97868233d1aa22e815a266982f2cf17685a27',
|
28
|
+
},
|
29
|
+
},
|
25
30
|
multicall3: {
|
26
31
|
address: '0xca11bde05977b3631167028862be2a173976ca11',
|
27
32
|
blockCreated: 4286263,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"optimism.js","sourceRoot":"","sources":["../../../chains/definitions/optimism.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAC9D,8DAAuD;AAEvD,MAAM,QAAQ,GAAG,CAAC,CAAA;AAEL,QAAA,QAAQ,GAAiB,IAAA,4BAAW,EAAC;IAChD,GAAG,4BAAW;IACd,EAAE,EAAE,EAAE;IACN,IAAI,EAAE,YAAY;IAClB,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,6BAA6B,CAAC;SACtC;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,mBAAmB;YACzB,GAAG,EAAE,8BAA8B;SACpC;KACF;IACD,SAAS,EAAE;QACT,GAAG,4BAAW,CAAC,SAAS;QACxB,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,OAAO;SACtB;QACD,MAAM,EAAE;YACN,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;aACtD;SACF;KACF;IACD,QAAQ;CACT,CAAC,CAAA"}
|
1
|
+
{"version":3,"file":"optimism.js","sourceRoot":"","sources":["../../../chains/definitions/optimism.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAC9D,8DAAuD;AAEvD,MAAM,QAAQ,GAAG,CAAC,CAAA;AAEL,QAAA,QAAQ,GAAiB,IAAA,4BAAW,EAAC;IAChD,GAAG,4BAAW;IACd,EAAE,EAAE,EAAE;IACN,IAAI,EAAE,YAAY;IAClB,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,6BAA6B,CAAC;SACtC;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,mBAAmB;YACzB,GAAG,EAAE,8BAA8B;SACpC;KACF;IACD,SAAS,EAAE;QACT,GAAG,4BAAW,CAAC,SAAS;QACxB,cAAc,EAAE;YACd,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;aACtD;SACF;QACD,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,OAAO;SACtB;QACD,MAAM,EAAE;YACN,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;aACtD;SACF;KACF;IACD,QAAQ;CACT,CAAC,CAAA"}
|
@@ -22,6 +22,11 @@ exports.optimismGoerli = (0, defineChain_js_1.defineChain)({
|
|
22
22
|
},
|
23
23
|
contracts: {
|
24
24
|
...chainConfig_js_1.chainConfig.contracts,
|
25
|
+
l2OutputOracle: {
|
26
|
+
[sourceId]: {
|
27
|
+
address: '0xE6Dfba0953616Bacab0c9A8ecb3a9BBa77FC15c0',
|
28
|
+
},
|
29
|
+
},
|
25
30
|
multicall3: {
|
26
31
|
address: '0xca11bde05977b3631167028862be2a173976ca11',
|
27
32
|
blockCreated: 49461,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"optimismGoerli.js","sourceRoot":"","sources":["../../../chains/definitions/optimismGoerli.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAC9D,8DAAuD;AAEvD,MAAM,QAAQ,GAAG,CAAC,CAAA;AAEL,QAAA,cAAc,GAAiB,IAAA,4BAAW,EAAC;IACtD,GAAG,4BAAW;IACd,EAAE,EAAE,GAAG;IACP,IAAI,EAAE,iBAAiB;IACvB,cAAc,EAAE,EAAE,IAAI,EAAE,cAAc,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IACrE,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,4BAA4B,CAAC;SACrC;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,WAAW;YACjB,GAAG,EAAE,sCAAsC;SAC5C;KACF;IACD,SAAS,EAAE;QACT,GAAG,4BAAW,CAAC,SAAS;QACxB,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,KAAK;SACpB;QACD,MAAM,EAAE;YACN,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;aACtD;SACF;KACF;IACD,OAAO,EAAE,IAAI;IACb,QAAQ;CACT,CAAC,CAAA"}
|
1
|
+
{"version":3,"file":"optimismGoerli.js","sourceRoot":"","sources":["../../../chains/definitions/optimismGoerli.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAC9D,8DAAuD;AAEvD,MAAM,QAAQ,GAAG,CAAC,CAAA;AAEL,QAAA,cAAc,GAAiB,IAAA,4BAAW,EAAC;IACtD,GAAG,4BAAW;IACd,EAAE,EAAE,GAAG;IACP,IAAI,EAAE,iBAAiB;IACvB,cAAc,EAAE,EAAE,IAAI,EAAE,cAAc,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IACrE,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,4BAA4B,CAAC;SACrC;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,WAAW;YACjB,GAAG,EAAE,sCAAsC;SAC5C;KACF;IACD,SAAS,EAAE;QACT,GAAG,4BAAW,CAAC,SAAS;QACxB,cAAc,EAAE;YACd,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;aACtD;SACF;QACD,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,KAAK;SACpB;QACD,MAAM,EAAE;YACN,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;aACtD;SACF;KACF;IACD,OAAO,EAAE,IAAI;IACb,QAAQ;CACT,CAAC,CAAA"}
|
@@ -22,6 +22,11 @@ exports.optimismSepolia = (0, defineChain_js_1.defineChain)({
|
|
22
22
|
},
|
23
23
|
contracts: {
|
24
24
|
...chainConfig_js_1.chainConfig.contracts,
|
25
|
+
l2OutputOracle: {
|
26
|
+
[sourceId]: {
|
27
|
+
address: '0x90E9c4f8a994a250F6aEfd61CAFb4F2e895D458F',
|
28
|
+
},
|
29
|
+
},
|
25
30
|
multicall3: {
|
26
31
|
address: '0xca11bde05977b3631167028862be2a173976ca11',
|
27
32
|
blockCreated: 1620204,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"optimismSepolia.js","sourceRoot":"","sources":["../../../chains/definitions/optimismSepolia.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAC9D,8DAAuD;AAEvD,MAAM,QAAQ,GAAG,QAAU,CAAA;AAEd,QAAA,eAAe,GAAiB,IAAA,4BAAW,EAAC;IACvD,GAAG,4BAAW;IACd,EAAE,EAAE,QAAQ;IACZ,IAAI,EAAE,kBAAkB;IACxB,cAAc,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IACtE,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,6BAA6B,CAAC;SACtC;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,YAAY;YAClB,GAAG,EAAE,yCAAyC;SAC/C;KACF;IACD,SAAS,EAAE;QACT,GAAG,4BAAW,CAAC,SAAS;QACxB,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,OAAO;SACtB;QACD,MAAM,EAAE;YACN,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;aACtD;SACF;KACF;IACD,OAAO,EAAE,IAAI;IACb,QAAQ;CACT,CAAC,CAAA"}
|
1
|
+
{"version":3,"file":"optimismSepolia.js","sourceRoot":"","sources":["../../../chains/definitions/optimismSepolia.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAC9D,8DAAuD;AAEvD,MAAM,QAAQ,GAAG,QAAU,CAAA;AAEd,QAAA,eAAe,GAAiB,IAAA,4BAAW,EAAC;IACvD,GAAG,4BAAW;IACd,EAAE,EAAE,QAAQ;IACZ,IAAI,EAAE,kBAAkB;IACxB,cAAc,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IACtE,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,6BAA6B,CAAC;SACtC;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,YAAY;YAClB,GAAG,EAAE,yCAAyC;SAC/C;KACF;IACD,SAAS,EAAE;QACT,GAAG,4BAAW,CAAC,SAAS;QACxB,cAAc,EAAE;YACd,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;aACtD;SACF;QACD,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,OAAO;SACtB;QACD,MAAM,EAAE;YACN,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;aACtD;SACF;KACF;IACD,OAAO,EAAE,IAAI;IACb,QAAQ;CACT,CAAC,CAAA"}
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.pgn = void 0;
|
4
4
|
const defineChain_js_1 = require("../../utils/chain/defineChain.js");
|
5
5
|
const formatters_js_1 = require("../opStack/formatters.js");
|
6
|
+
const sourceId = 1;
|
6
7
|
exports.pgn = (0, defineChain_js_1.defineChain)({
|
7
8
|
id: 424,
|
8
9
|
network: 'pgn',
|
@@ -27,11 +28,22 @@ exports.pgn = (0, defineChain_js_1.defineChain)({
|
|
27
28
|
},
|
28
29
|
},
|
29
30
|
contracts: {
|
31
|
+
l2OutputOracle: {
|
32
|
+
[sourceId]: {
|
33
|
+
address: '0x9E6204F750cD866b299594e2aC9eA824E2e5f95c',
|
34
|
+
},
|
35
|
+
},
|
30
36
|
multicall3: {
|
31
37
|
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
32
38
|
blockCreated: 3380209,
|
33
39
|
},
|
40
|
+
portal: {
|
41
|
+
[sourceId]: {
|
42
|
+
address: '0xb26Fd985c5959bBB382BAFdD0b879E149e48116c',
|
43
|
+
},
|
44
|
+
},
|
34
45
|
},
|
35
46
|
formatters: formatters_js_1.formatters,
|
47
|
+
sourceId,
|
36
48
|
});
|
37
49
|
//# sourceMappingURL=pgn.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"pgn.js","sourceRoot":"","sources":["../../../chains/definitions/pgn.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAC9D,4DAAqD;
|
1
|
+
{"version":3,"file":"pgn.js","sourceRoot":"","sources":["../../../chains/definitions/pgn.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAC9D,4DAAqD;AAErD,MAAM,QAAQ,GAAG,CAAC,CAAA;AAEL,QAAA,GAAG,GAAiB,IAAA,4BAAW,EAAC;IAC3C,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,cAAc,EAAE;YACd,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;aACtD;SACF;QACD,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,OAAO;SACtB;QACD,MAAM,EAAE;YACN,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;aACtD;SACF;KACF;IACD,UAAU,EAAV,0BAAU;IACV,QAAQ;CACT,CAAC,CAAA"}
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.pgnTestnet = void 0;
|
4
4
|
const defineChain_js_1 = require("../../utils/chain/defineChain.js");
|
5
5
|
const formatters_js_1 = require("../opStack/formatters.js");
|
6
|
+
const sourceId = 11155111;
|
6
7
|
exports.pgnTestnet = (0, defineChain_js_1.defineChain)({
|
7
8
|
id: 58008,
|
8
9
|
network: 'pgn-testnet',
|
@@ -27,12 +28,18 @@ exports.pgnTestnet = (0, defineChain_js_1.defineChain)({
|
|
27
28
|
},
|
28
29
|
},
|
29
30
|
contracts: {
|
31
|
+
l2OutputOracle: {
|
32
|
+
[sourceId]: {
|
33
|
+
address: '0xD5bAc3152ffC25318F848B3DD5dA6C85171BaEEe',
|
34
|
+
},
|
35
|
+
},
|
30
36
|
multicall3: {
|
31
37
|
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
32
38
|
blockCreated: 3754925,
|
33
39
|
},
|
34
40
|
},
|
35
41
|
formatters: formatters_js_1.formatters,
|
42
|
+
sourceId,
|
36
43
|
testnet: true,
|
37
44
|
});
|
38
45
|
//# sourceMappingURL=pgnTestnet.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"pgnTestnet.js","sourceRoot":"","sources":["../../../chains/definitions/pgnTestnet.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAC9D,4DAAqD;
|
1
|
+
{"version":3,"file":"pgnTestnet.js","sourceRoot":"","sources":["../../../chains/definitions/pgnTestnet.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAC9D,4DAAqD;AAErD,MAAM,QAAQ,GAAG,QAAU,CAAA;AAEd,QAAA,UAAU,GAAiB,IAAA,4BAAW,EAAC;IAClD,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,cAAc,EAAE;YACd,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;aACtD;SACF;QACD,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,OAAO;SACtB;KACF;IACD,UAAU,EAAV,0BAAU;IACV,QAAQ;IACR,OAAO,EAAE,IAAI;CACd,CAAC,CAAA"}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.zilliqa = void 0;
|
4
|
+
const defineChain_js_1 = require("../../utils/chain/defineChain.js");
|
5
|
+
exports.zilliqa = (0, defineChain_js_1.defineChain)({
|
6
|
+
id: 32769,
|
7
|
+
name: 'Zilliqa',
|
8
|
+
network: 'zilliqa',
|
9
|
+
nativeCurrency: { name: 'Zilliqa', symbol: 'ZIL', decimals: 18 },
|
10
|
+
rpcUrls: {
|
11
|
+
default: {
|
12
|
+
http: ['https://api.zilliqa.com'],
|
13
|
+
},
|
14
|
+
public: {
|
15
|
+
http: ['https://api.zilliqa.com'],
|
16
|
+
},
|
17
|
+
},
|
18
|
+
blockExplorers: {
|
19
|
+
default: {
|
20
|
+
name: 'Ethernal',
|
21
|
+
url: 'https://evmx.zilliqa.com',
|
22
|
+
},
|
23
|
+
},
|
24
|
+
testnet: false,
|
25
|
+
});
|
26
|
+
//# sourceMappingURL=zilliqa.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"zilliqa.js","sourceRoot":"","sources":["../../../chains/definitions/zilliqa.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAEjD,QAAA,OAAO,GAAiB,IAAA,4BAAW,EAAC;IAC/C,EAAE,EAAE,KAAK;IACT,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,SAAS;IAClB,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,yBAAyB,CAAC;SAClC;QACD,MAAM,EAAE;YACN,IAAI,EAAE,CAAC,yBAAyB,CAAC;SAClC;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,UAAU;YAChB,GAAG,EAAE,0BAA0B;SAChC;KACF;IACD,OAAO,EAAE,KAAK;CACf,CAAC,CAAA"}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.zilliqaTestnet = void 0;
|
4
|
+
const defineChain_js_1 = require("../../utils/chain/defineChain.js");
|
5
|
+
exports.zilliqaTestnet = (0, defineChain_js_1.defineChain)({
|
6
|
+
id: 33101,
|
7
|
+
name: 'Zilliqa Testnet',
|
8
|
+
network: 'zilliqa-testnet',
|
9
|
+
nativeCurrency: { name: 'Zilliqa', symbol: 'ZIL', decimals: 18 },
|
10
|
+
rpcUrls: {
|
11
|
+
default: {
|
12
|
+
http: ['https://dev-api.zilliqa.com'],
|
13
|
+
},
|
14
|
+
public: {
|
15
|
+
http: ['https://dev-api.zilliqa.com'],
|
16
|
+
},
|
17
|
+
},
|
18
|
+
blockExplorers: {
|
19
|
+
default: {
|
20
|
+
name: 'Ethernal',
|
21
|
+
url: 'https://evmx.testnet.zilliqa.com',
|
22
|
+
},
|
23
|
+
},
|
24
|
+
testnet: true,
|
25
|
+
});
|
26
|
+
//# sourceMappingURL=zilliqaTestnet.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"zilliqaTestnet.js","sourceRoot":"","sources":["../../../chains/definitions/zilliqaTestnet.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAEjD,QAAA,cAAc,GAAiB,IAAA,4BAAW,EAAC;IACtD,EAAE,EAAE,KAAK;IACT,IAAI,EAAE,iBAAiB;IACvB,OAAO,EAAE,iBAAiB;IAC1B,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,6BAA6B,CAAC;SACtC;QACD,MAAM,EAAE;YACN,IAAI,EAAE,CAAC,6BAA6B,CAAC;SACtC;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,UAAU;YAChB,GAAG,EAAE,kCAAkC;SACxC;KACF;IACD,OAAO,EAAE,IAAI;CACd,CAAC,CAAA"}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.zkSyncSepoliaTestnet = void 0;
|
4
|
+
const defineChain_js_1 = require("../../utils/chain/defineChain.js");
|
5
|
+
const chainConfig_js_1 = require("../zksync/chainConfig.js");
|
6
|
+
exports.zkSyncSepoliaTestnet = (0, defineChain_js_1.defineChain)({
|
7
|
+
...chainConfig_js_1.chainConfig,
|
8
|
+
id: 300,
|
9
|
+
name: 'zkSync Sepolia Testnet',
|
10
|
+
network: 'zksync-sepolia-testnet',
|
11
|
+
nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 },
|
12
|
+
rpcUrls: {
|
13
|
+
default: {
|
14
|
+
http: ['https://sepolia.era.zksync.dev'],
|
15
|
+
webSocket: ['wss://sepolia.era.zksync.dev/ws'],
|
16
|
+
},
|
17
|
+
public: {
|
18
|
+
http: ['https://sepolia.era.zksync.dev'],
|
19
|
+
webSocket: ['wss://sepolia.era.zksync.dev/ws'],
|
20
|
+
},
|
21
|
+
},
|
22
|
+
blockExplorers: {
|
23
|
+
default: {
|
24
|
+
name: 'zkExplorer',
|
25
|
+
url: 'https://sepolia.explorer.zksync.io/',
|
26
|
+
},
|
27
|
+
},
|
28
|
+
contracts: {
|
29
|
+
multicall3: {
|
30
|
+
address: '0xF9cda624FBC7e059355ce98a31693d299FACd963',
|
31
|
+
},
|
32
|
+
},
|
33
|
+
testnet: true,
|
34
|
+
});
|
35
|
+
//# sourceMappingURL=zkSyncSepoliaTestnet.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"zkSyncSepoliaTestnet.js","sourceRoot":"","sources":["../../../chains/definitions/zkSyncSepoliaTestnet.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAC9D,6DAAsD;AAEzC,QAAA,oBAAoB,GAAiB,IAAA,4BAAW,EAAC;IAC5D,GAAG,4BAAW;IACd,EAAE,EAAE,GAAG;IACP,IAAI,EAAE,wBAAwB;IAC9B,OAAO,EAAE,wBAAwB;IACjC,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,gCAAgC,CAAC;YACxC,SAAS,EAAE,CAAC,iCAAiC,CAAC;SAC/C;QACD,MAAM,EAAE;YACN,IAAI,EAAE,CAAC,gCAAgC,CAAC;YACxC,SAAS,EAAE,CAAC,iCAAiC,CAAC;SAC/C;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,YAAY;YAClB,GAAG,EAAE,qCAAqC;SAC3C;KACF;IACD,SAAS,EAAE;QACT,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;SACtD;KACF;IACD,OAAO,EAAE,IAAI;CACd,CAAC,CAAA"}
|
@@ -14,6 +14,10 @@ exports.zkSyncTestnet = (0, defineChain_js_1.defineChain)({
|
|
14
14
|
http: ['https://testnet.era.zksync.dev'],
|
15
15
|
webSocket: ['wss://testnet.era.zksync.dev/ws'],
|
16
16
|
},
|
17
|
+
public: {
|
18
|
+
http: ['https://testnet.era.zksync.dev'],
|
19
|
+
webSocket: ['wss://testnet.era.zksync.dev/ws'],
|
20
|
+
},
|
17
21
|
},
|
18
22
|
blockExplorers: {
|
19
23
|
default: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"zkSyncTestnet.js","sourceRoot":"","sources":["../../../chains/definitions/zkSyncTestnet.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAC9D,6DAAsD;
|
1
|
+
{"version":3,"file":"zkSyncTestnet.js","sourceRoot":"","sources":["../../../chains/definitions/zkSyncTestnet.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAC9D,6DAAsD;AAGzC,QAAA,aAAa,GAAiB,IAAA,4BAAW,EAAC;IACrD,GAAG,4BAAW;IACd,EAAE,EAAE,GAAG;IACP,IAAI,EAAE,oBAAoB;IAC1B,OAAO,EAAE,oBAAoB;IAC7B,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,gCAAgC,CAAC;YACxC,SAAS,EAAE,CAAC,iCAAiC,CAAC;SAC/C;QACD,MAAM,EAAE;YACN,IAAI,EAAE,CAAC,gCAAgC,CAAC;YACxC,SAAS,EAAE,CAAC,iCAAiC,CAAC;SAC/C;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,YAAY;YAClB,GAAG,EAAE,mCAAmC;SACzC;KACF;IACD,SAAS,EAAE;QACT,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;SACtD;KACF;IACD,OAAO,EAAE,IAAI;CACd,CAAC,CAAA"}
|
@@ -24,6 +24,11 @@ exports.zora = (0, defineChain_js_1.defineChain)({
|
|
24
24
|
},
|
25
25
|
contracts: {
|
26
26
|
...chainConfig_js_1.chainConfig.contracts,
|
27
|
+
l2OutputOracle: {
|
28
|
+
[sourceId]: {
|
29
|
+
address: '0x9E6204F750cD866b299594e2aC9eA824E2e5f95c',
|
30
|
+
},
|
31
|
+
},
|
27
32
|
multicall3: {
|
28
33
|
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
29
34
|
blockCreated: 5882,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"zora.js","sourceRoot":"","sources":["../../../chains/definitions/zora.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAC9D,8DAAuD;AAEvD,MAAM,QAAQ,GAAG,CAAC,CAAA;AAEL,QAAA,IAAI,GAAiB,IAAA,4BAAW,EAAC;IAC5C,GAAG,4BAAW;IACd,EAAE,EAAE,OAAO;IACX,IAAI,EAAE,MAAM;IACZ,cAAc,EAAE;QACd,QAAQ,EAAE,EAAE;QACZ,IAAI,EAAE,OAAO;QACb,MAAM,EAAE,KAAK;KACd;IACD,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,yBAAyB,CAAC;YACjC,SAAS,EAAE,CAAC,uBAAuB,CAAC;SACrC;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,GAAG,EAAE,8BAA8B,EAAE;KACnE;IACD,SAAS,EAAE;QACT,GAAG,4BAAW,CAAC,SAAS;QACxB,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,IAAI;SACnB;QACD,MAAM,EAAE;YACN,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;aACtD;SACF;KACF;IACD,QAAQ;CACT,CAAC,CAAA"}
|
1
|
+
{"version":3,"file":"zora.js","sourceRoot":"","sources":["../../../chains/definitions/zora.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAC9D,8DAAuD;AAEvD,MAAM,QAAQ,GAAG,CAAC,CAAA;AAEL,QAAA,IAAI,GAAiB,IAAA,4BAAW,EAAC;IAC5C,GAAG,4BAAW;IACd,EAAE,EAAE,OAAO;IACX,IAAI,EAAE,MAAM;IACZ,cAAc,EAAE;QACd,QAAQ,EAAE,EAAE;QACZ,IAAI,EAAE,OAAO;QACb,MAAM,EAAE,KAAK;KACd;IACD,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,yBAAyB,CAAC;YACjC,SAAS,EAAE,CAAC,uBAAuB,CAAC;SACrC;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,GAAG,EAAE,8BAA8B,EAAE;KACnE;IACD,SAAS,EAAE;QACT,GAAG,4BAAW,CAAC,SAAS;QACxB,cAAc,EAAE;YACd,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;aACtD;SACF;QACD,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,IAAI;SACnB;QACD,MAAM,EAAE;YACN,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;aACtD;SACF;KACF;IACD,QAAQ;CACT,CAAC,CAAA"}
|