All BasePixel contracts are deployed on Base mainnet (chain ID 8453) and verified on BaseScan.Documentation Index
Fetch the complete documentation index at: https://docs.basepixel.io/llms.txt
Use this file to discover all available pages before exploring further.
Main contract
The Diamond contract is the entry point for all interactions.| Property | Value |
|---|---|
| Diamond | 0x0000000000000000000000000000000000000000 |
| Network | Base (chain ID 8453) |
| Standard | ERC-2535 Diamond + ERC-721 |
| Source code | GitHub |
Audit reports
Audit reports will be linked here once available. We’re targeting completion before mainnet launch.How to interact directly
If you want to call the contract without our frontend:Read pixel state
Mint a pixel
Subscribe to events
PixelFacet:
| Event | Trigger |
|---|---|
PixelMinted(tokenId, owner, faction, color) | New mint |
PixelAttacked(tokenId, attacker, previousOwner, fromFaction, toFaction, bountyClaimed) | Successful conquest |
PixelRedeemed(tokenId, redeemer, previousOwner) | 24h redemption |
ActionToggled(tokenId, enabled) | Action ↔ Unaction flip |
ColorSet(tokenId, color) | Custom color update (Unaction only) |
BountyTopped(tokenId, newBounty) | Owner refilled the bounty back to 0.0005 ETH |
Transfer(from, to, tokenId) and Approval events from ERC721Facet.
Security
- All contracts are immutable per facet (you can’t change a facet’s bytecode). Upgrades work by deploying new facets and routing function calls.
- All upgrades require multisig + 48-hour timelock.
- The community can monitor proposed upgrades on-chain before they activate.
- We have a bug bounty program (see Security Policy).