Skip to content

Commit

Permalink
Merge pull request #29 from lidofinance/feat/linea-testnet
Browse files Browse the repository at this point in the history
Feat: wstETH on Linea
  • Loading branch information
TheDZhon authored Dec 14, 2023
2 parents b986c57 + 811460c commit 12e23d6
Show file tree
Hide file tree
Showing 31 changed files with 338 additions and 65 deletions.
File renamed without changes.
File renamed without changes.
27 changes: 27 additions & 0 deletions config_samples/linea/mainnet/linea_mainnet_config_L1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"contracts": {
"0x051F1D88f0aF5763fB888eC4378b4D8B29ea3319": "TransparentUpgradeableProxy",
"0x5b0bb17755fba06028530682e2fd5bc373931768": "ProxyAdmin"
},
"explorer_hostname": "api.etherscan.io",
"explorer_token_env_var": "ETHERSCAN_EXPLORER_TOKEN",
"github_repo": {
"url": "https://github.com/Consensys/linea-contracts-fix",
"commit": "0949c4096664e613f73ed3ce51c32f97fc56cdef",
"relative_root": ""
},
"dependencies": {
"@openzeppelin/contracts": {
"url": "https://github.com/OpenZeppelin/openzeppelin-contracts",
"commit": "0a25c1940ca220686588c4af3ec526f725fe2582",
"relative_root": "contracts",
"//": "oz version 4.8.3"
},
"@openzeppelin/contracts-upgradeable": {
"url": "https://github.com/OpenZeppelin/openzeppelin-contracts-upgradeable",
"commit": "58fa0f81c4036f1a3b616fdffad2fd27e5d5ce21",
"relative_root": "contracts",
"//": "oz version 4.8.3"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"contracts": {
"0x6ccfd65b0b14f67259c77ca6267104e058ddb292": "TokenBridge"
},
"explorer_hostname": "api.etherscan.io",
"explorer_token_env_var": "ETHERSCAN_EXPLORER_TOKEN",
"github_repo": {
"url": "https://github.com/Consensys/linea-contracts-fix",
"commit": "0949c4096664e613f73ed3ce51c32f97fc56cdef",
"relative_root": ""
},
"dependencies": {
"@openzeppelin/contracts": {
"url": "https://github.com/OpenZeppelin/openzeppelin-contracts",
"commit": "e50c24f5839db17f46991478384bfda14acfb830",
"relative_root": "contracts",
"//": "oz version 4.9.2"
},
"@openzeppelin/contracts-upgradeable": {
"url": "https://github.com/OpenZeppelin/openzeppelin-contracts-upgradeable",
"commit": "bc95521e34dcd49792065e264a7ad2b5a86f0091",
"relative_root": "contracts",
"//": "oz version 4.9.2"
}
}
}
29 changes: 29 additions & 0 deletions config_samples/linea/mainnet/linea_mainnet_config_L2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"contracts": {
"0xa11ba93afbd6d18e26fefdb2c6311da6c9b370d6": "ProxyAdmin",
"0x2bfdf4a0d54c93a4baf74f8dcea8a275d8ee97a9": "TokenBridge",
"0xc0583e2F5930EDE5Fab9D57bAC4169878730B010": "CustomBridgedToken",
"0xF951d7592e03eDB0Bab3D533935e678Ce64Eb927": "ProxyAdmin"
},
"explorer_hostname": "api.lineascan.build",
"explorer_token_env_var": "LINEA_EXPLORER_TOKEN",
"github_repo": {
"url": "https://github.com/Consensys/linea-contracts-fix",
"commit": "0949c4096664e613f73ed3ce51c32f97fc56cdef",
"relative_root": ""
},
"dependencies": {
"@openzeppelin/contracts": {
"url": "https://github.com/OpenZeppelin/openzeppelin-contracts",
"commit": "e50c24f5839db17f46991478384bfda14acfb830",
"relative_root": "contracts",
"//": "oz version 4.9.2"
},
"@openzeppelin/contracts-upgradeable": {
"url": "https://github.com/OpenZeppelin/openzeppelin-contracts-upgradeable",
"commit": "bc95521e34dcd49792065e264a7ad2b5a86f0091",
"relative_root": "contracts",
"//": "oz version 4.9.2"
}
}
}
13 changes: 13 additions & 0 deletions config_samples/linea/mainnet/linea_mainnet_config_L2_gov.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"contracts": {
"0x74Be82F00CC867614803ffd7f36A2a4aF0405670": "LineaBridgeExecutor"
},
"explorer_hostname": "api.lineascan.build",
"explorer_token_env_var": "LINEA_EXPLORER_TOKEN",
"github_repo": {
"url": "https://github.com/Consensys/governance-crosschain-bridges",
"commit": "315308a2640c696937185732159b130417f29997",
"relative_root": ""
},
"dependencies": {}
}
21 changes: 21 additions & 0 deletions config_samples/linea/mainnet/linea_mainnet_config_L2_proxy.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"contracts": {
"0x353012dc4a9A6cF55c941bADC267f82004A8ceB9": "TransparentUpgradeableProxy",
"0xB5beDd42000b71FddE22D3eE8a79Bd49A568fC8F": "TransparentUpgradeableProxy"
},
"explorer_hostname": "api.lineascan.build",
"explorer_token_env_var": "LINEA_EXPLORER_TOKEN",
"github_repo": {
"url": "https://github.com/Consensys/linea-contracts-fix",
"commit": "0949c4096664e613f73ed3ce51c32f97fc56cdef",
"relative_root": ""
},
"dependencies": {
"@openzeppelin/contracts": {
"url": "https://github.com/OpenZeppelin/openzeppelin-contracts",
"commit": "0a25c1940ca220686588c4af3ec526f725fe2582",
"relative_root": "contracts",
"//": "oz version 4.8.3"
}
}
}
19 changes: 19 additions & 0 deletions config_samples/linea/testnet/linea_testnet_config_L1_proxy.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"contracts": {
"0x5506A3805fB8A58Fa58248CC52d2b06D92cA94e6": "TransparentUpgradeableProxy"
},
"explorer_hostname": "api-goerli.etherscan.io",
"github_repo": {
"url": "https://github.com/Consensys/linea-contracts",
"commit": "3cf85529fd4539eb06ba998030c37e47f98c528a",
"relative_root": ""
},
"dependencies": {
"@openzeppelin/contracts": {
"url": "https://github.com/OpenZeppelin/openzeppelin-contracts",
"commit": "0a25c1940ca220686588c4af3ec526f725fe2582",
"relative_root": "contracts",
"//": "oz version 4.8.3"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"contracts": {
"0xE80528ac405ffd62cE439593cE74C20726048F62": "ProxyAdmin"
},
"explorer_hostname": "api-goerli.etherscan.io",
"github_repo": {
"url": "https://github.com/Consensys/linea-contracts",
"commit": "3cf85529fd4539eb06ba998030c37e47f98c528a",
"relative_root": ""
},
"dependencies": {
"@openzeppelin/contracts": {
"url": "https://github.com/OpenZeppelin/openzeppelin-contracts",
"commit": "23869e5b2a7c6b9c3e27dee4289615b8cf50e36b",
"relative_root": "contracts",
"//": "oz version 4.1.0"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"contracts": {
"0x292A9478A52F0B8b12429c58F79367448aBe0214": "TokenBridge"
},
"explorer_hostname": "api-goerli.etherscan.io",
"github_repo": {
"url": "https://github.com/Consensys/linea-contracts",
"commit": "3cf85529fd4539eb06ba998030c37e47f98c528a",
"relative_root": ""
},
"dependencies": {
"@openzeppelin/contracts": {
"url": "https://github.com/OpenZeppelin/openzeppelin-contracts",
"commit": "e50c24f5839db17f46991478384bfda14acfb830",
"relative_root": "contracts",
"//": "oz version 4.9.2"
},
"@openzeppelin/contracts-upgradeable": {
"url": "https://github.com/OpenZeppelin/openzeppelin-contracts-upgradeable",
"commit": "bc95521e34dcd49792065e264a7ad2b5a86f0091",
"relative_root": "contracts",
"//": "oz version 4.9.2"
}
}
}
25 changes: 25 additions & 0 deletions config_samples/linea/testnet/linea_testnet_config_L2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"contracts": {
"0x2bb4036e0cdd52c2134a95b6249eb89e5f6bc7f1": "CustomBridgedToken"
},
"explorer_hostname": "api-testnet.lineascan.build",
"github_repo": {
"url": "https://github.com/Consensys/linea-contracts",
"commit": "3cf85529fd4539eb06ba998030c37e47f98c528a",
"relative_root": ""
},
"dependencies": {
"@openzeppelin/contracts": {
"url": "https://github.com/OpenZeppelin/openzeppelin-contracts",
"commit": "e50c24f5839db17f46991478384bfda14acfb830",
"relative_root": "contracts",
"//": "oz version 4.9.2"
},
"@openzeppelin/contracts-upgradeable": {
"url": "https://github.com/OpenZeppelin/openzeppelin-contracts-upgradeable",
"commit": "bc95521e34dcd49792065e264a7ad2b5a86f0091",
"relative_root": "contracts",
"//": "oz version 4.9.2"
}
}
}
12 changes: 12 additions & 0 deletions config_samples/linea/testnet/linea_testnet_config_L2_gov.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"contracts": {
"0x4b38D24E70079f2dd1D79B86E2B52f4b13872a3B": "LineaBridgeExecutor"
},
"explorer_hostname": "api-testnet.lineascan.build",
"github_repo": {
"url": "https://github.com/Consensys/governance-crosschain-bridges",
"commit": "7d4fd35e92688d7aa56ae2f94872f851bacae50c",
"relative_root": "contracts/bridges"
},
"dependencies": {}
}
20 changes: 20 additions & 0 deletions config_samples/linea/testnet/linea_testnet_config_L2_proxy.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"contracts": {
"0x9ceed01e39279a529f44deB9d35E09a04B1E67c8": "TransparentUpgradeableProxy",
"0x71062fBC3da2d792285C3d5dabba12A42339e85c": "ProxyAdmin"
},
"explorer_hostname": "api-testnet.lineascan.build",
"github_repo": {
"url": "https://github.com/Consensys/linea-contracts",
"commit": "3cf85529fd4539eb06ba998030c37e47f98c528a",
"relative_root": ""
},
"dependencies": {
"@openzeppelin/contracts": {
"url": "https://github.com/OpenZeppelin/openzeppelin-contracts",
"commit": "0a25c1940ca220686588c4af3ec526f725fe2582",
"relative_root": "contracts",
"//": "oz version 4.8.3"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"contracts": {
"0x1637A76e2981bf3fea05B756d79a8f3F874822af": "ProxyAdmin"
},
"explorer_hostname": "api-testnet.lineascan.build",
"github_repo": {
"url": "https://github.com/Consensys/linea-contracts",
"commit": "3cf85529fd4539eb06ba998030c37e47f98c528a",
"relative_root": ""
},
"dependencies": {
"@openzeppelin/contracts": {
"url": "https://github.com/OpenZeppelin/openzeppelin-contracts",
"commit": "23869e5b2a7c6b9c3e27dee4289615b8cf50e36b",
"relative_root": "contracts",
"//": "oz version 4.1.0"
}
}
}
Loading

0 comments on commit 12e23d6

Please sign in to comment.