mirror of
https://github.com/d0zingcat/ore.git
synced 2026-05-14 15:10:13 +00:00
config
This commit is contained in:
@@ -4,11 +4,13 @@ use crate::state::config_pda;
|
||||
|
||||
use super::OreAccount;
|
||||
|
||||
// TODO Config stuff
|
||||
|
||||
#[repr(C)]
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Pod, Zeroable)]
|
||||
pub struct Config {}
|
||||
pub struct Config {
|
||||
pub admin: Pubkey,
|
||||
pub fee_collector: Pubkey,
|
||||
pub fee_rate: u64,
|
||||
}
|
||||
|
||||
impl Config {
|
||||
pub fn pda() -> (Pubkey, u8) {
|
||||
|
||||
Reference in New Issue
Block a user