├── .env.example ├── .eslintignore ├── .eslintrc.js ├── .github ├── dependabot.yml └── workflows │ ├── contracts.yml │ ├── docker-release.yml │ └── zizmor.yml ├── .gitignore ├── .gitmodules ├── .husky └── pre-commit ├── .npmignore ├── .nvmrc ├── .prettierignore ├── .prettierrc ├── .solcover.js ├── .solhint.json ├── .solhintignore ├── README.md ├── circomlib.d.ts ├── foundry.toml ├── genesis.json.example ├── hardhat-test ├── EnforcedTxGateway.spec.ts ├── GasOptimizationUpgrade.spec.ts ├── L1BlockContainer.spec.ts ├── L1MessageQueue.spec.ts ├── PatriciaMerkleTrieVerifier.spec.ts ├── PoseidonHash.spec.ts ├── ZkEvmVerifierV1.spec.ts ├── ZkEvmVerifierV2.spec.ts ├── ZkTrieVerifier.spec.ts └── testdata │ ├── batch.commit.txt │ ├── batch.finalize.txt │ ├── plonk-verifier │ ├── v0.12.0-rc.2_pi.data │ ├── v0.12.0-rc.2_proof.data │ ├── v0.12.0-rc.3_pi.data │ ├── v0.12.0-rc.3_proof.data │ ├── v0.9.8_pi.data │ └── v0.9.8_proof.data │ └── poseidon_hash_with_domain.data ├── hardhat.config.ts ├── package.json ├── remappings.txt ├── scripts ├── deterministic │ ├── Configuration.sol │ ├── DeterministicDeployment.sol │ ├── contracts │ │ ├── MultipleVersionRollupVerifierSetOwner.sol │ │ ├── ProxyAdminSetOwner.sol │ │ └── ScrollStandardERC20FactorySetOwner.sol │ └── scroll │ │ ├── Constants.sol │ │ ├── DeployScroll.s.sol │ │ ├── GenerateConfigs.s.sol │ │ ├── GenerateGenesis.s.sol │ │ ├── ScrollConfiguration.sol │ │ ├── config │ │ ├── config-contracts.toml │ │ ├── config-contracts.toml.template │ │ └── config.toml │ │ └── shell │ │ ├── deploy.sh │ │ └── update-configs.sh ├── foundry │ ├── DeployFallbackContracts.s.sol │ ├── DeployL1BridgeContracts.s.sol │ ├── DeployL1BridgeProxyPlaceholder.s.sol │ ├── DeployL1ScrollOwner.s.sol │ ├── DeployL2BridgeContracts.s.sol │ ├── DeployL2BridgeProxyPlaceholder.s.sol │ ├── DeployL2ScrollOwner.s.sol │ ├── DeployLidoGateway.s.sol │ ├── DeployScrollChainCommitmentVerifier.s.sol │ ├── DeployWeth.s.sol │ ├── InitializeL1BridgeContracts.s.sol │ ├── InitializeL1ScrollOwner.s.sol │ ├── InitializeL2BridgeContracts.s.sol │ └── InitializeL2ScrollOwner.s.sol ├── hardhat │ └── ScrollChainCommitmentVerifier.deploy.ts └── poseidon.ts ├── src ├── External.sol ├── L1 │ ├── IL1ScrollMessenger.sol │ ├── L1ScrollMessenger.sol │ ├── gateways │ │ ├── EnforcedTxGateway.sol │ │ ├── IL1ERC1155Gateway.sol │ │ ├── IL1ERC20Gateway.sol │ │ ├── IL1ERC721Gateway.sol │ │ ├── IL1ETHGateway.sol │ │ ├── IL1GatewayRouter.sol │ │ ├── L1CustomERC20Gateway.sol │ │ ├── L1ERC1155Gateway.sol │ │ ├── L1ERC20Gateway.sol │ │ ├── L1ERC721Gateway.sol │ │ ├── L1ETHGateway.sol │ │ ├── L1GatewayRouter.sol │ │ ├── L1ReverseCustomERC20Gateway.sol │ │ ├── L1StandardERC20Gateway.sol │ │ ├── L1WETHGateway.sol │ │ └── usdc │ │ │ ├── L1USDCGateway.sol │ │ │ └── draft-L1USDCGatewayCCTP.sol │ ├── rollup │ │ ├── IL1MessageQueueV1.sol │ │ ├── IL1MessageQueueV2.sol │ │ ├── IL1MessageQueueWithGasPriceOracle.sol │ │ ├── IL2GasPriceOracle.sol │ │ ├── IScrollChain.sol │ │ ├── L1MessageQueueV1.sol │ │ ├── L1MessageQueueV1WithGasPriceOracle.sol │ │ ├── L1MessageQueueV2.sol │ │ ├── L2GasPriceOracle.sol │ │ ├── MultipleVersionRollupVerifier.sol │ │ ├── ScrollChain.sol │ │ └── ScrollChainCommitmentVerifier.sol │ └── system-contract │ │ └── SystemConfig.sol ├── L2 │ ├── IL2ScrollMessenger.sol │ ├── L2ScrollMessenger.sol │ ├── L2SystemConfig.sol │ ├── gateways │ │ ├── IL2ERC1155Gateway.sol │ │ ├── IL2ERC20Gateway.sol │ │ ├── IL2ERC721Gateway.sol │ │ ├── IL2ETHGateway.sol │ │ ├── IL2GatewayRouter.sol │ │ ├── L2CustomERC20Gateway.sol │ │ ├── L2ERC1155Gateway.sol │ │ ├── L2ERC20Gateway.sol │ │ ├── L2ERC721Gateway.sol │ │ ├── L2ETHGateway.sol │ │ ├── L2GatewayRouter.sol │ │ ├── L2ReverseCustomERC20Gateway.sol │ │ ├── L2StandardERC20Gateway.sol │ │ ├── L2WETHGateway.sol │ │ └── usdc │ │ │ ├── L2USDCGateway.sol │ │ │ └── draft-L2USDCGatewayCCTP.sol │ └── predeploys │ │ ├── IL1BlockContainer.sol │ │ ├── IL1GasPriceOracle.sol │ │ ├── L1BlockContainer.sol │ │ ├── L1GasPriceOracle.sol │ │ ├── L2MessageQueue.sol │ │ ├── L2TxFeeVault.sol │ │ ├── Whitelist.sol │ │ └── WrappedEther.sol ├── LICENSE ├── README.md ├── batch-bridge │ ├── BatchBridgeCodec.sol │ ├── L1BatchBridgeGateway.sol │ └── L2BatchBridgeGateway.sol ├── interfaces │ ├── IFiatToken.sol │ ├── IMessageTransmitter.sol │ ├── ITokenMessenger.sol │ ├── IUSDCBurnableSourceBridge.sol │ ├── IUSDCDestinationBridge.sol │ ├── IWETH.sol │ └── ScrollChainInterface.sol ├── libraries │ ├── IScrollMessenger.sol │ ├── ScrollMessengerBase.sol │ ├── callbacks │ │ ├── IERC677Receiver.sol │ │ └── IScrollGatewayCallback.sol │ ├── codec │ │ ├── BatchHeaderV0Codec.sol │ │ ├── BatchHeaderV1Codec.sol │ │ ├── BatchHeaderV3Codec.sol │ │ ├── BatchHeaderV7Codec.sol │ │ ├── ChunkCodecV0.sol │ │ └── ChunkCodecV1.sol │ ├── common │ │ ├── AddressAliasHelper.sol │ │ ├── AppendOnlyMerkleTree.sol │ │ ├── IWhitelist.sol │ │ └── OwnableBase.sol │ ├── constants │ │ ├── ScrollConstants.sol │ │ └── ScrollPredeploy.sol │ ├── gateway │ │ ├── CCTPGatewayBase.sol │ │ ├── IScrollGateway.sol │ │ └── ScrollGatewayBase.sol │ ├── token │ │ ├── IScrollERC1155.sol │ │ ├── IScrollERC1155Extension.sol │ │ ├── IScrollERC20.sol │ │ ├── IScrollERC20Extension.sol │ │ ├── IScrollERC20Upgradeable.sol │ │ ├── IScrollERC721.sol │ │ ├── IScrollERC721Extension.sol │ │ ├── IScrollStandardERC20Factory.sol │ │ ├── ScrollStandardERC20.sol │ │ └── ScrollStandardERC20Factory.sol │ └── verifier │ │ ├── IRollupVerifier.sol │ │ ├── IZkEvmVerifier.sol │ │ ├── PatriciaMerkleTrieVerifier.sol │ │ ├── RollupVerifier.sol │ │ ├── WithdrawTrieVerifier.sol │ │ ├── ZkEvmVerifierPostEuclid.sol │ │ ├── ZkEvmVerifierPostFeynman.sol │ │ ├── ZkEvmVerifierV1.sol │ │ ├── ZkEvmVerifierV2.sol │ │ ├── ZkTrieVerifier.sol │ │ └── plonk-verifier │ │ ├── plonk_verifier_v0.12.0-rc.2.bin │ │ ├── plonk_verifier_v0.12.0-rc.3.bin │ │ └── plonk_verifier_v0.9.8.bin ├── lido │ ├── L1LidoGateway.sol │ ├── L2LidoGateway.sol │ ├── L2WstETHToken.sol │ ├── LidoBridgeableTokens.sol │ ├── LidoGatewayManager.sol │ └── README.md ├── misc │ ├── EmptyContract.sol │ ├── Fallback.sol │ ├── IPausable.sol │ ├── PauseController.sol │ └── ScrollOwner.sol ├── mocks │ ├── MockCaller.sol │ ├── MockERC20.sol │ ├── MockGasSwapTarget.sol │ ├── MockPatriciaMerkleTrieVerifier.sol │ ├── MockZkTrieVerifier.sol │ ├── README.md │ ├── ScrollChainMockBlob.sol │ ├── ScrollChainMockFinalize.sol │ └── ScrollChainValidiumMock.sol ├── package.json ├── test │ ├── L1CustomERC20Gateway.t.sol │ ├── L1ERC1155Gateway.t.sol │ ├── L1ERC721Gateway.t.sol │ ├── L1ETHGateway.t.sol │ ├── L1GasPriceOracle.t.sol │ ├── L1GatewayRouter.t.sol │ ├── L1GatewayTestBase.t.sol │ ├── L1MessageQueueV1.t.sol │ ├── L1MessageQueueV2.t.sol │ ├── L1MessageQueueWithGasPriceOracle.t.sol │ ├── L1ReverseCustomERC20Gateway.t.sol │ ├── L1ScrollMessengerTest.t.sol │ ├── L1StandardERC20Gateway.t.sol │ ├── L1USDCGateway.t.sol │ ├── L1WETHGateway.t.sol │ ├── L2CustomERC20Gateway.t.sol │ ├── L2ERC1155Gateway.t.sol │ ├── L2ERC721Gateway.t.sol │ ├── L2ETHGateway.t.sol │ ├── L2GasPriceOracle.t.sol │ ├── L2GatewayRouter.t.sol │ ├── L2GatewayTestBase.t.sol │ ├── L2MessageQueue.t.sol │ ├── L2ReverseCustomERC20Gateway.t.sol │ ├── L2ScrollMessenger.t.sol │ ├── L2StandardERC20Gateway.t.sol │ ├── L2SystemConfig.t.sol │ ├── L2TxFeeVault.t.sol │ ├── L2USDCGateway.t.sol │ ├── L2WETHGateway.t.sol │ ├── MultipleVersionRollupVerifier.t.sol │ ├── ScrollChain.t.sol │ ├── ScrollOwner.t.sol │ ├── ScrollStandardERC20Factory.t.sol │ ├── ScrollTestBase.t.sol │ ├── SystemConfig.t.sol │ ├── Whitelist.t.sol │ ├── WithdrawTrieVerifier.t.sol │ ├── batch-bridge │ │ ├── L1BatchBridgeGateway.t.sol │ │ └── L2BatchBridgeGateway.t.sol │ ├── integration │ │ ├── Domain.t.sol │ │ ├── GatewayIntegrationBase.t.sol │ │ └── LidoGatewayIntegration.t.sol │ ├── lido │ │ ├── L1LidoGateway.t.sol │ │ ├── L2LidoGateway.t.sol │ │ └── L2WstETHToken.t.sol │ ├── misc │ │ └── PauseController.t.sol │ ├── mocks │ │ ├── MockERC1155Recipient.sol │ │ ├── MockERC721Recipient.sol │ │ ├── MockGatewayRecipient.sol │ │ ├── MockL1LidoGateway.sol │ │ ├── MockL2LidoGateway.sol │ │ ├── MockRollupVerifier.sol │ │ ├── MockScrollMessenger.sol │ │ ├── MockZkEvmVerifier.sol │ │ └── tokens │ │ │ ├── FeeOnTransferToken.sol │ │ │ ├── RevertOnTransferToken.sol │ │ │ └── TransferReentrantToken.sol │ └── validium │ │ ├── FastWithdrawVault.t.sol │ │ ├── L1ERC20GatewayValidium.t.sol │ │ ├── L1WETHGatewayValidium.t.sol │ │ └── ValidiumTestBase.t.sol └── validium │ ├── EmptyL1MessageQueueV1.sol │ ├── FastWithdrawVault.sol │ ├── IL1ERC20GatewayValidium.sol │ ├── IL2ERC20GatewayValidium.sol │ ├── IScrollChainValidium.sol │ ├── L1ERC20GatewayValidium.sol │ ├── L1ScrollMessengerValidium.sol │ ├── L1WETHGatewayValidium.sol │ ├── ScrollChainValidium.sol │ └── codec │ └── BatchHeaderValidiumV0Codec.sol ├── tsconfig.json └── yarn.lock /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/.env.example -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/.eslintignore -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/contracts.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/.github/workflows/contracts.yml -------------------------------------------------------------------------------- /.github/workflows/docker-release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/.github/workflows/docker-release.yml -------------------------------------------------------------------------------- /.github/workflows/zizmor.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/.github/workflows/zizmor.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/.gitmodules -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | . "$(dirname -- "$0")/_/husky.sh" 3 | 4 | yarn lint-staged -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | hardhat.config.ts 2 | scripts 3 | test 4 | -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | v18.15.0 2 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/.prettierrc -------------------------------------------------------------------------------- /.solcover.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/.solcover.js -------------------------------------------------------------------------------- /.solhint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/.solhint.json -------------------------------------------------------------------------------- /.solhintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/README.md -------------------------------------------------------------------------------- /circomlib.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/circomlib.d.ts -------------------------------------------------------------------------------- /foundry.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/foundry.toml -------------------------------------------------------------------------------- /genesis.json.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/genesis.json.example -------------------------------------------------------------------------------- /hardhat-test/EnforcedTxGateway.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/hardhat-test/EnforcedTxGateway.spec.ts -------------------------------------------------------------------------------- /hardhat-test/GasOptimizationUpgrade.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/hardhat-test/GasOptimizationUpgrade.spec.ts -------------------------------------------------------------------------------- /hardhat-test/L1BlockContainer.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/hardhat-test/L1BlockContainer.spec.ts -------------------------------------------------------------------------------- /hardhat-test/L1MessageQueue.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/hardhat-test/L1MessageQueue.spec.ts -------------------------------------------------------------------------------- /hardhat-test/PatriciaMerkleTrieVerifier.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/hardhat-test/PatriciaMerkleTrieVerifier.spec.ts -------------------------------------------------------------------------------- /hardhat-test/PoseidonHash.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/hardhat-test/PoseidonHash.spec.ts -------------------------------------------------------------------------------- /hardhat-test/ZkEvmVerifierV1.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/hardhat-test/ZkEvmVerifierV1.spec.ts -------------------------------------------------------------------------------- /hardhat-test/ZkEvmVerifierV2.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/hardhat-test/ZkEvmVerifierV2.spec.ts -------------------------------------------------------------------------------- /hardhat-test/ZkTrieVerifier.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/hardhat-test/ZkTrieVerifier.spec.ts -------------------------------------------------------------------------------- /hardhat-test/testdata/batch.commit.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/hardhat-test/testdata/batch.commit.txt -------------------------------------------------------------------------------- /hardhat-test/testdata/batch.finalize.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/hardhat-test/testdata/batch.finalize.txt -------------------------------------------------------------------------------- /hardhat-test/testdata/plonk-verifier/v0.12.0-rc.2_pi.data: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/hardhat-test/testdata/plonk-verifier/v0.12.0-rc.2_pi.data -------------------------------------------------------------------------------- /hardhat-test/testdata/plonk-verifier/v0.12.0-rc.2_proof.data: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/hardhat-test/testdata/plonk-verifier/v0.12.0-rc.2_proof.data -------------------------------------------------------------------------------- /hardhat-test/testdata/plonk-verifier/v0.12.0-rc.3_pi.data: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/hardhat-test/testdata/plonk-verifier/v0.12.0-rc.3_pi.data -------------------------------------------------------------------------------- /hardhat-test/testdata/plonk-verifier/v0.12.0-rc.3_proof.data: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/hardhat-test/testdata/plonk-verifier/v0.12.0-rc.3_proof.data -------------------------------------------------------------------------------- /hardhat-test/testdata/plonk-verifier/v0.9.8_pi.data: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/hardhat-test/testdata/plonk-verifier/v0.9.8_pi.data -------------------------------------------------------------------------------- /hardhat-test/testdata/plonk-verifier/v0.9.8_proof.data: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/hardhat-test/testdata/plonk-verifier/v0.9.8_proof.data -------------------------------------------------------------------------------- /hardhat-test/testdata/poseidon_hash_with_domain.data: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/hardhat-test/testdata/poseidon_hash_with_domain.data -------------------------------------------------------------------------------- /hardhat.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/hardhat.config.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/package.json -------------------------------------------------------------------------------- /remappings.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/remappings.txt -------------------------------------------------------------------------------- /scripts/deterministic/Configuration.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/scripts/deterministic/Configuration.sol -------------------------------------------------------------------------------- /scripts/deterministic/DeterministicDeployment.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/scripts/deterministic/DeterministicDeployment.sol -------------------------------------------------------------------------------- /scripts/deterministic/contracts/MultipleVersionRollupVerifierSetOwner.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/scripts/deterministic/contracts/MultipleVersionRollupVerifierSetOwner.sol -------------------------------------------------------------------------------- /scripts/deterministic/contracts/ProxyAdminSetOwner.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/scripts/deterministic/contracts/ProxyAdminSetOwner.sol -------------------------------------------------------------------------------- /scripts/deterministic/contracts/ScrollStandardERC20FactorySetOwner.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/scripts/deterministic/contracts/ScrollStandardERC20FactorySetOwner.sol -------------------------------------------------------------------------------- /scripts/deterministic/scroll/Constants.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/scripts/deterministic/scroll/Constants.sol -------------------------------------------------------------------------------- /scripts/deterministic/scroll/DeployScroll.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/scripts/deterministic/scroll/DeployScroll.s.sol -------------------------------------------------------------------------------- /scripts/deterministic/scroll/GenerateConfigs.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/scripts/deterministic/scroll/GenerateConfigs.s.sol -------------------------------------------------------------------------------- /scripts/deterministic/scroll/GenerateGenesis.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/scripts/deterministic/scroll/GenerateGenesis.s.sol -------------------------------------------------------------------------------- /scripts/deterministic/scroll/ScrollConfiguration.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/scripts/deterministic/scroll/ScrollConfiguration.sol -------------------------------------------------------------------------------- /scripts/deterministic/scroll/config/config-contracts.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/scripts/deterministic/scroll/config/config-contracts.toml -------------------------------------------------------------------------------- /scripts/deterministic/scroll/config/config-contracts.toml.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/scripts/deterministic/scroll/config/config-contracts.toml.template -------------------------------------------------------------------------------- /scripts/deterministic/scroll/config/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/scripts/deterministic/scroll/config/config.toml -------------------------------------------------------------------------------- /scripts/deterministic/scroll/shell/deploy.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/scripts/deterministic/scroll/shell/deploy.sh -------------------------------------------------------------------------------- /scripts/deterministic/scroll/shell/update-configs.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/scripts/deterministic/scroll/shell/update-configs.sh -------------------------------------------------------------------------------- /scripts/foundry/DeployFallbackContracts.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/scripts/foundry/DeployFallbackContracts.s.sol -------------------------------------------------------------------------------- /scripts/foundry/DeployL1BridgeContracts.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/scripts/foundry/DeployL1BridgeContracts.s.sol -------------------------------------------------------------------------------- /scripts/foundry/DeployL1BridgeProxyPlaceholder.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/scripts/foundry/DeployL1BridgeProxyPlaceholder.s.sol -------------------------------------------------------------------------------- /scripts/foundry/DeployL1ScrollOwner.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/scripts/foundry/DeployL1ScrollOwner.s.sol -------------------------------------------------------------------------------- /scripts/foundry/DeployL2BridgeContracts.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/scripts/foundry/DeployL2BridgeContracts.s.sol -------------------------------------------------------------------------------- /scripts/foundry/DeployL2BridgeProxyPlaceholder.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/scripts/foundry/DeployL2BridgeProxyPlaceholder.s.sol -------------------------------------------------------------------------------- /scripts/foundry/DeployL2ScrollOwner.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/scripts/foundry/DeployL2ScrollOwner.s.sol -------------------------------------------------------------------------------- /scripts/foundry/DeployLidoGateway.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/scripts/foundry/DeployLidoGateway.s.sol -------------------------------------------------------------------------------- /scripts/foundry/DeployScrollChainCommitmentVerifier.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/scripts/foundry/DeployScrollChainCommitmentVerifier.s.sol -------------------------------------------------------------------------------- /scripts/foundry/DeployWeth.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/scripts/foundry/DeployWeth.s.sol -------------------------------------------------------------------------------- /scripts/foundry/InitializeL1BridgeContracts.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/scripts/foundry/InitializeL1BridgeContracts.s.sol -------------------------------------------------------------------------------- /scripts/foundry/InitializeL1ScrollOwner.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/scripts/foundry/InitializeL1ScrollOwner.s.sol -------------------------------------------------------------------------------- /scripts/foundry/InitializeL2BridgeContracts.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/scripts/foundry/InitializeL2BridgeContracts.s.sol -------------------------------------------------------------------------------- /scripts/foundry/InitializeL2ScrollOwner.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/scripts/foundry/InitializeL2ScrollOwner.s.sol -------------------------------------------------------------------------------- /scripts/hardhat/ScrollChainCommitmentVerifier.deploy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/scripts/hardhat/ScrollChainCommitmentVerifier.deploy.ts -------------------------------------------------------------------------------- /scripts/poseidon.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/scripts/poseidon.ts -------------------------------------------------------------------------------- /src/External.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/External.sol -------------------------------------------------------------------------------- /src/L1/IL1ScrollMessenger.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L1/IL1ScrollMessenger.sol -------------------------------------------------------------------------------- /src/L1/L1ScrollMessenger.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L1/L1ScrollMessenger.sol -------------------------------------------------------------------------------- /src/L1/gateways/EnforcedTxGateway.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L1/gateways/EnforcedTxGateway.sol -------------------------------------------------------------------------------- /src/L1/gateways/IL1ERC1155Gateway.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L1/gateways/IL1ERC1155Gateway.sol -------------------------------------------------------------------------------- /src/L1/gateways/IL1ERC20Gateway.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L1/gateways/IL1ERC20Gateway.sol -------------------------------------------------------------------------------- /src/L1/gateways/IL1ERC721Gateway.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L1/gateways/IL1ERC721Gateway.sol -------------------------------------------------------------------------------- /src/L1/gateways/IL1ETHGateway.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L1/gateways/IL1ETHGateway.sol -------------------------------------------------------------------------------- /src/L1/gateways/IL1GatewayRouter.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L1/gateways/IL1GatewayRouter.sol -------------------------------------------------------------------------------- /src/L1/gateways/L1CustomERC20Gateway.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L1/gateways/L1CustomERC20Gateway.sol -------------------------------------------------------------------------------- /src/L1/gateways/L1ERC1155Gateway.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L1/gateways/L1ERC1155Gateway.sol -------------------------------------------------------------------------------- /src/L1/gateways/L1ERC20Gateway.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L1/gateways/L1ERC20Gateway.sol -------------------------------------------------------------------------------- /src/L1/gateways/L1ERC721Gateway.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L1/gateways/L1ERC721Gateway.sol -------------------------------------------------------------------------------- /src/L1/gateways/L1ETHGateway.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L1/gateways/L1ETHGateway.sol -------------------------------------------------------------------------------- /src/L1/gateways/L1GatewayRouter.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L1/gateways/L1GatewayRouter.sol -------------------------------------------------------------------------------- /src/L1/gateways/L1ReverseCustomERC20Gateway.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L1/gateways/L1ReverseCustomERC20Gateway.sol -------------------------------------------------------------------------------- /src/L1/gateways/L1StandardERC20Gateway.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L1/gateways/L1StandardERC20Gateway.sol -------------------------------------------------------------------------------- /src/L1/gateways/L1WETHGateway.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L1/gateways/L1WETHGateway.sol -------------------------------------------------------------------------------- /src/L1/gateways/usdc/L1USDCGateway.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L1/gateways/usdc/L1USDCGateway.sol -------------------------------------------------------------------------------- /src/L1/gateways/usdc/draft-L1USDCGatewayCCTP.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L1/gateways/usdc/draft-L1USDCGatewayCCTP.sol -------------------------------------------------------------------------------- /src/L1/rollup/IL1MessageQueueV1.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L1/rollup/IL1MessageQueueV1.sol -------------------------------------------------------------------------------- /src/L1/rollup/IL1MessageQueueV2.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L1/rollup/IL1MessageQueueV2.sol -------------------------------------------------------------------------------- /src/L1/rollup/IL1MessageQueueWithGasPriceOracle.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L1/rollup/IL1MessageQueueWithGasPriceOracle.sol -------------------------------------------------------------------------------- /src/L1/rollup/IL2GasPriceOracle.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L1/rollup/IL2GasPriceOracle.sol -------------------------------------------------------------------------------- /src/L1/rollup/IScrollChain.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L1/rollup/IScrollChain.sol -------------------------------------------------------------------------------- /src/L1/rollup/L1MessageQueueV1.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L1/rollup/L1MessageQueueV1.sol -------------------------------------------------------------------------------- /src/L1/rollup/L1MessageQueueV1WithGasPriceOracle.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L1/rollup/L1MessageQueueV1WithGasPriceOracle.sol -------------------------------------------------------------------------------- /src/L1/rollup/L1MessageQueueV2.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L1/rollup/L1MessageQueueV2.sol -------------------------------------------------------------------------------- /src/L1/rollup/L2GasPriceOracle.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L1/rollup/L2GasPriceOracle.sol -------------------------------------------------------------------------------- /src/L1/rollup/MultipleVersionRollupVerifier.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L1/rollup/MultipleVersionRollupVerifier.sol -------------------------------------------------------------------------------- /src/L1/rollup/ScrollChain.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L1/rollup/ScrollChain.sol -------------------------------------------------------------------------------- /src/L1/rollup/ScrollChainCommitmentVerifier.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L1/rollup/ScrollChainCommitmentVerifier.sol -------------------------------------------------------------------------------- /src/L1/system-contract/SystemConfig.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L1/system-contract/SystemConfig.sol -------------------------------------------------------------------------------- /src/L2/IL2ScrollMessenger.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L2/IL2ScrollMessenger.sol -------------------------------------------------------------------------------- /src/L2/L2ScrollMessenger.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L2/L2ScrollMessenger.sol -------------------------------------------------------------------------------- /src/L2/L2SystemConfig.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L2/L2SystemConfig.sol -------------------------------------------------------------------------------- /src/L2/gateways/IL2ERC1155Gateway.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L2/gateways/IL2ERC1155Gateway.sol -------------------------------------------------------------------------------- /src/L2/gateways/IL2ERC20Gateway.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L2/gateways/IL2ERC20Gateway.sol -------------------------------------------------------------------------------- /src/L2/gateways/IL2ERC721Gateway.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L2/gateways/IL2ERC721Gateway.sol -------------------------------------------------------------------------------- /src/L2/gateways/IL2ETHGateway.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L2/gateways/IL2ETHGateway.sol -------------------------------------------------------------------------------- /src/L2/gateways/IL2GatewayRouter.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L2/gateways/IL2GatewayRouter.sol -------------------------------------------------------------------------------- /src/L2/gateways/L2CustomERC20Gateway.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L2/gateways/L2CustomERC20Gateway.sol -------------------------------------------------------------------------------- /src/L2/gateways/L2ERC1155Gateway.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L2/gateways/L2ERC1155Gateway.sol -------------------------------------------------------------------------------- /src/L2/gateways/L2ERC20Gateway.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L2/gateways/L2ERC20Gateway.sol -------------------------------------------------------------------------------- /src/L2/gateways/L2ERC721Gateway.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L2/gateways/L2ERC721Gateway.sol -------------------------------------------------------------------------------- /src/L2/gateways/L2ETHGateway.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L2/gateways/L2ETHGateway.sol -------------------------------------------------------------------------------- /src/L2/gateways/L2GatewayRouter.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L2/gateways/L2GatewayRouter.sol -------------------------------------------------------------------------------- /src/L2/gateways/L2ReverseCustomERC20Gateway.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L2/gateways/L2ReverseCustomERC20Gateway.sol -------------------------------------------------------------------------------- /src/L2/gateways/L2StandardERC20Gateway.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L2/gateways/L2StandardERC20Gateway.sol -------------------------------------------------------------------------------- /src/L2/gateways/L2WETHGateway.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L2/gateways/L2WETHGateway.sol -------------------------------------------------------------------------------- /src/L2/gateways/usdc/L2USDCGateway.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L2/gateways/usdc/L2USDCGateway.sol -------------------------------------------------------------------------------- /src/L2/gateways/usdc/draft-L2USDCGatewayCCTP.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L2/gateways/usdc/draft-L2USDCGatewayCCTP.sol -------------------------------------------------------------------------------- /src/L2/predeploys/IL1BlockContainer.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L2/predeploys/IL1BlockContainer.sol -------------------------------------------------------------------------------- /src/L2/predeploys/IL1GasPriceOracle.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L2/predeploys/IL1GasPriceOracle.sol -------------------------------------------------------------------------------- /src/L2/predeploys/L1BlockContainer.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L2/predeploys/L1BlockContainer.sol -------------------------------------------------------------------------------- /src/L2/predeploys/L1GasPriceOracle.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L2/predeploys/L1GasPriceOracle.sol -------------------------------------------------------------------------------- /src/L2/predeploys/L2MessageQueue.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L2/predeploys/L2MessageQueue.sol -------------------------------------------------------------------------------- /src/L2/predeploys/L2TxFeeVault.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L2/predeploys/L2TxFeeVault.sol -------------------------------------------------------------------------------- /src/L2/predeploys/Whitelist.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L2/predeploys/Whitelist.sol -------------------------------------------------------------------------------- /src/L2/predeploys/WrappedEther.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/L2/predeploys/WrappedEther.sol -------------------------------------------------------------------------------- /src/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/LICENSE -------------------------------------------------------------------------------- /src/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/README.md -------------------------------------------------------------------------------- /src/batch-bridge/BatchBridgeCodec.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/batch-bridge/BatchBridgeCodec.sol -------------------------------------------------------------------------------- /src/batch-bridge/L1BatchBridgeGateway.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/batch-bridge/L1BatchBridgeGateway.sol -------------------------------------------------------------------------------- /src/batch-bridge/L2BatchBridgeGateway.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/batch-bridge/L2BatchBridgeGateway.sol -------------------------------------------------------------------------------- /src/interfaces/IFiatToken.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/interfaces/IFiatToken.sol -------------------------------------------------------------------------------- /src/interfaces/IMessageTransmitter.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/interfaces/IMessageTransmitter.sol -------------------------------------------------------------------------------- /src/interfaces/ITokenMessenger.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/interfaces/ITokenMessenger.sol -------------------------------------------------------------------------------- /src/interfaces/IUSDCBurnableSourceBridge.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/interfaces/IUSDCBurnableSourceBridge.sol -------------------------------------------------------------------------------- /src/interfaces/IUSDCDestinationBridge.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/interfaces/IUSDCDestinationBridge.sol -------------------------------------------------------------------------------- /src/interfaces/IWETH.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/interfaces/IWETH.sol -------------------------------------------------------------------------------- /src/interfaces/ScrollChainInterface.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/interfaces/ScrollChainInterface.sol -------------------------------------------------------------------------------- /src/libraries/IScrollMessenger.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/libraries/IScrollMessenger.sol -------------------------------------------------------------------------------- /src/libraries/ScrollMessengerBase.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/libraries/ScrollMessengerBase.sol -------------------------------------------------------------------------------- /src/libraries/callbacks/IERC677Receiver.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/libraries/callbacks/IERC677Receiver.sol -------------------------------------------------------------------------------- /src/libraries/callbacks/IScrollGatewayCallback.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/libraries/callbacks/IScrollGatewayCallback.sol -------------------------------------------------------------------------------- /src/libraries/codec/BatchHeaderV0Codec.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/libraries/codec/BatchHeaderV0Codec.sol -------------------------------------------------------------------------------- /src/libraries/codec/BatchHeaderV1Codec.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/libraries/codec/BatchHeaderV1Codec.sol -------------------------------------------------------------------------------- /src/libraries/codec/BatchHeaderV3Codec.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/libraries/codec/BatchHeaderV3Codec.sol -------------------------------------------------------------------------------- /src/libraries/codec/BatchHeaderV7Codec.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/libraries/codec/BatchHeaderV7Codec.sol -------------------------------------------------------------------------------- /src/libraries/codec/ChunkCodecV0.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/libraries/codec/ChunkCodecV0.sol -------------------------------------------------------------------------------- /src/libraries/codec/ChunkCodecV1.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/libraries/codec/ChunkCodecV1.sol -------------------------------------------------------------------------------- /src/libraries/common/AddressAliasHelper.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/libraries/common/AddressAliasHelper.sol -------------------------------------------------------------------------------- /src/libraries/common/AppendOnlyMerkleTree.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/libraries/common/AppendOnlyMerkleTree.sol -------------------------------------------------------------------------------- /src/libraries/common/IWhitelist.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/libraries/common/IWhitelist.sol -------------------------------------------------------------------------------- /src/libraries/common/OwnableBase.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/libraries/common/OwnableBase.sol -------------------------------------------------------------------------------- /src/libraries/constants/ScrollConstants.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/libraries/constants/ScrollConstants.sol -------------------------------------------------------------------------------- /src/libraries/constants/ScrollPredeploy.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/libraries/constants/ScrollPredeploy.sol -------------------------------------------------------------------------------- /src/libraries/gateway/CCTPGatewayBase.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/libraries/gateway/CCTPGatewayBase.sol -------------------------------------------------------------------------------- /src/libraries/gateway/IScrollGateway.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/libraries/gateway/IScrollGateway.sol -------------------------------------------------------------------------------- /src/libraries/gateway/ScrollGatewayBase.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/libraries/gateway/ScrollGatewayBase.sol -------------------------------------------------------------------------------- /src/libraries/token/IScrollERC1155.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/libraries/token/IScrollERC1155.sol -------------------------------------------------------------------------------- /src/libraries/token/IScrollERC1155Extension.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/libraries/token/IScrollERC1155Extension.sol -------------------------------------------------------------------------------- /src/libraries/token/IScrollERC20.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/libraries/token/IScrollERC20.sol -------------------------------------------------------------------------------- /src/libraries/token/IScrollERC20Extension.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/libraries/token/IScrollERC20Extension.sol -------------------------------------------------------------------------------- /src/libraries/token/IScrollERC20Upgradeable.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/libraries/token/IScrollERC20Upgradeable.sol -------------------------------------------------------------------------------- /src/libraries/token/IScrollERC721.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/libraries/token/IScrollERC721.sol -------------------------------------------------------------------------------- /src/libraries/token/IScrollERC721Extension.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/libraries/token/IScrollERC721Extension.sol -------------------------------------------------------------------------------- /src/libraries/token/IScrollStandardERC20Factory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/libraries/token/IScrollStandardERC20Factory.sol -------------------------------------------------------------------------------- /src/libraries/token/ScrollStandardERC20.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/libraries/token/ScrollStandardERC20.sol -------------------------------------------------------------------------------- /src/libraries/token/ScrollStandardERC20Factory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/libraries/token/ScrollStandardERC20Factory.sol -------------------------------------------------------------------------------- /src/libraries/verifier/IRollupVerifier.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/libraries/verifier/IRollupVerifier.sol -------------------------------------------------------------------------------- /src/libraries/verifier/IZkEvmVerifier.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/libraries/verifier/IZkEvmVerifier.sol -------------------------------------------------------------------------------- /src/libraries/verifier/PatriciaMerkleTrieVerifier.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/libraries/verifier/PatriciaMerkleTrieVerifier.sol -------------------------------------------------------------------------------- /src/libraries/verifier/RollupVerifier.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/libraries/verifier/RollupVerifier.sol -------------------------------------------------------------------------------- /src/libraries/verifier/WithdrawTrieVerifier.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/libraries/verifier/WithdrawTrieVerifier.sol -------------------------------------------------------------------------------- /src/libraries/verifier/ZkEvmVerifierPostEuclid.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/libraries/verifier/ZkEvmVerifierPostEuclid.sol -------------------------------------------------------------------------------- /src/libraries/verifier/ZkEvmVerifierPostFeynman.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/libraries/verifier/ZkEvmVerifierPostFeynman.sol -------------------------------------------------------------------------------- /src/libraries/verifier/ZkEvmVerifierV1.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/libraries/verifier/ZkEvmVerifierV1.sol -------------------------------------------------------------------------------- /src/libraries/verifier/ZkEvmVerifierV2.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/libraries/verifier/ZkEvmVerifierV2.sol -------------------------------------------------------------------------------- /src/libraries/verifier/ZkTrieVerifier.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/libraries/verifier/ZkTrieVerifier.sol -------------------------------------------------------------------------------- /src/libraries/verifier/plonk-verifier/plonk_verifier_v0.12.0-rc.2.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/libraries/verifier/plonk-verifier/plonk_verifier_v0.12.0-rc.2.bin -------------------------------------------------------------------------------- /src/libraries/verifier/plonk-verifier/plonk_verifier_v0.12.0-rc.3.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/libraries/verifier/plonk-verifier/plonk_verifier_v0.12.0-rc.3.bin -------------------------------------------------------------------------------- /src/libraries/verifier/plonk-verifier/plonk_verifier_v0.9.8.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/libraries/verifier/plonk-verifier/plonk_verifier_v0.9.8.bin -------------------------------------------------------------------------------- /src/lido/L1LidoGateway.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/lido/L1LidoGateway.sol -------------------------------------------------------------------------------- /src/lido/L2LidoGateway.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/lido/L2LidoGateway.sol -------------------------------------------------------------------------------- /src/lido/L2WstETHToken.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/lido/L2WstETHToken.sol -------------------------------------------------------------------------------- /src/lido/LidoBridgeableTokens.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/lido/LidoBridgeableTokens.sol -------------------------------------------------------------------------------- /src/lido/LidoGatewayManager.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/lido/LidoGatewayManager.sol -------------------------------------------------------------------------------- /src/lido/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/lido/README.md -------------------------------------------------------------------------------- /src/misc/EmptyContract.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/misc/EmptyContract.sol -------------------------------------------------------------------------------- /src/misc/Fallback.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/misc/Fallback.sol -------------------------------------------------------------------------------- /src/misc/IPausable.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/misc/IPausable.sol -------------------------------------------------------------------------------- /src/misc/PauseController.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/misc/PauseController.sol -------------------------------------------------------------------------------- /src/misc/ScrollOwner.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/misc/ScrollOwner.sol -------------------------------------------------------------------------------- /src/mocks/MockCaller.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/mocks/MockCaller.sol -------------------------------------------------------------------------------- /src/mocks/MockERC20.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/mocks/MockERC20.sol -------------------------------------------------------------------------------- /src/mocks/MockGasSwapTarget.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/mocks/MockGasSwapTarget.sol -------------------------------------------------------------------------------- /src/mocks/MockPatriciaMerkleTrieVerifier.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/mocks/MockPatriciaMerkleTrieVerifier.sol -------------------------------------------------------------------------------- /src/mocks/MockZkTrieVerifier.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/mocks/MockZkTrieVerifier.sol -------------------------------------------------------------------------------- /src/mocks/README.md: -------------------------------------------------------------------------------- 1 | ## Mocks 2 | 3 | These are mock contracts for hardhat tests. -------------------------------------------------------------------------------- /src/mocks/ScrollChainMockBlob.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/mocks/ScrollChainMockBlob.sol -------------------------------------------------------------------------------- /src/mocks/ScrollChainMockFinalize.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/mocks/ScrollChainMockFinalize.sol -------------------------------------------------------------------------------- /src/mocks/ScrollChainValidiumMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/mocks/ScrollChainValidiumMock.sol -------------------------------------------------------------------------------- /src/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/package.json -------------------------------------------------------------------------------- /src/test/L1CustomERC20Gateway.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/L1CustomERC20Gateway.t.sol -------------------------------------------------------------------------------- /src/test/L1ERC1155Gateway.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/L1ERC1155Gateway.t.sol -------------------------------------------------------------------------------- /src/test/L1ERC721Gateway.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/L1ERC721Gateway.t.sol -------------------------------------------------------------------------------- /src/test/L1ETHGateway.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/L1ETHGateway.t.sol -------------------------------------------------------------------------------- /src/test/L1GasPriceOracle.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/L1GasPriceOracle.t.sol -------------------------------------------------------------------------------- /src/test/L1GatewayRouter.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/L1GatewayRouter.t.sol -------------------------------------------------------------------------------- /src/test/L1GatewayTestBase.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/L1GatewayTestBase.t.sol -------------------------------------------------------------------------------- /src/test/L1MessageQueueV1.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/L1MessageQueueV1.t.sol -------------------------------------------------------------------------------- /src/test/L1MessageQueueV2.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/L1MessageQueueV2.t.sol -------------------------------------------------------------------------------- /src/test/L1MessageQueueWithGasPriceOracle.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/L1MessageQueueWithGasPriceOracle.t.sol -------------------------------------------------------------------------------- /src/test/L1ReverseCustomERC20Gateway.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/L1ReverseCustomERC20Gateway.t.sol -------------------------------------------------------------------------------- /src/test/L1ScrollMessengerTest.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/L1ScrollMessengerTest.t.sol -------------------------------------------------------------------------------- /src/test/L1StandardERC20Gateway.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/L1StandardERC20Gateway.t.sol -------------------------------------------------------------------------------- /src/test/L1USDCGateway.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/L1USDCGateway.t.sol -------------------------------------------------------------------------------- /src/test/L1WETHGateway.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/L1WETHGateway.t.sol -------------------------------------------------------------------------------- /src/test/L2CustomERC20Gateway.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/L2CustomERC20Gateway.t.sol -------------------------------------------------------------------------------- /src/test/L2ERC1155Gateway.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/L2ERC1155Gateway.t.sol -------------------------------------------------------------------------------- /src/test/L2ERC721Gateway.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/L2ERC721Gateway.t.sol -------------------------------------------------------------------------------- /src/test/L2ETHGateway.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/L2ETHGateway.t.sol -------------------------------------------------------------------------------- /src/test/L2GasPriceOracle.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/L2GasPriceOracle.t.sol -------------------------------------------------------------------------------- /src/test/L2GatewayRouter.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/L2GatewayRouter.t.sol -------------------------------------------------------------------------------- /src/test/L2GatewayTestBase.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/L2GatewayTestBase.t.sol -------------------------------------------------------------------------------- /src/test/L2MessageQueue.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/L2MessageQueue.t.sol -------------------------------------------------------------------------------- /src/test/L2ReverseCustomERC20Gateway.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/L2ReverseCustomERC20Gateway.t.sol -------------------------------------------------------------------------------- /src/test/L2ScrollMessenger.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/L2ScrollMessenger.t.sol -------------------------------------------------------------------------------- /src/test/L2StandardERC20Gateway.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/L2StandardERC20Gateway.t.sol -------------------------------------------------------------------------------- /src/test/L2SystemConfig.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/L2SystemConfig.t.sol -------------------------------------------------------------------------------- /src/test/L2TxFeeVault.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/L2TxFeeVault.t.sol -------------------------------------------------------------------------------- /src/test/L2USDCGateway.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/L2USDCGateway.t.sol -------------------------------------------------------------------------------- /src/test/L2WETHGateway.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/L2WETHGateway.t.sol -------------------------------------------------------------------------------- /src/test/MultipleVersionRollupVerifier.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/MultipleVersionRollupVerifier.t.sol -------------------------------------------------------------------------------- /src/test/ScrollChain.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/ScrollChain.t.sol -------------------------------------------------------------------------------- /src/test/ScrollOwner.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/ScrollOwner.t.sol -------------------------------------------------------------------------------- /src/test/ScrollStandardERC20Factory.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/ScrollStandardERC20Factory.t.sol -------------------------------------------------------------------------------- /src/test/ScrollTestBase.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/ScrollTestBase.t.sol -------------------------------------------------------------------------------- /src/test/SystemConfig.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/SystemConfig.t.sol -------------------------------------------------------------------------------- /src/test/Whitelist.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/Whitelist.t.sol -------------------------------------------------------------------------------- /src/test/WithdrawTrieVerifier.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/WithdrawTrieVerifier.t.sol -------------------------------------------------------------------------------- /src/test/batch-bridge/L1BatchBridgeGateway.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/batch-bridge/L1BatchBridgeGateway.t.sol -------------------------------------------------------------------------------- /src/test/batch-bridge/L2BatchBridgeGateway.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/batch-bridge/L2BatchBridgeGateway.t.sol -------------------------------------------------------------------------------- /src/test/integration/Domain.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/integration/Domain.t.sol -------------------------------------------------------------------------------- /src/test/integration/GatewayIntegrationBase.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/integration/GatewayIntegrationBase.t.sol -------------------------------------------------------------------------------- /src/test/integration/LidoGatewayIntegration.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/integration/LidoGatewayIntegration.t.sol -------------------------------------------------------------------------------- /src/test/lido/L1LidoGateway.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/lido/L1LidoGateway.t.sol -------------------------------------------------------------------------------- /src/test/lido/L2LidoGateway.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/lido/L2LidoGateway.t.sol -------------------------------------------------------------------------------- /src/test/lido/L2WstETHToken.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/lido/L2WstETHToken.t.sol -------------------------------------------------------------------------------- /src/test/misc/PauseController.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/misc/PauseController.t.sol -------------------------------------------------------------------------------- /src/test/mocks/MockERC1155Recipient.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/mocks/MockERC1155Recipient.sol -------------------------------------------------------------------------------- /src/test/mocks/MockERC721Recipient.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/mocks/MockERC721Recipient.sol -------------------------------------------------------------------------------- /src/test/mocks/MockGatewayRecipient.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/mocks/MockGatewayRecipient.sol -------------------------------------------------------------------------------- /src/test/mocks/MockL1LidoGateway.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/mocks/MockL1LidoGateway.sol -------------------------------------------------------------------------------- /src/test/mocks/MockL2LidoGateway.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/mocks/MockL2LidoGateway.sol -------------------------------------------------------------------------------- /src/test/mocks/MockRollupVerifier.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/mocks/MockRollupVerifier.sol -------------------------------------------------------------------------------- /src/test/mocks/MockScrollMessenger.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/mocks/MockScrollMessenger.sol -------------------------------------------------------------------------------- /src/test/mocks/MockZkEvmVerifier.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/mocks/MockZkEvmVerifier.sol -------------------------------------------------------------------------------- /src/test/mocks/tokens/FeeOnTransferToken.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/mocks/tokens/FeeOnTransferToken.sol -------------------------------------------------------------------------------- /src/test/mocks/tokens/RevertOnTransferToken.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/mocks/tokens/RevertOnTransferToken.sol -------------------------------------------------------------------------------- /src/test/mocks/tokens/TransferReentrantToken.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/mocks/tokens/TransferReentrantToken.sol -------------------------------------------------------------------------------- /src/test/validium/FastWithdrawVault.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/validium/FastWithdrawVault.t.sol -------------------------------------------------------------------------------- /src/test/validium/L1ERC20GatewayValidium.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/validium/L1ERC20GatewayValidium.t.sol -------------------------------------------------------------------------------- /src/test/validium/L1WETHGatewayValidium.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/validium/L1WETHGatewayValidium.t.sol -------------------------------------------------------------------------------- /src/test/validium/ValidiumTestBase.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/test/validium/ValidiumTestBase.t.sol -------------------------------------------------------------------------------- /src/validium/EmptyL1MessageQueueV1.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/validium/EmptyL1MessageQueueV1.sol -------------------------------------------------------------------------------- /src/validium/FastWithdrawVault.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/validium/FastWithdrawVault.sol -------------------------------------------------------------------------------- /src/validium/IL1ERC20GatewayValidium.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/validium/IL1ERC20GatewayValidium.sol -------------------------------------------------------------------------------- /src/validium/IL2ERC20GatewayValidium.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/validium/IL2ERC20GatewayValidium.sol -------------------------------------------------------------------------------- /src/validium/IScrollChainValidium.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/validium/IScrollChainValidium.sol -------------------------------------------------------------------------------- /src/validium/L1ERC20GatewayValidium.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/validium/L1ERC20GatewayValidium.sol -------------------------------------------------------------------------------- /src/validium/L1ScrollMessengerValidium.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/validium/L1ScrollMessengerValidium.sol -------------------------------------------------------------------------------- /src/validium/L1WETHGatewayValidium.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/validium/L1WETHGatewayValidium.sol -------------------------------------------------------------------------------- /src/validium/ScrollChainValidium.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/validium/ScrollChainValidium.sol -------------------------------------------------------------------------------- /src/validium/codec/BatchHeaderValidiumV0Codec.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/src/validium/codec/BatchHeaderValidiumV0Codec.sol -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scroll-tech/scroll-contracts/HEAD/yarn.lock --------------------------------------------------------------------------------