trident_svm/types/trident_program.rs
1use solana_pubkey::Pubkey;
2
3pub struct TridentProgram {
4 pub(crate) program_id: Pubkey,
5 pub(crate) authority: Option<Pubkey>,
6 pub(crate) data: Vec<u8>,
7}
8impl TridentProgram {
9 pub fn new(program_id: Pubkey, authority: Option<Pubkey>, data: Vec<u8>) -> Self {
10 Self {
11 program_id,
12 authority,
13 data,
14 }
15 }
16}