The contract defines a private constant NO_TIME_DELAY with a value of 0, which represents the timelock duration for transactions below 1 ETH. While getter functions are provided for other timelock constants like (ONE_DAY_TIME_DELAY, TWO_DAYS_TIME_DELAY, and SEVEN_DAYS_TIME_DELAY), there is no public getter for NO_TIME_DELAY. This creates an inconsistency in the public contract interface and slightly reduces clarity for external consumers such as frontends, scripts, and auditors.
The absence of a getter function it reduces API completeness and transparency, requiring external consumers to implicitly assume that the zero-delay case corresponds to 0, rather than querying it directly from the contract.
For API symmetry and improved clarity, consider adding a getter function for the zero-delay constant:
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.
The contest is complete and the rewards are being distributed.