Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing natspec docs for depositToAave param in StataToken::depositWithPermit() #83

Open
miguelmtzinf opened this issue Dec 4, 2024 · 0 comments

Comments

@miguelmtzinf
Copy link
Contributor

/**
* @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);

sakulstra added a commit to bgd-labs/aave-v3-origin that referenced this issue Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant