Skip to main content

IFlashLoanCallback

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new IFlashLoanCallback(at): IFlashLoanCallback

Wraps a smart contract exposing standard token FFI.

Parameters

NameTypeDescription
atAddressAddress of the smart contract.

Returns

IFlashLoanCallback

Defined in

assembly/interfaces/IFlashLoanCallback.ts:14

Properties

_origin

_origin: Address

Defined in

assembly/interfaces/IFlashLoanCallback.ts:7

Methods

flashLoanCallback

flashLoanCallback(sender, token, amount, fee): bool

Parameters

NameType
senderAddress
tokenIERC20
amountu256
feeu256

Returns

bool

Defined in

assembly/interfaces/IFlashLoanCallback.ts:18