Skip to content

chore: Change CENTRIFUGE_REQUEST_ID var to constant #118

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 27, 2025
Merged
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
4 changes: 2 additions & 2 deletions src/MainnetController.sol
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ contract MainnetController is AccessControl {
bytes32 public constant LIMIT_USDS_MINT = keccak256("LIMIT_USDS_MINT");
bytes32 public constant LIMIT_USDS_TO_USDC = keccak256("LIMIT_USDS_TO_USDC");

uint256 internal constant CENTRIFUGE_REQUEST_ID = 0;

address public immutable buffer;

IALMProxy public immutable proxy;
Expand Down Expand Up @@ -375,8 +377,6 @@ contract MainnetController is AccessControl {

// NOTE: These cancelation methods are compatible with ERC-7887

uint256 CENTRIFUGE_REQUEST_ID = 0;

function cancelCentrifugeDepositRequest(address token) external {
_checkRole(RELAYER);
_rateLimitExists(RateLimitHelpers.makeAssetKey(LIMIT_7540_DEPOSIT, token));
Expand Down
Loading