mirror of
https://github.com/d0zingcat/ore.git
synced 2026-05-26 07:26:52 +00:00
cleanup
This commit is contained in:
19
api/src/state/config.rs
Normal file
19
api/src/state/config.rs
Normal file
@@ -0,0 +1,19 @@
|
||||
use steel::*;
|
||||
|
||||
use crate::state::config_pda;
|
||||
|
||||
use super::OreAccount;
|
||||
|
||||
// TODO Config stuff
|
||||
|
||||
#[repr(C)]
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Pod, Zeroable)]
|
||||
pub struct Config {}
|
||||
|
||||
impl Config {
|
||||
pub fn pda() -> (Pubkey, u8) {
|
||||
config_pda()
|
||||
}
|
||||
}
|
||||
|
||||
account!(OreAccount, Config);
|
||||
Reference in New Issue
Block a user