interchainjs
Version:
InterchainJS is a JavaScript library for interacting with Cosmos SDK based blockchains.
224 lines (223 loc) • 6.06 kB
TypeScript
import { BinaryReader, BinaryWriter } from "../../../binary";
import { DeepPartial } from "../../../helpers";
/**
* EventSend is emitted on Msg/Send
* @name EventSend
* @package cosmos.nft.v1beta1
* @see proto type: cosmos.nft.v1beta1.EventSend
*/
export interface EventSend {
/**
* class_id associated with the nft
*/
classId: string;
/**
* id is a unique identifier of the nft
*/
id: string;
/**
* sender is the address of the owner of nft
*/
sender: string;
/**
* receiver is the receiver address of nft
*/
receiver: string;
}
export interface EventSendProtoMsg {
typeUrl: "/cosmos.nft.v1beta1.EventSend";
value: Uint8Array;
}
/**
* EventSend is emitted on Msg/Send
* @name EventSendAmino
* @package cosmos.nft.v1beta1
* @see proto type: cosmos.nft.v1beta1.EventSend
*/
export interface EventSendAmino {
/**
* class_id associated with the nft
*/
class_id: string;
/**
* id is a unique identifier of the nft
*/
id: string;
/**
* sender is the address of the owner of nft
*/
sender: string;
/**
* receiver is the receiver address of nft
*/
receiver: string;
}
export interface EventSendAminoMsg {
type: "cosmos-sdk/EventSend";
value: EventSendAmino;
}
/**
* EventMint is emitted on Mint
* @name EventMint
* @package cosmos.nft.v1beta1
* @see proto type: cosmos.nft.v1beta1.EventMint
*/
export interface EventMint {
/**
* class_id associated with the nft
*/
classId: string;
/**
* id is a unique identifier of the nft
*/
id: string;
/**
* owner is the owner address of the nft
*/
owner: string;
}
export interface EventMintProtoMsg {
typeUrl: "/cosmos.nft.v1beta1.EventMint";
value: Uint8Array;
}
/**
* EventMint is emitted on Mint
* @name EventMintAmino
* @package cosmos.nft.v1beta1
* @see proto type: cosmos.nft.v1beta1.EventMint
*/
export interface EventMintAmino {
/**
* class_id associated with the nft
*/
class_id: string;
/**
* id is a unique identifier of the nft
*/
id: string;
/**
* owner is the owner address of the nft
*/
owner: string;
}
export interface EventMintAminoMsg {
type: "cosmos-sdk/EventMint";
value: EventMintAmino;
}
/**
* EventBurn is emitted on Burn
* @name EventBurn
* @package cosmos.nft.v1beta1
* @see proto type: cosmos.nft.v1beta1.EventBurn
*/
export interface EventBurn {
/**
* class_id associated with the nft
*/
classId: string;
/**
* id is a unique identifier of the nft
*/
id: string;
/**
* owner is the owner address of the nft
*/
owner: string;
}
export interface EventBurnProtoMsg {
typeUrl: "/cosmos.nft.v1beta1.EventBurn";
value: Uint8Array;
}
/**
* EventBurn is emitted on Burn
* @name EventBurnAmino
* @package cosmos.nft.v1beta1
* @see proto type: cosmos.nft.v1beta1.EventBurn
*/
export interface EventBurnAmino {
/**
* class_id associated with the nft
*/
class_id: string;
/**
* id is a unique identifier of the nft
*/
id: string;
/**
* owner is the owner address of the nft
*/
owner: string;
}
export interface EventBurnAminoMsg {
type: "cosmos-sdk/EventBurn";
value: EventBurnAmino;
}
/**
* EventSend is emitted on Msg/Send
* @name EventSend
* @package cosmos.nft.v1beta1
* @see proto type: cosmos.nft.v1beta1.EventSend
*/
export declare const EventSend: {
typeUrl: string;
aminoType: string;
is(o: any): o is EventSend;
isAmino(o: any): o is EventSendAmino;
encode(message: EventSend, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): EventSend;
fromPartial(object: DeepPartial<EventSend>): EventSend;
fromAmino(object: EventSendAmino): EventSend;
toAmino(message: EventSend): EventSendAmino;
fromAminoMsg(object: EventSendAminoMsg): EventSend;
toAminoMsg(message: EventSend): EventSendAminoMsg;
fromProtoMsg(message: EventSendProtoMsg): EventSend;
toProto(message: EventSend): Uint8Array;
toProtoMsg(message: EventSend): EventSendProtoMsg;
registerTypeUrl(): void;
};
/**
* EventMint is emitted on Mint
* @name EventMint
* @package cosmos.nft.v1beta1
* @see proto type: cosmos.nft.v1beta1.EventMint
*/
export declare const EventMint: {
typeUrl: string;
aminoType: string;
is(o: any): o is EventMint;
isAmino(o: any): o is EventMintAmino;
encode(message: EventMint, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): EventMint;
fromPartial(object: DeepPartial<EventMint>): EventMint;
fromAmino(object: EventMintAmino): EventMint;
toAmino(message: EventMint): EventMintAmino;
fromAminoMsg(object: EventMintAminoMsg): EventMint;
toAminoMsg(message: EventMint): EventMintAminoMsg;
fromProtoMsg(message: EventMintProtoMsg): EventMint;
toProto(message: EventMint): Uint8Array;
toProtoMsg(message: EventMint): EventMintProtoMsg;
registerTypeUrl(): void;
};
/**
* EventBurn is emitted on Burn
* @name EventBurn
* @package cosmos.nft.v1beta1
* @see proto type: cosmos.nft.v1beta1.EventBurn
*/
export declare const EventBurn: {
typeUrl: string;
aminoType: string;
is(o: any): o is EventBurn;
isAmino(o: any): o is EventBurnAmino;
encode(message: EventBurn, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): EventBurn;
fromPartial(object: DeepPartial<EventBurn>): EventBurn;
fromAmino(object: EventBurnAmino): EventBurn;
toAmino(message: EventBurn): EventBurnAmino;
fromAminoMsg(object: EventBurnAminoMsg): EventBurn;
toAminoMsg(message: EventBurn): EventBurnAminoMsg;
fromProtoMsg(message: EventBurnProtoMsg): EventBurn;
toProto(message: EventBurn): Uint8Array;
toProtoMsg(message: EventBurn): EventBurnProtoMsg;
registerTypeUrl(): void;
};