Skip to content

Commit

Permalink
Merge pull request #158 from lidofinance/fix/simple-dvt-abi
Browse files Browse the repository at this point in the history
fix: add Simple DVT module local ABI decoder
  • Loading branch information
AnnaSila authored Feb 21, 2024
2 parents 0f2ad56 + 2aa608a commit 6f210e0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions modules/blockChain/contractAddresses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,3 +206,8 @@ export const Burner: ChainAddressMap = {
[CHAINS.Goerli]: '0x20c61C07C2E2FAb04BF5b4E12ce45a459a18f3B1',
[CHAINS.Holesky]: '0x4E46BD7147ccf666E1d73A3A456fC7a68de82eCA',
}

export const SimpleDVT: ChainAddressMap = {
[CHAINS.Mainnet]: '0xaE7B191A31f627b4eB1d4DaC64eaB9976995b433',
[CHAINS.Holesky]: '0x11a93807078f8BB880c1BD0ee4C387537de4b4b6',
}
1 change: 1 addition & 0 deletions modules/votes/hooks/useEvmScriptDecoder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ export function useEVMScriptDecoder(): EVMScriptDecoder {
[KEYS.ExecutionLayerRewardsVault]:
abis.ExecutionLayerRewardsVaultAbi__factory.abi,
[KEYS.Burner]: abis.BurnerAbi__factory.abi,
[KEYS.SimpleDVT]: abis.NodeOperatorsRegistryAbi__factory.abi,
})

const etherscanDecoder = new abiProviders.Base({
Expand Down

0 comments on commit 6f210e0

Please sign in to comment.