-
Notifications
You must be signed in to change notification settings - Fork 150
/
Copy pathlib.rs
32 lines (27 loc) · 1.08 KB
/
lib.rs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// #![deny(missing_docs)]
//! An Uniswap-like program for the Solana blockchain.
#[macro_use]
pub mod log;
mod entrypoint;
pub mod error;
pub mod instruction;
pub mod invokers;
pub mod math;
pub mod processor;
pub mod state;
// Export current solana-sdk types for downstream users who may also be building with a different solana-sdk version
pub use solana_program;
#[cfg(not(feature = "no-entrypoint"))]
solana_security_txt::security_txt! {
name: "raydium-amm",
project_url: "https://raydium.io",
contacts: "link:https://immunefi.com/bounty/raydium",
policy: "https://immunefi.com/bounty/raydium",
source_code: "https://github.com/raydium-io/raydium-amm",
preferred_languages: "en",
auditors: "https://github.com/raydium-io/raydium-docs/blob/master/audit/MadSheild%20Q2%202023/Raydium%20updated%20orderbook%20AMM%20program%20%26%20OpenBook%20migration.pdf"
}
#[cfg(feature = "devnet")]
solana_program::declare_id!("HWy1jotHpo6UqeQxx49dpYYdQB8wj9Qk9MdxwjLvDHB8");
#[cfg(not(feature = "devnet"))]
solana_program::declare_id!("675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8");