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: Coinbase Confirms DOJ Investigation Following Major Security Incident
  • 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: Coinbase Confirms DOJ Investigation Following Major Security Incident

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

The Role Played by Liquidity Providers in Powering Crypto Markets

Ask your favorite AI what liquidity providers do for crypto markets and the first sentence they’ll spit out will invariably...

News BTC 2 days ago

Still Using Coinlocally? Toobit Proves You Deserve Better

It starts with a papercut. A single missing feature that makes you sigh. Then another—a flicker of lag right before...

News BTC 2 days ago
Binance

Binance Whale Activity Spikes As Latin America Bets Big On Stablecoins

A sharp rise in big‑holder transfers onto Binance has captured the attention of market watchers. According to data from CryptoQuant,...

Christian Encila 5 days 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

Top Launchpads Powering Web3’s Most Anticipated Token Sales

NewsBTC 1 hour ago

$FUN Records 62.4% Price Rise in 24 Hours! Still Gaining on Binance

News BTC 1 day ago

FUNToken’s Current Rally Mirrors Past Bull Runs, Patience Could Pay Off Big

News BTC 2 days ago

Premium Sponsors

Press Releases

  • 仮想通貨プレセール注目プロジェクトが150万ドル調達|ビットコイン初のレイヤー2が話題に

    ...

    50 minutes ago
  • 仮想通貨おすすめ|2025年注目の異色トークン3選とは?今すぐ買うべき理由

    ...

    1 hour ago
  • 新しい仮想通貨プレセールを活性化するステーブルコインの夏

    ...

    1 hour ago
  • FUNToken’s

    FUNToken’s Telegram Bot Gets a Major Upgrade With...

    2 hours ago
  • アナリスト予測:迫るアルトコインシーズンで急騰が期待される主要アルトコイン

    ...

    2 hours ago

Newsletter

Be the first to get the latest important crypto news & events to your inbox.

  • This field is for validation purposes and should be left unchanged.

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.