Skip to main content

IBentoBoxV1

Minimal interface for BentoBox token vault (V1) interactions

Methods

flashLoan

function flashLoan(contract IFlashBorrower borrower, address receiver, address token, uint256 amount, bytes data) external nonpayable

Parameters

NameTypeDescription
borrowercontract IFlashBorrowerundefined
receiveraddressundefined
tokenaddressundefined
amountuint256undefined
databytesundefined

totals

function totals(address token) external nonpayable returns (uint128 elastic, uint128 base)

Parameters

NameTypeDescription
tokenaddressundefined

Returns

NameTypeDescription
elasticuint128undefined
baseuint128undefined