oil-mint-api 0.1.8

API for interacting with the OIL mint program on Solana
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use serde::{Deserialize, Serialize};
use steel::*;

use super::OilAccount;

/// Account which has the mint authority for the OIL token.
#[repr(C)]
#[derive(Clone, Copy, Debug, PartialEq, Pod, Zeroable, Serialize, Deserialize)]
pub struct Authority {
    /// The slot of the last mint.
    pub last_mint_at: u64,
}

account!(OilAccount, Authority);