From a2f1705b4a8d22f50689378f35ab94e27dbef685 Mon Sep 17 00:00:00 2001 From: Will Cory Date: Fri, 9 Sep 2022 08:10:57 -0700 Subject: [PATCH 1/2] add wsteth to indexer --- packages/sdk/src/utils/chain-constants.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/sdk/src/utils/chain-constants.ts b/packages/sdk/src/utils/chain-constants.ts index 8f5cae97ed9f3..2cdd9b923bde3 100644 --- a/packages/sdk/src/utils/chain-constants.ts +++ b/packages/sdk/src/utils/chain-constants.ts @@ -153,6 +153,11 @@ export const BRIDGE_ADAPTER_DATA: { [ChainID in L2ChainID]?: BridgeAdapterData } = { [L2ChainID.OPTIMISM]: { + wstETH: { + Adapter: DAIBridgeAdapter, + l1Bridge: '0x76943C0D61395d8F2edF9060e1533529cAe05dE6' as const, + l2Bridge: '0x8E01013243a96601a86eb3153F0d9Fa4fbFb6957' as const, + }, BitBTC: { Adapter: StandardBridgeAdapter, l1Bridge: '0xaBA2c5F108F7E820C049D5Af70B16ac266c8f128' as const, From f7e6dbc1b0a30b5d6fdf2c01bf55553934765df4 Mon Sep 17 00:00:00 2001 From: Will Cory Date: Fri, 9 Sep 2022 08:14:16 -0700 Subject: [PATCH 2/2] changeset --- .changeset/gorgeous-waves-allow.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/gorgeous-waves-allow.md diff --git a/.changeset/gorgeous-waves-allow.md b/.changeset/gorgeous-waves-allow.md new file mode 100644 index 0000000000000..89f4a27cd1969 --- /dev/null +++ b/.changeset/gorgeous-waves-allow.md @@ -0,0 +1,5 @@ +--- +'@eth-optimism/sdk': patch +--- + +Add wsteth support for DAI bridge to sdk