This commit is contained in:
Hardhat Chad
2025-06-25 14:52:31 -05:00
parent d03acda291
commit f8a554b29f
6 changed files with 71 additions and 6 deletions

View File

@@ -7,9 +7,17 @@ use super::OreAccount;
#[repr(C)]
#[derive(Clone, Copy, Debug, PartialEq, Pod, Zeroable)]
pub struct Config {
// The address that can set the admin.
pub admin: Pubkey,
// The address that receives fees.
pub fee_collector: Pubkey,
// The fee rate taken for each swap.
pub fee_rate: u64,
/// Number of blocks that can be open for trading at one time.
pub block_limit: u64,
}
impl Config {