Skip to content

Instantly share code, notes, and snippets.

View raddy's full-sized avatar

Rad raddy

  • Lagrange 3
View GitHub Profile
@mhluongo
mhluongo / ApprovalTarget.sol
Last active May 21, 2023 18:28
Tally ApprovalTarget
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "./IApprovalTarget.sol";
import "./EIP712Helper.sol";
/// @notice ApprovalTarget is an immutable contract that accepts token approvals