NewsBTC
No Result
View All Result
  • Cryptocurrency News
    • Bitcoin News (BTC)
    • Ethereum News (ETH)
    • Ripple News (XRP)
    • Shiba Inu News (SHIB)
    • Cardano News (ADA)
    • Dogecoin News (DOGE)
    • Solana News (SOL)
    • Litecoin News (LTC)
    • Avalanche News (AVAX)
    • Polygon News (MATIC)
  • Crypto Prices
    • Binance Coin (BNB) Price
    • Bitcoin (BTC) Price
    • Cardano (ADA) Price
    • Chainlink (LINK) Price
    • Dogecoin (DOGE) Price
    • Ethereum (ETH) Price
    • Litecoin (LTC) Price
    • Polkadot (DOT) Price
  • Crypto Resources & Directory
  • All Crypto
  • Play GamesTry
  • CasinosTry
Breaking News: SOL Strategies: The First Solana Treasury Company Listed On Nasdaq
  • Cryptocurrency News
    • Bitcoin News (BTC)
    • Ethereum News (ETH)
    • Ripple News (XRP)
    • Shiba Inu News (SHIB)
    • Cardano News (ADA)
    • Dogecoin News (DOGE)
    • Solana News (SOL)
    • Litecoin News (LTC)
    • Avalanche News (AVAX)
    • Polygon News (MATIC)
  • Crypto Prices
    • Binance Coin (BNB) Price
    • Bitcoin (BTC) Price
    • Cardano (ADA) Price
    • Chainlink (LINK) Price
    • Dogecoin (DOGE) Price
    • Ethereum (ETH) Price
    • Litecoin (LTC) Price
    • Polkadot (DOT) Price
  • Crypto Resources & Directory
  • All Crypto
  • Play GamesTry
  • CasinosTry
Bitcoin News
No Result
View All Result
Breaking News: SOL Strategies: The First Solana Treasury Company Listed On Nasdaq

White Whale Releases Details on Flash Loan Architecture

NewsBTC
NewsBTC
3 years ago
3 mins read

Reason to trust

Strict editorial policy that focuses on accuracy, relevance, and impartiality
Created by industry experts and meticulously reviewed
The highest standards in reporting and publishing
How Our News is Made

Strict editorial policy that focuses on accuracy, relevance, and impartiality

Ad discliamer

Morbi pretium leo et nisl aliquam mollis. Quisque arcu lorem, ultricies quis pellentesque nec, ullamcorper eu odio.

Let’s break it down. Simply put, a flash loan is, as the name implies, a loan that is opened and closed in a very short amount of time. More specifically, it is opened and closed in the same transaction. Flash loans are used to execute atomic trades that either capitalize off of inefficiencies in the market or provide some other functionality to the borrower. Atomic trades are trades that can be finalized in one transaction and almost all on-chain arbitrage falls under this category. By now you hopefully realize how powerful this financial instrument can be. But with this power comes responsibility.

While White Whale is said to be the first to roll out flash loans on Terra (and the whole Cosmos!), a number of protocols already offer it on Ethereum. The sometimes bad connotation linked to flash loans is caused by a number of exploits that happened on Ethereum in which hackers used this tool to do so-called re-entrancy attacks.  Fortunately, CosmWasm (the smart contract language of Terra) is designed to avoid this kind of attack. When comparing CosmWasm to Ethereum’s smart contract language the developers state:

“A big difference is that we avoid all reentrancy attacks by design. This point deserves an article by itself, but in short, a large class of exploits in Ethereum is based on this trick .”

And,

“Cosmwasm avoids this completely by preventing any contract from calling another one directly.”

These precautions enable White Whale to provide this service without having to worry too much about other protocols being exploited.

To really understand how all this works, let’s look at, and briefly unpack the White Whale flagship vault. The UST vault allows users to deposit UST into the vault in a simple, single-step process. The total liquidity in the UST vault then acts as a general-purpose liquidity pool with a series of in-house arbitrage strategies. The first of which is all about keeping the peg. There are also other strategies in the works, such as exploiting price inefficiencies among multiple exchanges, as well as automated liquidations on Mars and Levana. All of these strategies make the ecosystem more stable and efficient, and they all use the liquidity of the UST vault.

These strategies bring us back to flash loans: when any of our bots detect a profitable arbitrage opportunity, the smart contract linked to that strategy will ask for a flash loan from the UST vault. The UST vault will then withdraw the UST from Anchor protocol (where it is yielding a comfy 19.5% while idle) and provide the contract with borrowed money to execute the arbitrage. After the arbitrage, all funds are returned to the vault. This is how we plan to provide Anchor+ yields.

A question that has been raised, is this – what if the trade didn’t make a profit? Or what if the borrower just doesn’t repay the loan? Various mechanisms have been put in place, to ensure depositors don’t get rugged. First, when a flash loan is requested, White Whale saves the total value of the vault. Then funds are sent out to the borrower (i.e. the arb bot) for them to execute the trade. What has been added is a callback at the end of the program which can not be altered, and is guaranteed to execute.

After whatever the borrower has executed the trade, that callback is executed. The callback is essentially step two. It re-calculates the value of the vault and compares it with the initial value before the loan. If this amount is smaller than the initial amount it throws an ERROR and reverts the whole transaction, aka the flash loan. The transaction then fails and it’s like nothing ever happened. Effectively this means that the flash loan will only execute if it pre-determines a profitable result, otherwise, it will cancel itself.

Long term, there will be a whitelisting process for the community to build bots to onboard through on-chain governance and utilize the White Whale flash loan architecture. The community will be able to decide which bots will benefit and secure the ecosystem and vote to whitelist them. There will of course be a small fee (the borrowing cost of the loan) which will automatically get distributed to the depositors.

In order to ensure security for this complex and innovative architecture, White Whale has already scheduled multiple audits with some of the most highly respected auditors in the industry. The foundation has already been built,  and now the focus is about getting the tools into the hands of our community, empowering them to protect the peg and stabilize the ecosystem.

 

Tweet123Share196ShareSend
NewsBTC
NewsBTC

NewsBTC

Disclaimer: The information found on NewsBTC is for educational purposes only. It does not represent the opinions of NewsBTC on whether to buy, sell or hold any investments and naturally investing carries risks. You are advised to conduct your own research before making any investment decisions. Use information provided on this website entirely at your own risk.

Related News

CSOP Mùa Thu 2025 – Chuỗi Sự Kiện Lớn Nhất Của CoinPoker

Diễn ra từ ngày 7 đến 29 tháng 9 năm 2025, CSOP Mùa Thu sẽ mang đến 23 ngày thi...

hhduy 5 days ago

5 Underrated Crypto Projects Bursting With Potential

There are tens of thousands of different cryptocurrencies in the world, and many of them are surely destined to fail....

NewsBTC 6 days ago
miner

5 Best Crypto Exchange in Indonesia for Trading and Investment

In the digital investment world, cryptocurrency exchanges play a crucial role in facilitating crypto asset transactions. In Indonesia, many exchanges...

PR Desk 1 week ago
Load More

Reason to trust

Strict editorial policy that focuses on accuracy, relevance, and impartiality
Created by industry experts and meticulously reviewed
The highest standards in reporting and publishing
How Our News is Made

Strict editorial policy that focuses on accuracy, relevance, and impartiality

Ad discliamer

Morbi pretium leo et nisl aliquam mollis. Quisque arcu lorem, ultricies quis pellentesque nec, ullamcorper eu odio.

Related News

MEXC Blocks $4.97M in Fraud and Recovers $902K in User Funds, New Report Reveals

Mark Hampton 2 days ago

Lava Network’s RPC engine sets the infrastructure stablecoins need to scale

NewsBTC 3 days ago
Mastercard

Mastercard Stresses Crypto Is An Enhancement, Not A Substitute

Christian Encila 4 days ago

Premium Sponsors

Press Releases

  • ドージコイン 今後4ドル到達の可能性、新興ミームプロジェクトが200万ドルICOに迫る

    ドージコイン...

    9 hours ago
  • 仮想通貨おすすめ:新興レイヤー2プロジェクトがプレセールで1,420万ドル突破

    ...

    9 hours ago
  • シバコイン 今後の可能性と、新たに浮上する注目のレイヤー2プロジェクト

    シバコイン...

    9 hours ago
  • ビットコイン 今後の展望:長期眠っていたBTCウォレットが突然52億円分を移動

    ビットコイン...

    12 hours ago
  • パイネットワーク 価格分析:バンド収束から爆発的上昇の可能性、ウォルコフ指標が点灯

    パイネットワーク...

    12 hours ago

Newsletter

About Us

NewsBTC is a cryptocurrency news service that covers bitcoin news today, technical analysis & forecasts for bitcoin price and other altcoins. Here at NewsBTC, we are dedicated to enlightening everyone about bitcoin and other cryptocurrencies.

We cover BTC news related to bitcoin exchanges, bitcoin mining and price forecasts for various cryptocurrencies.

Disclaimer: The information found on NewsBTC is for educational purposes only. It does not represent the opinions of NewsBTC on whether to buy, sell or hold any investments and naturally investing carries risks. You are advised to conduct your own research before making any investment decisions. Use information provided on this website entirely at your own risk.

Company

  • About Us
  • Advertising
  • Contact Us
  • Privacy Center

Social

© 2025 NewsBTC. All Rights Reserved.

  • Cryptocurrency News
    • Bitcoin News (BTC)
    • Ethereum News (ETH)
    • Ripple News (XRP)
    • Shiba Inu News (SHIB)
    • Cardano News (ADA)
    • Dogecoin News (DOGE)
    • Solana News (SOL)
    • Litecoin News (LTC)
    • Avalanche News (AVAX)
    • Polygon News (MATIC)
  • Crypto Prices
    • Binance Coin (BNB) Price
    • Bitcoin (BTC) Price
    • Cardano (ADA) Price
    • Chainlink (LINK) Price
    • Dogecoin (DOGE) Price
    • Ethereum (ETH) Price
    • Litecoin (LTC) Price
    • Polkadot (DOT) Price
  • Crypto Resources & Directory
  • All Crypto
  • Play Games
  • Casinos
Advertise

© 2025 NewsBTC. All Rights Reserved.

This website uses cookies. By continuing to use this website you are giving consent to cookies being used. Visit our Privacy Center or Cookie Policy.