Skip to content

Instantly share code, notes, and snippets.

@dougiebuckets
Created March 20, 2022 12:03
Show Gist options
  • Save dougiebuckets/0631ef78cf34f86a88afbc5ca2b8b8b2 to your computer and use it in GitHub Desktop.
Save dougiebuckets/0631ef78cf34f86a88afbc5ca2b8b8b2 to your computer and use it in GitHub Desktop.
interface ILockedPollen is IERC20 {
function lock(
address account,
uint256 amount,
uint256 lockEnd
) external;
function increaseLock(address account, uint256 amount) external;
function extendLock(uint256 newLockEnd) external;
function unlock() external;
function getVotingPower(address account) external view returns (uint256);
function getBoostingRate(address account) external view returns (uint256);
function burn(address account, uint256 amount) external;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment