WIP: use openzeppelin contracts

This commit is contained in:
hueso
2025-08-02 20:03:46 -03:00
parent e57428525b
commit 407ea51d6a
10 changed files with 18 additions and 350 deletions

View File

@@ -1,7 +1,7 @@
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.4;
import { ERC20 } from "../tokens/ERC20.sol";
import { ERC20 } from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
/// @notice Safe ETH and ERC20 transfer library that gracefully handles missing return values.
/// @author Solady (https://github.com/vectorized/solady/blob/main/src/utils/SafeTransferLib.sol)