shank account

This commit is contained in:
Hardhat Chad
2024-02-17 17:00:06 +00:00
parent 82fdaaba62
commit adc8292fb5
4 changed files with 88 additions and 3 deletions

View File

@@ -1,4 +1,5 @@
use bytemuck::{Pod, Zeroable};
use shank::ShankAccount;
use solana_program::pubkey::Pubkey;
use crate::{
@@ -8,7 +9,7 @@ use crate::{
};
#[repr(C)]
#[derive(Clone, Copy, Debug, PartialEq, Pod, Zeroable)]
#[derive(Clone, Copy, Debug, PartialEq, Pod, ShankAccount, Zeroable)]
pub struct Proof {
/// The account (i.e. miner) authorized to use this proof.
pub authority: Pubkey,