Interface: ReadWriteHyperdriveOptions
The options required to create a read-write model that represents a specific contract.
Hierarchy
-
↳
ReadWriteHyperdriveOptions
Properties
address
• address: `0x${string}`
Inherited from
ReadWriteContractModelOptions.address
Defined in
packages/hyperdrive-js-core/src/evm-client/contractFactory.ts:10
cache
• Optional
cache: SimpleCache
<any
, SimpleCacheKey
>
Inherited from
ReadWriteContractModelOptions.cache
Defined in
packages/hyperdrive-js-core/src/evm-client/contractFactory.ts:11
contractFactory
• contractFactory: ReadWriteContractFactory
Inherited from
ReadWriteContractModelOptions.contractFactory
Defined in
packages/hyperdrive-js-core/src/model/ReadWriteModel.ts:12
name
• Optional
name: string
An arbitrary name for the instance. This is for convenience only (e.g., for use as a display name or in logging) and has no affect on the model's behavior.
Inherited from
ReadWriteContractModelOptions.name
Defined in
packages/hyperdrive-js-core/src/model/ReadModel.ts:20
namespace
• Optional
namespace: string
Inherited from
ReadWriteContractModelOptions.namespace
Defined in
packages/hyperdrive-js-core/src/evm-client/contractFactory.ts:12
network
• network: Network
Inherited from
ReadWriteContractModelOptions.network
Defined in
packages/hyperdrive-js-core/src/model/ReadModel.ts:13