Overview
Welcome to the GnoSwap Realm (smart contracts in Gno) documentation. This section contains technical documentation for the realms that compose the GnoSwap Protocol. Use these guides to learn how each contract interacts within GnoSwap or to integrate GnoSwap into your product.
Contract Structure
Here’s a quick look at the primary contracts and their purposes:
Pool Contract: Handles liquidity management, including creating new liquidity positions and withdrawing liquidity.
Position Contract: Manages user-specific assets and liquidity, allowing users to define their asset boundaries and manage their exposure.
Staker Contract: Rewards users who provide liquidity or hold specific assets, managing incentives and emission rates.
Router Contract: Connects different pools for seamless token swaps.
Governance Contract: Manages protocol governance, allowing GNS holders to vote on proposals and enact protocol changes.
Launchpad Contract: Manages project creation and reward distribution, enabling users to participate with GNS and allowing projects to distribute tokens and receive funding via yield redirection.
Each contract section provides detailed explanations of functions, parameters, and expected outputs.
Resources
GnoSwap Contracts: A GitHub repository containing the GnoSwap Contracts' source code.
README: Setup and installation instructions.
License: Licensing information for using GnoSwap.
Last updated