bolt_system/lib.rs
1use anchor_lang::prelude::borsh::{BorshDeserialize, BorshSerialize};
2use anchor_lang::prelude::*;
3
4declare_id!("7X4EFsDJ5aYTcEjKzJ94rD8FRKgQeXC89fkpeTS4KaqP");
5
6#[program]
7pub mod bolt_system {
8 use super::*;
9 pub fn bolt_execute(_ctx: Context<BoltExecute>, _args: Vec<u8>) -> Result<Vec<Vec<u8>>> {
10 Ok(Vec::new())
11 }
12}
13
14#[derive(Accounts, Clone)]
15pub struct BoltExecute<'info> {
16 /// CHECK: authority check
17 #[account()]
18 pub authority: AccountInfo<'info>,
19}