IBentoBoxWithdraw
Methods
withdraw
function withdraw(contract IERC20 token_, address from, address to, uint256 amount, uint256 share) external nonpayable returns (uint256 amountOut, uint256 shareOut)
Parameters
Name | Type | Description |
---|---|---|
token_ | contract IERC20 | undefined |
from | address | undefined |
to | address | undefined |
amount | uint256 | undefined |
share | uint256 | undefined |
Returns
Name | Type | Description |
---|---|---|
amountOut | uint256 | undefined |
shareOut | uint256 | undefined |