Documentation
Contracts
interfaces
IVotingToken.sol

IVotingToken

Git Source (opens in a new tab)

The interface that flexible voting-compatible voting tokens are expected to support in order to be compatible with the FlexVotingClient contract.

Functions

transfer

function transfer(address to, uint256 amount) external returns (bool);

transferFrom

function transferFrom(address from, address to, uint256 amount) external returns (bool);

delegate

function delegate(address delegatee) external;

getPastVotes

function getPastVotes(address account, uint256 blockNumber) external view returns (uint256);