DelegationAwareSpToken

The special type of spToken that are minted and burned upon supply and withdraw of assets that has voting power associated (which can be delegated) with them. These spTokens are enabled to delegate voting power of the underlying asset to a different address.

DelegationAwarespToken enables/implements all the methods available for spTokens with additional delegateUnderlyingTo method.

Refer spToken docs for full list of contract api

delegateUnderlyingTo

function delegateUnderlyingTo(address delegatee)

Delegates voting power of the underlying asset to a delegatee address.

This method can only be called by POOL_ADMIN.

Last updated