GenesisState
GenesisState: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
-
decode: function
- decode(input: Uint8Array | Reader, length?: number): GenesisState
-
Parameters
-
input: Uint8Array | Reader
-
Optional length: number
-
encode: function
-
Parameters
Returns Writer
-
fromJSON: function
-
fromPartial: function
- fromPartial(object: { applicationLinks?: { user?: string | undefined; data?: { application?: string | undefined; username?: string | undefined; } | undefined; state?: ApplicationLinkState | undefined; oracleRequest?: { ...; } | undefined; result?: { ...; } | undefined; creationTime?: Date | undefined; }[]; blocks?: { blocker?: string | undefined; blocked?: string | undefined; reason?: string | undefined; subspace?: string | undefined; }[]; chainLinks?: { user?: string | undefined; address?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } | undefined; proof?: { pubKey?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } | undefined; signature?: string | undefined; plainText?: string | undefined; } | undefined; chainConfig?: { ...; }...[]; dtagTransferRequests?: { dtagToTrade?: string | undefined; sender?: string | undefined; receiver?: string | undefined; }[]; ibcPortId?: string; params?: { nickname?: { minLength?: Uint8Array | undefined; maxLength?: Uint8Array | undefined; } | undefined; dtag?: { regEx?: string | undefined; minLength?: Uint8Array | undefined; maxLength?: Uint8Array | undefined; } | undefined; bio?: { ...; } | undefined; oracle?: { ...; } | undefined; }; relationships?: { creator?: string | undefined; recipient?: string | undefined; subspace?: string | undefined; }[] }): GenesisState
-
Parameters
-
object: { applicationLinks?: { user?: string | undefined; data?: { application?: string | undefined; username?: string | undefined; } | undefined; state?: ApplicationLinkState | undefined; oracleRequest?: { ...; } | undefined; result?: { ...; } | undefined; creationTime?: Date | undefined; }[]; blocks?: { blocker?: string | undefined; blocked?: string | undefined; reason?: string | undefined; subspace?: string | undefined; }[]; chainLinks?: { user?: string | undefined; address?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } | undefined; proof?: { pubKey?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } | undefined; signature?: string | undefined; plainText?: string | undefined; } | undefined; chainConfig?: { ...; }...[]; dtagTransferRequests?: { dtagToTrade?: string | undefined; sender?: string | undefined; receiver?: string | undefined; }[]; ibcPortId?: string; params?: { nickname?: { minLength?: Uint8Array | undefined; maxLength?: Uint8Array | undefined; } | undefined; dtag?: { regEx?: string | undefined; minLength?: Uint8Array | undefined; maxLength?: Uint8Array | undefined; } | undefined; bio?: { ...; } | undefined; oracle?: { ...; } | undefined; }; relationships?: { creator?: string | undefined; recipient?: string | undefined; subspace?: string | undefined; }[] }
-
Optional applicationLinks?: { user?: string | undefined; data?: { application?: string | undefined; username?: string | undefined; } | undefined; state?: ApplicationLinkState | undefined; oracleRequest?: { ...; } | undefined; result?: { ...; } | undefined; creationTime?: Date | undefined; }[]
-
Optional blocks?: { blocker?: string | undefined; blocked?: string | undefined; reason?: string | undefined; subspace?: string | undefined; }[]
-
Optional chainLinks?: { user?: string | undefined; address?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } | undefined; proof?: { pubKey?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } | undefined; signature?: string | undefined; plainText?: string | undefined; } | undefined; chainConfig?: { ...; }...[]
-
Optional dtagTransferRequests?: { dtagToTrade?: string | undefined; sender?: string | undefined; receiver?: string | undefined; }[]
-
Optional ibcPortId?: string
-
Optional params?: { nickname?: { minLength?: Uint8Array | undefined; maxLength?: Uint8Array | undefined; } | undefined; dtag?: { regEx?: string | undefined; minLength?: Uint8Array | undefined; maxLength?: Uint8Array | undefined; } | undefined; bio?: { ...; } | undefined; oracle?: { ...; } | undefined; }
-
Optional relationships?: { creator?: string | undefined; recipient?: string | undefined; subspace?: string | undefined; }[]
-
toJSON: function
-
Parameters
Returns unknown