Gearbox-protocol / core-v3

Other
28 stars 4 forks source link

feat: extend contract types #287

Closed lekhovitsky closed 4 weeks ago

lekhovitsky commented 4 weeks ago

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.

lekhovitsky commented 4 weeks ago

@Van0k guess we no longer need this one https://github.com/Gearbox-protocol/bots-v3/pull/7