IFlashLoanCallback
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new IFlashLoanCallback(at
): IFlashLoanCallback
Wraps a smart contract exposing standard token FFI.
Parameters
Name | Type | Description |
---|---|---|
at | Address | Address of the smart contract. |
Returns
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
Name | Type |
---|---|
sender | Address |
token | IERC20 |
amount | u256 |
fee | u256 |
Returns
bool