interchainjs
Version:
InterchainJS is a JavaScript library for interacting with Cosmos SDK based blockchains.
74 lines (73 loc) • 2.46 kB
TypeScript
import { BinaryReader, BinaryWriter } from "../../../../binary";
import { DeepPartial } from "../../../../helpers";
/**
* DenomTrace contains the base denomination for ICS20 fungible tokens and the
* source tracing information path.
* @name DenomTrace
* @package ibc.applications.transfer.v1
* @see proto type: ibc.applications.transfer.v1.DenomTrace
* @deprecated
*/
export interface DenomTrace {
/**
* path defines the chain of port/channel identifiers used for tracing the
* source of the fungible token.
*/
path: string;
/**
* base denomination of the relayed fungible token.
*/
baseDenom: string;
}
export interface DenomTraceProtoMsg {
typeUrl: "/ibc.applications.transfer.v1.DenomTrace";
value: Uint8Array;
}
/**
* DenomTrace contains the base denomination for ICS20 fungible tokens and the
* source tracing information path.
* @name DenomTraceAmino
* @package ibc.applications.transfer.v1
* @see proto type: ibc.applications.transfer.v1.DenomTrace
* @deprecated
*/
export interface DenomTraceAmino {
/**
* path defines the chain of port/channel identifiers used for tracing the
* source of the fungible token.
*/
path: string;
/**
* base denomination of the relayed fungible token.
*/
base_denom: string;
}
export interface DenomTraceAminoMsg {
type: "cosmos-sdk/DenomTrace";
value: DenomTraceAmino;
}
/**
* DenomTrace contains the base denomination for ICS20 fungible tokens and the
* source tracing information path.
* @name DenomTrace
* @package ibc.applications.transfer.v1
* @see proto type: ibc.applications.transfer.v1.DenomTrace
* @deprecated
*/
export declare const DenomTrace: {
typeUrl: string;
aminoType: string;
is(o: any): o is DenomTrace;
isAmino(o: any): o is DenomTraceAmino;
encode(message: DenomTrace, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): DenomTrace;
fromPartial(object: DeepPartial<DenomTrace>): DenomTrace;
fromAmino(object: DenomTraceAmino): DenomTrace;
toAmino(message: DenomTrace): DenomTraceAmino;
fromAminoMsg(object: DenomTraceAminoMsg): DenomTrace;
toAminoMsg(message: DenomTrace): DenomTraceAminoMsg;
fromProtoMsg(message: DenomTraceProtoMsg): DenomTrace;
toProto(message: DenomTrace): Uint8Array;
toProtoMsg(message: DenomTrace): DenomTraceProtoMsg;
registerTypeUrl(): void;
};