Class: BiatecConfigProviderClient
A client to make calls to the BiatecConfigProvider smart contract
Constructors
Constructor
new BiatecConfigProviderClient(
appClient):BiatecConfigProviderClient
Creates a new instance of BiatecConfigProviderClient
Parameters
appClient
_AppClient
An AppClient instance which has been created with the BiatecConfigProvider app spec
Returns
BiatecConfigProviderClient
Constructor
new BiatecConfigProviderClient(
params):BiatecConfigProviderClient
Creates a new instance of BiatecConfigProviderClient
Parameters
params
Omit<AppClientParams, "appSpec">
The parameters to initialise the app client with
Returns
BiatecConfigProviderClient
Properties
appClient
readonlyappClient:_AppClient
The underlying AppClient for when you want to have more flexibility
params
readonlyparams:object
Get parameters to create transactions for the current app. A good mental model for this is that these parameters represent a deferred transaction creation.
update
update:
object
Gets available update methods
update.updateApplication()
updateApplication: (
params) =>any
Updates an existing instance of the BiatecConfigProvider smart contract using the updateApplication(byte[])void ABI method.
addressUdpater from global biatec configuration is allowed to update application