2021-10-19 16:48:15 -05:00
|
|
|
//! Example Rust-based BPF noop program
|
2021-06-21 11:53:34 -07:00
|
|
|
|
2022-02-22 11:59:06 +08:00
|
|
|
use solana_program::{account_info::AccountInfo, entrypoint::ProgramResult, pubkey::Pubkey};
|
2021-06-21 11:53:34 -07:00
|
|
|
|
2022-02-22 11:59:06 +08:00
|
|
|
solana_program::entrypoint!(process_instruction);
|
2021-06-21 11:53:34 -07:00
|
|
|
fn process_instruction(
|
|
|
|
_program_id: &Pubkey,
|
|
|
|
_accounts: &[AccountInfo],
|
|
|
|
_instruction_data: &[u8],
|
|
|
|
) -> ProgramResult {
|
|
|
|
Ok(())
|
|
|
|
}
|