Skip to content

@props-labs/fuelsDocs


@props-labs/fuels / Props721CollectionContract

Class: Props721CollectionContract

Extends

  • default

Constructors

new Props721CollectionContract()

new Props721CollectionContract(id, accountOrProvider): Props721CollectionContract

Parameters

id: string | AbstractAddress

accountOrProvider: Account | Provider

Returns

Props721CollectionContract

Overrides

Contract.constructor

Defined in

sway-api/contracts/Props721CollectionContract.ts:5233

Properties

functions

functions: object

A collection of functions available on the contract.

airdrop

airdrop: InvokeFunction<[IdentityInput, BigNumberish], void>

base_uri

base_uri: InvokeFunction<[], Option<string>>

burn

burn: InvokeFunction<[string, BigNumberish], void>

constructor

constructor: InvokeFunction<[IdentityInput, string, string, string, BigNumberish, BigNumberish, BigNumberish], void>

decimals

decimals: InvokeFunction<[AssetIdInput], Option<number>>

end_date

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

fees

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

is_paused

is_paused: InvokeFunction<[], boolean>

max_supply

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

merkle_root

merkle_root: InvokeFunction<[], Option<string>>

merkle_uri

merkle_uri: InvokeFunction<[], Option<string>>

metadata

metadata: InvokeFunction<[AssetIdInput, string], Option<MetadataOutput>>

mint

mint: InvokeFunction<[IdentityInput, string, BigNumberish, Option<IdentityInput>, Option<Vec<string>>, Option<BigNumberish>, Option<BigNumberish>, Option<BigNumberish>], void>

name

name: InvokeFunction<[AssetIdInput], Option<string>>

owner

owner: InvokeFunction<[], StateOutput>

pause

pause: InvokeFunction<[], void>

price

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

set_base_uri

set_base_uri: InvokeFunction<[string], void>

set_dates

set_dates: InvokeFunction<[BigNumberish, BigNumberish], void>

set_merkle

set_merkle: InvokeFunction<[string, string], void>

set_merkle_root

set_merkle_root: InvokeFunction<[string], void>

set_price

set_price: InvokeFunction<[BigNumberish], void>

start_date

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

symbol

symbol: InvokeFunction<[AssetIdInput], Option<string>>

total_assets

total_assets: InvokeFunction<[], BN>

total_price

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

total_supply

total_supply: InvokeFunction<[AssetIdInput], Option<BN>>

unpause

unpause: InvokeFunction<[], void>

Overrides

Contract.functions

Defined in

sway-api/contracts/Props721CollectionContract.ts:5202


interface

interface: Props721CollectionContractInterface

The contract's ABI interface.

Overrides

Contract.interface

Defined in

sway-api/contracts/Props721CollectionContract.ts:5201


abi

readonly static abi: object

concreteTypes

concreteTypes: (object | object | object)[]

configurables

configurables: object[]

encodingVersion

encodingVersion: string = "1"

functions

functions: (object | object)[]

loggedTypes

loggedTypes: object[]

messagesTypes

messagesTypes: never[] = []

metadataTypes

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

programType

programType: string = "contract"

specVersion

specVersion: string = "1"

Defined in

sway-api/contracts/Props721CollectionContract.ts:5198


storageSlots

readonly static storageSlots: StorageSlot[]

Defined in

sway-api/contracts/Props721CollectionContract.ts:5199