Skip to content

Commit

Permalink
feat: sprinkle some getters
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench committed Apr 1, 2022
1 parent 399c774 commit 83e4960
Showing 1 changed file with 35 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,41 @@ contract FeeDistributorBALClaimer {
_balTokenHolder = balTokenHolder;
}

/**
* @notice Returns the address of the Balancer token contract.
*/
function getBalancerToken() external view returns (IERC20) {
return _balToken;
}

/**
* @notice Returns the address of the AuthorizerAdaptor contract.
*/
function getAuthorizerAdaptor() external view returns (IAuthorizerAdaptor) {
return _authorizerAdaptor;
}

/**
* @notice Returns the address of the FeeDistributor contract.
*/
function getFeeDistributor() external view returns (IFeeDistributor) {
return _feeDistributor;
}

/**
* @notice Returns the address of the associated SingleRecipientGauge contract.
*/
function getGauge() external view returns (ISingleRecipientGauge) {
return _gauge;
}

/**
* @notice Returns the address of the associated BALTokenHolder contract.
*/
function getBALTokenHolder() external view returns (IBALTokenHolder) {
return _balTokenHolder;
}

/**
* @notice Mint any outstanding BAL emissions and send them to the FeeDistributor
* @dev In order to call this function the `FeeDistributorBALClaimer` must be authorized to:
Expand Down

0 comments on commit 83e4960

Please sign in to comment.