import Long from "long"; import _m0 from "protobufjs/minimal"; import { FunToken, Params, State } from "./evm"; /** Copyright (c) 2023-2024 Nibi, Inc. */ /** GenesisState defines the evm module's genesis state. */ export interface GenesisState { /** accounts is an array containing the ethereum genesis accounts. */ accounts: GenesisAccount[]; /** params defines all the parameters of the module. */ params?: Params; /** Fungible token mappings corresponding to ERC-20 smart contract tokens. */ funtokenMappings: FunToken[]; } /** * GenesisAccount defines an account to be initialized in the genesis state. * Its main difference between with Geth's GenesisAccount is that it uses a * custom storage type and that it doesn't contain the private key field. */ export interface GenesisAccount { /** address defines an ethereum hex formated address of an account */ address: string; /** code defines the hex bytes of the account code. */ code: string; /** storage defines the set of state key values for the account. */ storage: State[]; } export declare const GenesisState: { encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState; fromJSON(object: any): GenesisState; toJSON(message: GenesisState): unknown; create, I>>(base?: I): GenesisState; fromPartial, I>>(object: I): GenesisState; }; export declare const GenesisAccount: { encode(message: GenesisAccount, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): GenesisAccount; fromJSON(object: any): GenesisAccount; toJSON(message: GenesisAccount): unknown; create, I>>(base?: I): GenesisAccount; fromPartial, I>>(object: I): GenesisAccount; }; type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; type DeepPartial = T extends Builtin ? T : T extends Long ? string | number | Long : T extends Array ? Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; type KeysOfUnion = T extends T ? keyof T : never; type Exact = P extends Builtin ? P : P & { [K in keyof P]: Exact; } & { [K in Exclude>]: never; }; export {}; //# sourceMappingURL=genesis.d.ts.map