ERC-4626 function
maxWithdraw(address)
Returns the maximum underlying asset amount currently withdrawable for an owner.
- Selector
- 0xce96cb77
- Mutability
- view
Generate maxWithdraw calldata
Edit the example inputs to rebuild the bytes instantly in your browser. Nothing is sent and no transaction is submitted.
address
calldata36 bytes
sel0xce96cb77
maxWithdraw(address)
0x000000000000000000000000001111111111111111111111111111111111111111
owner · address =0x11111111…111111
How maxWithdraw works
This view accounts for current global and owner-specific withdraw limits. A return value of zero means the operation is currently disabled for that account.
Parameters
| Name | Solidity type | Meaning |
|---|---|---|
| owner | address | Account whose withdraw limit should be checked. |
Return value
The maximum assets amount that should not cause withdraw to revert because of a limit.
uint256 resultReturn data comes back after execution and is not included in the calldata above.