-
Notifications
You must be signed in to change notification settings - Fork 34
CMTATBaseAllowlist - Redundant State Checks #332
Copy link
Copy link
Closed
Labels
Gas optimizationNext releaseThe issue has been merged into dev and will be part of the next releaseThe issue has been merged into dev and will be part of the next release
Description
Version affected: v3.0.0
Deployment version: CMTAT Allowlist
Severity: Low
Fix: v3.1.0
Reported by: Certik
In the CMTATBaseAllowlist contract, the canTransfer() and canTransferFrom() functions validate whether a token
transfer meets the required conditions and can be executed.
Based on the execution flow of these functions, _canTransferGenericByModule function calls the _canMintBurnByModule
function from the ValidationModuleAllowlist contract, which first checks the contract’s allow list status and then invokes
the ValidationModule contract to validate the user’s frozen status and the contract’s paused status.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Gas optimizationNext releaseThe issue has been merged into dev and will be part of the next releaseThe issue has been merged into dev and will be part of the next release