Skip to content

@props-labs/fuelsDocs


@props-labs/fuels / PropsRegistryContractFactory

Class: PropsRegistryContractFactory

Extends

  • default

Constructors

new PropsRegistryContractFactory()

new PropsRegistryContractFactory(accountOrProvider): PropsRegistryContractFactory

Parameters

accountOrProvider: Account | Provider

Returns

PropsRegistryContractFactory

Overrides

ContractFactory.constructor

Defined in

sway-api/contracts/PropsRegistryContractFactory.ts:24

Properties

bytecode

readonly static bytecode: 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()

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

Parameters

wallet: Account

options: DeployContractOptions = {}

Returns

Promise<DeployContractResult<PropsRegistryContract>>

Defined in

sway-api/contracts/PropsRegistryContractFactory.ts:37