terra_rust_api/messages.rs
1/// Bank API Transactions
2pub mod bank;
3pub mod distribution;
4/// market messages
5pub mod market;
6/// Oracle API Transactions
7pub mod oracle;
8/// slashing messages
9pub mod slashing;
10/// messages around staking
11pub mod staking;
12/// regular contract interactions
13pub mod wasm;
14
15pub use bank::MsgSend;
16use serde::Serialize;
17pub use wasm::MsgExecuteContract;
18
19#[derive(Serialize)]
20/// Message: Send N coins from an address to another
21pub struct Message {
22 #[allow(missing_docs)]
23 #[serde(rename = "type")]
24 s_type: String,
25 #[allow(missing_docs)]
26 value: serde_json::Value,
27}