Class: BiatecConfigProviderFactory
A factory to create and deploy one or more instance of the BiatecConfigProvider smart contract and to create one or more app clients to interact with those (or other) app instances
Constructors
Constructor
new BiatecConfigProviderFactory(
params):BiatecConfigProviderFactory
Creates a new instance of BiatecConfigProviderFactory
Parameters
params
Omit<AppFactoryParams, "appSpec">
The parameters to initialise the app factory with
Returns
BiatecConfigProviderFactory
Properties
appFactory
readonlyappFactory:_AppFactory
The underlying AppFactory for when you want to have more flexibility
params
readonlyparams:object
Get parameters to create transactions (create and deploy related calls) for the current app. A good mental model for this is that these parameters represent a deferred transaction creation.
create
create:
object
Gets available create methods
create.createApplication()
createApplication: (
params) =>any
Creates a new instance of the BiatecConfigProvider smart contract using the createApplication()void ABI method.
Initial setup
Parameters
params
any = ...
The params for the smart contract call
Returns
any
The create params
deployUpdate
deployUpdate:
object
Gets available deployUpdate methods