Skip to content

Commit

Permalink
docs: AdminV2 other constants
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiTimesChi committed Nov 18, 2024
1 parent 2cb7006 commit 922b4a5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/contracts-rfq/contracts/AdminV2.sol
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,14 @@ contract AdminV2 is AccessControlEnumerable, IAdminV2, IAdminV2Errors {
/// @dev Only addresses with this role can perform administrative tasks within the contract.
bytes32 public constant GOVERNOR_ROLE = keccak256("GOVERNOR_ROLE");

/// @notice Denominator for fee rates, represents 100%.
uint256 public constant FEE_BPS = 1e6;
uint256 public constant FEE_RATE_MAX = 0.01e6; // max 1% on origin amount
/// @notice Maximum protocol fee rate: 1% on origin amount.
uint256 public constant FEE_RATE_MAX = 0.01e6;

/// @notice Minimum cancel delay that can be set by the governor.
uint256 public constant MIN_CANCEL_DELAY = 1 hours;
/// @notice Default cancel delay set during the contract deployment.
uint256 public constant DEFAULT_CANCEL_DELAY = 1 days;

/// @notice Protocol fee rate taken on origin amount deposited in origin chain
Expand Down

0 comments on commit 922b4a5

Please sign in to comment.