-
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): Update claim-prover-rewards.mdx (#14368)
Co-authored-by: d1onys1us <13951458+d1onys1us@users.noreply.github.com>
- Loading branch information
Showing
1 changed file
with
50 additions
and
0 deletions.
There are no files selected for viewing
50 changes: 50 additions & 0 deletions
50
packages/website/pages/docs/guides/run-a-node/claim-prover-rewards.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,50 @@ | ||
import { Callout, Steps } from "nextra-theme-docs"; | ||
|
||
# Claim prover rewards | ||
|
||
This guide will help you claim TTKO/TTKOe earned as a prover. | ||
|
||
## Prerequisites | ||
|
||
- You followed the [Enable a prover](/docs/guides/enable-a-prover) guide and have a prover which has proved a block to earn TTKO/TTKOe rewards. | ||
|
||
### Grimsvotn L2 (TTKO) | ||
|
||
- Must have a balance of ETH on Sepolia L1 (see: [Receive tokens](/docs/guides/receive-tokens)). | ||
|
||
### Eldfell L3 (TTKOe) | ||
|
||
- Must have a balance of ETH on Grimsvotn L2 (see: [Receive tokens](/docs/guides/receive-tokens)/[Bridge tokens](/docs/guides/build-on-taiko/bridge-tokens)). | ||
|
||
## Steps | ||
|
||
<Steps> | ||
|
||
### View TTKO/TTKOe prover address balance | ||
|
||
Go to the TaikoL1 contract read page ([TTKO](https://sepolia.etherscan.io/address/0x6375394335f34848b850114b66A49D6F47f2cdA8#readProxyContract#F10)/[TTKOe](https://explorer.test.taiko.xyz/address/0x4e7c942D51d977459108bA497FDc71ae0Fc54a00/read-proxy#address-tabs)) and input your prover address to lookup your TTKO/TTKOe claim balance. | ||
|
||
### Enter withdraw amount | ||
|
||
Switch to the contract write page and select `withdrawTaikoToken(amount uint256)` to withdraw [TTKO](https://sepolia.etherscan.io/address/0x6375394335f34848b850114b66A49D6F47f2cdA8#writeProxyContract#F11)/[TTKOe](https://explorer.test.taiko.xyz/address/0x4e7c942D51d977459108bA497FDc71ae0Fc54a00/write-proxy#address-tabs) balances earned from being a prover. | ||
|
||
<Callout type="warning"> | ||
Make sure to click the plus sign and add `10^8` decimals, or add 8 zeroes | ||
manually. | ||
</Callout> | ||
|
||
For example if you want to withdraw `69` TTKO, you would enter `6900000000`. | ||
|
||
<Callout type="warning"> | ||
Make sure | ||
```solidity | ||
amount<=withdrawTaikoToken(proverAddress) | ||
``` | ||
or else the transaction will revert. | ||
</Callout> | ||
|
||
### Withdraw your tokens | ||
|
||
Click `Write` and confirm the transaction in your wallet. | ||
|
||
</Steps> |