Closed smartcontracts closed 2 months ago
The pull request introduces the SuperchainContractTable
component, which fetches and displays contract addresses for specified blockchain chains. It manages loading and error states while retrieving data from a JSON configuration file. Additionally, it updates the documentation in addresses.mdx
to include sections for Ethereum Superchain contracts, enhancing the reference guide for users.
File | Change Summary |
---|---|
components/SuperchainContractTable.tsx | Added SuperchainContractTable component to fetch and display contract addresses for blockchains. |
pages/chain/addresses.mdx | Updated documentation to include sections for Ethereum Superchain contracts using the new component. |
Objective | Addressed | Explanation |
---|---|---|
Enhance documentation for Superchain contracts (undefined) | ✅ | |
Implement a new component for fetching addresses (undefined) | ✅ |
L1ContractTable
component also fetches addresses from a remote URL and handles loading and error states, similar to the SuperchainContractTable
component's functionality.Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Name | Link |
---|---|
Latest commit | ef4022c0d676857719966b5170e00e7755e29d6f |
Latest deploy log | https://app.netlify.com/sites/docs-optimism/deploys/66e3642ff303590008fdfcd1 |
Deploy Preview | https://deploy-preview-897--docs-optimism.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Adds a new table to the contract addresses page that includes the two Superchain contracts.