🦭
Seacows AMM Docs
  • 🦭Introduction
  • SeaCows User Guide
    • Basic Function Guide
      • Link Wallet Login
      • Select Network
      • Enter The Swap Pool
      • Wallet Approve
      • Trading Settings
    • Main Function Guide
      • Buy NFTs
      • Sell NFTs
      • Deposit Liquidity
      • Earn Swap Fees
      • Withdraw Liquidity
      • Create Pool
  • FAQ(Frequent Ask Questions)
    • After I deposit the NFT, can I still withdraw the NFT I originally deposited?
    • What types of NFTs does the Seacows AMM protocol support on Ethereum?
    • Does the Seacows NFT swap support the creation of AMM pools using ERC-20 tokens?
  • Seacows NFT AMM Protocol
    • Seacows Protocol Overview
    • User Flow
      • Deposit
      • Swap
      • Withdraw
    • Speedbump
    • Algorithms and Models
    • Core System Diagrams
  • Use Cases
    • Arbitrageurs
    • 👽NFT Traders
    • 🎮Gaming
    • 🦄NFT Creators
    • 📈DeFi
  • Contract Addresses
    • ⟠ Ethereum Goerli (ETH)
    • Ethereum Mainnet
      • Blast L2
    • Solana
    • Hyperliquid
    • Seacows NFT collection
  • Technical Reference
    • Overview
    • Core
      • SeacowsERC721TradePair
        • SeacowsPairMetadata
        • Fee structure
        • SeacowsRewarder
        • SeacowsComplement
      • SeacowsPositionManager
        • FeeManagement
        • SeacowsERC3525
        • NFTRenderer
        • SeacowsFactory
    • Periphery
    • Glossary
  • Audit
  • Legal
    • Protocol license agreement
    • Terms of Use
    • Privacy Policy
Powered by GitBook
On this page
  • Functions
  • token
  • collection
  • PERCENTAGE_PRECISION
  • ONE_PERCENT
  • POINT_FIVE_PERCENT
  • MAX_PROTOCOL_FEE_PERCENT
  • totalSupply
  • balanceOf
  • ownerOf
  1. Technical Reference
  2. Core
  3. SeacowsERC721TradePair

SeacowsPairMetadata

PreviousSeacowsERC721TradePairNextFee structure

Last updated 1 year ago

This contract stores the basic metadata, or functions, of the contract and is inherited by SeacowsERC721TradePair.

Functions

token

function token() external view returns (address)

Returns the address of the ERC-20 token.

collection

function collection() external view returns (address)

Returns the address of the ERC-721 collection.

PERCENTAGE_PRECISION

function PERCENTAGE_PRECISION() external view returns (uint64)

Returns the percentage precision used in the pair.

ONE_PERCENT

function ONE_PERCENT() external view returns (uint64)

Returns the value used to represent 1% in the pair with respect to .

POINT_FIVE_PERCENT

function POINT_FIVE_PERCENT() external view returns (uint64)

MAX_PROTOCOL_FEE_PERCENT

function MAX_PROTOCOL_FEE_PERCENT() external view returns (uint64)

totalSupply

function totalSupply() external view returns (uint256)

Returns the total supply of LP shares.

balanceOf

function balanceOf(uint _tokenId) external view returns (uint256)

ownerOf

function ownerOf(uint _tokenId) external view returns (address)

Returns the value used to represent 0.5% in the pair with respect to .

Returns the value of maximum protocol fee that can be configured in the pair contract. With respect to .

Returns LP shares amount of a Position NFT. See .

Returns the owner of a Position NFT. See .

ERC-3525
ERC-3525
PERCENTAGE_PRECISION
PERCENTAGE_PRECISION
PERCENTAGE_PRECISION