| Crates.io | carbon-atlas-fee-payer-decoder |
| lib.rs | carbon-atlas-fee-payer-decoder |
| version | 0.12.1 |
| created_at | 2025-10-15 16:51:46.040454+00 |
| updated_at | 2026-01-21 22:42:55.844977+00 |
| description | Rust decoder for Star Atlas ATLAS fee payer program on Solana |
| homepage | https://github.com/staratlasmeta/star-atlas-decoders |
| repository | https://github.com/staratlasmeta/star-atlas-decoders |
| max_upload_size | |
| id | 1884680 |
| size | 143,495 |
Rust decoder for the Star Atlas ATLAS fee payer program on Solana, generated using Carbon CLI.
APR1MEny25pKupwn72oVqMH4qpDouArsX8zX4VwwfoXDAdd this crate to your Cargo.toml:
[dependencies]
carbon-atlas-fee-payer-decoder = "0.12.0"
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);
}
}
}
This decoder supports all ATLAS fee payer account types:
FeePayer - Fee payer account configurationFeePayerRates - Fee rate configuration for transactionsFull documentation is available at docs.rs.
See the main repository for build instructions and contribution guidelines.
Licensed under the Apache-2.0 license.