carbon-atlas-fee-payer-decoder

Crates.iocarbon-atlas-fee-payer-decoder
lib.rscarbon-atlas-fee-payer-decoder
version0.12.1
created_at2025-10-15 16:51:46.040454+00
updated_at2026-01-21 22:42:55.844977+00
descriptionRust decoder for Star Atlas ATLAS fee payer program on Solana
homepagehttps://github.com/staratlasmeta/star-atlas-decoders
repositoryhttps://github.com/staratlasmeta/star-atlas-decoders
max_upload_size
id1884680
size143,495
Samuel Vanderwaal (samuelvanderwaal)

documentation

README

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 configuration
  • FeePayerRates - 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.

Commit count: 104

cargo fmt