Skip to content

Commit

Permalink
docs(website): otherContracts addresses render grid (#14934)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcusWentz authored Oct 11, 2023
1 parent d1f6bef commit 7778d43
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/website/domain/chain/jolnir/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,13 @@ export const JOLNIR_CONFIG = {
deterministicDeploymentProxy: {
name: "Deterministic Deployment Proxy",
address: {
impl: "0xTODO(docs)",
impl: "0x4e59b44847b379578588920ca78fbf26c0b4956c",
},
},
erc4337Entrypoint: {
name: "ERC-4337 Entrypoint",
address: {
impl: "0xTODO(docs)",
impl: "0x4e59b44847b379578588920ca78fbf26c0b4956c",
},
},
weth: {
Expand Down
29 changes: 29 additions & 0 deletions packages/website/pages/docs/reference/contract-addresses.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -176,3 +176,32 @@ Below are the contracts we have deployed on the base layer (Sepolia L1) and the
})}
</tbody>
</table>

<table>
<thead>
<tr>
<th style={{ textAlign: "left" }}>Name</th>
<th style={{ textAlign: "left" }}>Implementation</th>
</tr>
</thead>
<tbody>
{Object.keys(TAIKO_CONFIG.otherContracts).map((key) => {
const contract = TAIKO_CONFIG.otherContracts[key];
const baseUrl = TAIKO_CONFIG.blockExplorer.url;
const blockExplorerName = TAIKO_CONFIG.blockExplorer.name;
const proxyAddress = contract.address.proxy;
const implementationAddress = contract.address.impl;
return (
<tr key={contract.name}>
<td>{contract.name}</td>
<td>
<a href={contractAddressToLink(baseUrl, implementationAddress)}>
{`${implementationAddress}`}
</a>
</td>
</tr>
);
})}
</tbody>
</table>

0 comments on commit 7778d43

Please sign in to comment.