DepositConfig

Git Source

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

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

Properties

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