IFlashBorrowerSafeDispatcherTrait
Fully qualified path: opus::interfaces::flash_borrower::IFlashBorrowerSafeDispatcherTrait
Part of the group: dispatchers
pub trait IFlashBorrowerSafeDispatcherTrait<T>
Trait functions
on_flash_loan
Fully qualified path: opus::interfaces::flash_borrower::IFlashBorrowerSafeDispatcherTrait::on_flash_loan
fn on_flash_loan(
self: T,
initiator: ContractAddress,
token: ContractAddress,
amount: u256,
fee: u256,
call_data: Span<felt252>,
) -> Result<u256, Array<felt252>>