DelegationAwarePToken
PToken enabled to delegate voting power of the underlying asset to a different address
The underlying asset needs to be compatible with the COMP delegation interface
DelegateUnderlyingTo
Emitted when underlying voting power is delegated
Parameters
Name | Type | Description |
---|---|---|
delegatee | address | The address of the delegatee |
constructor
Constructor.
Parameters
Name | Type | Description |
---|---|---|
pool | contract IPool | The address of the Pool contract |
delegateUnderlyingTo
Delegates voting power of the underlying asset to a delegatee
address
Parameters
Name | Type | Description |
---|---|---|
delegatee | address | The address that will receive the delegation |
getXTokenType
return token type`of xToken