Skip to main content

Class: ReadModel

A base class for read-only models.

Hierarchy

Constructors

constructor

new ReadModel(«destructured»): ReadModel

Parameters

NameType
«destructured»ReadModelOptions

Returns

ReadModel

Defined in

packages/hyperdrive-js-core/src/model/ReadModel.ts:31

Properties

contractFactory

contractFactory: ReadContractFactory

Defined in

packages/hyperdrive-js-core/src/model/ReadModel.ts:29


name

name: string

Defined in

packages/hyperdrive-js-core/src/model/ReadModel.ts:27


network

network: Network

Defined in

packages/hyperdrive-js-core/src/model/ReadModel.ts:28