1. Decoders
  2. Other

Pump Fees decoder

Decode Pump Fees instructions, accounts and events in Rust with carbon-pump-fees-decoder 2.0.0. Program ID pfeeUxB6jkeY1Hxd7CsFCAjcbHA9rWtchMGdZ6VojVZ.

On this page

carbon-pump-fees-decoder decodes the instructions, accounts and events of the Pump Fees program (pfeeUxB6jkeY1Hxd7CsFCAjcbHA9rWtchMGdZ6VojVZ): 17 instructions, 7 account types, 14 events. It is generated with Codama from the program's IDL; see decoders for how decoders plug into a pipeline.

Cratecarbon-pump-fees-decoder 2.0.0
Installcargo add carbon-pump-fees-decoder@2.0.0
Program IDpfeeUxB6jkeY1Hxd7CsFCAjcbHA9rWtchMGdZ6VojVZ (carbon_pump_fees_decoder::PROGRAM_ID)
CategoryOther
Decodercarbon_pump_fees_decoder::PumpFeesDecoder
Instruction enuminstructions::PumpFeesInstruction
Account enumaccounts::PumpFeesAccount
Event enuminstructions::CpiEvent
Featuresserde, postgres, graphql (none enabled by default)
API docsdocs.rs/carbon-pump-fees-decoder/2.0.0
Sourcedecoders/pump-fees-decoder

More program decoders without a category: Jupiter DCA, Kamino Farms, Raydium Liquidity Locking, Swig. To decode several in one pipeline, see other program decoders.

The serde feature derives Serialize/Deserialize on every type, postgres adds tables and processors for Postgres, and graphql adds a schema for the GraphQL server.

Usage#

This program crawls recent Pump Fees transactions from the public RPC and prints every decoded ClaimSocialFeePda instruction. Add the dependencies:

Terminal
cargo add carbon-core@2.0.0 carbon-pump-fees-decoder@2.0.0 carbon-rpc-transaction-crawler-datasource@2.0.0 carbon-log-metrics@2.0.0 env_logger tokio --features tokio/full
src/main.rs
use {
    carbon_core::{
        error::CarbonResult, instruction::InstructionProcessorInputType, pipeline::Pipeline,
        processor::Processor,
    },
    carbon_log_metrics::LogMetrics,
    carbon_pump_fees_decoder::{instructions::PumpFeesInstruction, PumpFeesDecoder, PROGRAM_ID},
    carbon_rpc_transaction_crawler_datasource::{ConnectionConfig, Filters, RpcTransactionCrawler},
    std::sync::Arc,
};

#[tokio::main]
async fn main() -> CarbonResult<()> {
    env_logger::init();

    // Fetches the program's recent transactions over JSON-RPC, newest first.
    let datasource = RpcTransactionCrawler::new(
        "https://api.mainnet-beta.solana.com".to_string(),
        PROGRAM_ID,
        ConnectionConfig::default(),
        Filters::new(None, None, None),
        None,
    );

    Pipeline::builder()
        .datasource(datasource)
        .metrics(Arc::new(LogMetrics::new()))
        .instruction(PumpFeesDecoder, InstructionLogger)
        .build()?
        .run()
        .await
}

struct InstructionLogger;

impl Processor<InstructionProcessorInputType<'_, PumpFeesInstruction>> for InstructionLogger {
    async fn process(
        &mut self,
        input: &InstructionProcessorInputType<'_, PumpFeesInstruction>,
    ) -> CarbonResult<()> {
        let signature = input.metadata.transaction_metadata.signature;
        if let PumpFeesInstruction::ClaimSocialFeePda { data, accounts, .. } = input.decoded_instruction {
            println!("claim_social_fee_pda {signature}: {data:?} recipient={}", accounts.recipient);
        }
        Ok(())
    }
}
Terminal
RUST_LOG=info cargo run

Each ClaimSocialFeePda instruction prints one line with the transaction signature and the decoded ClaimSocialFeePda data. The public endpoint rate-limits requests, so the first lines can take a while; use your own RPC URL for anything beyond a test. See stream with RPC for the crawler options.

Events published with Anchor's emit_cpi! arrive as the CpiEvent instruction. Match them with PumpFeesInstruction::CpiEvent { data: CpiEvent::CreateFeeSharingConfigEvent(event), .. } (import instructions::CpiEvent); see Events. If CpiEvent never arrives, the program logs its events with emit! instead: decode them with decode_log_events.

Decode accounts#

The transaction crawler emits transactions only. To decode accounts, use a datasource that emits account updates. This program subscribes to the program's accounts with programSubscribe on the public WebSocket endpoint and prints every decoded Pool account as it changes. Add the datasource and the Solana RPC types it takes:

Terminal
cargo add carbon-rpc-program-subscribe-datasource@2.0.0 solana-client@4.2.2
src/main.rs
use {
    carbon_core::{
        account::AccountProcessorInputType, error::CarbonResult, pipeline::Pipeline,
        processor::Processor,
    },
    carbon_log_metrics::LogMetrics,
    carbon_pump_fees_decoder::{accounts::PumpFeesAccount, PumpFeesDecoder, PROGRAM_ID},
    carbon_rpc_program_subscribe_datasource::{Filters, RpcProgramSubscribe},
    solana_client::rpc_config::{RpcAccountInfoConfig, RpcProgramAccountsConfig, UiAccountEncoding},
    std::sync::Arc,
};

#[tokio::main]
async fn main() -> CarbonResult<()> {
    env_logger::init();

    // Streams every change to an account owned by the program (programSubscribe).
    let config = RpcProgramAccountsConfig {
        account_config: RpcAccountInfoConfig {
            encoding: Some(UiAccountEncoding::Base64),
            ..Default::default()
        },
        ..Default::default()
    };
    let datasource = RpcProgramSubscribe::new(
        "wss://api.mainnet-beta.solana.com".to_string(),
        Filters::new(PROGRAM_ID, Some(config)),
    );

    Pipeline::builder()
        .datasource(datasource)
        .metrics(Arc::new(LogMetrics::new()))
        .account(PumpFeesDecoder, AccountLogger)
        .build()?
        .run()
        .await
}

struct AccountLogger;

impl Processor<AccountProcessorInputType<'_, PumpFeesAccount>> for AccountLogger {
    async fn process(
        &mut self,
        input: &AccountProcessorInputType<'_, PumpFeesAccount>,
    ) -> CarbonResult<()> {
        if let PumpFeesAccount::Pool(pool) = &input.decoded_account.data {
            println!("pool {}: {pool:?}", input.metadata.pubkey);
        }
        Ok(())
    }
}
Terminal
RUST_LOG=info cargo run

Each update to a Pool account prints its address and decoded fields; the program runs until you stop it. Cargo resolves solana-client to 4.2.2, the exact version the datasource pins, so both use the same RpcProgramAccountsConfig type. To load every existing account once instead of streaming changes, see load account state.

Instructions#

Variants of PumpFeesInstruction. Each is PumpFeesInstruction::<Variant> { program_id, data, accounts }, where data and accounts are the types listed under the variant, exported from carbon_pump_fees_decoder::instructions. Discriminators are the leading bytes of the instruction data, in hex.

How an instruction decodes. The decoder returns a variant only when all of these hold; otherwise the instruction is skipped and no processor is called:

  1. The instruction's program ID is pfeeUxB6jkeY1Hxd7CsFCAjcbHA9rWtchMGdZ6VojVZ.
  2. The data starts with the variant's discriminator, and the rest deserializes into its data type.
  3. The instruction has at least as many accounts as the variant requires (the "Required accounts" count under each variant).

Accounts. They are matched by position, in the order listed. An account marked optional is None only when the instruction ends before it; Anchor programs pass the program ID as a placeholder for an omitted optional account, so check for Some(PROGRAM_ID) too. Accounts after the listed ones are in accounts.remaining as AccountMetas. The decoder doesn't record whether an account signed or was writable: read that from input.raw_instruction.accounts[i].is_signer and .is_writable, which follow the same order. It doesn't check signer, writable, owner or PDA constraints either; the program enforced those when the transaction executed, so a decoded instruction from a successful transaction already satisfied them.

ClaimSocialFeePda#

Discriminator e115fb85a11ec7e2 · data ClaimSocialFeePda · accounts ClaimSocialFeePdaInstructionAccounts.

FieldType
user_idString
platformu8

Required accounts: 6; extras go to remaining.

Fields of ClaimSocialFeePdaInstructionAccounts, in account order:

#FieldType
0recipientPubkey
1social_fee_pdaPubkey
2fee_program_globalPubkey
3social_claim_authorityPubkey
4event_authorityPubkey
5programPubkey
6…remainingVec<AccountMeta>

CreateFeeSharingConfig#

From the program's IDL:

Create Fee Sharing Config

Discriminator c34e564c6f34fbd5 · data CreateFeeSharingConfig · accounts CreateFeeSharingConfigInstructionAccounts.

No data fields.

Required accounts: 10 (13 listed); extras go to remaining.

Fields of CreateFeeSharingConfigInstructionAccounts, in account order:

#FieldType
0event_authorityPubkey
1programPubkey
2payerPubkey
3globalPubkey
4mintPubkey
5sharing_configPubkey
6system_programPubkey
7bonding_curvePubkey
8pump_programPubkey
9pump_event_authorityPubkey
10poolOption<Pubkey>
11pump_amm_programOption<Pubkey>
12pump_amm_event_authorityOption<Pubkey>
13…remainingVec<AccountMeta>

CreateSocialFeePda#

Discriminator 90e03bd34ef8cadc · data CreateSocialFeePda · accounts CreateSocialFeePdaInstructionAccounts.

FieldType
user_idString
platformu8

Required accounts: 6; extras go to remaining.

Fields of CreateSocialFeePdaInstructionAccounts, in account order:

#FieldType
0payerPubkey
1social_fee_pdaPubkey
2system_programPubkey
3fee_program_globalPubkey
4event_authorityPubkey
5programPubkey
6…remainingVec<AccountMeta>

GetFees#

From the program's IDL:

Get Fees

Discriminator e7257e55cf5b3f34 · data GetFees · accounts GetFeesInstructionAccounts.

FieldType
is_pump_poolbool
market_cap_lamportsu128
trade_size_lamportsu64

Required accounts: 2; extras go to remaining.

Fields of GetFeesInstructionAccounts, in account order:

#FieldType
0fee_configPubkey
1config_program_idPubkey
2…remainingVec<AccountMeta>

InitializeFeeConfig#

From the program's IDL:

Initialize FeeConfig admin

Discriminator 3ea214857941911b · data InitializeFeeConfig · accounts InitializeFeeConfigInstructionAccounts.

No data fields.

Required accounts: 6; extras go to remaining.

Fields of InitializeFeeConfigInstructionAccounts, in account order:

#FieldType
0adminPubkey
1fee_configPubkey
2system_programPubkey
3config_program_idPubkey
4event_authorityPubkey
5programPubkey
6…remainingVec<AccountMeta>

InitializeFeeProgramGlobal#

Discriminator 23d78254e9387ca7 · data InitializeFeeProgramGlobal · accounts InitializeFeeProgramGlobalInstructionAccounts.

FieldType
social_claim_authorityPubkey
disable_flagsu8
claim_rate_limitu64

Required accounts: 6; extras go to remaining.

Fields of InitializeFeeProgramGlobalInstructionAccounts, in account order:

#FieldType
0authorityPubkey
1pump_globalPubkey
2fee_program_globalPubkey
3system_programPubkey
4event_authorityPubkey
5programPubkey
6…remainingVec<AccountMeta>

ResetFeeSharingConfig#

From the program's IDL:

Reset Fee Sharing Config and distribute pending fees first

Discriminator 0a02b65f107f81ba · data ResetFeeSharingConfig · accounts ResetFeeSharingConfigInstructionAccounts.

No data fields.

Required accounts: 19; extras go to remaining.

Fields of ResetFeeSharingConfigInstructionAccounts, in account order:

#FieldType
0new_adminPubkey
1event_authorityPubkey
2programPubkey
3authorityPubkey
4globalPubkey
5mintPubkey
6sharing_configPubkey
7bonding_curvePubkey
8pump_creator_vaultPubkey
9system_programPubkey
10pump_programPubkey
11pump_event_authorityPubkey
12pump_amm_programPubkey
13amm_event_authorityPubkey
14wsol_mintPubkey
15token_programPubkey
16associated_token_programPubkey
17coin_creator_vault_authorityPubkey
18coin_creator_vault_ataPubkey
19…remainingVec<AccountMeta>

RevokeFeeSharingAuthority#

From the program's IDL:

Revoke Fee Sharing Authority

Discriminator 12e99e27b9cf3a68 · data RevokeFeeSharingAuthority · accounts RevokeFeeSharingAuthorityInstructionAccounts.

No data fields.

No named accounts.

SetAuthority#

Discriminator 85fa25156ea31a79 · data SetAuthority · accounts SetAuthorityInstructionAccounts.

FieldType
new_authorityPubkey

Required accounts: 4; extras go to remaining.

Fields of SetAuthorityInstructionAccounts, in account order:

#FieldType
0authorityPubkey
1fee_program_globalPubkey
2event_authorityPubkey
3programPubkey
4…remainingVec<AccountMeta>

SetClaimRateLimit#

Discriminator b9d39faed4315804 · data SetClaimRateLimit · accounts SetClaimRateLimitInstructionAccounts.

FieldType
claim_rate_limitu64

Required accounts: 4; extras go to remaining.

Fields of SetClaimRateLimitInstructionAccounts, in account order:

#FieldType
0authorityPubkey
1fee_program_globalPubkey
2event_authorityPubkey
3programPubkey
4…remainingVec<AccountMeta>

SetDisableFlags#

Discriminator c2d9702372de33be · data SetDisableFlags · accounts SetDisableFlagsInstructionAccounts.

FieldType
disable_flagsu8

Required accounts: 4; extras go to remaining.

Fields of SetDisableFlagsInstructionAccounts, in account order:

#FieldType
0authorityPubkey
1fee_program_globalPubkey
2event_authorityPubkey
3programPubkey
4…remainingVec<AccountMeta>

SetSocialClaimAuthority#

Discriminator 9336b89a88edb999 · data SetSocialClaimAuthority · accounts SetSocialClaimAuthorityInstructionAccounts.

FieldType
social_claim_authorityPubkey

Required accounts: 4; extras go to remaining.

Fields of SetSocialClaimAuthorityInstructionAccounts, in account order:

#FieldType
0authorityPubkey
1fee_program_globalPubkey
2event_authorityPubkey
3programPubkey
4…remainingVec<AccountMeta>

TransferFeeSharingAuthority#

From the program's IDL:

Transfer Fee Sharing Authority

Discriminator ca0a4bc8a422d260 · data TransferFeeSharingAuthority · accounts TransferFeeSharingAuthorityInstructionAccounts.

No data fields.

No named accounts.

UpdateAdmin#

From the program's IDL:

Update admin (only callable by admin)

Discriminator a1b028d53cb8b3e4 · data UpdateAdmin · accounts UpdateAdminInstructionAccounts.

No data fields.

Required accounts: 6; extras go to remaining.

Fields of UpdateAdminInstructionAccounts, in account order:

#FieldType
0adminPubkey
1fee_configPubkey
2new_adminPubkey
3config_program_idPubkey
4event_authorityPubkey
5programPubkey
6…remainingVec<AccountMeta>

UpdateFeeConfig#

From the program's IDL:

Set/Replace fee parameters entirely (only callable by admin)

Discriminator 68b867f258976b14 · data UpdateFeeConfig · accounts UpdateFeeConfigInstructionAccounts.

FieldType
fee_tiersVec<FeeTier>
flat_feesFees

Required accounts: 5; extras go to remaining.

Fields of UpdateFeeConfigInstructionAccounts, in account order:

#FieldType
0fee_configPubkey
1adminPubkey
2config_program_idPubkey
3event_authorityPubkey
4programPubkey
5…remainingVec<AccountMeta>

UpdateFeeShares#

From the program's IDL:

Update Fee Shares, make sure to distribute all the fees before calling this

Discriminator bd0d8863bba4ed23 · data UpdateFeeShares · accounts UpdateFeeSharesInstructionAccounts.

FieldType
shareholdersVec<Shareholder>

Required accounts: 18; extras go to remaining.

Fields of UpdateFeeSharesInstructionAccounts, in account order:

#FieldType
0event_authorityPubkey
1programPubkey
2authorityPubkey
3globalPubkey
4mintPubkey
5sharing_configPubkey
6bonding_curvePubkey
7pump_creator_vaultPubkey
8system_programPubkey
9pump_programPubkey
10pump_event_authorityPubkey
11pump_amm_programPubkey
12amm_event_authorityPubkey
13wsol_mintPubkey
14token_programPubkey
15associated_token_programPubkey
16coin_creator_vault_authorityPubkey
17coin_creator_vault_ataPubkey
18…remainingVec<AccountMeta>

UpsertFeeTiers#

From the program's IDL:

Update or expand fee tiers (only callable by admin)

Discriminator e317960c4d565e04 · data UpsertFeeTiers · accounts UpsertFeeTiersInstructionAccounts.

FieldType
fee_tiersVec<FeeTier>
offsetu8

Required accounts: 5; extras go to remaining.

Fields of UpsertFeeTiersInstructionAccounts, in account order:

#FieldType
0fee_configPubkey
1adminPubkey
2config_program_idPubkey
3event_authorityPubkey
4programPubkey
5…remainingVec<AccountMeta>

CpiEvent#

Anchor self-CPI that carries one of the program's events. data is the CpiEvent enum.

Discriminator e445a52e51cb9a1d · data CpiEvent · accounts CpiEventInstructionAccounts.

Required accounts: 2; extras go to remaining.

Fields of CpiEventInstructionAccounts, in account order:

#FieldType
0programPubkey
1event_authorityPubkey
2…remainingVec<AccountMeta>

Accounts#

Variants of PumpFeesAccount. Each wraps a boxed struct from carbon_pump_fees_decoder::accounts::<module>. decode_account only considers accounts owned by PROGRAM_ID and returns the first variant that matches.

BondingCurve#

Discriminator 17b7f83760d8ac60 · accounts::bonding_curve::BondingCurve.

FieldType
virtual_token_reservesu64
virtual_sol_reservesu64
real_token_reservesu64
real_sol_reservesu64
token_total_supplyu64
completebool
creatorPubkey
is_mayhem_modebool

FeeConfig#

Discriminator 8f3492bbdb7b4c9b · accounts::fee_config::FeeConfig.

FieldTypeDescription
bumpu8The bump for the PDA
adminPubkeyThe admin account that can update the fee config
flat_feesFeesThe flat fees for non-pump pools
fee_tiersVec<FeeTier>The fee tiers

FeeProgramGlobal#

Discriminator a2a5f5311d2537f2 · accounts::fee_program_global::FeeProgramGlobal.

FieldType
bumpu8
authorityPubkey
disable_flagsu8
social_claim_authorityPubkey
claim_rate_limitu64
reserved[u8; 256]

Global#

Discriminator a7e8e8b1c86c727f · accounts::global::Global.

FieldType
initializedbool
authorityPubkey
fee_recipientPubkey
initial_virtual_token_reservesu64
initial_virtual_sol_reservesu64
initial_real_token_reservesu64
token_total_supplyu64
fee_basis_pointsu64
withdraw_authorityPubkey
enable_migratebool
pool_migration_feeu64
creator_fee_basis_pointsu64
fee_recipients[Pubkey; 7]
set_creator_authorityPubkey
admin_set_creator_authorityPubkey
create_v2_enabledbool
whitelist_pdaPubkey
reserved_fee_recipientPubkey
mayhem_mode_enabledbool
reserved_fee_recipients[Pubkey; 7]

Pool#

Discriminator f19a6d0411b16dbc · accounts::pool::Pool.

FieldType
pool_bumpu8
indexu16
creatorPubkey
base_mintPubkey
quote_mintPubkey
lp_mintPubkey
pool_base_token_accountPubkey
pool_quote_token_accountPubkey
lp_supplyu64
coin_creatorPubkey
is_mayhem_modebool

SharingConfig#

Discriminator d84a0900388c5d4b · accounts::sharing_config::SharingConfig.

FieldType
bumpu8
versionu8
statusConfigStatus
mintPubkey
adminPubkey
admin_revokedbool
shareholdersVec<Shareholder>

SocialFeePda#

Discriminator 8b6035112aa9ce96 · accounts::social_fee_pda::SocialFeePda.

FieldTypeDescription
bumpu8
versionu8
user_idStringMax 20 characters to fit u64::MAX (18,446,744,073,709,551,615) as a string. Actual storage: 4 bytes (length prefix) + 20 bytes (content) = 24 bytes.
platformu8
total_claimedu64
last_claimedu64
reserved[u8; 128]

Events#

Variants of instructions::CpiEvent, decoded from the CpiEvent instruction. Each wraps a struct from carbon_pump_fees_decoder::events::<module>. The discriminator is the 8-byte event discriminator that follows the e445a52e51cb9a1d CPI-event tag.

CreateFeeSharingConfigEvent#

Discriminator 8569aac8b874fb58 · events::create_fee_sharing_config_event::CreateFeeSharingConfigEventEvent.

FieldType
timestampi64
mintPubkey
bonding_curvePubkey
poolOption<Pubkey>
sharing_configPubkey
adminPubkey
initial_shareholdersVec<Shareholder>
statusConfigStatus

InitializeFeeConfigEvent#

Discriminator 598af4e60a38e27e · events::initialize_fee_config_event::InitializeFeeConfigEventEvent.

FieldType
timestampi64
adminPubkey
fee_configPubkey

InitializeFeeProgramGlobalEvent#

Discriminator 28e99c4e5f0008c7 · events::initialize_fee_program_global_event::InitializeFeeProgramGlobalEventEvent.

FieldType
timestampi64
authorityPubkey
social_claim_authorityPubkey
disable_flagsu8
claim_rate_limitu64

ResetFeeSharingConfigEvent#

Discriminator cbcc97e27837d6f3 · events::reset_fee_sharing_config_event::ResetFeeSharingConfigEventEvent.

FieldType
timestampi64
mintPubkey
sharing_configPubkey
old_adminPubkey
old_shareholdersVec<Shareholder>
new_adminPubkey
new_shareholdersVec<Shareholder>
old_versionu8
new_versionu8

SetAuthorityEvent#

Discriminator 12af8442d0c957f2 · events::set_authority_event::SetAuthorityEventEvent.

FieldType
timestampi64
old_authorityPubkey
new_authorityPubkey

SetClaimRateLimitEvent#

Discriminator 0d8f8febb5133328 · events::set_claim_rate_limit_event::SetClaimRateLimitEventEvent.

FieldType
timestampi64
claim_rate_limitu64

SetDisableFlagsEvent#

Discriminator 0508b3413137917e · events::set_disable_flags_event::SetDisableFlagsEventEvent.

FieldType
timestampi64
disable_flagsu8

SetSocialClaimAuthorityEvent#

Discriminator 3c767f84ef34fe0e · events::set_social_claim_authority_event::SetSocialClaimAuthorityEventEvent.

FieldType
timestampi64
social_claim_authorityPubkey

SocialFeePdaClaimed#

Discriminator 3212c141edd2eaec · events::social_fee_pda_claimed::SocialFeePdaClaimedEvent.

FieldType
timestampi64
user_idString
platformu8
social_fee_pdaPubkey
recipientPubkey
social_claim_authorityPubkey
amount_claimedu64
claimable_beforeu64
lifetime_claimedu64
recipient_balance_beforeu64
recipient_balance_afteru64

SocialFeePdaCreated#

Discriminator b7b7da93187c89a9 · events::social_fee_pda_created::SocialFeePdaCreatedEvent.

FieldType
timestampi64
user_idString
platformu8
social_fee_pdaPubkey
created_byPubkey

UpdateAdminEvent#

Discriminator e198ab57f63f42ea · events::update_admin_event::UpdateAdminEventEvent.

FieldType
timestampi64
old_adminPubkey
new_adminPubkey

UpdateFeeConfigEvent#

Discriminator 5a1741233ef4bcd0 · events::update_fee_config_event::UpdateFeeConfigEventEvent.

FieldType
timestampi64
adminPubkey
fee_configPubkey
fee_tiersVec<FeeTier>
flat_feesFees

UpdateFeeSharesEvent#

Discriminator 15bac4b85be4e1cb · events::update_fee_shares_event::UpdateFeeSharesEventEvent.

FieldType
timestampi64
mintPubkey
sharing_configPubkey
adminPubkey
new_shareholdersVec<Shareholder>
versionu8

UpsertFeeTiersEvent#

Discriminator ab59a9bb7aba21cc · events::upsert_fee_tiers_event::UpsertFeeTiersEventEvent.

FieldType
timestampi64
adminPubkey
fee_configPubkey
fee_tiersVec<FeeTier>
offsetu8

Types#

Types used by the instructions, accounts and events above, exported from carbon_pump_fees_decoder::types.

ConfigStatus#

Enum types::ConfigStatus.

Variant
Paused
Active

CreateFeeSharingConfigEvent#

Struct types::CreateFeeSharingConfigEvent. Same fields as the CreateFeeSharingConfigEvent event.

Fees#

Struct types::Fees.

FieldType
lp_fee_bpsu64
protocol_fee_bpsu64
creator_fee_bpsu64

FeeTier#

Struct types::FeeTier.

FieldType
market_cap_lamports_thresholdu128
feesFees

InitializeFeeConfigEvent#

Struct types::InitializeFeeConfigEvent. Same fields as the InitializeFeeConfigEvent event.

InitializeFeeProgramGlobalEvent#

Struct types::InitializeFeeProgramGlobalEvent. Same fields as the InitializeFeeProgramGlobalEvent event.

ResetFeeSharingConfigEvent#

Struct types::ResetFeeSharingConfigEvent. Same fields as the ResetFeeSharingConfigEvent event.

SetAuthorityEvent#

Struct types::SetAuthorityEvent. Same fields as the SetAuthorityEvent event.

SetClaimRateLimitEvent#

Struct types::SetClaimRateLimitEvent. Same fields as the SetClaimRateLimitEvent event.

SetDisableFlagsEvent#

Struct types::SetDisableFlagsEvent. Same fields as the SetDisableFlagsEvent event.

SetSocialClaimAuthorityEvent#

Struct types::SetSocialClaimAuthorityEvent. Same fields as the SetSocialClaimAuthorityEvent event.

Shareholder#

Struct types::Shareholder.

FieldType
addressPubkey
share_bpsu16

SocialFeePdaClaimed#

Struct types::SocialFeePdaClaimed. Same fields as the SocialFeePdaClaimed event.

SocialFeePdaCreated#

Struct types::SocialFeePdaCreated. Same fields as the SocialFeePdaCreated event.

UpdateAdminEvent#

Struct types::UpdateAdminEvent. Same fields as the UpdateAdminEvent event.

UpdateFeeConfigEvent#

Struct types::UpdateFeeConfigEvent. Same fields as the UpdateFeeConfigEvent event.

UpdateFeeSharesEvent#

Struct types::UpdateFeeSharesEvent. Same fields as the UpdateFeeSharesEvent event.

UpsertFeeTiersEvent#

Struct types::UpsertFeeTiersEvent. Same fields as the UpsertFeeTiersEvent event.

Generated from the crate’s source at Carbon v2.0.0, so it always matches the published code. Spotted a problem? Report it; edits to this page itself are overwritten on the next release.

Your endpoints

Code samples use these instead of the placeholders, so you can copy and run them as they are. They’re stored only in this browser and never sent anywhere.