Skip to content

Commit

Permalink
Deploy: FastBridgeRouter, Create2Factory (#323)
Browse files Browse the repository at this point in the history
* Add config for Scroll

* Deploy some basic contracts

* Add external Scroll deployments

* Adjust QuoterV2 script to deploy w/o SynapseRouter

* Deploy FB Router on Scroll

* Add integration test for UniV3 module on Scroll

* Deploy UniV3 module

* Add simple config and integration test for it

* deploy: Create2Factory on linea
  • Loading branch information
ChiTimesChi authored Jul 22, 2024
1 parent 8556305 commit 97aeb0c
Show file tree
Hide file tree
Showing 20 changed files with 2,866 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ FANTOM_ETHERSCAN_KEY=PasteYourOwnKeyPlease
HARMONY_API=https://api.s0.t.hmny.io
# Klaytn
KLATYN_API=https://public-node-api.klaytnapi.com/v1/cypress
# Linea
LINEA_API=https://rpc.linea.build
LINEA_ETHERSCAN_URL=https://api.lineascan.build/api
LINEA_ETHERSCAN_KEY=PasteYourOwnKeyPlease
# Mainnet
MAINNET_API=https://eth.llamarpc.com
MAINNET_ETHERSCAN_URL=https://api.etherscan.io/api
Expand All @@ -89,6 +93,10 @@ OPTIMISM_ETHERSCAN_KEY=PasteYourOwnKeyPlease
POLYGON_API=https://polygon.llamarpc.com
POLYGON_ETHERSCAN_URL=https://api.polygonscan.com/api
POLYGON_ETHERSCAN_KEY=PasteYourOwnKeyPlease
# Scroll
SCROLL_API=https://rpc.scroll.io
SCROLL_ETHERSCAN_URL=https://api.scrollscan.com/api
SCROLL_ETHERSCAN_KEY=PasteYourOwnKeyPlease
# zkEVM
ZKEVM_API=https://zkevm-rpc.com
ZKEVM_ETHERSCAN_URL=https://api-zkevm.polygonscan.com/api
Expand Down
1 change: 1 addition & 0 deletions deployments/linea/.chainId
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
59144
4 changes: 4 additions & 0 deletions deployments/linea/Create2Factory.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"address": "0xa6190aBC82427800935E0598892f7488a7F73A04",
"constructorArgs": "0x"
}
1 change: 1 addition & 0 deletions deployments/scroll/.chainId
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
534352
4 changes: 4 additions & 0 deletions deployments/scroll/Create2Factory.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"address": "0xa6190aBC82427800935E0598892f7488a7F73A04",
"constructorArgs": "0x"
}
30 changes: 30 additions & 0 deletions deployments/scroll/DefaultPoolCalc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"address": "0x0000000000Cc5af216a3E1614091a20e11bbfD32",
"constructorArgs": "0x",
"abi": [
{
"type": "function",
"name": "calculateAddLiquidity",
"inputs": [
{
"name": "pool",
"type": "address",
"internalType": "address"
},
{
"name": "amounts",
"type": "uint256[]",
"internalType": "uint256[]"
}
],
"outputs": [
{
"name": "amountOut",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
}
]
}
Loading

0 comments on commit 97aeb0c

Please sign in to comment.