IFlashBorrower
Fully qualified path: opus::interfaces::flash_borrower::IFlashBorrower
pub trait IFlashBorrower<TContractState>
Trait functions
on_flash_loan
Fully qualified path: opus::interfaces::flash_borrower::IFlashBorrower::on_flash_loan
fn on_flash_loan(
ref self: TContractState,
initiator: ContractAddress,
token: ContractAddress,
amount: u256,
fee: u256,
call_data: Span<felt252>,
) -> u256