-
Notifications
You must be signed in to change notification settings - Fork 49
Feat/acp hedgefund #104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: feat/society
Are you sure you want to change the base?
Feat/acp hedgefund #104
Conversation
Opt/gas saving
@@ -97,10 +97,17 @@ contract ACPSimple is | |||
address token; | |||
uint256 amount; | |||
address recipient; | |||
bool isFee; | |||
uint256 feeAmount; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Struct that is used in mapping should not be removed or moved around if it is using upgradeable contract,
Suggest to keep isFee even though it is redundant and move the feeAmount and feeType to the bottom
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the isFee field hasn't been added for production contract, so it's safe to remove
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actually the whole PayableDetails struct hasn't been defined in mainnet contract
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
noted. so when you deploy this for sepolia, it will be a new contract
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yea, it's alr deployed on sepolia as a new contract
No description provided.