oil-mint-api 0.1.8

API for interacting with the OIL mint program on Solana
Documentation
use steel::*;

#[repr(u8)]
#[derive(Clone, Copy, Debug, Eq, PartialEq, TryFromPrimitive)]
pub enum OilMintInstruction {
    Init = 0,
    MintOIL = 1,
}

#[repr(C)]
#[derive(Clone, Copy, Debug, Pod, Zeroable)]
pub struct Init {}

#[repr(C)]
#[derive(Clone, Copy, Debug, Pod, Zeroable)]
pub struct MintOIL {
    pub amount: [u8; 8],
}

instruction!(OilMintInstruction, Init);
instruction!(OilMintInstruction, MintOIL);