Managing Delegations#
Use this information to manage your delegations to FTSO data providers by using the Flare Portal or the block explorer. When you make delegations to data providers, you increase their vote power, reinforce the stability of the FTSO ecosystem, and earn monetary rewards.
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 following implications about the vote-power snapshot that will affect your rewards.
Using the Flare Portal#
This information explains how to manage your delegations using the Flare Portal.
Delegating Your Vote Power#
-
Open the Flare Portal. The home page is displayed.
Flare Portal home. -
Click Connect to Wallet and log into your wallet. The interface to your Main Account opens.
-
Ensure you are connected to the network you want. In the following image, the wallet is connected to the Flare network.
Main Account on the Flare network. -
On the Main Account tab, locate the FTSO provider delegations field, and click Delegate. The Delegate FTSO providers window is displayed.
-
Click the Main provider dropdown menu, click the data provider you want, and drag the slider to select the percentage of your vote power you want to delegate to the data provider.
Delegate FTSO providers window. -
Optional: If you want to delegate to a second data provider, locate the Second (optional) provider field, and repeat step 3.
- Click Submit.
- Follow the steps to confirm the transaction in your wallet.
Removing Delegations#
- Open the Flare Portal, connect your wallet, and ensure you are connected to the network you want.
- On the Main Account tab, locate the FTSO provider delegations field, and click Delegate. The Delegate FTSO providers window is displayed.
- Drag the slider to 0% for one or both of the data providers, and click Submit.
- Follow the steps to confirm the transaction in your wallet.
Using the Block Explorer#
This section is for advanced users.
This information explains how to manage your delegations using the block explorer.
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 if you have not done so yet.
- From the block explorer, follow the Retrieval from Blockchain procedure to find and open the
WNat
contract. - Click Connect Wallet, and complete the steps to connect your wallet.
-
Click the Write Contract tab, 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#
- On the Write Contract tab in the
WNat
contract, locate thedelegate
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#
- On the Write Contract tab in the
WNat
contract, locate theundelegateAll
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#
-
On the Write Contract tab in the
WNat
contract, locate therevokeDelegationAt
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.