Skip to content

Commit

Permalink
feat: add Ethereum Mainnet deployment
Browse files Browse the repository at this point in the history
feat: add support for Ethereum Mainnet network
  • Loading branch information
scorpion9979 committed Jan 17, 2023
1 parent b4f5c5f commit 54b806b
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 25 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ALCHEMY_KEY=xxxxxxxxxxxxxxxxxx

# Network where the bot should run
NETWORK_NAME=matic
NETWORK_NAME=homestead

# Persistence is whether blockchain data should be cached locally across sessions.
PERSISTENCE=true
Expand Down
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,11 @@ $ yarn start

## Supported Chains

- [ ] Ethereum Mainnet
- [x] Ethereum Mainnet
- [x] Polygon Mainnet
- [ ] Binance Smart Chain Mainnet
- [ ] Fantom
- [ ] Ethereum Goerli Testnet
- [ ] Ethereum Kovan Testnet
- [x] Ethereum Rinkeby Testnet
- [ ] Ethereum Ropsten Testnet

## License

Expand Down
36 changes: 18 additions & 18 deletions src/networks.json
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
{
"matic": {
"homestead": {
"contracts": {
"balanceSheet": "0xd2abC684c94603Cf3Eb72a0dAAAdE8943a754282",
"flashSwap": "0x4D349A76321eBc9fF8313f23967Ad913720bbda3"
"balanceSheet": "0x452467A37f7A0c1EA8432A52b8bbe3Cc31E9513b",
"flashSwap": "0x529D440aCa6D7Ad6c8Fe2423d78DB7Ef95460435"
},
"uniswap": {
"factory": "0x5757371414417b8C6CAad45bAeF941aBc7d3Ab32",
"factory": "0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f",
"initCodeHash": "0x96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f",
"underlyingPairs": {
"0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174": {
"pair": "0x853Ee4b2A13f8a742d64C8F088bE7bA2131f670d",
"token0": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
"token1": "0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619"
"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48": {
"pair": "0xB4e16d0168e52d35CaCD2c6185b44281Ec28C9Dc",
"token0": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"token1": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
}
}
},
"startBlock": 30144233
"startBlock": 16228745
},
"rinkeby": {
"matic": {
"contracts": {
"balanceSheet": "0x93A3677eab94ce90e07b4BC243DB2F8B1351c5B7",
"flashSwap": "0x8c02F9665bcCDdABb924c09B4e825ca4cA2A3508"
"balanceSheet": "0xd2abC684c94603Cf3Eb72a0dAAAdE8943a754282",
"flashSwap": "0x4D349A76321eBc9fF8313f23967Ad913720bbda3"
},
"uniswap": {
"factory": "0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f",
"factory": "0x5757371414417b8C6CAad45bAeF941aBc7d3Ab32",
"initCodeHash": "0x96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f",
"underlyingPairs": {
"0x1Eea97bE3e3a291135794c6417AD54109004FdC6": {
"pair": "0x28F095098395955B9A46a50A140B48c4De55fF84",
"token0": "0x03AF85872ed51d0b7C919410eAfd3C00CDFA3E54",
"token1": "0x1Eea97bE3e3a291135794c6417AD54109004FdC6"
"0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174": {
"pair": "0x853Ee4b2A13f8a742d64C8F088bE7bA2131f670d",
"token0": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
"token1": "0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619"
}
}
},
"startBlock": 9607741
"startBlock": 30144233
}
}
3 changes: 1 addition & 2 deletions src/types.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
// TODO: add networks "goerli" | "kovan" | "matic" | "rinkeby" | "ropsten";
export type NetworkName = "matic" | "rinkeby";
export type NetworkName = "matic" | "homestead";

0 comments on commit 54b806b

Please sign in to comment.