trident-svm 0.2.0

Trident SVM implementation by Ackee Blockchain Security
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use solana_pubkey::Pubkey;

pub struct TridentProgram {
    pub(crate) program_id: Pubkey,
    pub(crate) authority: Option<Pubkey>,
    pub(crate) data: Vec<u8>,
}
impl TridentProgram {
    pub fn new(program_id: Pubkey, authority: Option<Pubkey>, data: Vec<u8>) -> Self {
        Self {
            program_id,
            authority,
            data,
        }
    }
}