@fuel-ts/contract v0.96.1 • Docs
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:40
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:48