@leapwallet/buffer-boba
Version:
Buffer Boba is a library for decoding protocol buffers in the cosmos ecosystem.
10 lines (9 loc) • 386 B
TypeScript
import { GeneratedType } from '@cosmjs/proto-signing';
export type GeneratedEntry = [string, GeneratedType];
export type GeneratedRegistry = readonly GeneratedEntry[];
export interface AminoConverter {
readonly aminoType: string;
readonly toAmino: (value: any) => any;
readonly fromAmino: (value: any) => any;
}
export type AminoConverters = Record<string, AminoConverter>;