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