Skip to content

Commit

Permalink
refactor: update setProtocolFeeTable natspec
Browse files Browse the repository at this point in the history
  • Loading branch information
0xlucian committed Oct 2, 2024
1 parent 12ab32f commit ac14d32
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion contracts/interfaces/handlers/IBosonConfigHandler.sol
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,8 @@ interface IBosonConfigHandler is IBosonConfigEvents, BosonErrors {
* the corresponding price ranges.
*
* Reverts if the number of fee percentages does not match the number of price ranges.
* Reverts if token is Zero address.
* Reverts if the price ranges are not in ascending order
* Reverts if any of the fee percentages value is above 100%
*
* @dev Caller must have ADMIN role.
*
Expand Down
3 changes: 2 additions & 1 deletion contracts/protocol/facets/ConfigHandlerFacet.sol
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,8 @@ contract ConfigHandlerFacet is IBosonConfigHandler, ProtocolBase {
* the corresponding price ranges.
*
* Reverts if the number of fee percentages does not match the number of price ranges.
* Reverts if token is Zero address.
* Reverts if the price ranges are not in ascending order.
* Reverts if any of the fee percentages value is above 100%.
*
* @dev Caller must have ADMIN role.
*
Expand Down

0 comments on commit ac14d32

Please sign in to comment.