/// import { Params, ParamsSDKType, CodeInfo, CodeInfoSDKType, ContractInfo, ContractInfoSDKType, Model, ModelSDKType, ContractCodeHistoryEntry, ContractCodeHistoryEntrySDKType } from "./types"; import * as _m0 from "protobufjs/minimal"; import { DeepPartial, Long } from "../../../helpers"; /** GenesisState - genesis state of x/wasm */ export interface GenesisState { params?: Params; codes: Code[]; contracts: Contract[]; sequences: Sequence[]; } /** GenesisState - genesis state of x/wasm */ export interface GenesisStateSDKType { params?: ParamsSDKType; codes: CodeSDKType[]; contracts: ContractSDKType[]; sequences: SequenceSDKType[]; } /** Code struct encompasses CodeInfo and CodeBytes */ export interface Code { codeId: Long; codeInfo?: CodeInfo; codeBytes: Uint8Array; /** Pinned to wasmvm cache */ pinned: boolean; } /** Code struct encompasses CodeInfo and CodeBytes */ export interface CodeSDKType { code_id: Long; code_info?: CodeInfoSDKType; code_bytes: Uint8Array; pinned: boolean; } /** Contract struct encompasses ContractAddress, ContractInfo, and ContractState */ export interface Contract { contractAddress: string; contractInfo?: ContractInfo; contractState: Model[]; contractCodeHistory: ContractCodeHistoryEntry[]; } /** Contract struct encompasses ContractAddress, ContractInfo, and ContractState */ export interface ContractSDKType { contract_address: string; contract_info?: ContractInfoSDKType; contract_state: ModelSDKType[]; contract_code_history: ContractCodeHistoryEntrySDKType[]; } /** Sequence key and value of an id generation counter */ export interface Sequence { idKey: Uint8Array; value: Long; } /** Sequence key and value of an id generation counter */ export interface SequenceSDKType { id_key: Uint8Array; value: Long; } export declare const GenesisState: { encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState; fromPartial(object: DeepPartial): GenesisState; }; export declare const Code: { encode(message: Code, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Code; fromPartial(object: DeepPartial): Code; }; export declare const Contract: { encode(message: Contract, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Contract; fromPartial(object: DeepPartial): Contract; }; export declare const Sequence: { encode(message: Sequence, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Sequence; fromPartial(object: DeepPartial): Sequence; };