Contract IVotingToken
- Path: contracts/IVotingToken.sol
- Version: 1
- Title: Voting Token interface.
A voting token is an ERC20 used inside a DFO to vote proposals. Since proposals are code and voting tokens control which proposal get accepted, they are the programmable equities of the DFO.
Methods
burn(uint256)
Burn functionality of the voting token
decimals()
GET amount of decimals supported by the token
decreaseAllowance(address,uint256)
see the OpenZeppelin's documentation
getProxy()
GET the Proxy
increaseAllowance(address,uint256)
see the OpenZeppelin's documentation
init(string,string,uint256,uint256)
Initialization logic using during the constructor Call
Params
decimals
: Amount of decimals supported by the tokenname
: Name of the token usedsymbol
: Ticker symbol of the token usedtotalSupply
: Total Supply of the token
mint(uint256)
Mint functionality of the voting token
name()
GET the token name
setProxy()
SET the Proxy
symbol()
GET the token ticker symbol