-
Notifications
You must be signed in to change notification settings - Fork 2
Contract Improvements #95
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Description
YashP16
opened on May 23, 2025
Issue body actions
| Contract name | Function name | Suggestion | Benefit |
|---|---|---|---|
| Farm | farmPauseSwitch | Update to toggleFarmPause | It will remove one if condition and it’s error (FarmAlreadyInRequiredState). And a parameter inside the function. |
| Farm | updateRewardData | Rename to updateRwdTokenManager as it only updates the manager and nothing else of reward data | The naming would be more accurate. |
| FarmRegistry | feeReceiver, feeToken, feeAmount, extensionFeePerDay | Can make these variables private/ internal because we have a getter function for this. Also we can make them as a struct to save some storage. | Reduced bytecode and storage usage. |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request