@bandprotocol/bandchain.js
Version:
TypeScript library for Cosmos SDK and BandChain
73 lines (72 loc) • 2.2 kB
TypeScript
import { GeneratedType, Registry } from "@cosmjs/proto-signing";
import { MsgSubmitProposal, MsgExecLegacyContent, MsgVote, MsgVoteWeighted, MsgDeposit } from "./tx";
export declare const registry: ReadonlyArray<[string, GeneratedType]>;
export declare const load: (protoRegistry: Registry) => void;
export declare const MessageComposer: {
encoded: {
submitProposal(value: MsgSubmitProposal): {
typeUrl: string;
value: Uint8Array;
};
execLegacyContent(value: MsgExecLegacyContent): {
typeUrl: string;
value: Uint8Array;
};
vote(value: MsgVote): {
typeUrl: string;
value: Uint8Array;
};
voteWeighted(value: MsgVoteWeighted): {
typeUrl: string;
value: Uint8Array;
};
deposit(value: MsgDeposit): {
typeUrl: string;
value: Uint8Array;
};
};
withTypeUrl: {
submitProposal(value: MsgSubmitProposal): {
typeUrl: string;
value: MsgSubmitProposal;
};
execLegacyContent(value: MsgExecLegacyContent): {
typeUrl: string;
value: MsgExecLegacyContent;
};
vote(value: MsgVote): {
typeUrl: string;
value: MsgVote;
};
voteWeighted(value: MsgVoteWeighted): {
typeUrl: string;
value: MsgVoteWeighted;
};
deposit(value: MsgDeposit): {
typeUrl: string;
value: MsgDeposit;
};
};
fromPartial: {
submitProposal(value: MsgSubmitProposal): {
typeUrl: string;
value: MsgSubmitProposal;
};
execLegacyContent(value: MsgExecLegacyContent): {
typeUrl: string;
value: MsgExecLegacyContent;
};
vote(value: MsgVote): {
typeUrl: string;
value: MsgVote;
};
voteWeighted(value: MsgVoteWeighted): {
typeUrl: string;
value: MsgVoteWeighted;
};
deposit(value: MsgDeposit): {
typeUrl: string;
value: MsgDeposit;
};
};
};