@acala-network/chopsticks-core
@acala-network/chopsticks-core / genesisSchema
Variable: genesisSchema
const
genesisSchema:ZodObject
<{genesis
:ZodObject
<{raw
:ZodObject
<{top
:ZodRecord
<ZodString
,ZodString
>; },"strip"
,ZodTypeAny
, {top
:Record
<string
,string
>; }, {top
:Record
<string
,string
>; }>; },"strip"
,ZodTypeAny
, {raw
: {top
:Record
<string
,string
>; }; }, {raw
: {top
:Record
<string
,string
>; }; }>;id
:ZodString
;name
:ZodString
;properties
:ZodObject
<{ss58Format
:ZodOptional
<ZodNumber
>;tokenDecimals
:ZodOptional
<ZodUnion
<[ZodNumber
,ZodArray
<ZodNumber
,"many"
>]>>;tokenSymbol
:ZodOptional
<ZodUnion
<[ZodString
,ZodArray
<ZodString
,"many"
>]>>; },"strip"
,ZodTypeAny
, {ss58Format
:number
;tokenDecimals
:number
|number
[];tokenSymbol
:string
|string
[]; }, {ss58Format
:number
;tokenDecimals
:number
|number
[];tokenSymbol
:string
|string
[]; }>; },"strip"
,ZodTypeAny
, {genesis
: {raw
: {top
:Record
<string
,string
>; }; };id
:string
;name
:string
;properties
: {ss58Format
:number
;tokenDecimals
:number
|number
[];tokenSymbol
:string
|string
[]; }; }, {genesis
: {raw
: {top
:Record
<string
,string
>; }; };id
:string
;name
:string
;properties
: {ss58Format
:number
;tokenDecimals
:number
|number
[];tokenSymbol
:string
|string
[]; }; }>
Defined in: packages/core/src/schema/index.ts:3