Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Optimism Sepolia #120

Merged
merged 1 commit into from
Dec 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .env.template
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ ETHEREUM_OPTIMISM_PROVIDER_URL=
ETHEREUM_BASE_PROVIDER_URL=
ETHEREUM_LINEA_PROVIDER_URL=
ETHEREUM_SEPOLIA_PROVIDER_URL=
ETHEREUM_OPTIMISM_SEPOLIA_PROVIDER_URL=
ETHEREUM_OPTIMISM_GOERLI_PROVIDER_URL=
ETHEREUM_BASE_GOERLI_PROVIDER_URL=
ETHEREUM_ARBITRUM_GOERLI_PROVIDER_URL=
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ deployments/optimism/solcInputs/*
deployments/base/solcInputs/*
deployments/linea/solcInputs/*
deployments/sepolia/solcInputs/*
deployments/optimism-sepolia/solcInputs/*
deployments/optimism-goerli/solcInputs/*
deployments/base-goerli/solcInputs/*
deployments/arbitrum-goerli/solcInputs/*
Expand Down
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,26 @@ Version 1.2.0:

0xaEF4103A04090071165F78D45D83A0C0782c2B2a

#### Optimism Sepolia

Version 1.0.2:

* **EAS**:
* Contract: [0x4200000000000000000000000000000000000021](https://sepolia-optimism.etherscan.io/address/0x4200000000000000000000000000000000000021)
* Deployment and ABI: [EAS.json](./deployments/optimism-sepolia/EAS.json)
* **SchemaRegistry**:
* Contract: [0x4200000000000000000000000000000000000020](https://sepolia-optimism.etherscan.io/address/0x4200000000000000000000000000000000000020)
* Deployment and ABI: [SchemaRegistry.json](./deployments/optimism-sepolia/SchemaRegistry.json)

Version 1.3.0:

* **EIP712Proxy**:
* Contract: [0x37AC6006646f2e687B7fB379F549Dc7634dF5b84](https://sepolia-optimism.etherscan.io/address/0x37AC6006646f2e687B7fB379F549Dc7634dF5b84)
* Deployment and ABI: [EIP712Proxy.json](./deployments/optimism-sepolia/EIP712Proxy.json)
* **Indexer**:
* Contract: [0x97e6822A36E38D4d93C0c810CC2be1C6Fd492b64](https://sepolia-optimism.etherscan.io/address/0x97e6822A36E38D4d93C0c810CC2be1C6Fd492b64)
* Deployment and ABI: [Indexer.json](./deployments/optimism-sepolia/Indexer.json)

#### Optimism Goerli

Version 1.0.1:
Expand Down
73 changes: 13 additions & 60 deletions data/NamedAccounts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,68 +8,21 @@ interface EnvOptions {
const { DEPLOYER: deployer = 'ledger://0x0000000000000000000000000000000000000000' }: EnvOptions =
process.env as any as EnvOptions;

const mainnet = (address: string) => ({
[DeploymentNetwork.Mainnet]: address
});

const arbitrumOne = (address: string) => ({
[DeploymentNetwork.ArbitrumOne]: address
});

const optimism = (address: string) => ({
[DeploymentNetwork.Optimism]: address
});

const base = (address: string) => ({
[DeploymentNetwork.Base]: address
});

const linea = (address: string) => ({
[DeploymentNetwork.Linea]: address
});

const sepolia = (address: string) => ({
[DeploymentNetwork.Sepolia]: address
});

const optimismGoerli = (address: string) => ({
[DeploymentNetwork.OptimismGoerli]: address
});

const baseGoerli = (address: string) => ({
[DeploymentNetwork.BaseGoerli]: address
});

const arbitrumGoerli = (address: string) => ({
[DeploymentNetwork.ArbitrumGoerli]: address
});

const polygonMumbai = (address: string) => ({
[DeploymentNetwork.PolygonMumbai]: address
});

const lineaGoerli = (address: string) => ({
[DeploymentNetwork.LineaGoerli]: address
});

const scrollSepolia = (address: string) => ({
[DeploymentNetwork.ScrollSepolia]: address
});

export const NamedAccounts = {
deployer: {
...mainnet(deployer),
...arbitrumOne(deployer),
...optimism(deployer),
...base(deployer),
...linea(deployer),
...sepolia(deployer),
...optimismGoerli(deployer),
...baseGoerli(deployer),
...arbitrumGoerli(deployer),
...polygonMumbai(deployer),
...lineaGoerli(deployer),
...scrollSepolia(deployer),
[DeploymentNetwork.Mainnet]: deployer,
[DeploymentNetwork.Optimism]: deployer,
[DeploymentNetwork.Base]: deployer,
[DeploymentNetwork.ArbitrumOne]: deployer,
[DeploymentNetwork.Linea]: deployer,
[DeploymentNetwork.Sepolia]: deployer,
[DeploymentNetwork.OptimismSepolia]: deployer,
[DeploymentNetwork.OptimismGoerli]: deployer,
[DeploymentNetwork.BaseGoerli]: deployer,
[DeploymentNetwork.ArbitrumGoerli]: deployer,
[DeploymentNetwork.PolygonMumbai]: deployer,
[DeploymentNetwork.LineaGoerli]: deployer,
[DeploymentNetwork.ScrollSepolia]: deployer,
[DeploymentNetwork.Hardhat]: 0
}
};
1 change: 1 addition & 0 deletions deployments/optimism-sepolia/.chainId
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
11155420
9 changes: 9 additions & 0 deletions deployments/optimism-sepolia/.migrations.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"000001-registry": 1682454805,
"000002-eas": 1682454812,
"000003-register-initial-schemas": 1701559674,
"000004-name-initial-schemas": 1701559939,
"000005-eip712-proxy": 1701559947,
"000006-indexer": 1701559957,
"000100-test-seed": 1701560054
}
Loading