Mode Docs
  • Introduction
    • 🟡Introducing Mode
    • ✅AI Agent Dev Roadmap
  • AI AGENTS
    • Mode AI Terminal
    • 🤷What are AI Agents?
    • 🏗️Building your first agent
    • Tutorials
      • Quickstart
    • 🛠️AI Tooling
      • AI Audits
      • AI APIs
      • Frameworks
  • Tools
    • 🖥️RPC
    • 🪶Multisig wallets
    • 🔁Bridge
    • 🚰Testnet Faucets
    • 🕵️Block Explorers
    • 🗂️Data Indexers
    • 🧙‍♂️Oracles
    • ⛓️Interoperability
    • ⁉️Randomness
    • 🌎General Tooling
  • Tutorials
    • Interacting with Smart Contracts using ethers.js
    • Deploying a Smart Contract
      • Using Hardhat
      • Using Thirdweb
      • Using Foundry
      • Using Remix
    • Verifying your smart contract
      • Using Hardhat
      • Using Foundry
  • User Guides
    • ℹ️Network Details
    • 🦊Add Mode
    • 🏡Contract Addresses
      • Tokens
      • L1/L2 Mainnet Contracts
      • Testnet Contracts
    • 🌉Bridge
      • ➡️Bridge to Mode
      • ⬅️Bridge from Mode
      • 🏗️Bridging to Testnet
    • 📤Move to/from CEX
  • $MODE
    • 🟡MODE Tokenonomics
    • 1️⃣1️⃣ Season 1 (ended)
    • 2️⃣2️⃣ Season 2 (ended)
    • 3️⃣3️⃣ Governance Season 3 (ended)
      • Governance Contract Addresses
    • 4️⃣4️⃣ Mode Governance Season 4
    • 5️⃣5️⃣ Season 5
  • Mode Trade
    • 💰Affiliate Program
  • Other Docs
    • 🔓General Security
      • 🔓Mode L2 Security Model
      • ⛑️Optimism Bug Bounty
      • Security Upgrades
        • 01/08/2024 Bridge Upgrade Fund Rescue
        • 06/08/2024 Mode Mainnet Key Handover
      • 🔐Audits
    • 🔗Official Links
    • 🤘Branding Guidelines
    • ⌨️Node Operators
Powered by GitBook
On this page
  • Adding the SFS NFT to your wallet
  • Checking the SFS registry

Was this helpful?

Edit on GitHub
  1. Tutorials
  2. SFS - Sequencer Fee Sharing

Check the SFS registry

This is a tutorial on how to check the SFS registry to see if you correctly registered your smart contract

Last updated 1 year ago

Was this helpful?

When registering a smart contract in the an NFT gets minted to the _receiver address that enables that wallet to claim the corresponding fees.

In this tutorial, we will cover two potential checks:

  1. Check if your wallet has the NFT minted during the registry

  2. Check if the contract is registered in the SFS contract-=

If it’s your first time registering a contract and you don't see the NFT, you may need to add the new token to your wallet. For this, you will need the SFS contract address and the number of the token minted when registering the contract.

Adding the SFS NFT to your wallet

Go to blockscout and look for the transaction that registered your smart contract.

This is an example one on testnet:

Example transaction showing the register transaction

In the register transaction you will find the token ID (see screenshot above). You can also find this value as the output of the register function of the SFS.

With the SFS contract address and the token ID, you can add the NFT to our wallet to see it.

If you can see the NFT in your wallet, most probably the register was done successfully! You can already use this wallet to claim rewards, if any are available.

Checking the SFS registry

The SFS smart contract keeps track of all the registered smart contracts. You can always go and check if any smart contract is registered or not.

Look for the isRegistered function. Paste the contract address of your smart contract in the field, in my case, it’s 0xcc9c90501678de6E0c6340E702e0482E95516eac. Click on Query and see the response you get below. If it says “true” it means that smart contract is registered!

That's all you need to know on how to check if a smart contract is registered in the SFS.

To do this go to the . You should go to the “Contract” tab and inside go to the “Read contract” tab.

To learn more about Mode and how to turn your code into a business, join our and say hello 👋

SFS contract in blockscout
Discord
SFS (Sequencer Fee Sharing) contract
https://sepolia.explorer.mode.network/tx/0x233e46178a8bc1bf7497b2b73591eb8d7f1dbcb33b6263b817c3777ad4041b6b