Skip to main content

Interface: ReadWriteStEthHyperdriveOptions

Hierarchy

Properties

address

address: `0x${string}`

Inherited from

Overwrite.address

Defined in

packages/hyperdrive-js-core/src/evm-client/contractFactory.ts:10


cache

Optional cache: SimpleCache<any, SimpleCacheKey>

Inherited from

Overwrite.cache

Defined in

packages/hyperdrive-js-core/src/evm-client/contractFactory.ts:11


contractFactory

contractFactory: ReadContractFactory

Inherited from

Overwrite.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

Overwrite.name

Defined in

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


namespace

Optional namespace: string

Inherited from

Overwrite.namespace

Defined in

packages/hyperdrive-js-core/src/evm-client/contractFactory.ts:12


network

network: Network

Inherited from

Overwrite.network

Defined in

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


useSharesAccounting

Optional useSharesAccounting: boolean

The StETHHyperdrive contract stores and operates on Lido balances in shares. However, since users are most familiar with stETH public balances, this model will accept and return balances in stETH by default and convert them to shares when interacting with the contract to ease UI integration.

To use shares instead of stETH, set this to true.

Default

false

See

https://docs.lido.fi/guides/lido-tokens-integration-guide#bookkeeping-shares

Inherited from

Overwrite.useSharesAccounting

Defined in

packages/hyperdrive-js-core/src/hyperdrive/steth/ReadStEthHyperdrive.ts:24