ITangleToken
Source: https://github.com/tangle-network/tnt-core/blob/v2/src/v2/interfaces/ITangleGovernance.sol
ITangleToken
Interface for the TNT governance token
Functions
getVotes
function getVotes(address account) external view returns (uint256)Get the current voting power of an account
getPastVotes
function getPastVotes(address account, uint256 blockNumber) external view returns (uint256)Get historical voting power at a past block
getPastTotalSupply
function getPastTotalSupply(uint256 blockNumber) external view returns (uint256)Get the total supply at a past block
delegates
function delegates(address account) external view returns (address)Get the delegate of an account
delegate
function delegate(address delegatee) externalDelegate voting power to another address
delegateBySig
function delegateBySig(address delegatee, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) externalDelegate using EIP-712 signature
totalSupply
function totalSupply() external view returns (uint256)Standard ERC20 functions
balanceOf
function balanceOf(address account) external view returns (uint256)transfer
function transfer(address to, uint256 amount) external returns (bool)approve
function approve(address spender, uint256 amount) external returns (bool)transferFrom
function transferFrom(address from, address to, uint256 amount) external returns (bool)