Skip to content

Staking on the App

While you can use this document to find helpful details about staking, please prefer staking on Forta App for a smoother experience.

Staking on Scan Nodes

To be a part of the Forta Network, a scan node should have at least 500 FORT of active stake staked on its behalf. Staking occurs on Polygon mainnet, so if you need to bridge your FORT tokens from Ethereum to Polygon check out this guide.

Minimum Stake Threshold

This value is subject to change and can be different per chain in the future.

The staking state is signaled by the ownership of ERC1155 shares emitted by the staking contract. There are two kinds of shares:

  • Active shares represent active stake and are counted for security. They are minted when depositing stake. These shares are transferrable.
  • Inactive shares represent inactive stake and are not counted for security. They are minted when initiateWithdrawal() is executed. These shares are non-transferrable. After staking delay, these shares can be burned to get the staked FORT back.

Staking and Rewards

Staking more than the minimum in a scan node does not affect the rewards in any way.

Again, please keep in mind that the values and parameters are subject to change.

Staking Delay

A withdrawal consists of two steps: initiating a withdrawal and withdrawing. For security reasons, there is a staking delay between initiation and the actual withdrawal. This delay is currently 10 days and is subject to change in the future.

Depositing stake

Deposit FORT to get active shares.

staking deposit

This section will describe how to stake your FORT on scan nodes through the new Forta App UI.

  1. Go to https://app.forta.network/scan-node/[your_scan_node_address] replacing “[your_scan_node_address]” with the scan node that you want to stake on

  2. Click on “Stake FORT” Click on "Stake Fort"

  3. Insert the amount FORT you want to stake on the scan node and click on “Approve tokens” Enter FORT amount

  4. Confirm the transaction Confirm transaction

Staking using Polyscan

Approve FORT

  1. Go to FORT token contract page, section Write as Proxy

  2. Connect your scan node owner wallet and make sure that you have selected the Polygon network. token connect

  3. Approve the amount you would like to stake. This amount needs to be higher than the minimum threshold mentioned before.

    • spender: FortaStaking contract address: 0xd2863157539b1D11F39ce23fC4834B62082F6874

    • amount: FORT amount, in wei. This should be same as the amount you want to stake (deposit) in the next step. For a new node, input at least the minimum 500000000000000000000 (500 FORT in wei). FORT has 18 decimals like Ether, so the FORT amount should be followed by 18 zeroes. If you are unsure, you can use a converter like https://eth-converter.com/. token approve

  4. Click Write and approve the transaction in your wallet.

Stake FORT

You can stake only on the registered scan nodes.

  1. Go to Forta staking contract page, section Write as Proxy

  2. Connect your scan node owner wallet and make sure that you have selected the Polygon network. connect

  3. Go to 1. deposit to stake and input the folowing:

    • subjectType: 0

    • subject: Your scan node address (not the owner address).

    • stakeValue: Amount of FORT to stake. For a new node, input at least the minimum 500000000000000000000 (500 FORT in wei). If you are unsure, you can use a converter like https://eth-converter.com/. stake

    Staking over max

    The current maximum stake is 3000 FORT. If you try to stake more than that, the contract won't accept the tokens. For example:

    • If you deposit 4000 FORT in a transaction, only 3000 FORT will be transferred to the staking contract.

    • If you deposit 3000 FORT in a transaction, then deposit 400 FORT in another one, the 2nd transaction won't fail, but 0 FORT will be transferred.

  4. Click Write and approve the transaction in your wallet.

Initiating a stake withdrawal

This is a withdrawal action!

If you have visited this page to deposit on your new node and executed the deposit step already, please keep in mind that you inactivate your stake by doing initiateWithdrawal() and your node becomes disabled.

When this action is executed (initiateWithdrawal()), active stake becomes inactive i.e. active shares are burned and inactive shares minted.

After staking delay is over, you will be able to withdraw() FORT, as described in the next section.

Permissions

Only active share holders can init withdrawal.

staking init withdrawal

Initiate the withdrawal using Polyscan

  1. Go to Forta staking contract page, section Write as Proxy

  2. Connect your scan node owner wallet and make sure that you have selected the Polygon network. connect

  3. Go to 4. initiateWithdrawal and input the folowing:

    • subjectType: 0

    • subject: Your scan node address (not the owner address).

    • stakeValue: Amount of shares to unstake, in wei. If the node has not been slashed, the proportion is 1 Share : 1 FORT. If you are unsure about the amount in wei, you can use a converter like https://eth-converter.com/. initiate withdrawal

  4. Click Write and approve the transaction in your wallet.

  5. After confirmation, the staking delay starts. If the current active shares are under minimum stake threshold, the node enters into disabled state.

Withdrawal

Burn inactive shares after staking delay to get staked FORT.

staking withdrawal

Withdrawal using Polyscan

  1. When the staking delay is over, go to Forta staking contract page, section Write as Proxy

  2. Connect your scan node owner wallet and make sure that you have selected the Polygon network. connect

  3. Go to 23. withdraw and input the folowing:

    • subjectType: 0

    • subject: Your scan node address (not the owner address). withdraw

  4. Click Write and approve the transaction in your wallet.

  5. When the transaction is confirmed, you will receive the FORT amount you specified in initiateWithdrawal() step.