Class: DefaultAccountContract
defaults.DefaultAccountContract
Base class for implementing an account contract. Requires that the account uses the default entrypoint method signature.
Hierarchy
-
DefaultAccountContract
Implements
AccountContract
Constructors
constructor
• new DefaultAccountContract(artifact
): DefaultAccountContract
Parameters
Name | Type |
---|---|
artifact | ContractArtifact |
Returns
Properties
artifact
• Private
artifact: ContractArtifact
Methods
getAuthWitnessProvider
▸ getAuthWitnessProvider(address
): AuthWitnessProvider
Parameters
Name | Type |
---|---|
address | CompleteAddress |
Returns
AuthWitnessProvider
Implementation of
AccountContract.getAuthWitnessProvider
getContractArtifact
▸ getContractArtifact(): ContractArtifact
Returns
ContractArtifact
Implementation of
AccountContract.getContractArtifact
getDeploymentArgs
▸ getDeploymentArgs(): undefined
| any
[]
Returns
undefined
| any
[]
Implementation of
AccountContract.getDeploymentArgs