Bit5 Documents
Goto App
  • 👋Welcome to Bit5
  • Overview
    • 💡What We Do
    • ✨Our Features
    • 🏁Get Started
      • Create a Wallet
      • Connect Your Wallet to Bit5
  • Product Guides
    • 🛍️Marketplace
      • Buying an NFT on Bit5
      • Selling an NFT at Bit5
      • NFT Rarity Calculation
      • Royalties
      • Fee Calculation and Limits
      • Service fee discount with privilege collections
      • Pausable
      • Global Transactions
      • Accept Global Bid As Owner
  • 🥏Bit5 as a Launchpad
    • Minting Application
    • Project Verification
    • Collection Application
  • 🤝Lending and Borrowing
    • Borrow BNB with Your NFTs
    • Earn Interest by Lending BNB
  • ✋Vote
  • Universal Wrapper
    • DN 404
    • How it works?
    • FAQ
  • 🏵️Services
    • Convertion of Static Nft to Dynamic Nft (dNft).
    • NFT Minting
    • Token Minting
  • ☑️Road Map
  • Resources
    • ❔FAQs
    • 🔗Links
      • Collection Application Form
      • Minting Application Form
      • Verification Form
      • Voting Application Form
      • Telegram Announcement
      • Twitter
      • Discord
      • Telegram Bit5 Listings
      • Telegram Bit5 Sales
  • Legal
    • 📃Terms Of Service
    • 🔏Privacy Policy
  • Partnership
    • Trading View
Powered by GitBook
On this page
  1. Product Guides
  2. Marketplace

Accept Global Bid As Owner

'acceptGlobalBidAsOwner' Function Security Description

Function Purpose

The acceptGlobalBidAsOwner function is a function used to accept a BID approved by the owner of the NFT and transfer the NFT to the person making the BID. This function works safely by applying the following security measures:

Security precautions

  1. Verification Processes The acceptGlobalBidAsOwner function performs some validation to ensure the correctness of the transaction. These validations are: isOrderValid(order, signature): The function uses the isOrderValid function to verify the validity of the BID. This function verifies that the BID's signature is correct and that the _nftOwner address actually represents the BID it has endorsed.

  2. Authority Control The acceptGlobalBidAsOwner function can only be called by the owner of the contract (controlled by the onlyOwner token). This ensures that the function is protected against unauthorized access.

  3. One Time Transaction Guarantee The function is controlled with the nonReentrant token, protecting it from retry attacks. This prevents the function from being called more than once at the same time.

  4. Pausable The function has the ability to be stopped by checking it with the whenNotPaused token. In this way, the use of the function can be stopped in cases determined by the contract owner.

PreviousGlobal TransactionsNextBit5 as a Launchpad

Last updated 1 year ago

🛍️