anchor/tests/custom-coder/programs/dex/src/lib.rs

18 lines
379 B
Rust

use anchor_lang::prelude::*;
declare_id!("Fg6PaFpoGXkYsidMpWTK6W2BeZ7FEfcYkg476zPFsLnS");
// TODO: add a dumy instruction and accounts context to generate the
// the idl for the dex program.
#[program]
pub mod dex {
use super::*;
pub fn initialize(ctx: Context<Initialize>) -> ProgramResult {
Ok(())
}
}
#[derive(Accounts)]
pub struct Initialize {}