Skip to content

Commit 9775460

Browse files
committed
feat: Add stETH support to ethereum network
1 parent 67c611a commit 9775460

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

constants.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export enum CONTRACT_NAMES {
99
WBNB = 'WBNB',
1010
WFTM = 'WFTM',
1111
WMATIC = 'WMATIC',
12+
WSTETH = 'WSTETH',
1213
ONE = 'ONE',
1314
ERC20 = 'ERC20',
1415
Details = 'Details',
@@ -46,6 +47,7 @@ export enum TOKEN_NAMES {
4647
WBNB = 'WBNB',
4748
WFTM = 'WFTM',
4849
WMATIC = 'WMATIC',
50+
WSTETH = 'WSTETH',
4951
}
5052

5153
export enum DEPLOYMENT_TAGS {

networks/ethereum.config.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@ export const ethereum: NetworkUserConfig = {
6161
name: TOKEN_NAMES.WETH,
6262
address: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2',
6363
},
64+
{
65+
/** https://docs.lido.fi/contracts/wsteth/ */
66+
factory: EthereumERC20__factory,
67+
name: TOKEN_NAMES.WSTETH,
68+
address: '0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0',
69+
},
6470
],
6571
chainlink: {
6672
deployLocal: false,

0 commit comments

Comments
 (0)