oil_mint_api/state/authority.rs
1use serde::{Deserialize, Serialize};
2use steel::*;
3
4use super::OilAccount;
5
6/// Account which has the mint authority for the OIL token.
7#[repr(C)]
8#[derive(Clone, Copy, Debug, PartialEq, Pod, Zeroable, Serialize, Deserialize)]
9pub struct Authority {
10 /// The slot of the last mint.
11 pub last_mint_at: u64,
12}
13
14account!(OilAccount, Authority);