Carbon SAGE Starbased Decoder
Rust decoder for the Star Atlas SAGE Starbased program on Solana, generated using Carbon CLI.
Program Information
- Program ID:
SAGE2HAwep459SNq61LHvjxPk4pLPEJLoMETef7f7EE - Network: Solana Mainnet
- Description: Star Atlas SAGE (Starbase and Galactic Expansion) Starbased program for managing starbase operations, fleet management, and resource processing.
Features
- Decodes all SAGE Starbased account types
- Custom deserialization for complex accounts (Fleet, StarbasePlayer)
- Full instruction parsing support
- Integration with Carbon indexing framework
Usage
Add this crate to your Cargo.toml:
[]
= "0.12.0"
Decoding Accounts
use SageDecoder;
use AccountDecoder;
let decoder = SageDecoder;
let decoded_account = decoder.decode_account;
if let Some = decoded_account
Account Types
This decoder supports all SAGE Starbased account types including:
Fleet- Fleet management with custom state deserializationStarbasePlayer- Player starbase interactions with dynamic escrowsGame- Game configuration and stateGameState- Current game stateStarbase- Starbase definitionsShip- Ship configurationsCraftingInstance- Crafting operations- And more...
Documentation
Full documentation is available at docs.rs.
Repository
See the main repository for build instructions, patch development workflow, and contribution guidelines.
License
Licensed under the Apache-2.0 license.