-
Notifications
You must be signed in to change notification settings - Fork 151
Open
Description
aave-v3-origin/src/contracts/extensions/stata-token/interfaces/IERC4626StataToken.sol
Lines 51 to 65 in be37b99
| /** | |
| * @notice Universal deposit method for proving aToken or underlying liquidity with permit | |
| * @param assets The amount of aTokens or underlying to deposit | |
| * @param receiver The address that will receive the static aTokens | |
| * @param deadline Must be a timestamp in the future | |
| * @param sig A `secp256k1` signature params from `msgSender()` | |
| * @return uint256 The amount of StaticAToken minted, static balance | |
| **/ | |
| function depositWithPermit( | |
| uint256 assets, | |
| address receiver, | |
| uint256 deadline, | |
| SignatureParams memory sig, | |
| bool depositToAave | |
| ) external returns (uint256); |
garosan
Metadata
Metadata
Assignees
Labels
No labels