Flashloan Reciever
Flashloan Receiver Contract Address: inj1wmtzan6tgzg0zyauknuxdnnfjwn350yewjf6fq
The Flash Loan Receiver Contract is a component of the Neptune protocol designed to handle flash loan operations. It is a utility which allows users to execute multiple messages related to a trading strategy utilising flashloans. Upon a borrow_flash_loan excution call, the borrowed funds and messages are forwarded to the Flashloan Receiver to be executed.
Execute Messages
1. Receive Flash Loan
Execute: receive_flash_loan
Purpose: Authorizes the sender and processes subsequent flash loan messages.
Execute Input:
flash_loan_receive_msg
FlashLoanReceiveMsg
Contains the messages to be processed and the sender's address
Yes
2. Withdraw Assets
Execute: withdraw_assets
Purpose: Withdraws specified assets to a designated recipient.
Execute Input:
assets
Vec<AssetInfo>
List of assets to withdraw
Yes
recipient
Addr
Recipient address, Neptune Market contract
Yes
Last updated