Typographical errors
Upon reviewing the codebase, several minor typographical errors were identified. They do not affect code functionality but can lead to confusion and potential bugs.
In the contract InfiniCardVault,
The function
getCusdianListshould begetCustodianList.
In the contract InfiniCardController,
The error
CustianInvalidshould beCustodianInvalid.The word
STRATEGYis repeated inSTRATEGY_STRATEGY_OPERATOR_ROLE.The function
addCusdianToWhiteListshould beaddCustodianToWhiteList.The function
removeCusdianToWhiteListshould beremoveCustodianToWhiteList.The function
_isCusdianValidshould be_isCustodianValid.
In the interface IStrategyManager,
In the
StrategyStatusstruct, the variablepoistionshould beposition.
This issue has been acknowledged by Infini Labs, and a fix was implemented in commit e3bf1fe7↗.