-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Remove erc20 dependency (SC-4209) (#6)
* chore: use IERC20Like instead of IERC20 * dapp uninstall erc20
- Loading branch information
Lucas Manuel
authored
Nov 26, 2021
1 parent
6034525
commit 1898357
Showing
4 changed files
with
17 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
[submodule "lib/erc20"] | ||
path = lib/erc20 | ||
url = https://github.com/maple-labs/erc20.git | ||
[submodule "lib/ds-test"] | ||
path = lib/ds-test | ||
url = https://github.com/dapphub/ds-test.git |
Submodule erc20
deleted from
de7fc2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// SPDX-License-Identifier: AGPL-3.0-only | ||
pragma solidity ^0.8.7; | ||
|
||
/// @title Interface of the ERC20 standard as needed by ERC20Helper | ||
interface IERC20Like { | ||
|
||
function approve(address spender, uint256 amount) external returns (bool); | ||
|
||
function transfer(address recipient, uint256 amount) external returns (bool); | ||
|
||
function transferFrom(address owner, address recipient, uint256 amount) external returns (bool); | ||
|
||
} |