-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(website): add hackathon docs and update contract docs (#13593)
- Loading branch information
Showing
24 changed files
with
126 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
--- | ||
title: {{name}} | ||
--- | ||
|
||
{{>common}} | ||
|
||
{{#each items}} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
packages/website/pages/docs/reference/contract-documentation/L1/ProofVerifier.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
--- | ||
title: IProofVerifier | ||
--- | ||
|
||
## IProofVerifier | ||
|
||
### verifyZKP | ||
|
4 changes: 4 additions & 0 deletions
4
...ges/website/pages/docs/reference/contract-documentation/L1/TaikoCustomErrors.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
--- | ||
title: TaikoCustomErrors | ||
--- | ||
|
||
## TaikoCustomErrors | ||
|
||
### L1_0_FEE_BASE | ||
|
4 changes: 4 additions & 0 deletions
4
packages/website/pages/docs/reference/contract-documentation/L1/TaikoData.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
--- | ||
title: TaikoData | ||
--- | ||
|
||
## TaikoData | ||
|
||
### Config | ||
|
4 changes: 4 additions & 0 deletions
4
packages/website/pages/docs/reference/contract-documentation/L1/TaikoEvents.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
--- | ||
title: TaikoEvents | ||
--- | ||
|
||
## TaikoEvents | ||
|
||
### BlockVerified | ||
|
4 changes: 4 additions & 0 deletions
4
packages/website/pages/docs/reference/contract-documentation/L1/TaikoL1.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
--- | ||
title: TaikoL1 | ||
--- | ||
|
||
## TaikoL1 | ||
|
||
### state | ||
|
4 changes: 4 additions & 0 deletions
4
packages/website/pages/docs/reference/contract-documentation/L1/TaikoToken.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
--- | ||
title: TaikoToken | ||
--- | ||
|
||
## TaikoToken | ||
|
||
_This is Taiko's governance and fee token._ | ||
|
4 changes: 4 additions & 0 deletions
4
packages/website/pages/docs/reference/contract-documentation/L2/TaikoL2.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
--- | ||
title: TaikoL2 | ||
--- | ||
|
||
## TaikoL2 | ||
|
||
### latestSyncedL1Height | ||
|
4 changes: 4 additions & 0 deletions
4
packages/website/pages/docs/reference/contract-documentation/bridge/Bridge.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
--- | ||
title: Bridge | ||
--- | ||
|
||
## Bridge | ||
|
||
Bridge contract which is deployed on both L1 and L2. Mostly a thin wrapper | ||
|
4 changes: 4 additions & 0 deletions
4
...ages/website/pages/docs/reference/contract-documentation/bridge/BridgeErrors.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
--- | ||
title: BridgeErrors | ||
--- | ||
|
||
## BridgeErrors | ||
|
||
### B_CANNOT_RECEIVE | ||
|
4 changes: 4 additions & 0 deletions
4
...ages/website/pages/docs/reference/contract-documentation/bridge/BridgedERC20.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
--- | ||
title: BridgedERC20 | ||
--- | ||
|
||
## BridgedERC20 | ||
|
||
### srcToken | ||
|
4 changes: 4 additions & 0 deletions
4
packages/website/pages/docs/reference/contract-documentation/bridge/EtherVault.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
--- | ||
title: EtherVault | ||
--- | ||
|
||
## EtherVault | ||
|
||
EtherVault is a special vault contract that: | ||
|
4 changes: 4 additions & 0 deletions
4
packages/website/pages/docs/reference/contract-documentation/bridge/IBridge.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
--- | ||
title: IBridge | ||
--- | ||
|
||
## IBridge | ||
|
||
Bridge interface. | ||
|
4 changes: 4 additions & 0 deletions
4
packages/website/pages/docs/reference/contract-documentation/bridge/TokenVault.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
...s/website/pages/docs/reference/contract-documentation/common/AddressResolver.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
...s/website/pages/docs/reference/contract-documentation/common/IAddressManager.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
--- | ||
title: IAddressManager | ||
--- | ||
|
||
## IAddressManager | ||
|
||
Interface to set and get an address for a name. | ||
|
4 changes: 4 additions & 0 deletions
4
packages/website/pages/docs/reference/contract-documentation/common/IHeaderSync.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
...es/website/pages/docs/reference/contract-documentation/common/IMintableERC20.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
--- | ||
title: IMintableERC20 | ||
--- | ||
|
||
## IMintableERC20 | ||
|
||
### mint | ||
|
4 changes: 4 additions & 0 deletions
4
...es/website/pages/docs/reference/contract-documentation/signal/ISignalService.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
--- | ||
title: ISignalService | ||
--- | ||
|
||
## ISignalService | ||
|
||
### sendSignal | ||
|
4 changes: 4 additions & 0 deletions
4
...ges/website/pages/docs/reference/contract-documentation/signal/SignalService.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
--- | ||
title: SignalService | ||
--- | ||
|
||
## SignalService | ||
|
||
### SignalProof | ||
|
33 changes: 33 additions & 0 deletions
33
packages/website/pages/docs/reference/ethglobal-tokyo-reference.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
This is the ETHGlobal Tokyo hackathon testnet reference page. | ||
|
||
## Network configuration | ||
|
||
| Network | Chain ID | RPC URL | WS URL | Symbol | Block Explorer URL | | ||
| ------- | -------- | --------------------------------- | -------------------------------- | ------ | -------------------------------------- | | ||
| Sepolia | 11155111 | https://rpc.sepolia.org | N/A (can try Alchemy or Infura) | ETH | https://sepolia.etherscan.io/ | | ||
| Taiko | 167002 | https://l2rpc.hackathon.taiko.xyz | https://l2ws.hackathon.taiko.xyz | ETH | https://l2explorer.hackathon.taiko.xyz | | ||
|
||
## Faucets | ||
|
||
| Network | Faucet URL | | ||
| ------- | ---------------------------------------------------------------- | | ||
| Sepolia | https://taiko.xyz/docs/guides/receive-tokens#receive-sepolia-eth | | ||
| Taiko | https://l2faucet.hackathon.taiko.xyz | | ||
|
||
## Contract addresses | ||
|
||
> **NOTE:** If there is a missing contract address you are looking for or are interested in, please reach out to the Taiko team on the ETH Global Tokyo Discord. | ||
### Sepolia L1 | ||
|
||
| Contract name | Address | | ||
| ------------- | ----------------------------------------------------------------------------------------------------------------------------- | | ||
| SignalService | [0x11013a48Ad87a528D23CdA25D2C34D7dbDA6b46b](https://sepolia.etherscan.io/address/0x11013a48Ad87a528D23CdA25D2C34D7dbDA6b46b) | | ||
| TaikoL1 | [0x1Dd84563dAD23791f35111EefB3e28f709451526](https://sepolia.etherscan.io/address/0x1Dd84563dAD23791f35111EefB3e28f709451526) | | ||
|
||
### Taiko L2 | ||
|
||
| Contract name | Address | | ||
| ------------- | --------------------------------------------------------------------------------------------------------------------------------------- | | ||
| SignalService | [0x0000777700000000000000000000000000000007](https://l2explorer.hackathon.taiko.xyz/address/0x0000777700000000000000000000000000000007) | | ||
| TaikoL2 | [0x0000777700000000000000000000000000000001](https://l2explorer.hackathon.taiko.xyz/address/0x0000777700000000000000000000000000000001) | |