-
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.
feat(website): docs guide prover withdraw TTKO (#14133)
Co-authored-by: dave | d1onys1us <[email protected]>
- Loading branch information
1 parent
cda3d5f
commit 1a136d4
Showing
2 changed files
with
51 additions
and
0 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
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,48 @@ | ||
import { Callout, Steps } from "nextra-theme-docs"; | ||
|
||
# Claim prover TTKO | ||
|
||
## Overview | ||
|
||
This guide will help you claim TTKO 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 rewards. | ||
- Must have a balance of ETH Sepolia (see: [Receive tokens](/docs/guides/receive-tokens)). | ||
|
||
## Steps | ||
|
||
<Steps> | ||
|
||
### View TTKO prover address balance | ||
|
||
Go to the Taiko L1 contract read page and select [getTokenTokenBalance(addr address)](https://sepolia.etherscan.io/address/0x6375394335f34848b850114b66A49D6F47f2cdA8#readProxyContract#F10) | ||
to lookup your TTKO claim balance for your prover's address. | ||
|
||
### Enter withdraw amount | ||
|
||
Go to the Taiko L1 contract write page and select [withdrawTaikoToken(amount uint256)](https://sepolia.etherscan.io/address/0x6375394335f34848b850114b66A49D6F47f2cdA8#writeProxyContract#F11) | ||
to withdraw TTKO 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 TTKO | ||
|
||
Click `Connect to Web3` and connect your wallet. | ||
|
||
Click `Write` and confirm the transaction in your wallet. | ||
|
||
</Steps> |
1a136d4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hi