Class: BiatecIdentityProviderClient
A client to make calls to the BiatecIdentityProvider smart contract
Constructors
Constructor
new BiatecIdentityProviderClient(
appClient):BiatecIdentityProviderClient
Creates a new instance of BiatecIdentityProviderClient
Parameters
appClient
_AppClient
An AppClient instance which has been created with the BiatecIdentityProvider app spec
Returns
BiatecIdentityProviderClient
Constructor
new BiatecIdentityProviderClient(
params):BiatecIdentityProviderClient
Creates a new instance of BiatecIdentityProviderClient
Parameters
params
Omit<AppClientParams, "appSpec">
The parameters to initialise the app client with
Returns
BiatecIdentityProviderClient
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 BiatecIdentityProvider smart contract using the updateApplication(uint64,byte[])void ABI method.
addressUdpater from global biatec configuration is allowed to update application
Parameters
params
any
The params for the smart contract call
Returns
any
The update params
clearState()
clearState: (
params?) =>any
Makes a clear_state call to an existing instance of the BiatecIdentityProvider smart contract.
Parameters
params?
any
The params for the bare (raw) call
Returns
any
The clearState result
bootstrap()
bootstrap: (
params) =>any
Makes a call to the BiatecIdentityProvider smart contract using the bootstrap(uint64,address,address,address)void ABI method.
Biatec deploys single identity provider smart contract
Parameters
params
object & object
The params for the smart contract call
Returns
any
The call params
selfRegistration()
selfRegistration: (
params) =>any
Makes a call to the BiatecIdentityProvider smart contract using the selfRegistration(address,(uint64,bool,uint64,uint64,uint64,uint64,uint64,bool,string,string,uint64,uint64,uint64,uint64,uint64,uint64,bool))void ABI method.
Parameters
params
object & object
The params for the smart contract call
Returns
any
The call params
setInfo()
setInfo: (
params) =>any
Makes a call to the BiatecIdentityProvider smart contract using the setInfo(address,(uint64,bool,uint64,uint64,uint64,uint64,uint64,bool,string,string,uint64,uint64,uint64,uint64,uint64,uint64,bool))void ABI method.
This method can set fees, verification class, engagement class .. Only engagementSetter is allowed to execute this method.
Parameters
params
object & object
The params for the smart contract call
Returns
any
The call params