Skip to content

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:

The following guide refers to the original Flare block explorers.

Delegating Your Vote Power#

  1. After you choose your data provider from the list of data providers, locate its address beneath its name, and copy it.
  2. 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 and RevealPrices transactions are displayed to confirm that the data provider is operating.

  3. Open a block explorer for the appropriate network. The block explorer dashboard is displayed.

  4. Follow the Retrieval from Blockchain procedure to find and open the WNat contract. The Contract Address Details page is displayed.
  5. Click the Write Contract tab, and then click Connect Wallet, as shown in the following image:

    Write Contract Tab and Connect Your Wallet
    Write Contract Tab and Connect Your Wallet.

  6. Complete the steps to connect your wallet.

  7. 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%.
  8. Click Write to run the delegate method.

  9. 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#

  1. Open a block explorer for the appropriate network. The block explorer dashboard is displayed.
  2. Follow the Retrieval from Blockchain procedure to find and open the WNat contract. The Contract Address Details page is displayed.
  3. Click the Write Contract tab, and then click Connect Wallet, as shown in the following image:

    Write Contract Tab and Connect Your Wallet
    Write Contract Tab and Connect Your Wallet.

  4. Complete the steps to connect your wallet.

  5. 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.
  6. Follow the steps to complete the transaction in your wallet.

Redelegating Vote Power#

  1. Open a block explorer for the appropriate network. The block explorer dashboard is displayed.
  2. Follow the Retrieval from Blockchain procedure to find and open the WNat contract. The Contract Address Details page is displayed.
  3. Click the Write Contract tab, and then click Connect Wallet, as shown in the following image:

    Write Contract Tab and Connect Your Wallet
    Write Contract Tab and Connect Your Wallet.

  4. Complete the steps to connect your wallet.

  5. Locate the undelegateAll method, and click Write to run the method.
  6. Follow the steps to complete the transaction in your wallet. All your delegations are removed.
  7. 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.

  1. Open a block explorer for the appropriate network. The block explorer dashboard is displayed.
  2. Follow the Retrieval from Blockchain procedure to find and open the WNat contract. The Contract Address Details page is displayed.
  3. Click the Write Contract tab, and then click Connect Wallet, as shown in the following image:

    Write Contract Tab and Connect Your Wallet
    Write Contract Tab and Connect Your Wallet.

  4. Complete the steps to connect your wallet.

  5. 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.
  6. Click Write to run the method.

  7. Follow the steps to complete the transaction in your wallet. Your delegation is immediately revoked.

Last update: 2024-03-01