Having contractType return the full contract name makes more sense and doesn't cost anything since it shouldn't really be queried on-chain.
The general rule for naming is to use snake-cased capitalized name of the contract without the V3 prefix.
The exceptions are contracts that implement interfaces IAdapter, IPriceFeed, IBot, IRateKeeper, IInterestRateModel (also IZapper, which is not included in this repo), which start with respective abbreviation.
Having
contractType
return the full contract name makes more sense and doesn't cost anything since it shouldn't really be queried on-chain.The general rule for naming is to use snake-cased capitalized name of the contract without the
V3
prefix. The exceptions are contracts that implement interfacesIAdapter
,IPriceFeed
,IBot
,IRateKeeper
,IInterestRateModel
(alsoIZapper
, which is not included in this repo), which start with respective abbreviation.