Plugin Parameter
Plugin Parameter - FctParam
Class of every parameter in the plugin (to
, value
and any parameter in methodParams
)
Public fields
value
Value of the parameter
Returns
string
fctType
string
Solidity type of the parameter
Returns
string
appType
Type of parameter for frontend to determine, what input field frontend should use
Returns
string
required
Is the parameter required for the Plugin
Returns
boolean
options
Array with all allowed values, that can be set. If the array is empty - any value can be used
Returns
{ value: string }[]
Methods
set({ value })
Set value of the parameter
Method Arguments
get()
Returns the value of the parameter
Returns
Type of Parameter
isValid()
Returns the value of the parameter
Returns
boolean
reset()
Resets the parameter
Last updated