sablier_thread_program/
constants.rs

1use anchor_lang::prelude::*;
2
3#[constant]
4pub const SEED_THREAD: &[u8] = b"thread";
5
6/// The minimum exec fee that may be set on a thread.
7#[constant]
8pub const THREAD_MINIMUM_FEE: u64 = 1000;
9
10/// The ID of the pool workers must be a member of to collect fees.
11#[constant]
12pub const POOL_ID: u64 = 0;
13
14/// The number of lamports to reimburse the worker with after they've submitted a transaction's worth of exec instructions.
15#[constant]
16pub const TRANSACTION_BASE_FEE_REIMBURSEMENT: u64 = 5_000;