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

Arbitrum Deploy scripts #15

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

alexkeating
Copy link
Collaborator

@alexkeating alexkeating commented Jun 27, 2023

Description

  • Script to deploy to arbitrum and deployed contract address

@alexkeating alexkeating requested a review from mds1 June 27, 2023 13:26
@alexkeating alexkeating marked this pull request as ready for review June 27, 2023 13:26
@alexkeating alexkeating force-pushed the feature/add-arbitrum-deploy branch from 5f1ed6d to 54a4b97 Compare June 27, 2023 13:27
@github-actions
Copy link

Coverage after merging feature/add-arbitrum-deploy into main will be

93.75%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src
   RouterFactory.sol86.67%75%100%88.24%59, 68, 77, 84
   V4Router.sol100%100%100%100%
   V5Router.sol100%100%100%100%
src/lib
   Create2.sol100%100%100%100%

| Name | Chain | Address |
|----------|:-------:|:-------------:|
| 1inch Router Factory | Optimism | 0xDfb453656A14c8e9ad3F4095483CE3328977eb47 |
| 1inch Router Factory | Aribitrum | 0x8a33e6288d155aDB1d368838CB91E01d30C66eC1|
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have any already-deployed child contracts (i.e. contracts deployed from the factory) from the benchmarks that we should also document here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not on either chain yet, we do have a bunch for perpetual on Optimism which I can add to that repo. I can also deploy the child contracts for 1inch for a few tokens to fill out the table.

Comment on lines +15 to +24
IV5AggregationRouter v5AggregationRouter =
IV5AggregationRouter(0x1111111254EEB25477B68fb85Ed929f73A960582);
IV5AggregationExecutor v5AggregationExecutor =
IV5AggregationExecutor(0x454C8b4DC6a2AFfe669A3Db1633133F7d305e305);
IV4AggregationRouter v4AggregationRouter =
IV4AggregationRouter(0x1111111254fb6c44bAC0beD2854e76F90643097d);
IV4AggregationExecutor v4AggregationExecutor =
IV4AggregationExecutor(0x454C8b4DC6a2AFfe669A3Db1633133F7d305e305);

address WETH = 0x82aF49447D8a07e3bd95BD0d56f35241523fBab1;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit, but let's move these constants outside of the run function to make it more clear they're constants that you shouldn't have to modify

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants