Skip to main content

IBentoBoxWithdraw

Methods

withdraw

function withdraw(contract IERC20 token_, address from, address to, uint256 amount, uint256 share) external nonpayable returns (uint256 amountOut, uint256 shareOut)

Parameters

NameTypeDescription
token_contract IERC20undefined
fromaddressundefined
toaddressundefined
amountuint256undefined
shareuint256undefined

Returns

NameTypeDescription
amountOutuint256undefined
shareOutuint256undefined