Tinyman Docs
  • Tinyman V2 Overview
  • About Tinyman
  • Protocol Specification
    • Pool
      • Pool Creation
      • Adding Liquidity
      • Removing Liquidity
    • Swap
    • Fees
    • Flash Loan
    • Flash Swap
    • Additional Notes
  • FAQ
    • Migration FAQ
  • Fees
  • Permissioned Methods
    • Roles
    • Methods
    • Related Non-Permissioned Methods
  • Formulae
  • Disclaimer
  • Contracts
  • Audits & Security
  • Token and Governance
    • TINY Token Details
    • Governance Details
      • Overview
      • Governance Vault
      • Governance Rewards
      • Governance Process
      • TINY Farming
  • V2 Integration
    • Protocol Methods
      • Bootstrap
      • Add Initial Liquidity
      • Add Subsequent Liquidity
      • Remove Liquidity
      • Swap
      • Flash Loan
      • Flash Swap
    • State Data
    • Oracle Data
    • Calculating Quotes
    • Official SDKs
  • Swap Router
    • Transaction Specification
  • Swap Widget
    • Customization Preferences
    • How to export your Widget
  • Lending Pools
  • Liquid Staking
    • Liquid Staking
  • Tinyman V1
    • Overview
    • Tinyman AMM Basics
      • Creating Pools
      • Slippage & Excess
      • Farming
    • FAQ
    • Fees
    • Design Doc
    • Contracts
    • Tinyman Testnet
    • Disclaimer
    • Audits
    • Security
  • V1 Integration
    • Pool Lookup
    • Transaction Specifications
      • Bootstrap Pool
      • OptIn
      • Swap
      • Mint
      • Burn
      • Redeem
      • Create Validator App
      • Redeem Protocol Fees
    • Official SDKs
    • Community SDKs
  • Tinyman Presentations
  • Known Issues
    • 2021-11-12 - Pool overflow errors
Powered by GitBook
On this page

Was this helpful?

  1. V2 Integration

State Data

Global State

  1. fee_setter (bytes)

  2. fee_collector (bytes)

  3. fee_manager (bytes)

Local State (Pool)

  1. pool_token_asset_id (uint)

  2. asset_1_id (uint)

  3. asset_2_id (uint)

  4. total_fee_share (uint)

  5. protocol_fee_ratio (uint)

  6. asset_1_reserves (uint)

  7. asset_2_reserves (uint)

  8. issued_pool_tokens (uint)

  9. asset_1_protocol_fees (uint)

  10. asset_2_protocol_fees (uint)

  11. lock (uint)

  12. asset_1_cumulative_price (bytes)

  13. asset_2_cumulative_price (bytes)

  14. cumulative_price_update_timestamp (uint)

PreviousFlash SwapNextOracle Data

Last updated 2 years ago

Was this helpful?