tape-api 0.1.9

Your data, permanently recorded — uncensorable, uneditable, and here for good.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use steel::*;
use super::AccountType;
use crate::state;

#[repr(C)]
#[derive(Clone, Copy, Debug, PartialEq, Pod, Zeroable)]
pub struct Spool {
    pub id: u64,
    pub available_rewards: u64,
    pub theoretical_rewards: u64,
}

state!(AccountType, Spool);