Appearance
@props-labs/fuels • Docs
@props-labs/fuels / PropsRegistryContractFactory
Class: PropsRegistryContractFactory
Extends
default
Constructors
new PropsRegistryContractFactory()
new PropsRegistryContractFactory(
accountOrProvider):PropsRegistryContractFactory
Parameters
• accountOrProvider: Account | Provider
Returns
Overrides
ContractFactory.constructor
Defined in
sway-api/contracts/PropsRegistryContractFactory.ts:24
Properties
bytecode
readonlystaticbytecode:Uint8Array
Defined in
sway-api/contracts/PropsRegistryContractFactory.ts:22
Methods
deploy()
deploy<
TContract>(deployOptions?):Promise<DeployContractResult<TContract>>
Deploy a contract of any length with the specified options.
Type Parameters
• TContract extends Contract = Contract
Parameters
• deployOptions?: DeployContractOptions
Options for deploying the contract.
Returns
Promise<DeployContractResult<TContract>>
A promise that resolves to the deployed contract instance.
Overrides
ContractFactory.deploy
Defined in
sway-api/contracts/PropsRegistryContractFactory.ts:28
deploy()
staticdeploy(wallet,options):Promise<DeployContractResult<PropsRegistryContract>>
Parameters
• wallet: Account
• options: DeployContractOptions = {}
Returns
Promise<DeployContractResult<PropsRegistryContract>>
Defined in
sway-api/contracts/PropsRegistryContractFactory.ts:37