MaxApyRouter
Overview
Constants
IWrappedToken public immutable wrappedToken; // Chain's wrapped native tokenErrors
error FailedNativeTransfer(); // Native token transfer failed
error InsufficientShares(); // Not enough shares received
error InsufficientAssets(); // Not enough assets received
error ReceiveNotAllowed(); // Unauthorized receive call
error InvalidRecipient(); // Zero address recipientFunctions
Deposit Functions
deposit
depositWithPermit
depositNative
Withdrawal Functions
redeem
redeemNative
Helper Functions
_approveMax
Last updated