Managing Delegations Using the Block Explorer#
This page is for advanced users.
When you make delegations to FTSO data providers, you increase their vote power, reinforce the stability of the FTSO ecosystem, and earn monetary rewards.
Use the following information to manage your vote-power delegations with the the block explorer, which provides many options but is more complex. Alternatively, if you prefer a simpler interface, use the Flare Portal.
Prerequisites#
Before you delegate your vote power, you must:
- Wrap your native tokens. Wrapped tokens are required to delegate your vote power to data providers.
- Choose 1 or 2 data providers. Multiple lists of data providers are available online, such as FlareMetrics. As you browse the lists, consider the factors that affect the potential for rewards.
- Understand how the timing of delegations affects rewards, and consider the implications about the vote-power snapshot that will affect your rewards.
Delegating Your Vote Power#
- After you choose your data provider from the list of data providers, locate its address beneath its name, and copy it.
-
To verify the address of the data provider, open a block explorer, paste the address in the search field, and click the same address displayed as the result.
On the Transactions tab, a list of recently submitted
SubmitHash
andRevealPrices
transactions are displayed to confirm that the data provider is operating. -
Open a block explorer for the appropriate network. The block explorer dashboard is displayed.
- Follow the Retrieval from Blockchain procedure to find and open the
WNat
contract. The Contract Address Details page is displayed. -
Click the Write Contract tab, and then click Connect Wallet, as shown in the following image:
Write Contract Tab and Connect Your Wallet. -
Complete the steps to connect your wallet.
-
Locate the
delegate
method, and specify values for these parameters:- _to(address): The address for the data provider you copied in Step 1.
- _bips(uin256): The percentage in basis points. For example, 10000 bips = 100%, and 5000 bips = 50%.
-
Click Write to run the
delegate
method. - Follow the steps to complete the transaction in your wallet. Delegation is complete.
In the next reward epoch, your newly delegated tokens will be included in the calculation of your selected data provider's weight. If the data provider submits useful data and garners any rewards, you will be able to claim your share of the rewards when the reward epoch is over.
Removing Delegations#
- Open a block explorer for the appropriate network. The block explorer dashboard is displayed.
- Follow the Retrieval from Blockchain procedure to find and open the
WNat
contract. The Contract Address Details page is displayed. -
Click the Write Contract tab, and then click Connect Wallet, as shown in the following image:
Write Contract Tab and Connect Your Wallet. -
Complete the steps to connect your wallet.
- Locate the
delegate
method, change the value of _bips(uin256) for the data provider's address to 0, and click Write to run the method. - Follow the steps to complete the transaction in your wallet.
Redelegating Vote Power#
- Open a block explorer for the appropriate network. The block explorer dashboard is displayed.
- Follow the Retrieval from Blockchain procedure to find and open the
WNat
contract. The Contract Address Details page is displayed. -
Click the Write Contract tab, and then click Connect Wallet, as shown in the following image:
Write Contract Tab and Connect Your Wallet. -
Complete the steps to connect your wallet.
- Locate the
undelegateAll
method, and click Write to run the method. - Follow the steps to complete the transaction in your wallet. All your delegations are removed.
- Delegate to the data providers you've chosen by following the previous set of steps to delegate.
Revoking Vote Power#
You can immediately revoke your vote power from a malicious data provider.
- Open a block explorer for the appropriate network. The block explorer dashboard is displayed.
- Follow the Retrieval from Blockchain procedure to find and open the
WNat
contract. The Contract Address Details page is displayed. -
Click the Write Contract tab, and then click Connect Wallet, as shown in the following image:
Write Contract Tab and Connect Your Wallet. -
Complete the steps to connect your wallet.
-
Locate the
revokeDelegationAt
method, and specify values for the following parameters:- _who(address): The address of the data provider from whom you will revoke your delegation.
- _blockNumber(uint256): The block number at which your delegation will be revoked.
-
Click Write to run the method.
- Follow the steps to complete the transaction in your wallet. Your delegation is immediately revoked.