Skip to content

Commit

Permalink
add deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahZinsmeister committed Aug 2, 2022
1 parent 80c7061 commit e20a738
Show file tree
Hide file tree
Showing 5 changed files with 274 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
PRIVATE_KEY=
RPC_URL=
ETHERSCAN_API_KEY=
ETHERSCAN_API_KEY=
CHAIN_ID=
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,14 @@

- Create and populate a .env file
- `source .env`
- `forge script script/Deploy.s.sol:Deploy --broadcast --private-key $PRIVATE_KEY --rpc-url $RPC_URL [--etherscan-api-key $ETHERSCAN_API_KEY --verify]`
- `forge script script/Deploy.s.sol:Deploy --broadcast --private-key $PRIVATE_KEY --rpc-url $RPC_URL [--etherscan-api-key $ETHERSCAN_API_KEY --verify --chain-id $CHAIN_ID]`

## Deployed Addresses

| Network | FranchiserFactory | FranchiserLens |
|---------|------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------|
| Mainnet | [0xf754A7E347F81cFdc70AF9FbCCe9Df3D826360FA](https://etherscan.io/address/0xf754a7e347f81cfdc70af9fbcce9df3d826360fa#code) | [0x3E718C61a2849FBb0181ebA83de4Ee8363014106](https://etherscan.io/address/0x3e718c61a2849fbb0181eba83de4ee8363014106#code) |
| Görli | [0xf754A7E347F81cFdc70AF9FbCCe9Df3D826360FA](https://goerli.etherscan.io/address/0xf754a7e347f81cfdc70af9fbcce9df3d826360fa#code) | [0x3E718C61a2849FBb0181ebA83de4Ee8363014106](https://goerli.etherscan.io/address/0x3e718c61a2849fbb0181eba83de4ee8363014106#code) |
| Sepolia | [0xf754A7E347F81cFdc70AF9FbCCe9Df3D826360FA](https://sepolia.etherscan.io/address/0xf754a7e347f81cfdc70af9fbcce9df3d826360fa#code) | [0x3E718C61a2849FBb0181ebA83de4Ee8363014106](https://sepolia.etherscan.io/address/0x3e718c61a2849fbb0181eba83de4ee8363014106#code) |

Note that the UNI is not yet deployed at `0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984` on Sepolia, so this deploy is non-functional for the time being.
87 changes: 87 additions & 0 deletions broadcast/Deploy.s.sol/1/run-latest.json

Large diffs are not rendered by default.

87 changes: 87 additions & 0 deletions broadcast/Deploy.s.sol/11155111/run-latest.json

Large diffs are not rendered by default.

87 changes: 87 additions & 0 deletions broadcast/Deploy.s.sol/5/run-latest.json

Large diffs are not rendered by default.

0 comments on commit e20a738

Please sign in to comment.