Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions contracts/Types.sol
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ library AuthType {
bytes32 internal constant FUNC = "FunctionType";
bytes32 internal constant TRANSFER = "TransferType";
bytes32 internal constant DEX = "DexType";
bytes32 internal constant FARMING = "FarmingType";
bytes32 internal constant LENDING = "LendingType";
bytes32 internal constant COMMON = "CommonType";
bytes32 internal constant SET = "SetType";
Expand Down
2 changes: 2 additions & 0 deletions contracts/auth/FarmingBaseACL.sol
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ abstract contract FarmingBaseACL is BaseACL {
using EnumerableSet for EnumerableSet.UintSet;
using EnumerableSet for EnumerableSet.AddressSet;

bytes32 public constant override TYPE = AuthType.FARMING;

//roles => pool id whitelist
EnumerableSet.UintSet farmPoolIdWhitelist;
EnumerableSet.AddressSet farmPoolAddressWhitelist;
Expand Down