Skip to content

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

Open
wants to merge 28 commits into
base: feat/society
Choose a base branch
from
Open

Conversation

jaimewangvirtuals
Copy link
Collaborator

No description provided.

@@ -97,10 +97,17 @@ contract ACPSimple is
address token;
uint256 amount;
address recipient;
bool isFee;
uint256 feeAmount;
Copy link
Contributor

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

Copy link
Collaborator Author

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

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator Author

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

Copy link
Contributor

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

Copy link
Collaborator Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants