openlend/contracts/interfaces/IDelegationToken.sol
2024-08-24 01:04:58 +03:00

16 lines
403 B
Solidity

// SPDX-License-Identifier: AGPL-3.0
pragma solidity ^0.8.0;
/**
* @title IDelegationToken
* @author Aave
* @notice Implements an interface for tokens with delegation COMP/UNI compatible
*/
interface IDelegationToken {
/**
* @notice Delegate voting power to a delegatee
* @param delegatee The address of the delegatee
*/
function delegate(address delegatee) external;
}