Sudoswap Smart Contract API

On-chain smart contract interface for the Sudoswap AMM protocol. Developers interact with LSSVMPairFactory to create pools, with LSSVMPair contracts to deposit/withdraw assets, and with VeryFastRouter to execute NFT-to-token and NFT-to-NFT swaps across multiple pairs. Bonding curve contracts (Linear, Exponential, XYK, GDA) expose getBuyInfo() and getSellInfo() for pricing queries.

API entry from apis.yml

apis.yml Raw ↑
name: Sudoswap Smart Contract API
description: On-chain smart contract interface for the Sudoswap AMM protocol. Developers interact with
  LSSVMPairFactory to create pools, with LSSVMPair contracts to deposit/withdraw assets, and with VeryFastRouter
  to execute NFT-to-token and NFT-to-NFT swaps across multiple pairs. Bonding curve contracts (Linear,
  Exponential, XYK, GDA) expose getBuyInfo() and getSellInfo() for pricing queries.
image: https://sudoswap.xyz/favicon.ico
humanURL: https://docs.sudoswap.xyz/
baseURL: https://etherscan.io/address/0xA020d57aB0448Ef74115c112D18a9C231CC86000
tags:
- Smart Contracts
- NFT Swaps
- Liquidity Pools
- AMM
- Bonding Curves
properties:
- type: Documentation
  url: https://docs.sudoswap.xyz/
- type: ReferenceDocumentation
  url: https://docs.sudoswap.xyz/reference/pricing/
- type: SwappingReference
  url: https://docs.sudoswap.xyz/reference/swapping/
- type: WrappedPoolsReference
  url: https://docs.sudoswap.xyz/reference/wrapped-pools/
- type: PairCreation
  url: https://docs.sudoswap.xyz/user-guide/creating-a-pool/
- type: ContractAddresses
  url: https://docs.sudoswap.xyz/reference/contracts/
- type: GitHubRepository
  url: https://github.com/sudoswap/lssvm2
- type: SecurityAudits
  url: https://github.com/sudoswap/audits
- type: FinancialOperations
  url: finops/finops.yml
- type: Plans
  url: plans/plans.yml
- type: RateLimits
  url: rate-limits/rate-limits.yml
contact:
- FN: Sudoswap Support
  url: https://docs.sudoswap.xyz/managing-collections/faq/