Printr Docs
  • START HERE
    • 🖨️Welcome to Printr
    • 🎒Onboarding Guide
    • ⁉️Why Printr
    • 🆚Printr vs Others
    • 💵VISIT THE APP
  • HOW TO USE PRINTR
    • 🖨️Printr Marketplace
    • 👾Trading Tokens on Printr
    • 👨‍💻Launching Tokens on Printr
    • 🪪The Token Reputation System
  • HOW PRINTR WORKS?
    • 🌄Behind the Scenes
    • 🐾The Printr Stack
    • ⛓️The Chain Agnostic Bonding Curve
    • 👾Curve Math
    • 🖨️Printr's Contracts
  • GLOSSARY
    • 🖨️Printr Terminologies
    • ➕Curve Math
  • REWARDS
    • 🖨️Rewards
    • ➕Curve Math
  • SECURITY & RISKS
    • 📃Smart Contract Risks
    • 🎭Scams & Market Manipulation
  • BRAND ASSETS
    • 🖼️Printr Brand Assets
  • LEGAL
    • Terms and Conditions
    • Privacy Policy
Powered by GitBook
On this page
  • The Treasury Contract
  • The Liquidity Module
  1. HOW PRINTR WORKS?

Printr's Contracts

What are the Protocol's Contract Like?

Printr's Contracts serves as the main protocol contract, divided into specialized modules:

  • Printr Storage: Defines the storage layout and immutable variables

  • Printr Curve: Handles curve mathematics and token creation

  • Printr Trade: Manages buying and selling tokens on the curve

  • Printr Admin: Controls administrative functions like fee collection

  • Printr Interchange: Facilitates cross-chain integration with services like Axelar

The Treasury Contract

The Treasury Contract holds all funds within the protocol, including:

  • Funds for token curves

  • Protocol fees collected from trades

  • Liquidity deployment funds

This contract manages fund storage, fee collection, and liquidity locks, including NFT representations of locked liquidity.

The Liquidity Module

The Liquidity Module interfaces with decentralized exchanges such as Uniswap e.t.c, to handle liquidity operations. It enables pool creation, swap execution, and concentrated liquidity deployment.

The module deploys tokens in a "white range" from graduation price to infinity, while base tokens are deployed as concentrated liquidity below the graduation price to facilitate efficient exits.

Printr Curve

The Printr Curve module creates and manages token curves with virtual reserves to establish the desired initial price. It also supports remote deployment via Axelar for cross-chain functionality.

Printr Trade

The Printr Trade module executes buying and selling operations on the curve, calculating costs and managing fees. A small fee is charged on each trade and collected in the Treasury.

Token Factory

The Token Factory contract deploys tokens deterministically based on their parameters, ensuring each token has a unique address. It supports remote deployment on other chains without deploying curves.

The modular design and integrations help Printr provide the comprehensive solution for creating tokens and managing liquidity across multiple blockchain networks.

PreviousCurve MathNextPrintr Terminologies

Last updated 2 months ago

🖨️