Adrena
  • About Adrena
    • ๐Ÿ‘๏ธVision
    • ๐Ÿ’‰What is Adrena?
      • โœจNo Liquidation Fees
      • ๐Ÿซ—Peer-to-Pool Perp Model (and the risks as a Liquidity Provider)
      • ๐Ÿ‹๏ธTrading Competitions
        • 0๏ธโƒฃPre-Season: Awakening
        • 1๏ธโƒฃSeason 1: Expanse
      • ๐Ÿ’ฝRPC and Trade Execution
    • ๐Ÿง€Fees
      • ๐Ÿ’ฐRevenue Sharing
      • ๐ŸฏWays to Earn Overview
      • ๐Ÿ’ฑBuybacks
    • ๐Ÿ‘พTrader Profile
    • ๐Ÿ“–Achievements
    • ๐ŸงชMutagen (Points System)
    • ๐ŸคReferral System
    • Audits
    • Bug Bounty Program
    • ๐Ÿ”—Useful Links
  • Tokenomics
    • ๐ŸซฆTokenomics Overview
    • ๐Ÿช™ADX
      • ๐Ÿค‘Distribution
      • ๐Ÿ’ธEmissions
      • ๐Ÿ‘ฅForms of ADX
      • ๐ŸฆบVesting
      • ๐ŸšฐStaked ADX - Rewards Emissions Schedule
      • ๐Ÿ”Staking and Duration Locked Parameters for ADX
      • ๐Ÿ—ณ๏ธVoting
    • ๐Ÿ’ŽALP
      • ๐ŸŒŠGenesis Liquidity [terminated]
        • ๐Ÿ’ฆGenesis Liquidity Program [Terminated]
      • ๐ŸšฐStaked ALP - Rewards Emissions Schedule [Terminated]
      • ๐Ÿ”Staking and Locked Stake Parameters for ALP
  • Technical Documentation
    • ๐Ÿ‘คGovernance Shadow Token
    • ๐Ÿค–MrSablier & MrSablierStaking (Open Source Keepers)
    • ๐Ÿ”ฎOracles and Price Feeds
    • โ˜ข๏ธ"Toxic Flow" Countermeasures
    • ๐Ÿช–Position Parameters
    • โŒšSablier Automation Threads (deprecated)
    • ๐ŸฆStaking Implementation Details
    • Terms and Conditions
    • Token Terms and Conditions
  • Guides
    • ๐Ÿ’ปHow to Change to Devnet in Phantom Wallet
    • ๐Ÿ’งHow to get Devnet SOL
    • ๐Ÿ’ฐHow to Get Tokens to Trade
    • ๐Ÿ“ˆHow to Open and Close a Trade
  • Reports
    • 21/11/2024 - BE - Increase Position, position.price miscalculations
    • 22/10/2024 - Upgrade staking accounting issue causing extra reward distribution
    • 12/10/2024 - BE - Borrow fees reset on position increase
    • 01/10/2024 - BE - Custody internal state for `Assets` reports too much locked collateral
    • 27/09/2024 - BE - Missing accounts reload during fee distribution
Powered by GitBook
On this page
  • Overviewโ€‹
  • ALP Token Addressโ€‹
  • Token Balances and Pool Ratio
  • Buying GLPโ€‹
  • Selling GLPโ€‹
  • Token Pricingโ€‹
  • Token Weightsโ€‹
  • Risksโ€‹
  1. About Adrena

Providing Liquidity (Todo)

Smart contracts, links, audits

Last updated 8 months ago

Overview

GLP consists of an index of assets used for swaps and leverage trading. It can be minted using any index asset and burnt to redeem any index asset. The price for minting and redemption is calculated based on (total worth of assets in index including profits and losses of open positions) / (GLP supply).

ALP Token Address

  • PUT LINK HERE once contract deployed

Note that GLP is specific to the network you mint it on, it is not directly transferrable between networks and the price, ETH / AVAX rewards for the tokens will differ between networks.

As GLP holders provide liquidity for leverage trading, they will make a profit when leverage traders make a loss and vice versa. Past PnL data, GLP price chart and other stats can be viewed on .

Token Balances and Pool Ratio

TOKEN
Target ratio
Min ratio
Max ratio

jitoSOL

45%

35%

55%

WBTC (wormhole)

20%

10%

30%

BONK

5%

2.5%

7.5%

USDC

30%

20%

40%

Buying GLP

GLP tokens can be bought using the page.

Options to bridge funds to buy the tokens can be found at the bottom of the page.

ETH / AVAX is also required to send the buy transaction.

There may be a spread for some index tokens, minting GLP will be based on the lower value of the index token and redeeming GLP will be based on the higher value of the index token.

For stablecoin tokens, the spread will be from the Chainlink price of the stablecoin to 1 USD.

The price of GLP will depend on the spread of the tokens in the pool as well.

The fees to mint GLP, burn GLP or to perform swaps will vary based on whether the action improves the balance of assets or reduces it. For example, if the index has a large percentage of ETH and a small percentage of USDC, actions which further increase the amount of ETH the index has will have a high fee while actions which reduces the amount of ETH the index has will have a low fee.

Token weights are adjusted to help hedge GLP holders based on the open positions of traders. For example, if a lot of traders are long ETH, then ETH would have a higher token weight, if a lot of traders are short, then a higher token weight will be given to stablecoins.

If token prices are increasing, then the price of GLP will increase as well, even if there is a larger number of open long positions on the platform. The portion reserved for long positions can be treated as stable in terms of its USD value since if prices increase the profits from that portion will be used to pay traders, and if prices decrease, the losses of traders will keep the USD value of the reserve portion the same.

If a lot of traders are short and larger weights are given to stablecoins, then GLP holders would have a synthetic exposure to the tokens being shorted, e.g. if ETH is being shorted then the price of GLP will decrease if the price of ETH decreases, if the price of ETH increases then the price of GLP will increase from the losses of the short positions.

Caution should be exercised when interacting with any smart contract or blockchain application. While risks are attempted to be mitigated through testing, audits and bug bounties, there is always a risk of vulnerabilities in smart contract code.

A non-exhaustive list of risks:

  • Smart contract risks

  • Counterparty risks: The GLP pool is the counterparty to traders, if traders make a profit that comes from the value of the GLP pool

  • Token risks: Bridged tokens may depend on the security of the bridge, pegged tokens have risks of depegging

Any of the GLP index tokens can be used to buy GLP, a list of the index tokens can be found on the .

Fees will be lower for tokens that the pool has less of, check the section to get the lowest fees.

After buying your GLP tokens will automatically be staked and you will start earning and ETH / AVAX rewards, you can check your rewards on the page.

Selling GLP

GLP tokens can be sold using the page.

Token Pricing

Token Weights

The token weights can be seen on the .

Risks

For details of contract operation please see .

๐Ÿ’ง
โ€‹
โ€‹
https://stats.gmx.io
โ€‹
Buy GLP
Buy
Dashboard
Save on Fees
Escrowed GMX
Earn
โ€‹
Sell GLP
โ€‹
โ€‹
Dashboard
โ€‹
Contracts V1