Skip to content

@fuel-ts/contract v0.94.6Docs


index

Index

Classes

Type Aliases

DeployContractOptions

DeployContractOptions: object & CreateTransactionRequestLike

Options for deploying a contract.

Type declaration

chunkSizeMultiplier?

optional chunkSizeMultiplier: number

configurableConstants?

optional configurableConstants: object

Index Signature

[name: string]: unknown

salt?

optional salt: BytesLike

stateRoot?

optional stateRoot: BytesLike

storageSlots?

optional storageSlots: StorageSlot[]

Defined in

packages/contract/src/contract-factory.ts:35


DeployContractResult<TContract>

DeployContractResult<TContract>: object

Type Parameters

TContract extends Contract = Contract

Type declaration

contractId

contractId: string

waitForResult()

waitForResult: () => Promise<object>

Returns

Promise<object>

contract

contract: TContract

transactionResult

transactionResult: TransactionResult<Create>

waitForTransactionId()

waitForTransactionId: () => Promise<string>

Returns

Promise<string>

Defined in

packages/contract/src/contract-factory.ts:43