Smart Contracts
GEM includes eight ink! 5.1 smart contracts deployed on BelizeChain's pallet-contracts runtime on the Ceiba testnet. From fungible tokens and NFTs to the BelizeX DEX, multi-token PSP37, DAO governance, and a reusable access-control library, each contract integrates with the full BelizeChain ecosystem.
Contract Suite
DALLA Token (PSP22)
Complete fungible token implementing the PSP22 standard (Polkadot's ERC-20). Features transfer, approve, transferFrom, minting, burning, and allowance management. 12 decimal places, 100M max supply, 21M initial supply.
BeliNFT (PSP34)
Full-featured NFT contract implementing PSP34 (Polkadot's ERC-721). Supports mint, transfer, burn, metadata URIs, collection management, enumeration, and approval system. Use cases include digital art, land title NFTs, and identity documents.
Simple DAO
Lightweight governance contract with proposal creation, DALLA token-weighted voting, NFT-based membership verification, configurable voting periods, and proposal execution after quorum. Demonstrates cross-contract integration.
Faucet
Testnet token distribution contract. There is no built-in default — the constructor takes drip_amount and cooldown — and the deployed Ceiba instance drips 100 DALLA with a 100-block cooldown (~10 minutes at 6-second blocks). Owner refill, claim tracking and usage statistics included.
Hello BelizeChain
Introductory tutorial contract demonstrating basic ink! patterns — message storage, global counter, per-account visit tracking, events (MessageUpdated, CounterIncremented, VisitRecorded), and error handling.
pallet-contracts Integration
All contracts deploy on BelizeChain's pallet-contracts runtime (Polkadot SDK stable2609). Integration with Economy, Identity, Governance, BNS, BelizeX, and the other custom pallets for full ecosystem interoperability.