Skip to main content

hylo_idl/
lib.rs

1#![allow(clippy::pub_underscore_fields)]
2
3extern crate anchor_lang;
4
5mod codegen {
6  anchor_lang::declare_program!(hylo_exchange);
7  anchor_lang::declare_program!(hylo_stability_pool);
8}
9
10mod account_builders;
11mod instruction_builders;
12
13pub mod exchange {
14  pub use super::account_builders::exchange as account_builders;
15  pub use super::codegen::hylo_exchange::*;
16  pub use super::instruction_builders::exchange as instruction_builders;
17}
18
19pub mod stability_pool {
20  pub use super::account_builders::stability_pool as account_builders;
21  pub use super::codegen::hylo_stability_pool::*;
22  pub use super::instruction_builders::stability_pool as instruction_builders;
23}
24
25pub mod pda;
26pub mod tokens;
27pub mod type_bridge;