cosmwasm-std 0.14.0

Standard library for Wasm based smart contracts on Cosmos blockchains
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#![cfg(feature = "stargate")]

use schemars::JsonSchema;
use serde::{Deserialize, Serialize};

use crate::Binary;

#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, JsonSchema)]
pub struct StargateResponse {
    /// This is the protobuf response, binary encoded.
    /// The caller is responsible for knowing how to parse.
    pub response: Binary,
}