2018-11-13 18:38:51 -08:00
|
|
|
#[macro_use]
|
2018-10-25 11:13:08 -07:00
|
|
|
extern crate solana_sdk;
|
2018-09-23 22:13:44 -07:00
|
|
|
|
2018-10-25 11:13:08 -07:00
|
|
|
use solana_sdk::account::KeyedAccount;
|
2018-11-17 17:02:14 -08:00
|
|
|
use solana_sdk::pubkey::Pubkey;
|
2018-09-23 22:13:44 -07:00
|
|
|
|
2018-11-13 18:38:51 -08:00
|
|
|
solana_entrypoint!(entrypoint);
|
2018-11-17 17:02:14 -08:00
|
|
|
fn entrypoint(
|
|
|
|
program_id: &Pubkey,
|
|
|
|
keyed_accounts: &mut [KeyedAccount],
|
|
|
|
data: &[u8],
|
|
|
|
tick_height: u64,
|
|
|
|
) -> bool {
|
|
|
|
println!("noop: program_id: {:?}", program_id);
|
2018-10-16 09:43:49 -07:00
|
|
|
println!("noop: keyed_accounts: {:#?}", keyed_accounts);
|
|
|
|
println!("noop: data: {:?}", data);
|
2018-11-13 18:18:40 -08:00
|
|
|
println!("noop: tick_height: {:?}", tick_height);
|
2018-10-13 19:31:16 -07:00
|
|
|
true
|
2018-10-04 09:44:44 -07:00
|
|
|
}
|