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

18 lines
379 B
Rust
Raw Normal View History

2022-01-10 07:58:15 -08:00
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 {}