Abstract
Protected
Readonly
_contractThis should not be used directly. Instead, the getter contract
should
be used to have the correct type of the wrapped contract.
Readonly
addressthe inner contract address
Readonly
aggregatorReadonly
approxReadonly
chainReadonly
checkReadonly
eventsReadonly
gasReadonly
limitReadonly
limitOptional
Readonly
multicallThe Multicall
instance used by this entity.
Readonly
networkThe networkConnection
of this entity.
Readonly
optimalReadonly
tokenthis._contract
but with the casted type.
It is intended to be overridden in the subclasses.
PendleEntity#_contract
The config of this entity.
It can be used to pass as configuration for a new entity. It should be overridden in the subclass.
Redefine the method to redefine the return type
the set of parameters for an entity's write-method (that will do
a metaCall
). It should be overridden in the subclass.
Get pendleSwap address for a given swapType and chainId
the swapType of the action
The pendleSwap contract address is returned otherwise.
Optional
params: { Optional
receiver?: AddressOptional
params: { Optional
receiver?: AddressPrivate
sellOptional
receiver?: AddressOptional
params: { Optional
receiver?: AddressOptional
params: { Optional
receiver?: AddressPrivate
sellOptional
receiver?: AddressProtected
throwOptional
errorOptions: PendleSdkErrorParamsStatic
Protected
extractGenerated using TypeDoc
The wrapped contract that the entity is holding.