IVotePower
Interface Description
License: MIT
Functions info
transformVotes (0x41cb09cc)
The function for transforming token and nft power to voting power
Parameters:
Name
Type
Description
voter
address
the voter address
votes
uint256
the total token and nft power
Return values:
Name
Type
Description
resultingVotes
uint256
voting power
transformVotesFull (0x13f60dc5)
The function for transforming token and nft power to voting power
Parameters:
Name
Type
Description
voter
address
the voter address
votes
uint256
the total token and nft power
personalPower
uint256
the user's total personal power
micropoolPower
uint256
the user's total micropool power
treasuryPower
uint256
the user's total treasury power
Return values:
Name
Type
Description
resultingVotes
uint256
voting power
getVotesRatio (0xf5ca7490)
The function for getting voting coefficient
Parameters:
Name
Type
Description
voter
address
the address of the voter
Return values:
Name
Type
Description
votesRatio
uint256
the ration with 25 decimals precision