├── .editorconfig ├── .eslintignore ├── .eslintrc.json ├── .github ├── CODEOWNERS ├── CONTRIBUTING.md ├── ISSUE_TEMPLATE │ ├── bug_report.md │ ├── config.yml │ └── feature_report.md ├── RELEASE.md ├── pull_request_template.md └── workflows │ ├── docs.yml │ ├── publish.yml │ ├── release.yml │ ├── test.yml │ └── validate.yml ├── .gitignore ├── .nycrc ├── .prettierignore ├── .prettierrc.js ├── .releaserc ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── LICENSE-APACHE ├── LICENSE-MIT ├── README.md ├── SECURITY.md ├── abi ├── Contract2Factory.json ├── IAssetRouterBase.json ├── IBridgedStandardToken.json ├── IBridgehub.json ├── IContractDeployer.json ├── IERC1271.json ├── IERC20.json ├── IEthToken.json ├── IL1AssetRouter.json ├── IL1Bridge.json ├── IL1ERC20Bridge.json ├── IL1Messenger.json ├── IL1NativeTokenVault.json ├── IL1Nullifier.json ├── IL1SharedBridge.json ├── IL2AssetRouter.json ├── IL2Bridge.json ├── IL2NativeTokenVault.json ├── IL2SharedBridge.json ├── INonceHolder.json ├── IPaymasterFlow.json ├── ITestnetERC20Token.json ├── IZkSync.json ├── IZkSyncHyperchain.json ├── L2InteropRootStorage.json └── L2MessageVerification.json ├── logo.svg ├── package.json ├── scripts ├── entrypoint.sh └── update-abi.sh ├── src ├── adapters.ts ├── bridges │ ├── abstractBridge.ts │ └── usdcBridge.ts ├── contract.ts ├── format.ts ├── index.ts ├── interop-client.ts ├── interop-utils.ts ├── paymaster-utils.ts ├── provider.ts ├── signer.ts ├── smart-account-utils.ts ├── smart-account.ts ├── typechain │ ├── Contract2Factory.ts │ ├── IAssetRouterBase.ts │ ├── IBridgedStandardToken.ts │ ├── IBridgehub.ts │ ├── IContractDeployer.ts │ ├── IERC1271.ts │ ├── IERC20.ts │ ├── IEthToken.ts │ ├── IL1AssetRouter.ts │ ├── IL1Bridge.ts │ ├── IL1ERC20Bridge.ts │ ├── IL1Messenger.ts │ ├── IL1NativeTokenVault.ts │ ├── IL1Nullifier.ts │ ├── IL1SharedBridge.ts │ ├── IL2AssetRouter.ts │ ├── IL2Bridge.ts │ ├── IL2NativeTokenVault.ts │ ├── IL2SharedBridge.ts │ ├── INonceHolder.ts │ ├── IPaymasterFlow.ts │ ├── ITestnetERC20Token.ts │ ├── IZkSync.ts │ ├── IZkSyncHyperchain.ts │ ├── common.ts │ ├── factories │ │ ├── Contract2Factory__factory.ts │ │ ├── IAssetRouterBase__factory.ts │ │ ├── IBridgedStandardToken__factory.ts │ │ ├── IBridgehub__factory.ts │ │ ├── IContractDeployer__factory.ts │ │ ├── IERC1271__factory.ts │ │ ├── IERC20__factory.ts │ │ ├── IEthToken__factory.ts │ │ ├── IL1AssetRouter__factory.ts │ │ ├── IL1Bridge__factory.ts │ │ ├── IL1ERC20Bridge__factory.ts │ │ ├── IL1Messenger__factory.ts │ │ ├── IL1NativeTokenVault__factory.ts │ │ ├── IL1Nullifier__factory.ts │ │ ├── IL1SharedBridge__factory.ts │ │ ├── IL2AssetRouter__factory.ts │ │ ├── IL2Bridge__factory.ts │ │ ├── IL2NativeTokenVault__factory.ts │ │ ├── IL2SharedBridge__factory.ts │ │ ├── INonceHolder__factory.ts │ │ ├── IPaymasterFlow__factory.ts │ │ ├── ITestnetERC20Token__factory.ts │ │ ├── IZkSyncHyperchain__factory.ts │ │ ├── IZkSync__factory.ts │ │ └── index.ts │ └── index.ts ├── types.ts ├── utils.ts └── wallet.ts ├── tests ├── custom-matchers.ts ├── files │ ├── CustomBridgeL1.json │ ├── CustomBridgeL2.json │ ├── Demo.json │ ├── Paymaster.json │ ├── Storage.json │ ├── Token.json │ ├── TokenL1.json │ ├── TokenL2Bridged.json │ ├── TwoUserMultisig.json │ ├── customBridge.json │ ├── diamondProxy.json │ ├── tokens.json │ └── wallet.json ├── integration │ ├── account-abstraction.test.ts │ ├── contract.test.ts │ ├── format.test.ts │ ├── provider.test.ts │ ├── signer.test.ts │ ├── smart-account.test.ts │ ├── types.test.ts │ ├── utils.test.ts │ └── wallet.test.ts ├── setup.ts ├── tokens.json ├── unit │ ├── paymaster.test.ts │ ├── provider.test.ts │ ├── signer.test.ts │ ├── smart-account.test.ts │ └── utils.test.ts ├── utils.ts └── wait.ts ├── tsconfig.json ├── tsconfig.test.json ├── typedoc.json └── yarn.lock /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/.eslintignore -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/.github/CODEOWNERS -------------------------------------------------------------------------------- /.github/CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/.github/CONTRIBUTING.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/.github/ISSUE_TEMPLATE/config.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/.github/ISSUE_TEMPLATE/feature_report.md -------------------------------------------------------------------------------- /.github/RELEASE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/.github/RELEASE.md -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/.github/pull_request_template.md -------------------------------------------------------------------------------- /.github/workflows/docs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/.github/workflows/docs.yml -------------------------------------------------------------------------------- /.github/workflows/publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/.github/workflows/publish.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.github/workflows/validate.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/.github/workflows/validate.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/.gitignore -------------------------------------------------------------------------------- /.nycrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/.nycrc -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | ...require('gts/.prettierrc.json'), 3 | }; 4 | -------------------------------------------------------------------------------- /.releaserc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/.releaserc -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /LICENSE-APACHE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/LICENSE-APACHE -------------------------------------------------------------------------------- /LICENSE-MIT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/LICENSE-MIT -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/SECURITY.md -------------------------------------------------------------------------------- /abi/Contract2Factory.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/abi/Contract2Factory.json -------------------------------------------------------------------------------- /abi/IAssetRouterBase.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/abi/IAssetRouterBase.json -------------------------------------------------------------------------------- /abi/IBridgedStandardToken.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/abi/IBridgedStandardToken.json -------------------------------------------------------------------------------- /abi/IBridgehub.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/abi/IBridgehub.json -------------------------------------------------------------------------------- /abi/IContractDeployer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/abi/IContractDeployer.json -------------------------------------------------------------------------------- /abi/IERC1271.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/abi/IERC1271.json -------------------------------------------------------------------------------- /abi/IERC20.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/abi/IERC20.json -------------------------------------------------------------------------------- /abi/IEthToken.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/abi/IEthToken.json -------------------------------------------------------------------------------- /abi/IL1AssetRouter.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/abi/IL1AssetRouter.json -------------------------------------------------------------------------------- /abi/IL1Bridge.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/abi/IL1Bridge.json -------------------------------------------------------------------------------- /abi/IL1ERC20Bridge.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/abi/IL1ERC20Bridge.json -------------------------------------------------------------------------------- /abi/IL1Messenger.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/abi/IL1Messenger.json -------------------------------------------------------------------------------- /abi/IL1NativeTokenVault.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/abi/IL1NativeTokenVault.json -------------------------------------------------------------------------------- /abi/IL1Nullifier.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/abi/IL1Nullifier.json -------------------------------------------------------------------------------- /abi/IL1SharedBridge.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/abi/IL1SharedBridge.json -------------------------------------------------------------------------------- /abi/IL2AssetRouter.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/abi/IL2AssetRouter.json -------------------------------------------------------------------------------- /abi/IL2Bridge.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/abi/IL2Bridge.json -------------------------------------------------------------------------------- /abi/IL2NativeTokenVault.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/abi/IL2NativeTokenVault.json -------------------------------------------------------------------------------- /abi/IL2SharedBridge.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/abi/IL2SharedBridge.json -------------------------------------------------------------------------------- /abi/INonceHolder.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/abi/INonceHolder.json -------------------------------------------------------------------------------- /abi/IPaymasterFlow.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/abi/IPaymasterFlow.json -------------------------------------------------------------------------------- /abi/ITestnetERC20Token.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/abi/ITestnetERC20Token.json -------------------------------------------------------------------------------- /abi/IZkSync.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/abi/IZkSync.json -------------------------------------------------------------------------------- /abi/IZkSyncHyperchain.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/abi/IZkSyncHyperchain.json -------------------------------------------------------------------------------- /abi/L2InteropRootStorage.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/abi/L2InteropRootStorage.json -------------------------------------------------------------------------------- /abi/L2MessageVerification.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/abi/L2MessageVerification.json -------------------------------------------------------------------------------- /logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/logo.svg -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/package.json -------------------------------------------------------------------------------- /scripts/entrypoint.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/scripts/entrypoint.sh -------------------------------------------------------------------------------- /scripts/update-abi.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/scripts/update-abi.sh -------------------------------------------------------------------------------- /src/adapters.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/adapters.ts -------------------------------------------------------------------------------- /src/bridges/abstractBridge.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/bridges/abstractBridge.ts -------------------------------------------------------------------------------- /src/bridges/usdcBridge.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/bridges/usdcBridge.ts -------------------------------------------------------------------------------- /src/contract.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/contract.ts -------------------------------------------------------------------------------- /src/format.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/format.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/interop-client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/interop-client.ts -------------------------------------------------------------------------------- /src/interop-utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/interop-utils.ts -------------------------------------------------------------------------------- /src/paymaster-utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/paymaster-utils.ts -------------------------------------------------------------------------------- /src/provider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/provider.ts -------------------------------------------------------------------------------- /src/signer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/signer.ts -------------------------------------------------------------------------------- /src/smart-account-utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/smart-account-utils.ts -------------------------------------------------------------------------------- /src/smart-account.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/smart-account.ts -------------------------------------------------------------------------------- /src/typechain/Contract2Factory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/typechain/Contract2Factory.ts -------------------------------------------------------------------------------- /src/typechain/IAssetRouterBase.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/typechain/IAssetRouterBase.ts -------------------------------------------------------------------------------- /src/typechain/IBridgedStandardToken.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/typechain/IBridgedStandardToken.ts -------------------------------------------------------------------------------- /src/typechain/IBridgehub.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/typechain/IBridgehub.ts -------------------------------------------------------------------------------- /src/typechain/IContractDeployer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/typechain/IContractDeployer.ts -------------------------------------------------------------------------------- /src/typechain/IERC1271.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/typechain/IERC1271.ts -------------------------------------------------------------------------------- /src/typechain/IERC20.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/typechain/IERC20.ts -------------------------------------------------------------------------------- /src/typechain/IEthToken.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/typechain/IEthToken.ts -------------------------------------------------------------------------------- /src/typechain/IL1AssetRouter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/typechain/IL1AssetRouter.ts -------------------------------------------------------------------------------- /src/typechain/IL1Bridge.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/typechain/IL1Bridge.ts -------------------------------------------------------------------------------- /src/typechain/IL1ERC20Bridge.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/typechain/IL1ERC20Bridge.ts -------------------------------------------------------------------------------- /src/typechain/IL1Messenger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/typechain/IL1Messenger.ts -------------------------------------------------------------------------------- /src/typechain/IL1NativeTokenVault.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/typechain/IL1NativeTokenVault.ts -------------------------------------------------------------------------------- /src/typechain/IL1Nullifier.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/typechain/IL1Nullifier.ts -------------------------------------------------------------------------------- /src/typechain/IL1SharedBridge.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/typechain/IL1SharedBridge.ts -------------------------------------------------------------------------------- /src/typechain/IL2AssetRouter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/typechain/IL2AssetRouter.ts -------------------------------------------------------------------------------- /src/typechain/IL2Bridge.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/typechain/IL2Bridge.ts -------------------------------------------------------------------------------- /src/typechain/IL2NativeTokenVault.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/typechain/IL2NativeTokenVault.ts -------------------------------------------------------------------------------- /src/typechain/IL2SharedBridge.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/typechain/IL2SharedBridge.ts -------------------------------------------------------------------------------- /src/typechain/INonceHolder.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/typechain/INonceHolder.ts -------------------------------------------------------------------------------- /src/typechain/IPaymasterFlow.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/typechain/IPaymasterFlow.ts -------------------------------------------------------------------------------- /src/typechain/ITestnetERC20Token.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/typechain/ITestnetERC20Token.ts -------------------------------------------------------------------------------- /src/typechain/IZkSync.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/typechain/IZkSync.ts -------------------------------------------------------------------------------- /src/typechain/IZkSyncHyperchain.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/typechain/IZkSyncHyperchain.ts -------------------------------------------------------------------------------- /src/typechain/common.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/typechain/common.ts -------------------------------------------------------------------------------- /src/typechain/factories/Contract2Factory__factory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/typechain/factories/Contract2Factory__factory.ts -------------------------------------------------------------------------------- /src/typechain/factories/IAssetRouterBase__factory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/typechain/factories/IAssetRouterBase__factory.ts -------------------------------------------------------------------------------- /src/typechain/factories/IBridgedStandardToken__factory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/typechain/factories/IBridgedStandardToken__factory.ts -------------------------------------------------------------------------------- /src/typechain/factories/IBridgehub__factory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/typechain/factories/IBridgehub__factory.ts -------------------------------------------------------------------------------- /src/typechain/factories/IContractDeployer__factory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/typechain/factories/IContractDeployer__factory.ts -------------------------------------------------------------------------------- /src/typechain/factories/IERC1271__factory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/typechain/factories/IERC1271__factory.ts -------------------------------------------------------------------------------- /src/typechain/factories/IERC20__factory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/typechain/factories/IERC20__factory.ts -------------------------------------------------------------------------------- /src/typechain/factories/IEthToken__factory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/typechain/factories/IEthToken__factory.ts -------------------------------------------------------------------------------- /src/typechain/factories/IL1AssetRouter__factory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/typechain/factories/IL1AssetRouter__factory.ts -------------------------------------------------------------------------------- /src/typechain/factories/IL1Bridge__factory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/typechain/factories/IL1Bridge__factory.ts -------------------------------------------------------------------------------- /src/typechain/factories/IL1ERC20Bridge__factory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/typechain/factories/IL1ERC20Bridge__factory.ts -------------------------------------------------------------------------------- /src/typechain/factories/IL1Messenger__factory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/typechain/factories/IL1Messenger__factory.ts -------------------------------------------------------------------------------- /src/typechain/factories/IL1NativeTokenVault__factory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/typechain/factories/IL1NativeTokenVault__factory.ts -------------------------------------------------------------------------------- /src/typechain/factories/IL1Nullifier__factory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/typechain/factories/IL1Nullifier__factory.ts -------------------------------------------------------------------------------- /src/typechain/factories/IL1SharedBridge__factory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/typechain/factories/IL1SharedBridge__factory.ts -------------------------------------------------------------------------------- /src/typechain/factories/IL2AssetRouter__factory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/typechain/factories/IL2AssetRouter__factory.ts -------------------------------------------------------------------------------- /src/typechain/factories/IL2Bridge__factory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/typechain/factories/IL2Bridge__factory.ts -------------------------------------------------------------------------------- /src/typechain/factories/IL2NativeTokenVault__factory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/typechain/factories/IL2NativeTokenVault__factory.ts -------------------------------------------------------------------------------- /src/typechain/factories/IL2SharedBridge__factory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/typechain/factories/IL2SharedBridge__factory.ts -------------------------------------------------------------------------------- /src/typechain/factories/INonceHolder__factory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/typechain/factories/INonceHolder__factory.ts -------------------------------------------------------------------------------- /src/typechain/factories/IPaymasterFlow__factory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/typechain/factories/IPaymasterFlow__factory.ts -------------------------------------------------------------------------------- /src/typechain/factories/ITestnetERC20Token__factory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/typechain/factories/ITestnetERC20Token__factory.ts -------------------------------------------------------------------------------- /src/typechain/factories/IZkSyncHyperchain__factory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/typechain/factories/IZkSyncHyperchain__factory.ts -------------------------------------------------------------------------------- /src/typechain/factories/IZkSync__factory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/typechain/factories/IZkSync__factory.ts -------------------------------------------------------------------------------- /src/typechain/factories/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/typechain/factories/index.ts -------------------------------------------------------------------------------- /src/typechain/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/typechain/index.ts -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/types.ts -------------------------------------------------------------------------------- /src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/utils.ts -------------------------------------------------------------------------------- /src/wallet.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/src/wallet.ts -------------------------------------------------------------------------------- /tests/custom-matchers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/tests/custom-matchers.ts -------------------------------------------------------------------------------- /tests/files/CustomBridgeL1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/tests/files/CustomBridgeL1.json -------------------------------------------------------------------------------- /tests/files/CustomBridgeL2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/tests/files/CustomBridgeL2.json -------------------------------------------------------------------------------- /tests/files/Demo.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/tests/files/Demo.json -------------------------------------------------------------------------------- /tests/files/Paymaster.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/tests/files/Paymaster.json -------------------------------------------------------------------------------- /tests/files/Storage.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/tests/files/Storage.json -------------------------------------------------------------------------------- /tests/files/Token.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/tests/files/Token.json -------------------------------------------------------------------------------- /tests/files/TokenL1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/tests/files/TokenL1.json -------------------------------------------------------------------------------- /tests/files/TokenL2Bridged.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/tests/files/TokenL2Bridged.json -------------------------------------------------------------------------------- /tests/files/TwoUserMultisig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/tests/files/TwoUserMultisig.json -------------------------------------------------------------------------------- /tests/files/customBridge.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/tests/files/customBridge.json -------------------------------------------------------------------------------- /tests/files/diamondProxy.json: -------------------------------------------------------------------------------- 1 | { 2 | "address": "" 3 | } 4 | -------------------------------------------------------------------------------- /tests/files/tokens.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/tests/files/tokens.json -------------------------------------------------------------------------------- /tests/files/wallet.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/tests/files/wallet.json -------------------------------------------------------------------------------- /tests/integration/account-abstraction.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/tests/integration/account-abstraction.test.ts -------------------------------------------------------------------------------- /tests/integration/contract.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/tests/integration/contract.test.ts -------------------------------------------------------------------------------- /tests/integration/format.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/tests/integration/format.test.ts -------------------------------------------------------------------------------- /tests/integration/provider.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/tests/integration/provider.test.ts -------------------------------------------------------------------------------- /tests/integration/signer.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/tests/integration/signer.test.ts -------------------------------------------------------------------------------- /tests/integration/smart-account.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/tests/integration/smart-account.test.ts -------------------------------------------------------------------------------- /tests/integration/types.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/tests/integration/types.test.ts -------------------------------------------------------------------------------- /tests/integration/utils.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/tests/integration/utils.test.ts -------------------------------------------------------------------------------- /tests/integration/wallet.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/tests/integration/wallet.test.ts -------------------------------------------------------------------------------- /tests/setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/tests/setup.ts -------------------------------------------------------------------------------- /tests/tokens.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/tests/tokens.json -------------------------------------------------------------------------------- /tests/unit/paymaster.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/tests/unit/paymaster.test.ts -------------------------------------------------------------------------------- /tests/unit/provider.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/tests/unit/provider.test.ts -------------------------------------------------------------------------------- /tests/unit/signer.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/tests/unit/signer.test.ts -------------------------------------------------------------------------------- /tests/unit/smart-account.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/tests/unit/smart-account.test.ts -------------------------------------------------------------------------------- /tests/unit/utils.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/tests/unit/utils.test.ts -------------------------------------------------------------------------------- /tests/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/tests/utils.ts -------------------------------------------------------------------------------- /tests/wait.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/tests/wait.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/tsconfig.test.json -------------------------------------------------------------------------------- /typedoc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/typedoc.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zksync-sdk/zksync-ethers/HEAD/yarn.lock --------------------------------------------------------------------------------