Skip to main content
EffectOnChain = object
Defined in: src/modules/types.ts:148 Structure of an effect as represented in the system

Properties

dynamicParam

dynamicParam: boolean
Defined in: src/modules/types.ts:152 Whether the effect has dynamic parameters

effectType

effectType: EffectType
Defined in: src/modules/types.ts:154 The type of effect

errorMessage

errorMessage: string
Defined in: src/modules/types.ts:162 Error message if applicable

eventPlaceholderIndex

eventPlaceholderIndex: number
Defined in: src/modules/types.ts:165

instructionSet

instructionSet: any[]
Defined in: src/modules/types.ts:164 Instruction set for the effect

param

param: any
Defined in: src/modules/types.ts:158 Parameter value

pType

pType: number
Defined in: src/modules/types.ts:156 Parameter type

text

text: Hex
Defined in: src/modules/types.ts:160 Text representation in hex format

valid

valid: boolean
Defined in: src/modules/types.ts:150 Whether the effect is valid