Skip to content

Commit

Permalink
Remove chainlink code
Browse files Browse the repository at this point in the history
  • Loading branch information
karankurbur committed Mar 4, 2024
1 parent e43c09a commit 8a23d92
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/RecurringGrantDropMiddleware.sol
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@ import {ERC20} from "solmate/tokens/ERC20.sol";
import {IRecurringGrantDrop} from "./IRecurringGrantDrop.sol";
import {ISwapRouter} from "v3-periphery/interfaces/ISwapRouter.sol";

interface IChainlinkAggregator {
function latestAnswer() external view returns (int256);
function decimals() external view returns (uint8);
}

/// @title GrantMiddleware
/// @author Worldcoin
/// @notice contract that takes fees on grant claims to pay for gas costs
Expand Down Expand Up @@ -58,9 +53,9 @@ contract GrantMiddleware is Ownable2Step {
* @dev Throws if called by any account other than a relayer.
*/
modifier onlyRelayer() {
if(!relayers[msg.sender]) {
if (!relayers[msg.sender]) {
revert NotRelayer(msg.sender);
}
}
_;
}

Expand Down

0 comments on commit 8a23d92

Please sign in to comment.