carbon-proxy-rewarder-decoder 0.12.1

Rust decoder for Star Atlas Proxy Rewarder program on Solana
Documentation

Carbon Proxy Rewarder Decoder

Rust decoder for the Star Atlas Proxy Rewarder program on Solana, generated using Carbon CLI.

Program Information

  • Program ID: gateVwTnKyFrE8nxUUgfzoZTPKgJQZUbLsEidpG4Dp2
  • Network: Solana Mainnet
  • Description: Star Atlas Proxy Rewarder program for reward distribution.

Features

  • Decodes all Proxy Rewarder account types
  • Full instruction parsing support
  • Integration with Carbon indexing framework

Usage

Add this crate to your Cargo.toml:

[dependencies]
carbon-proxy-rewarder-decoder = "0.12.0"

Decoding Accounts

use carbon_proxy_rewarder_decoder::{ProxyRewarderDecoder, ProxyRewarderAccount};
use carbon_core::account::AccountDecoder;

let decoder = ProxyRewarderDecoder;
let decoded_account = decoder.decode_account(&account);

if let Some(decoded) = decoded_account {
    match decoded.data {
        // Handle account types
        _ => println!("Decoded account: {:?}", decoded.data),
    }
}

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.