"description":"Binary is a wrapper around Vec<u8> to add base64 de/serialization with serde. It also adds some helper methods to help encode inline.\n\nThis is only needed as serde-json-{core,wasm} has a horrible encoding for Vec<u8>",
"type":"string"
},
"Signature":{
"type":"object",
"required":[
"index",
"signature"
],
"properties":{
"index":{
"description":"The index of the guardian in the guardian set.",
"type":"integer",
"format":"uint16",
"minimum":0.0
},
"signature":{
"description":"The signature, which should be exactly 65 bytes with the following layout:\n\n```markdown 0 .. 64: Signature (ECDSA) 64 .. 65: Recovery ID (ECDSA) ```",
"description":"Binary is a wrapper around Vec<u8> to add base64 de/serialization with serde. It also adds some helper methods to help encode inline.\n\nThis is only needed as serde-json-{core,wasm} has a horrible encoding for Vec<u8>",
"type":"string"
},
"Signature":{
"type":"object",
"required":[
"index",
"signature"
],
"properties":{
"index":{
"description":"The index of the guardian in the guardian set.",
"type":"integer",
"format":"uint16",
"minimum":0.0
},
"signature":{
"description":"The signature, which should be exactly 65 bytes with the following layout:\n\n```markdown 0 .. 64: Signature (ECDSA) 64 .. 65: Recovery ID (ECDSA) ```",
"description":"An implementation of u256 that is using strings for JSON encoding/decoding, such that the full u256 range can be used for clients that convert JSON numbers to floats, like JavaScript and jq.\n\n# Examples\n\nUse `from` to create instances out of primitive uint types or `new` to provide big endian bytes:\n\n``` # use cosmwasm_std::Uint256; let a = Uint256::from(258u128); let b = Uint256::new([ 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 1u8, 2u8, ]); assert_eq!(a, b); ```",
"description":"An implementation of u256 that is using strings for JSON encoding/decoding, such that the full u256 range can be used for clients that convert JSON numbers to floats, like JavaScript and jq.\n\n# Examples\n\nUse `from` to create instances out of primitive uint types or `new` to provide big endian bytes:\n\n``` # use cosmwasm_std::Uint256; let a = Uint256::from(258u128); let b = Uint256::new([ 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 1u8, 2u8, ]); assert_eq!(a, b); ```",
"description":"An implementation of u256 that is using strings for JSON encoding/decoding, such that the full u256 range can be used for clients that convert JSON numbers to floats, like JavaScript and jq.\n\n# Examples\n\nUse `from` to create instances out of primitive uint types or `new` to provide big endian bytes:\n\n``` # use cosmwasm_std::Uint256; let a = Uint256::from(258u128); let b = Uint256::new([ 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 1u8, 2u8, ]); assert_eq!(a, b); ```",
"description":"Binary is a wrapper around Vec<u8> to add base64 de/serialization with serde. It also adds some helper methods to help encode inline.\n\nThis is only needed as serde-json-{core,wasm} has a horrible encoding for Vec<u8>",
"type":"string"
},
"Data":{
"type":"object",
"required":[
"guardian_set_index",
"observation",
"signatures"
],
"properties":{
"guardian_set_index":{
"type":"integer",
"format":"uint32",
"minimum":0.0
},
"observation":{
"$ref":"#/definitions/Observation"
},
"signatures":{
"type":"array",
"items":{
"$ref":"#/definitions/Signature"
}
}
},
"additionalProperties":false
},
"Key":{
"type":"object",
"required":[
"emitter_address",
"emitter_chain",
"sequence"
],
"properties":{
"emitter_address":{
"$ref":"#/definitions/TokenAddress"
},
"emitter_chain":{
"type":"integer",
"format":"uint16",
"minimum":0.0
},
"sequence":{
"type":"integer",
"format":"uint64",
"minimum":0.0
}
},
"additionalProperties":false
},
"Observation":{
"type":"object",
"required":[
"key",
"nonce",
"payload",
"tx_hash"
],
"properties":{
"key":{
"$ref":"#/definitions/Key"
},
"nonce":{
"type":"integer",
"format":"uint32",
"minimum":0.0
},
"payload":{
"$ref":"#/definitions/Binary"
},
"tx_hash":{
"$ref":"#/definitions/Binary"
}
},
"additionalProperties":false
},
"PendingTransfer":{
"type":"object",
"required":[
"data",
"key"
],
"properties":{
"data":{
"type":"array",
"items":{
"$ref":"#/definitions/Data"
}
},
"key":{
"$ref":"#/definitions/Key"
}
},
"additionalProperties":false
},
"Signature":{
"type":"object",
"required":[
"index",
"signature"
],
"properties":{
"index":{
"description":"The index of the guardian in the guardian set.",
"type":"integer",
"format":"uint16",
"minimum":0.0
},
"signature":{
"description":"The signature, which should be exactly 65 bytes with the following layout:\n\n```markdown 0 .. 64: Signature (ECDSA) 64 .. 65: Recovery ID (ECDSA) ```",
"description":"An implementation of u256 that is using strings for JSON encoding/decoding, such that the full u256 range can be used for clients that convert JSON numbers to floats, like JavaScript and jq.\n\n# Examples\n\nUse `from` to create instances out of primitive uint types or `new` to provide big endian bytes:\n\n``` # use cosmwasm_std::Uint256; let a = Uint256::from(258u128); let b = Uint256::new([ 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 1u8, 2u8, ]); assert_eq!(a, b); ```",
"description":"An implementation of u256 that is using strings for JSON encoding/decoding, such that the full u256 range can be used for clients that convert JSON numbers to floats, like JavaScript and jq.\n\n# Examples\n\nUse `from` to create instances out of primitive uint types or `new` to provide big endian bytes:\n\n``` # use cosmwasm_std::Uint256; let a = Uint256::from(258u128); let b = Uint256::new([ 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 1u8, 2u8, ]); assert_eq!(a, b); ```",
"description":"An implementation of u256 that is using strings for JSON encoding/decoding, such that the full u256 range can be used for clients that convert JSON numbers to floats, like JavaScript and jq.\n\n# Examples\n\nUse `from` to create instances out of primitive uint types or `new` to provide big endian bytes:\n\n``` # use cosmwasm_std::Uint256; let a = Uint256::from(258u128); let b = Uint256::new([ 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 1u8, 2u8, ]); assert_eq!(a, b); ```",
"description":"Binary is a wrapper around Vec<u8> to add base64 de/serialization with serde. It also adds some helper methods to help encode inline.\n\nThis is only needed as serde-json-{core,wasm} has a horrible encoding for Vec<u8>",
"type":"string"
},
"Key":{
"type":"object",
"required":[
"emitter_address",
"emitter_chain",
"sequence"
],
"properties":{
"emitter_address":{
"$ref":"#/definitions/TokenAddress"
},
"emitter_chain":{
"type":"integer",
"format":"uint16",
"minimum":0.0
},
"sequence":{
"type":"integer",
"format":"uint64",
"minimum":0.0
}
},
"additionalProperties":false
},
"Observation":{
"type":"object",
"required":[
"key",
"nonce",
"payload",
"tx_hash"
],
"properties":{
"key":{
"$ref":"#/definitions/Key"
},
"nonce":{
"type":"integer",
"format":"uint32",
"minimum":0.0
},
"payload":{
"$ref":"#/definitions/Binary"
},
"tx_hash":{
"$ref":"#/definitions/Binary"
}
},
"additionalProperties":false
},
"Signature":{
"type":"object",
"required":[
"index",
"signature"
],
"properties":{
"index":{
"description":"The index of the guardian in the guardian set.",
"type":"integer",
"format":"uint16",
"minimum":0.0
},
"signature":{
"description":"The signature, which should be exactly 65 bytes with the following layout:\n\n```markdown 0 .. 64: Signature (ECDSA) 64 .. 65: Recovery ID (ECDSA) ```",
"description":"An implementation of u256 that is using strings for JSON encoding/decoding, such that the full u256 range can be used for clients that convert JSON numbers to floats, like JavaScript and jq.\n\n# Examples\n\nUse `from` to create instances out of primitive uint types or `new` to provide big endian bytes:\n\n``` # use cosmwasm_std::Uint256; let a = Uint256::from(258u128); let b = Uint256::new([ 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 1u8, 2u8, ]); assert_eq!(a, b); ```",
"description":"An empty struct that serves as a placeholder in different places, such as contracts that don't set a custom message.\n\nIt is designed to be expressable in correct JSON and JSON Schema but contains no meaningful data. Previously we used enums without cases, but those cannot represented as valid JSON Schema (https://github.com/CosmWasm/cosmwasm/issues/451)",