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
chainOptional
Readonly
multicallThe Multicall
instance used by this entity.
Readonly
networkThe networkConnection
of this entity.
Readonly
versionthis._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.
Merge user-defined parameters with the default parameters (from
getDefaultMetaMethodExtraParam()
) and return the result to use use in a
write method.
the type of the meta method, used to determine the correct return type of the write functions.
the user defined parameters
the merged parameters
Optional
params: MulticallStaticParams & { Sync function to generate sign data so that the user can pick it up and sign it elsewhere.
const data = PendleLimitRouter.generateTypedDataForSigning(order);
const signature = await signer._signTypedData(...data);
the set of parameters for an entity's write-method (that will do
a metaCall
). It should be overridden in the subclass.
Optional
params: MulticallStaticParamsStatic
getGenerated using TypeDoc
The wrapped contract that the entity is holding.