Skip to main content

Module consts

Module consts 

Source

Constantsยง

BPF_LOADER_UPGRADEABLE_ID
BROADCAST_IDENTITY
The broadcast identity marks an account as undelegatable. Validators treat it as always delegatable, which is safe since such accounts cannot be committed or delegated
COMMIT_FEE_LAMPORTS
Fixed fee per commit (charged for each commit after the first).
DEFAULT_VALIDATOR_IDENTITY
Default validator identity (used when none is provided during delegation).
DELEGATION_PROGRAM_DATA_ID
DELEGATION_PROGRAM_ID
The program ID of the delegation program.
EXTERNAL_UNDELEGATE_DISCRIMINATOR
The discriminator for the external undelegate instruction.
PROTOCOL_FEES_PERCENTAGE
The fees extracted from the validator earnings (extracted in percentage from the validator fees claims).
RENT_EXCEPTION_ZERO_BYTES_LAMPORTS
RENT_FEES_PERCENTAGE
The delegation session fees (extracted in percentage from the delegation PDAs rent on closure).
SESSION_FEE_LAMPORTS
Fixed fee per delegation session (0.0003 SOL).