LogoLogo
  • 👋 Welcome to OctoGamex
    • Market Description
    • Official Links
  • ♻️PRODUCTS
    • NFT Marketplace
      • Mechanics
        • ⚙ User NFTs
        • ⚙ Sale Listings
          • Selling NFT
          • Buying NFT
        • ⚙ Trade Listings
          • Trade Offer Types
        • ⚙ Auction Listings
          • Bidding Process
        • ⚙ Chat Section
        • ⚙ Notification System
      • ✍️Apply for Listing
    • NFT Bridge
      • Bridging NFT
      • Resuming Bridging
      • Moving Back
      • Adding Collection
    • Marketplace Widget
    • Analytics Platform
      • Collection Analytics
      • Game/Metaverse Analytics
      • User Profile
    • In Development
    • Smart Contracts
      • NFT Bridge - Methods
  • 💰Financial Model
    • Tokenomics
    • About Rewards
      • Fee Rewards
      • Trading Rewards
      • Staking Rewards
    • Fees
      • Sale
      • Auction
      • Trade
  • 🐙PRODUCT
    • Core Team
    • Roadmap
    • Advisors & Partners
  • 👑G2M Strategy
    • Key Points
    • Partner with Us
      • For Games & Metaverses
      • For Guilds
  • 👨‍🎓Information center
    • User Guides
    • Change Log
    • ™️Brand Asset Usage
Powered by GitBook
On this page
  • 📝 WRITE
  • OWNER ONLY
  • PUBLIC
  • 🔎 READ
  1. PRODUCTS
  2. Smart Contracts

NFT Bridge - Methods

📝 WRITE

OWNER ONLY

  • setFee Sets the Lock transaction fee in Wei. The fee is charged in the blockchain coin only for NFTs on the original blockchain.

  • transferOwneship Changes the contract owner address.

  • changeFeeReceiver Changes the address for fees collected.

  • changeOracle Changes the Oracle address.

PUBLIC

  • newERC721 For the creation of a ShadowNFTContract and its association with the originalNFTContract of the ERC721 standard. In this transaction, a contract of the ERC721 standard will be deployed and the address associated.

  • newERC1155 For the creation of a ShadowNFTContract and its linking to the originalNFTContract of the ERC1155 standard. In this transaction, a contract of the ERC1155 standard will be deployed and the address linked. The transaction is called with the following parameters: - name - associated title - metadataURI - originalBlockchain - originalContractAddress - destinationBlockchain - signedMessage

  • lock To make the NFT untransferable. This method is called for the NFT in the originalContract, the NFT will be stored in the contract. If this method is called for the NFT in the shadowContract, the NFT will be burned. This transaction is called with the following parameters: - metadataURI - originalBlockchain - originalContractAddress - destinationBlockchain - signedMessage

The amount is always 0 for the ERC721 token standard. For ERC1155, the amount must be >=1.

  • claim To make the NFT transferable. Can only be called to transfer the locked NFT data by the wallet that performed the Lock transaction on the original blockchain. If called for the originalNFT on the original blockchain, the NFT will be transferred to this address. If called for the shadowNFT, the NFT will be minted and transferred to the owner address. This transaction is called with the following parameters: - lockId - originBlockchain - originalContractAdress - ownerAddress - ID amount - claimOriginal - signedMessage

The amount is always 0 for the ERC721 token standard. For ERC1155, the amount must be >=1 claimOriginal(bool) - 0 if an NFT in the shadowNFTContract was locked, 1 if the NFT in the originalNFTContract was locked.

🔎 READ

  • getNFTContractAddressByOrigin -getNFTContractAddressByOrigin - {originalAddress, originBlockchain}. If a shadowNFTContract exists method returns the address. If it does not exist, the method returns the “execution reverted” error.

✅ Successfully Passed Audit by ABDK Consulting

PreviousSmart ContractsNextTokenomics

Last updated 2 years ago

♻️
audits/ABDK_ElephantsLab_OctoGamexNFTBridge_v_2_0.pdf at main · abdk-consulting/auditsGitHub
Logo
Contract Address 0x64e2B9796f587864746C6097c187D20ab9C61a24 | AuroraAurora Block Explorer
AURORA – 14.06.2022
https://bscscan.com/address/0x64e2b9796f587864746c6097c187d20ab9c61a24bscscan.com
BNBCHAIN – 12.07.2022
Logo
Contract Address 0x3edef477445dfc594dfc21515d41c2d83f2d3e9f | PolygonScanPolygon (MATIC) Blockchain Explorer
POLYGON – 12.07.2022
Logo