Skip to main content

Module pda

Module pda 

Source
Expand description

PDA derivation helpers for self-bond accounts. Self-bond PDA helpers.

The canonical definitions now live in rialo_validator_registry_interface::pda because the self-bond PDA is derived from that program’s ID. These re-exports are kept for backward compatibility.

Constants§

SELF_BOND_SEED
Seed prefix for self-bond PDAs.

Functions§

derive_self_bond_address
Derives the self-bond stake account address from a validator’s info account.
derive_self_bond_address_with_bump
Derives the self-bond address with bump seed (for PDA signing).