LogoLogo
  • Introduction to the Muse DAO
  • Developer Vision
  • DAPPS
    • Fast Dapp
      • Tutorials
        • Getting started
          • Make an ERC20 transfer app
      • Components
        • Contract Read
        • Contract Write
        • APICall
        • Events
        • Address Display
        • Block Number
        • Ethereum Balance
        • PleaseConnect (Request user connection)
        • Token Balance (ERC20)
        • WatchEvents
        • AirStack
        • Sweep NFT floor
        • Token amount (ERC20)
        • Token name (ERC20)
        • Uniswap tradebox
        • Moment (display date/time)
      • Variables
        • userAddress
        • ABIs
        • connectedChain
        • Passing arbitrary data in query URL parameters
        • location
        • Toast
      • Templates
        • ERC20 Token transfer
        • Nouns Auction
        • AAVE V3
        • Lido Staking page
        • DAI Saving Rate
        • ERC6551
        • Popular NFT collections buy button
        • Non Fungible Message
        • No Shit Sherlock
      • Style
    • Launch
      • How to Launch a project
      • How to buy from a Launch
      • How to sell into a Launch
      • FAQ
    • NFT20
      • Use Cases
      • Liquidity Incentives
      • Guides
        • Adding a project
          • Create Pool
      • Contracts
        • NFT20Factory
          • Source
        • NFT20Pair
          • Source
      • API
      • Fees
    • ETHCMD
    • RolodETH
    • The Very Nifty Gallery
    • CUDL Game
      • Pets
      • $CUDL
      • MILK
      • Bazaar
      • Battles and weapons
    • Feather NFT
    • Dreams of EVM NFT
    • Sudoswap,js
    • The Quest (Sword & Shield)
    • Royal Game
    • Space Goo
    • NFT API
    • Pepesea NFT Marketplace
  • Tokenomics
    • $MUSE
    • Treasury
  • Other resources
    • Governance
    • Links
Powered by GitBook
On this page
  • View Methods
  • nftToToken()
  • logic()
  • fee()
  • counter()
  1. DAPPS
  2. NFT20
  3. Contracts

NFT20Factory

PreviousContractsNextSource

Last updated 3 years ago

NFT20Factory functions to provide mappings between NFT contract addresses and NFT20 pairs for trading those assets.

This contract is an contract currently deployed at 0x0f4676178b5c53Ae0a655f1B19A96387E4b8B5f2 on mainnet Ethereum.

The currently deployed version is at 0xf39b0F846f967895DB4c31B6b62d2BE3F5Af8454 on mainnet Ethereum.

View Methods

nftToToken()

mapping(address => address) public nftToToken;

Returns the address for a supplied ERC721/ERC1155 contract address (if one exists).

Parameters

Type
Description

address

Contract address for an ERC721/ERC1155.

Return values

Type
Description

address

logic()

address public logic;

Type
Description

address

fee()

uint256 public fee;

Return values

Type
Description

uint256

counter()

uint256 public counter;

Return values

Type
Description

uint256

An address representing the instance for this ERC721/ERC1155.

This method returns the address of the base contract for creating new .

Address of the contract used for instantiating a new .

This method returns the value unint256 fee, which represents the default fee used by .

current fee in tokens.

This method method returns the value of uint256 counter, which represents the number of currently tracked by the factory.

number of .

AdminUpgradeabilityProxy
NFT20FactoryV3
View Methods
nftToToken()
logic()
fee()
counter()
NFT20Pair
NFT20Pairs
NFT20Pair
NFT20Pairs
NFT20Pair
NFT20Pair
NFT20Pair
NFT20Pairs