SilverSuccessorRequest
@hardkas/core / SilverSuccessorRequest
Interface: SilverSuccessorRequest
Defined in: packages/core/src/silverscript-covenant.ts:114
Properties
constructorArgs
readonlyconstructorArgs: readonlySilArtifactValue[]
Defined in: packages/core/src/silverscript-covenant.ts:117
The constructor arguments the current (on-chain) state was compiled with.
contractName?
readonlyoptionalcontractName?:string
Defined in: packages/core/src/silverscript-covenant.ts:118
home?
readonlyoptionalhome?:string
Defined in: packages/core/src/silverscript-covenant.ts:126
nextState
readonlynextState:Readonly<Record<string,SilArtifactValue>>
Defined in: packages/core/src/silverscript-covenant.ts:125
The successor state, one value per State field.
source
readonlysource:string|Uint8Array<ArrayBufferLike>
Defined in: packages/core/src/silverscript-covenant.ts:115
stateToConstructorArg
readonlystateToConstructorArg:Readonly<Record<string,number>>
Defined in: packages/core/src/silverscript-covenant.ts:123
For every State field, the index of the constructor parameter that
initializes it directly (int value = init_value; ⇒ { value: 0 }).