Interface: ReadHyperdriveOptions
The options required to create a read model that represents a specific contract.
Hierarchy
-
↳
ReadHyperdriveOptions
Properties
address
• address: `0x${string}`
Inherited from
ReadContractModelOptions.address
Defined in
packages/hyperdrive-js-core/src/evm-client/contractFactory.ts:10
cache
• Optional
cache: SimpleCache
<any
, SimpleCacheKey
>
Inherited from
ReadContractModelOptions.cache
Defined in
packages/hyperdrive-js-core/src/evm-client/contractFactory.ts:11
contractFactory
• contractFactory: ReadContractFactory
Inherited from
ReadContractModelOptions.contractFactory
Defined in
packages/hyperdrive-js-core/src/model/ReadModel.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
ReadContractModelOptions.name
Defined in
packages/hyperdrive-js-core/src/model/ReadModel.ts:20
namespace
• Optional
namespace: string