Class PyEntityAbstract

A super class for PT token and YT token.

Remarks

As PT and YT come in pair, they share some functionalities. Those shared functionalities are included in this class.

There is no contract getter for this class, as there is no base ABI for both PT and YT. This should be done in the subclasses.

Hierarchy (view full)

Constructors

Properties

_contract: WrappedContract

The wrapped contract that the entity is holding.

Remarks

This should not be used directly. Instead, the getter contract should be used to have the correct type of the wrapped contract.

address: Address

the inner contract address

chainId: ChainId
multicall?: Multicall

The Multicall instance used by this entity.

networkConnection: NetworkConnection

The networkConnection of this entity.

Accessors

Methods

Generated using TypeDoc