IMaverickV2IncentiveMatcherFactory
Last updated
Last updated
This function retrieves the address of the MaverickV2VotingEscrowFactory contract.
Returns
Name | Type | Description |
---|---|---|
This function retrieves the address of the MaverickV2RewardFactory contract.
Returns
Name | Type | Description |
---|---|---|
This function checks if the current contract is a factory contract for IncentiveMatchers.
Parameters
Returns
This function retrieves the address of the IncentiveMatcher contract associated with the current veToken.
Parameters
Returns
This function creates a new IncentiveMatcher contract for a given base token. The basetoken is required to have a deployed ve token before incentive matcher can be created. If no ve token exists, this function will revert. A ve token can be created with the ve token factory: veFactory()
.
Parameters
Returns
This function retrieves a list of existing IncentiveMatcher contracts.
Parameters
Returns
This function returns the total number of existing IncentiveMatcher contracts.
This function retrieves the address of the IncentiveMatcher contract associated with a given veToken.
Parameters
Returns
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
<none>
IMaverickV2VotingEscrowFactory
The address of the MaverickV2VotingEscrowFactory contract.
<none>
IMaverickV2RewardFactory
The address of the MaverickV2RewardFactory contract.
incentiveMatcher
IMaverickV2IncentiveMatcher
The address of the corresponding IncentiveMatcher contract.
isFactoryContract
bool
True if the contract is a factory contract, False otherwise.
veToken
IMaverickV2VotingEscrow
The voting escrow token to look up.
incentiveMatcher
IMaverickV2IncentiveMatcher
The address of the corresponding IncentiveMatcher contract.
baseToken
IERC20
The base token for the new IncentiveMatcher.
veToken
IMaverickV2VotingEscrow
The voting escrow token for the IncentiveMatcher.
incentiveMatcher
IMaverickV2IncentiveMatcher
The address of the newly created IncentiveMatcher contract.
startIndex
uint256
The starting index of the list to retrieve.
endIndex
uint256
The ending index of the list to retrieve.
returnElements
IMaverickV2IncentiveMatcher[]
An array of IncentiveMatcher contracts within the specified range.
veToken
IMaverickV2VotingEscrow
The voting escrow token for which to retrieve the corresponding IncentiveMatcher.
incentiveMatcher
IMaverickV2IncentiveMatcher
The address of the IncentiveMatcher contract associated with the veToken.