Charged Particles
  • What is Charged Particles
  • GETTING STARTED
    • Quick Start
  • CHARGED PARTICLES PROTOCOL
    • Protocol Overview
      • How It Works
      • Current Status
      • Protocol Revenue
      • Protocol Features
    • Why Use Charged Particles?
      • NFT Platforms And How They Differ
      • Charged Particles NFTs - What Are They?
    • How to Use Charged Particles
      • Minting an NFT
      • Energizing an NFT
      • Manage an NFT
      • Using A Test Network
      • Migrating Particles from V1 to V2
    • Developer Docs
      • System Overview
      • Quickstart
        • Read and Write to Contracts
        • Read from the Subgraph
        • Get Kovan ETH + ERC20s
        • VSCode Node.js Typescript Debugging
      • Smart Contracts
        • V2
          • Charged Particles Contract (V2)
          • Charged Settings Contract (V2)
          • Charged State Contract (V2)
          • ProtonB Contract
        • V1
          • Charged Particles Contract
          • Charged Settings Contract
          • Charged State Contract
          • Proton Contract
        • Error Codes
      • Protocol Subgraph
    • IONX
      • IONX Token Addresses
      • IONX Rewards
    • Web3 Packs
    • Liquidity Mining
      • Base Reward Program
      • Leptons
    • Protocol Governance
      • Governance Process
      • Creating a Proposal
      • Voting
      • Delegating Votes
    • Projects + Use Cases
    • Allowlist Application
    • Team
    • Guilds
    • Roadmap
    • Hackathons
      • Hackathon Ideas
      • Previous Hackathons
    • Dune Analytics
  • SDK
    • Charged Particles SDK Overview
    • Quick Start
    • API
    • Advanced Use
    • Types
    • Common Issues / FAQ
    • Common Terminology
  • RESOURCES
    • Hiring!
      • Full-stack/Back-end Web3 Engineer
      • Create Your Own Position
    • Glossary of Terms
    • FAQs
      • Protocol and app.charged.fi
      • Governance
      • Other
      • How to report a bug
    • External Contracts Allowlisted
    • Audits
    • Legal
      • Beta End User License Agreement (EULA)
      • Privacy Policy
      • Policies & Terms of Service
    • Media Kit
  • Additional Resources
    • Discord
    • Telegram
    • Twitter
    • Medium
    • Github
    • LinkedIn
    • Instagram
    • TikTok
Powered by GitBook
On this page
  • Overview
  • Latest Contract Addresses

Was this helpful?

  1. CHARGED PARTICLES PROTOCOL
  2. Developer Docs

Smart Contracts

An Overview of the Charged Particles Smart Contracts

PreviousVSCode Node.js Typescript DebuggingNextV2

Last updated 3 years ago

Was this helpful?

Overview

The Charged Particles protocol consists of a series of smart contracts, but there are four primary smart contracts that control the majority of the logic and are the only ones required to integrate with:

ChargedParticles.sol

The primary contract for interfacing with the Charged Particles protocol. This contract controls the logic for viewing and updating a Particle's balances / nested assets.

ChargedSettings.sol

Used to view and update rules for how the Charged Particles contract functions.

ChargedState.sol

For viewing and setting permissions, approvals, and time locks on Particles.

Proton.sol / ProtonB.sol

The Proton contract is the base NFT of the Charged Particles system. It is a standard ERC-721 NFT with some added functionality. ProtonB provides the exact same functionality as the Proton, but has some minor changes for gas improvements, and was rolled out for V2 of the protocol.

Latest Contract Addresses

The addresses to the 4 primary Charged Particles contracts can be found in the respective V1 and sections of the docs, along with links to block explorers and source code. Additional contract addresses can be found in :

The complete list of our contract addresses includes "helper" contracts associated with the four primary contracts of the protocol, contracts associated with our program, and some legacy contracts that are no longer used. To check what the latest version number of the protocol subgraph npm package is, check .

V2
this npm package
https://cdn.jsdelivr.net/npm/@charged-particles/protocol-subgraph@latest/networks/
IONX rewards
here