diff --git a/src/policies/CDAuctioneer.sol b/src/policies/CDAuctioneer.sol index aa638783..ebd53562 100644 --- a/src/policies/CDAuctioneer.sol +++ b/src/policies/CDAuctioneer.sol @@ -134,6 +134,13 @@ contract CDAuctioneer is IConvertibleDepositAuctioneer, Policy, RolesConsumer, R returns (Permissions[] memory permissions) {} + function VERSION() external pure returns (uint8 major, uint8 minor) { + major = 1; + minor = 0; + + return (major, minor); + } + // ========== AUCTION ========== // /// @inheritdoc IConvertibleDepositAuctioneer diff --git a/src/policies/CDFacility.sol b/src/policies/CDFacility.sol index e4e7fc4d..bfac9982 100644 --- a/src/policies/CDFacility.sol +++ b/src/policies/CDFacility.sol @@ -52,6 +52,7 @@ contract CDFacility is Policy, RolesConsumer, IConvertibleDepositFacility, Reent locallyActive = false; } + /// @inheritdoc Policy function configureDependencies() external override returns (Keycode[] memory dependencies) { dependencies = new Keycode[](5); dependencies[0] = toKeycode("TRSRY"); @@ -69,6 +70,7 @@ contract CDFacility is Policy, RolesConsumer, IConvertibleDepositFacility, Reent SCALE = 10 ** CDEPO.decimals(); } + /// @inheritdoc Policy function requestPermissions() external view @@ -89,6 +91,13 @@ contract CDFacility is Policy, RolesConsumer, IConvertibleDepositFacility, Reent permissions[6] = Permissions(cdposKeycode, CDPOS.update.selector); } + function VERSION() external pure returns (uint8 major, uint8 minor) { + major = 1; + minor = 0; + + return (major, minor); + } + // ========== CONVERTIBLE DEPOSIT ACTIONS ========== // /// @inheritdoc IConvertibleDepositFacility