Module gt

Source
Expand description

GT.

§GT

GT is designed to boost trading activity on GMX-Solana by offering a unique incentive mechanism that provides traders with additional rewards to maximize rebates and minimize trading costs. GT is a highly customizable token obtainable through trading on GMX-Solana. The initial mint cost of GT is $0.05, equivalent to a trading volume of $100 with a 5 bps fee. As the total supply grows, GT’s mint cost will increase exponentially. Each cycle, set at 100,000 GT, raises the mint cost by 1%.

§Treasury and Buyback

GT is non-transferable, and its sale can only occur through the daily Treasury buyback. 60% of the fees will go to the Treasury. Each day, the Treasury will allocate USDC for buybacks based on the min {deposited GT * mint cost, 2% of the Treasury, 60% of the Treasury’s daily revenue}. The actual buyback price will be determined by dividing the total allocated USDC by the total amount of GT deposited by users. After the buyback is complete, users can claim the corresponding USDC.

§VIP Levels (User Ranks)

VIP levels are assigned based on users’ GT holdings. The more GT a user holds, the higher their VIP level, which grants greater order fee discounts.

§Referral Program

The referral program offers referees an extra 10% order fee discount. The final order fee discount will be calculated as: order fee discount = 1 - (1 - order fee vip discount) * (1 - order fee referred discount).

Structs§

GtExchange
GT Exchange Account.
GtExchangeFlagContainer
Flags container generated by the macro.
GtExchangeVault
GT Exchange Vault.
GtExchangeVaultFlagContainer
Flags container generated by the macro.
GtState

Enums§

GtExchangeFlag
GT Exchange Vault Flags.
GtExchangeVaultFlag
GT Exchange Vault Flags.

Functions§

get_time_window_index
Get time window index.