Skip to content

Commit

Permalink
Update packages/horizon/contracts/data-service/utilities/ProvisionMan…
Browse files Browse the repository at this point in the history
…ager.sol

Co-authored-by: Tomás Migone <[email protected]>
  • Loading branch information
MoonBoi9001 and tmigone authored Sep 20, 2024
1 parent 76e4940 commit 8912125
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ abstract contract ProvisionManager is Initializable, GraphDirectory, ProvisionMa
using UintRange for uint256;

// Constants
uint32 private constant DEFAULT_MIN_VERIFIER_CUT = 0;
uint64 private constant DEFAULT_MIN_THAWING_PERIOD = 0;
uint256 private constant DEFAULT_MIN_PROVISION_TOKENS = 0;
uint32 private constant DEFAULT_MIN_VERIFIER_CUT = type(uint32).min;
uint32 private constant DEFAULT_MAX_VERIFIER_CUT = uint32(PPMMath.MAX_PPM);
uint64 private constant DEFAULT_MIN_THAWING_PERIOD = type(uint64).min;
uint64 private constant DEFAULT_MAX_THAWING_PERIOD = type(uint64).max;
uint256 private constant DEFAULT_MIN_PROVISION_TOKENS = type(uint256).min;
uint256 private constant DEFAULT_MAX_PROVISION_TOKENS = type(uint256).max;
uint32 private constant DEFAULT_MAX_VERIFIER_CUT = uint32(PPMMath.MAX_PPM);

/**
* @notice Emitted when the provision tokens range is set.
Expand Down

0 comments on commit 8912125

Please sign in to comment.