Protocol Information

Every pool has a public controller variable.

Controller Information

Controller.getStakerVault(address token) external view returns (address)

Get the address of a staker vault for a particular token.

  • token: The token for which the staker vault should be retrieved.

Controller.allActions() external view returns (address[] memory)

Get a list of all actions.

Controller.isAction(address action) external view returns (bool)

Check if a given address is an action.

  • action: The address to check.

Returns true if the given address is an action.

Controller.allPools() external view returns (address[] memory)

Get a list of all pools.

Controller.inflationManager() external view returns (address)

Get the address of the Inflation Manager.

Controller.addressProvider() external view returns (address)

Get the address of the Address Provider.

Controller.getKeeperRequiredStakedBKD() external view returns (uint256)

Get the amount of Back governance tokens that a keeper needs to have staked in order to be able to execute an action.

Only Governance

Controller.addStakerVault(address stakerVault) external returns (bool)

Add a staker vault.

Controller.removePool(address pool) external returns (bool)

Remove a pool from the list of whitelisted pools.

getTotalEthRequiredForGas(address payer) external view override returns (uint256)

Get the total amount of ETH require by payer to cover the fees for positions registered in all actions.