Everything you ever wanted to know about Hexagon Finance

Hexagon Finance
Hexagon Finance
Published in
8 min readApr 6, 2022

And why this will rock the Avalanche ecosystem

Hexagon Finance is a one-stop decentralized trading and investment platform on Avalanche, backed by TerraUSD (UST). Its phase 1 product — an innovative Dex — is powered by Balancer V2.

The platform is being raised by some of the best-known DeFi projects out there, especially when it comes to the Avalanche ecosystem. We are the officially endorsed fork by Balancer on Avalanche, where we will bring Balancer’s cutting-edge model, which has already proven successful on Ethereum, Polygon, and Arbitrum.

Hexagon is incubated by Terra — who is increasingly present on Avax and is looking for further applications for its assets — and supported by Defrost Finance and Wanlabs, who will provide operational and technical support, respectively.

Meanwhile, Copper Launch is providing an open and user-friendly way for users to participate in the Liquidity Bootstrapping Pool (LBP), which we are also deploying as part of our fork.

Why Building on Balancer’s model?

Balancer, one of the best-known decentralized exchange (DEX) platforms, has been in development since 2018 and was released in 2020 on Ethereum. Since then, it has risen to become one of the top DEX platforms in the world, with the 13th largest TVL among DeFi protocols according to DefiLlama (as of April 2022).

Balancer is a modern form of a decentralized exchange, known as an automated market maker (AMM). This means it uses the ratio between assets shared in a liquidity pool to determine each asset’s value. As users add or remove liquidity from one side of a pool by conducting trades, this changes the pool ratio, and hence the price of each asset.

It offers similar functionality to platforms like Uniswap and TraderJoe but includes a number of unique features that set it apart from other DEXs. One of the main differentiators is that it applies an innovative AMM algorithm to build liquidity pools with more than two assets and facilitates trades among them. At the same time, it provides additional flexibility and control to pool owners in setting up key parameters in terms of liquidity management and trading.

The unique features from Balancer provide great flexibility for both traders and liquidity providers. The weighted pools facilitate having various pooled assets, more trading pairs and reduce impermanent loss. The model can even perform as a tailored mutual fund, while automatically rebalancing itself and accumulating transaction fees.

Its stable and metastable pools apply stable math to lower slippages in trading homogenous and correlated tokens.

The LBP (liquidity bootstrapping pool), fully integrated by Copper, will help new projects to initiate token launch, with fewer front contributions in funds, anti whale or bot features and facilitating price discovery in a more friendly way.

Furthermore, the Avalanche ecosystem is rife with a number of successful DEXs using the Uniswap model — think of TraderJoe, Pangolin, Hurricaneswap, etc. — while almost no one has embraced the Balancer model so far.

This means that Hexagon not only will definitely provide additional choices for institutional investors, retail traders, and yield hunters but will also naturally stand out amongst the crowd.

Why Is Hexagon Backed by UST?

Hexagon Finance is incubated by Terra, who intends to bring UST to the Avalanche ecosystem in search of massive applications.

The Terra protocol is a leading decentralized and open-source public blockchain protocol for algorithmic stablecoins. TerraUSD, or UST, is the stablecoin born from the Terra protocol and tracks the price of fiat USD.

According to Coingecko, UST is the 4th largest stablecoin by market cap by a wide margin, trailing only USDT, USDC, and BUSD, and the largest algorithmic stablecoin in the crypto world. The token has been crossed to several layer 1 chains and is experiencing massive adoption. Among those blockchains, there is little question that Avalanche is one of the most important.

As an official partner of Terra, Hexagon’s incentivized pools and transactions will be centered around the UST stable asset, with the Terra team providing initial UST liquidity after launch.

Why Avalanche?

Launched in 2020 by Ava Labs, Avalanche is a flexible smart contract platform that facilitates the creation of custom blockchains — including private blockchains and decentralized applications (dApps). It is also compatible with the Ethereum Virtual Machine (EVM).

According to Defillama, Avalanche has the 4th largest TVL among public chains, locking over 10 billion in crypto assets, with 191 Dapps running as of April 4, 2022. And still growing at a rapid speed.

All of this provides Hexagon Finance with friendly and strong technical and ecological support for the coming deployment and integration. The Hexagon Finance team, together with Terraform Labs and Balancer Dao, is in constant touch with the Avalabs team, and several DeFi projects within the ecosystem.

We believe these premises will create a friendly atmosphere for future collaboration and turn Hexagon Finance into an important piece of the legos building in the Avalanche DeFi mansion.

What can you do with Hexagon?

Trade

Hexagon Finance will first deploy a DEX — what we refer to as ”Phase 1”. Hexagon Pools are smart contracts that define how traders can swap between tokens on Hexagon Finance.

Hexagon Finance is building a user-friendly interface to exchange tokens, with optimal routes automatically picked for trades and multiple tokens supported within the same pool. This in turn guarantees better liquidity and a greater variety of pairs compared with the Uniswap model.

For example, in a hypothetical AVAX-ETH-UST pool, one could simply trade UST for AVAX or ETH in the same pool without having to separately build liquidity for an AVAX-UST and ETH-UST pair.

Earn

Users can earn yields by contributing liquidity to the Hexagon pools.

What makes Hexagon Pools unique compared to other protocols on Avalanche is that liquidity pools can be created using algorithms tailored to their specific assets, providing limitless flexibility. This mechanism can provide different risk-return profiles for users.

Limited risks

Stable pools apply stable math to facilitate trades between stablecoins and highly correlated tokens. The stable pools tend to have low slippage for stablecoin transactions, with little fluctuation expected in terms of pooled value. This also applies to the metastable pools such as our planned sAVAX/AVAX.

Less impermanent loss than in the Uni model

Projects building liquidity for their platform tokens, in addition to the traditional 50/50 liquidity pools paired with stablecoin or AVAX, can customize the token weights in their weighted pools.

Normally, an 80/20 or 70/30 pool is recommended for newly launched projects, as new tokens are expected to be volatile. These pools may provide a liquidity solution with less impermanent loss, compared with the 50/50 pool, for liquidity contributors.

For a deeper understanding of impermanent loss, please check the Hexagon docs here.

Earning in pools is similar to investing in a portfolio

Hexagon Pools with a variety of tokens are similar to traditional index funds, allowing users to have broad exposure to the crypto market. Weighted pools are so flexible they can include up to 8 crypto assets in a single pool, with customized weights.

These pools will create a portfolio, or even an index if you like, with auto-rebalancing features. Where Hexagon Finance differs from traditional index funds, however, is that in the DeFi world you can gain from transaction fees besides price fluctuations.

For example, let us imagine you intend to invest a DeFi portfolio on Avalanche. A pool featuring equal shares of ETH, AVAX, AAVE, JOE, QI, CRV, PTP and ALPHA would probably be suitable. By contributing liquidity in the pool, you will automatically split your funds evenly into these 8 crypto assets. No matter how the prices of these 8 assets move in the future, arbitraging will ensure that your share in any of the 8 cryptos will be 12.5% of your total investment.

But you can still earn both transaction fees in the liquidity pool — in case any trades are made among these tokens — and mining incentives, if the pool is whitelisted for rewards.

Liquidity Building

Hexagon Finance is a perfect venue to build liquidity for platform tokens, since projects, no matter newly launched or already established, can choose to build pools with tailored weights.

(As arule of thumb, pools with weights leaning toward the platform’s token may require fewer contributions in the token itself, display less impermanent loss and have higher slippage when trading. Vice versa, pools with weights favoring the paired token could require higher contributions in the paired token, while having higher impermanent loss and lower slippages.)

Also, some projects would certainly be interested in building safety mechanisms using weighted pools, while still providing liquidity, just like Aave does with Balancer. Aave is a decentralized non-custodial liquidity protocol where users can participate as depositors or borrowers. Aave uses pool tokens from the 80/20 AAVE/WETH Weighted Pool on Balancer to lock funds in their Safety Module (SM) while still providing liquidity for the AAVE token.

Liquidity Bootstrapping Pools (LBPs)

Liquidity Bootstrapping Pools (LBPs) are a specific configuration of Hexagon’s Liquidity Bootstrapping Pools on Copper Launch. Their primary use is to distribute tokens, mostly for newly-launched projects.

LBPs are pools that can dynamically change token weighting (from 1/99 to 99/1 for TokenA/TokenB), relying on weighted math with time-dependent weights. The starting and end weights and times are selected by the pool owner.

LBPs were conceived with the following key considerations in mind:

  1. A team should be able to build liquidity without large amounts of upfront capital
  2. A team should be able to create a treasury to fit their desired risk profile and funding goals
  3. The distribution of tokens and liquidity provision should be decoupled from token price changes. In other words, differently from bonding curves, tokens should be distributed even if their unit price stays constant.

Key Features

  • Price discovery. The price of the token starts relatively high and drops based on a pre-configured price decay curve that can be resisted by buying pressure from LBP participants. Anyone can buy into or sell out of the LBP freely at any time, so price truly regulates itself.
  • Open and permissionless participation. No whitelists, hard caps, or listing requirements. There is no minimum or maximum allocation. LBP participants choose how much they want to buy.
  • Fair distribution. LBPs flip the first-come-first-serve launch model on its head. It’s no longer a race where the first bot in or the transaction with the highest gas fee wins. Get your token into the hands of as many people as possible in a fair way that disincentivizes front-runners and whales getting better rates than smaller participants.
  • Capital efficiency. The initial price of the project’s token in the LBP can be magnified by up to 99 times relative to the collateral deposited along with it. Additionally, the collateral can be fully retrieved at the end of the LBP unless the project’s tokens already exist outside of the LBP, in which case someone could decide to sell into the LBP.

Don’t forget to check out our video on LBPs: “What are Hexagon’s Liquidity Bootstrapping Pools (LBPs)?

Flash Swaps

Any user who identifies a price difference in two Hexagon Pools can execute a flash swap. The arbitrageur who makes a flash swap does not need to hold any of the input tokens required to make a trade. The arbitrage opportunity arises as the trader identifies the price imbalance, tells the Vault to make the swap, and receives the profit.

--

--