EqualStakePower
EqualStakePower
Implementation of a 1:1 stake to voting power conversion
Simply returns the stake amount as the voting power amount without any modifications
Methods
stakeToPower
function stakeToPower(address vault, uint256 stake) public pure override returns (uint256 power)
Converts stake amount to voting power using a 1:1 ratio
Parameters
Name | Type | Description |
---|---|---|
vault | address | The vault address (unused in this implementation) |
stake | uint256 | The stake amount |
Returns
Name | Type | Description |
---|---|---|
power | uint256 | power The calculated voting power (equal to stake) |