37 lines
1.4 KiB
TypeScript
37 lines
1.4 KiB
TypeScript
import * as _m0 from "protobufjs/minimal";
|
|
import { DeepPartial } from "../../../helpers";
|
|
/** MsgSend represents a message to send a nft from one account to another account. */
|
|
export interface MsgSend {
|
|
/** class_id defines the unique identifier of the nft classification, similar to the contract address of ERC721 */
|
|
classId: string;
|
|
/** id defines the unique identification of nft */
|
|
id: string;
|
|
/** sender is the address of the owner of nft */
|
|
sender: string;
|
|
/** receiver is the receiver address of nft */
|
|
receiver: string;
|
|
}
|
|
/** MsgSend represents a message to send a nft from one account to another account. */
|
|
export interface MsgSendSDKType {
|
|
class_id: string;
|
|
id: string;
|
|
sender: string;
|
|
receiver: string;
|
|
}
|
|
/** MsgSendResponse defines the Msg/Send response type. */
|
|
export interface MsgSendResponse {
|
|
}
|
|
/** MsgSendResponse defines the Msg/Send response type. */
|
|
export interface MsgSendResponseSDKType {
|
|
}
|
|
export declare const MsgSend: {
|
|
encode(message: MsgSend, writer?: _m0.Writer): _m0.Writer;
|
|
decode(input: _m0.Reader | Uint8Array, length?: number): MsgSend;
|
|
fromPartial(object: DeepPartial<MsgSend>): MsgSend;
|
|
};
|
|
export declare const MsgSendResponse: {
|
|
encode(_: MsgSendResponse, writer?: _m0.Writer): _m0.Writer;
|
|
decode(input: _m0.Reader | Uint8Array, length?: number): MsgSendResponse;
|
|
fromPartial(_: DeepPartial<MsgSendResponse>): MsgSendResponse;
|
|
};
|