-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat:
depositWithPermit
in ERC20 zappers
- Loading branch information
1 parent
128dacc
commit dd8e14d
Showing
3 changed files
with
61 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// SPDX-License-Identifier: GPL-2.0-or-later | ||
// Gearbox Protocol. Generalized leverage for DeFi protocols | ||
// (c) Gearbox Foundation, 2023. | ||
pragma solidity ^0.8.17; | ||
|
||
import {DepositTrait} from "./traits/DepositTrait.sol"; | ||
import {ERC20Trait} from "./traits/ERC20Trait.sol"; | ||
import {ZapperBase} from "./ZapperBase.sol"; | ||
|
||
/// @title ERC20 deposit zapper | ||
/// @notice Zapper that allows to deposit an ERC20 token into a pool in one call using permit | ||
contract ERC20DepositZapper is ERC20Trait, DepositTrait { | ||
constructor(address pool) ZapperBase(pool) {} | ||
} |
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