StrategAssetBuffer
Minimalistic mutualized buffer for vault. It is used to put buffered assets outside the vault strategies accounting
Methods
putInBuffer
Puts the specified amount of assets into the buffer.
Parameters
Name
Type
Description
_asset
address
Address of the asset to be buffered.
_amount
uint256
Amount of the asset to be buffered.
Errors
AddressEmptyCode
There's no code at target
(it is not a contract).
Parameters
Name
Type
Description
target
address
undefined
AddressInsufficientBalance
The ETH balance of the account is not enough to perform the operation.
Parameters
Name
Type
Description
account
address
undefined
FailedInnerCall
A call to an address target failed. The target may have reverted.
SafeERC20FailedOperation
An operation with an ERC20 token failed.
Parameters
Name
Type
Description
token
address
undefined
Last updated