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