Plugin
FCT Plugin is a class, that builds a call / node for FCT Core Library.
Example with ERC20 Transfer plugin
Plugin constructor
Plugin parameters
methodParams
always differ for every Plugin. methodParams
are the parameters of plugin function/method
How to set parameters
There are 3 ways to add parameters to plugin.
1. Adding parameters in the plugin's class constructor
If parameters of the plugin are known beforehand - parameters can be added inside plugin's class constructor under initParams
parameter
2. Adding parameters by calling input set function
3. Adding parameters by calling each parameter separately
Last updated