UNPKG

interchainjs

Version:

InterchainJS is a JavaScript library for interacting with Cosmos SDK based blockchains.

69 lines (68 loc) 2.6 kB
import { BinaryReader, BinaryWriter } from "../../../../binary"; import { DeepPartial } from "../../../../helpers"; /** * Metadata defines the ICS29 channel specific metadata encoded into the channel version bytestring * See ICS004: https://github.com/cosmos/ibc/tree/master/spec/core/ics-004-channel-and-packet-semantics#Versioning * @name Metadata * @package ibc.applications.fee.v1 * @see proto type: ibc.applications.fee.v1.Metadata */ export interface Metadata { /** * fee_version defines the ICS29 fee version */ feeVersion: string; /** * app_version defines the underlying application version, which may or may not be a JSON encoded bytestring */ appVersion: string; } export interface MetadataProtoMsg { typeUrl: "/ibc.applications.fee.v1.Metadata"; value: Uint8Array; } /** * Metadata defines the ICS29 channel specific metadata encoded into the channel version bytestring * See ICS004: https://github.com/cosmos/ibc/tree/master/spec/core/ics-004-channel-and-packet-semantics#Versioning * @name MetadataAmino * @package ibc.applications.fee.v1 * @see proto type: ibc.applications.fee.v1.Metadata */ export interface MetadataAmino { /** * fee_version defines the ICS29 fee version */ fee_version: string; /** * app_version defines the underlying application version, which may or may not be a JSON encoded bytestring */ app_version: string; } export interface MetadataAminoMsg { type: "cosmos-sdk/Metadata"; value: MetadataAmino; } /** * Metadata defines the ICS29 channel specific metadata encoded into the channel version bytestring * See ICS004: https://github.com/cosmos/ibc/tree/master/spec/core/ics-004-channel-and-packet-semantics#Versioning * @name Metadata * @package ibc.applications.fee.v1 * @see proto type: ibc.applications.fee.v1.Metadata */ export declare const Metadata: { typeUrl: string; aminoType: string; is(o: any): o is Metadata; isAmino(o: any): o is MetadataAmino; encode(message: Metadata, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): Metadata; fromPartial(object: DeepPartial<Metadata>): Metadata; fromAmino(object: MetadataAmino): Metadata; toAmino(message: Metadata): MetadataAmino; fromAminoMsg(object: MetadataAminoMsg): Metadata; toAminoMsg(message: Metadata): MetadataAminoMsg; fromProtoMsg(message: MetadataProtoMsg): Metadata; toProto(message: Metadata): Uint8Array; toProtoMsg(message: Metadata): MetadataProtoMsg; registerTypeUrl(): void; };