Skip to main content

@midnight-ntwrk/midnight-js-contracts v0.2.5 • API


Midnight.js API Reference v0.2.5 / @midnight-ntwrk/midnight-js-contracts / InitialStateParameters

Type alias: InitialStateParameters<C>

InitialStateParameters<C>: Parameters<C["initialState"]> extends [ConstructorContext<any>, ...(infer A)] ? A : never

The parameter type of the public state constructor.

Type parameters

C extends Contract