WithdrawConfig

Git Source

Configuration for a withdrawal. All withdrawals are processed by and for msg.sender so the vaults are unambiguous here.

struct WithdrawConfig {
    address token;
    uint256 vaultId;
    uint256 amount;
}

Properties

NameTypeDescription
tokenaddressThe token to withdraw.
vaultIduint256The vault ID for the token to withdraw.
amountuint256The amount of the token to withdraw.