@leapwallet/buffer-boba
Version:
Buffer Boba is a library for decoding protocol buffers in the cosmos ecosystem.
61 lines (60 loc) • 1.79 kB
TypeScript
import { GeneratedType, Registry } from '@cosmjs/proto-signing';
import { MsgSend, MsgMultiSend, MsgUpdateParams, MsgSetSendEnabled } from './tx';
export declare const registry: ReadonlyArray<[string, GeneratedType]>;
export declare const load: (protoRegistry: Registry) => void;
export declare const MessageComposer: {
encoded: {
send(value: MsgSend): {
typeUrl: string;
value: Uint8Array;
};
multiSend(value: MsgMultiSend): {
typeUrl: string;
value: Uint8Array;
};
updateParams(value: MsgUpdateParams): {
typeUrl: string;
value: Uint8Array;
};
setSendEnabled(value: MsgSetSendEnabled): {
typeUrl: string;
value: Uint8Array;
};
};
withTypeUrl: {
send(value: MsgSend): {
typeUrl: string;
value: MsgSend;
};
multiSend(value: MsgMultiSend): {
typeUrl: string;
value: MsgMultiSend;
};
updateParams(value: MsgUpdateParams): {
typeUrl: string;
value: MsgUpdateParams;
};
setSendEnabled(value: MsgSetSendEnabled): {
typeUrl: string;
value: MsgSetSendEnabled;
};
};
fromPartial: {
send(value: MsgSend): {
typeUrl: string;
value: MsgSend;
};
multiSend(value: MsgMultiSend): {
typeUrl: string;
value: MsgMultiSend;
};
updateParams(value: MsgUpdateParams): {
typeUrl: string;
value: MsgUpdateParams;
};
setSendEnabled(value: MsgSetSendEnabled): {
typeUrl: string;
value: MsgSetSendEnabled;
};
};
};