delphi 0.0.5

Oracle feeder service (presently supporting Terra)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Terra stablecoin project schema
//! <https://terra.money/>

pub mod denom;
pub mod msg;
pub mod oracle;

pub use self::{denom::Denom, oracle::ExchangeRateOracle};

use once_cell::sync::Lazy;

/// Memo to include in transactions
pub const MEMO: &str = concat!("delphi/", env!("CARGO_PKG_VERSION"));

/// StdTx schema as parsed from `schema.toml`
static SCHEMA: Lazy<stdtx::amino::Schema> =
    Lazy::new(|| include_str!("terra/schema.toml").parse().unwrap());