3 unstable releases
Uses new Rust 2024
| new 0.12.1 | Jan 21, 2026 |
|---|---|
| 0.12.0 | Jan 16, 2026 |
| 0.10.0 | Oct 15, 2025 |
#2949 in Encoding
76 downloads per month
33KB
639 lines
Carbon ATLAS Fee Payer Decoder
Rust decoder for the Star Atlas ATLAS fee payer program on Solana, generated using Carbon CLI.
Program Information
- Program ID:
APR1MEny25pKupwn72oVqMH4qpDouArsX8zX4VwwfoXD - Network: Solana Mainnet
- Description: Star Atlas ATLAS fee payer program for managing transaction fees and fee payer accounts in the Star Atlas ecosystem.
Features
- Decodes all ATLAS fee payer account types
- Full instruction parsing support
- Integration with Carbon indexing framework
- Support for fee payer management and rate configuration
Usage
Add this crate to your Cargo.toml:
[dependencies]
carbon-atlas-fee-payer-decoder = "0.12.0"
Decoding Accounts
use carbon_atlas_fee_payer_decoder::AtlasFeePayerDecoder;
use carbon_core::account::AccountDecoder;
let decoder = AtlasFeePayerDecoder;
let decoded_account = decoder.decode_account(&account);
if let Some(decoded) = decoded_account {
match decoded.data {
AtlasFeePayerAccount::FeePayer(payer) => {
println!("Fee Payer: {:?}", payer);
}
AtlasFeePayerAccount::FeePayerRates(rates) => {
println!("Fee Payer Rates: {:?}", rates);
}
}
}
Account Types
This decoder supports all ATLAS fee payer account types:
FeePayer- Fee payer account configurationFeePayerRates- Fee rate configuration for transactions
Documentation
Full documentation is available at docs.rs.
Repository
See the main repository for build instructions and contribution guidelines.
License
Licensed under the Apache-2.0 license.
Dependencies
~23–40MB
~551K SLoC