CollateralJoinDelegatableChild
Inherits: CollateralJoinChild, ICollateralJoinDelegatableChild
This contract inherits all the functionality of CollateralJoin to be factory deployed and adds a ERC20Votes delegation
For well behaved ERC20Votes tokens with less than 18 decimals
State Variables
delegatee
Address to whom the voting power is delegated
address public delegatee;
Functions
constructor
constructor(
address _safeEngine,
bytes32 _cType,
address _collateral,
address _delegatee
) CollateralJoinChild(_safeEngine, _cType, _collateral);
Parameters
Name | Type | Description |
---|---|---|
_safeEngine | address | Address of the SafeEngine contract |
_cType | bytes32 | Bytes32 representation of the collateral type |
_collateral | address | Address of the ERC20Votes collateral token |
_delegatee | address | Address to whom the voting power is delegated |