Assessment reports>InfiniCard Vault>Discussion>Typographical errors

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 be getCustodianList.

In the contract InfiniCardController,

  • The error CustianInvalid should be CustodianInvalid.

  • The word STRATEGY is repeated in STRATEGY_STRATEGY_OPERATOR_ROLE.

  • The function addCusdianToWhiteList should be addCustodianToWhiteList.

  • The function removeCusdianToWhiteList should be removeCustodianToWhiteList.

  • The function _isCusdianValid should be _isCustodianValid.

In the interface IStrategyManager,

  • In the StrategyStatus struct, the variable poistion should be position.

This issue has been acknowledged by Infini Labs, and a fix was implemented in commit e3bf1fe7.

Zellic © 2025Back to top ↑