This repository has been archived by the owner on Dec 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c6cea5a
commit da990a6
Showing
5 changed files
with
6 additions
and
7 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
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
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 |
---|---|---|
|
@@ -11,7 +11,7 @@ import {SafeERC20} from "@openzeppelin/[email protected]/token/ERC20/utils/SafeERC | |
/** | ||
* @dev Provides a wrapper used for calling an ERC20 transferFrom method to receive tokens to a contract | ||
* from a specified sender. Differs from the "SafeERC20TransferFrom" implementation found here | ||
* https://github.com/ava-labs/teleporter/blob/main/contracts/teleporter/SafeERC20TransferFrom.sol in that | ||
* https://github.com/ava-labs/teleporter/blob/main/contracts/utilities/SafeERC20TransferFrom.sol in that | ||
* it supports passing arbitrary sender address values, allowing its use in ERC-2771 compliant meta-transactions. | ||
* | ||
* Checks the balance of the contract using the library before and after the call to safeTransferFrom, and | ||
|
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