nodeOperatorInclusionList sub-class
The following readme describes all the functions and their parameters exposed by the nodeOperatorInclusionList
class of the K2 SDK. This sub-class contains all the important functions from the K2 Node Operator Inclusion List contract of the K2 Lending protocol.
isNewBLSKeyPermitted function
Compare the current counter with the global counter to see if the given bls key is permitted.
Input Parameters
blsPublicKey: BLS public key of the validator
Using isNewBLSKeyPermitted function
Return Parameter
Transaction details if the transaction was successful.
onBLSKeyRegisteredToK2 function
Notify the inclusion list that a key was added so it can increase its global counter.
Input Parameters
blsPublicKey: BLS public key of the validator
Using onBLSKeyRegisteredToK2 function
Return Parameter
Transaction details if the transaction was successful.
onBLSKeyUnregisteredToK2 function
Notify the inclusion list that a key was removed so it can decrease its global counter.
Input Parameters
blsPublicKey: BLS public key of the validator
Using onBLSKeyUnregisteredToK2 function
Return Parameter
Transaction details if the transaction was successful.