K2 SDK
Contract Instance sub-class
The SDK also exposes the contractInstance sub-class which provides an instance for contracts used in the K2 lending protocol. These instances can be used to call smart contract functions that may or may not exist in the SDK.
Contract instances exposed by the sub-class
- K2LendingContract
- K2LendingDepositor
- ReporterRegistry
- nodeOperatorModule
- rst
- rstModule
- k2NativeDelegationRSTIncentives
- nodeOperatorInclusionList
- partitionedLinearInterestRateModel
Using the contractInstance class
All the contract instances can be directly accessed without any input parameter.