Interface: ReadErc20Options
The options required to create a read model that represents a specific contract.
Hierarchy
-
↳
ReadErc20Options
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
Inherited from
ReadContractModelOptions.namespace
Defined in
packages/hyperdrive-js-core/src/evm-client/contractFactory.ts:12
network
• network: Network
Inherited from
ReadContractModelOptions.network
Defined in
packages/hyperdrive-js-core/src/model/ReadModel.ts:13