Skip to content

Commit

Permalink
refactor: Use immutable keyword for feePercentage and feeRecipient
Browse files Browse the repository at this point in the history
  • Loading branch information
zerotucks committed Feb 28, 2024
1 parent ad02740 commit 9cae822
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ contract CollectFee is Executable, UseStorageSlot, UseRegistry {
using Read for StorageSlot.TransactionStorage;

// Fee percentage (e.g., 1% = 100, 0.5% = 50)
uint256 public feePercentage;
address public feeRecipient;
uint256 public immutable feePercentage;
address public immutable feeRecipient;
uint256 constant DIVISOR = 10000;

constructor(address _registry, uint256 _feePercentage, address _feeRecipient) UseRegistry(ServiceRegistry(_registry)) {
Expand Down

0 comments on commit 9cae822

Please sign in to comment.