Skip to content

@props-labs/fuelsDocs


@props-labs/fuels / Props721CollectionContractFactory

Class: Props721CollectionContractFactory

Extends

  • default

Constructors

new Props721CollectionContractFactory()

new Props721CollectionContractFactory(accountOrProvider): Props721CollectionContractFactory

Parameters

accountOrProvider: Account | Provider

Returns

Props721CollectionContractFactory

Overrides

ContractFactory.constructor

Defined in

sway-api/contracts/Props721CollectionContractFactory.ts:24

Properties

bytecode

readonly static bytecode: Uint8Array

Defined in

sway-api/contracts/Props721CollectionContractFactory.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/Props721CollectionContractFactory.ts:28


deploy()

static deploy(wallet, options): Promise<DeployContractResult<Props721CollectionContract>>

Parameters

wallet: Account

options: DeployContractOptions = {}

Returns

Promise<DeployContractResult<Props721CollectionContract>>

Defined in

sway-api/contracts/Props721CollectionContractFactory.ts:37