Skip to content

@props-labs/fuelsDocs


@props-labs/fuels / PropsFeeSplitterContract

Class: PropsFeeSplitterContract

Extends

  • default

Constructors

new PropsFeeSplitterContract()

new PropsFeeSplitterContract(id, accountOrProvider): PropsFeeSplitterContract

Parameters

id: string | AbstractAddress

accountOrProvider: Account | Provider

Returns

PropsFeeSplitterContract

Overrides

Contract.constructor

Defined in

sway-api/contracts/PropsFeeSplitterContract.ts:1738

Properties

functions

functions: object

A collection of functions available on the contract.

constructor

constructor: InvokeFunction<[IdentityInput], void>

distribute_funds

distribute_funds: InvokeFunction<[BigNumberish], void>

fee

fee: InvokeFunction<[], Option<BN>>

get_share

get_share: InvokeFunction<[], Option<BN>>

is_paused

is_paused: InvokeFunction<[], boolean>

owner

owner: InvokeFunction<[], StateOutput>

pause

pause: InvokeFunction<[], void>

receive_funds

receive_funds: InvokeFunction<[], void>

set_fee

set_fee: InvokeFunction<[BigNumberish], void>

set_shares

set_shares: InvokeFunction<[Vec<IdentityInput>, Vec<BigNumberish>], void>

total_shares

total_shares: InvokeFunction<[], Option<BN>>

unpause

unpause: InvokeFunction<[], void>

Overrides

Contract.functions

Defined in

sway-api/contracts/PropsFeeSplitterContract.ts:1723


interface

interface: PropsFeeSplitterContractInterface

The contract's ABI interface.

Overrides

Contract.interface

Defined in

sway-api/contracts/PropsFeeSplitterContract.ts:1722


abi

readonly static abi: object

concreteTypes

concreteTypes: (object | object | object)[]

configurables

configurables: never[] = []

encodingVersion

encodingVersion: string = "1"

functions

functions: object[]

loggedTypes

loggedTypes: object[]

messagesTypes

messagesTypes: never[] = []

metadataTypes

metadataTypes: (object | object | object | object)[]

programType

programType: string = "contract"

specVersion

specVersion: string = "1"

Defined in

sway-api/contracts/PropsFeeSplitterContract.ts:1719


storageSlots

readonly static storageSlots: StorageSlot[]

Defined in

sway-api/contracts/PropsFeeSplitterContract.ts:1720