Skip to main content

IJB721TieredGovernance

Git Source

Inherits: IJBTiered721Delegate

Functions

getTierDelegate

function getTierDelegate(address _account, uint256 _tier) external view returns (address);

getTierVotes

function getTierVotes(address _account, uint256 _tier) external view returns (uint256);

getPastTierVotes

function getPastTierVotes(address _account, uint256 _tier, uint256 _blockNumber) external view returns (uint256);

getTierTotalVotes

function getTierTotalVotes(uint256 _tier) external view returns (uint256);

getPastTierTotalVotes

function getPastTierTotalVotes(uint256 _tier, uint256 _blockNumber) external view returns (uint256);

setTierDelegate

function setTierDelegate(address _delegatee, uint256 _tierId) external;

setTierDelegates

function setTierDelegates(JBTiered721SetTierDelegatesData[] memory _setTierDelegatesData) external;

Events

TierDelegateChanged

event TierDelegateChanged(
address indexed delegator, address indexed fromDelegate, address indexed toDelegate, uint256 tierId, address caller
);

TierDelegateVotesChanged

event TierDelegateVotesChanged(
address indexed delegate, uint256 indexed tierId, uint256 previousBalance, uint256 newBalance, address caller
);

DelegateChanged

event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate);