From 39599b3376aa6c1867c0f3a13d7b035cbc8886d5 Mon Sep 17 00:00:00 2001 From: Chibuotu Amadi Date: Sun, 22 Sep 2024 19:57:18 +0100 Subject: [PATCH] chore: add doc comment to isValidAmount --- contracts/Gateway.sol | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/contracts/Gateway.sol b/contracts/Gateway.sol index 15f07da..c368a60 100644 --- a/contracts/Gateway.sol +++ b/contracts/Gateway.sol @@ -52,6 +52,10 @@ contract Gateway is IGateway, GatewaySettingManager, PausableUpgradeable { _; } + /** + * @dev Modifier that checks if the deposit amount is valid. + * @param _amount The amount to be checked. + */ modifier isValidAmount(uint256 _amount) { require(_amount != 0, 'AmountIsZero'); _;