Custom Pallets
DataControl (dactr)
The DataControl pallet manages application-specific data submissions and dynamic block sizing on Avail. Key Features:- Application ID (AppID) management with unique key registration
- Data availability submissions with hash verification
- Dynamic block dimension proposals (rows × columns)
- Fee modifiers for data submission
- Register application keys for data availability
- Submit data blobs to the network
- Adjust block dimensions based on network conditions
Vector
The Vector pallet implements a cross-chain messaging bridge using zero-knowledge proofs to verify Ethereum beacon chain state. Key Features:- Ethereum light client verification using Groth16 and SP1 proofs
- Cross-chain message execution with storage proofs
- Sync committee tracking and header verification
- Fungible token and arbitrary message bridging
- Bridge messages from Ethereum to Avail
- Verify Ethereum state transitions
- Execute cross-chain token transfers
Mandate
The Mandate pallet provides a governance mechanism for executing privileged operations through an approved origin. Key Features:- Execute root-level calls from approved origins
- Bypass normal transaction filters
- Fee-free execution for governance operations
- Governance-approved runtime upgrades
- Administrative operations
- Protocol parameter updates
Architecture
All three pallets follow Substrate’s FRAME architecture and integrate with the runtime’s core functionality:Common Patterns
Storage Items
All pallets use FRAME storage macros for type-safe on-chain storage:StorageValue- Single value storageStorageMap- Key-value mappingsValueQuery- Default query behavior