Appearance
@props-labs/fuels • Docs
@props-labs/fuels / Props721EditionContractFactory
Class: Props721EditionContractFactory
Extends
default
Constructors
new Props721EditionContractFactory()
new Props721EditionContractFactory(
accountOrProvider
):Props721EditionContractFactory
Parameters
• accountOrProvider: Account
| Provider
Returns
Props721EditionContractFactory
Overrides
ContractFactory.constructor
Defined in
sway-api/contracts/Props721EditionContractFactory.ts:24
Properties
bytecode
readonly
static
bytecode:Uint8Array
Defined in
sway-api/contracts/Props721EditionContractFactory.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/Props721EditionContractFactory.ts:28
deploy()
static
deploy(wallet
,options
):Promise
<DeployContractResult
<Props721EditionContract
>>
Parameters
• wallet: Account
• options: DeployContractOptions
= {}
Returns
Promise
<DeployContractResult
<Props721EditionContract
>>
Defined in
sway-api/contracts/Props721EditionContractFactory.ts:37