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
getCusdianList
should begetCustodianList
.
In the contract InfiniCardController,
The error
CustianInvalid
should beCustodianInvalid
.The word
STRATEGY
is repeated inSTRATEGY_STRATEGY_OPERATOR_ROLE
.The function
addCusdianToWhiteList
should beaddCustodianToWhiteList
.The function
removeCusdianToWhiteList
should beremoveCustodianToWhiteList
.The function
_isCusdianValid
should be_isCustodianValid
.
In the interface IStrategyManager,
In the
StrategyStatus
struct, the variablepoistion
should beposition
.
This issue has been acknowledged by Infini Labs, and a fix was implemented in commit e3bf1fe7↗.