Expand description
Shared types and instruction builders for the CoW Protocol settlement program.
Re-exports§
pub use error::parse_settlement_error;pub use error::SettlementError;pub use instruction::recover_discriminator;pub use instruction::SettlementInstruction;pub use pda::SettlementAccount;pub use role::Role;
Modules§
- data
- Wire-format data structures shared by clients and the on-chain program: each module pairs an idiomatic Rust struct with its canonical byte representation.
- error
- Program-side errors surfaced by the settlement program.
- instruction
- Off-chain instruction builders for the settlement program.
- pda
- Program-derived addresses under the settlement program.
- role
- Transferable authority roles stored in the settlement state PDA.
- token_
program - The token programs settlement transfers may be issued against.
Structs§
- Account
Meta - Describes a single account read or written by a program during instruction execution.
- Instruction
- A directive for a single invocation of a Solana program.
- Pubkey
- The address of a Solana account.
Constants§
- BARN_ID
- Program address of the staging (“barn”) settlement deployment.
- ID
- The const program ID.
- PROD_ID
- Program address of the production settlement deployment.