2️Flash Loan
An uncollateralized loan in NAVI that must be repaid within the same Sui transaction.
The following functions provide users the ability to take out and repay flash loans from a specified pool. A flash loan allows users to borrow assets with the condition that the loan must be repaid within the same Sui transaction. If the loan is not fully repaid, the transaction reverts, ensuring that no loss occurs for the pool.
flashloan_with_ctx
example:
https://suivision.xyz/txblock/8LfrMrZL5msEvYWtayX8ELXZJRnXGnzZJSBgTjfsah5Y
repay_with_ctx
example:
https://suivision.xyz/txblock/8LfrMrZL5msEvYWtayX8ELXZJRnXGnzZJSBgTjfsah5Y
flashloan_with_account_cap
example:
https://suivision.xyz/txblock/8LfrMrZL5msEvYWtayX8ELXZJRnXGnzZJSBgTjfsah5Y
repay_with_account_cap
example:
https://suivision.xyz/txblock/8LfrMrZL5msEvYWtayX8ELXZJRnXGnzZJSBgTjfsah5Y
Last updated