cosmos-explorer/packages/codegen/dist/cosmos/capability/v1beta1/genesis.d.ts
2023-03-02 13:21:24 +08:00

42 lines
1.6 KiB
TypeScript

/// <reference types="long" />
import { CapabilityOwners, CapabilityOwnersSDKType } from "./capability";
import { Long, DeepPartial } from "../../../helpers";
import * as _m0 from "protobufjs/minimal";
/** GenesisOwners defines the capability owners with their corresponding index. */
export interface GenesisOwners {
/** index is the index of the capability owner. */
index: Long;
/** index_owners are the owners at the given index. */
indexOwners?: CapabilityOwners;
}
/** GenesisOwners defines the capability owners with their corresponding index. */
export interface GenesisOwnersSDKType {
index: Long;
index_owners?: CapabilityOwnersSDKType;
}
/** GenesisState defines the capability module's genesis state. */
export interface GenesisState {
/** index is the capability global index. */
index: Long;
/**
* owners represents a map from index to owners of the capability index
* index key is string to allow amino marshalling.
*/
owners: GenesisOwners[];
}
/** GenesisState defines the capability module's genesis state. */
export interface GenesisStateSDKType {
index: Long;
owners: GenesisOwnersSDKType[];
}
export declare const GenesisOwners: {
encode(message: GenesisOwners, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GenesisOwners;
fromPartial(object: DeepPartial<GenesisOwners>): GenesisOwners;
};
export declare const GenesisState: {
encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState;
fromPartial(object: DeepPartial<GenesisState>): GenesisState;
};