Skip to content

Cleanup claim condition extension classes #171

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

Merged
merged 6 commits into from
Jun 8, 2022

Conversation

joaquim-verges
Copy link
Member

No description provided.

@joaquim-verges joaquim-verges changed the title [WIP] cleanup claim condition extension classes Cleanup claim condition extension classes Jun 7, 2022
///////////////////////////////////////////////////////////////////*/

/// @dev Exposes the ability to override the msg sender.
function _dropMsgSender() internal virtual returns (address) {
Copy link
Member Author

Choose a reason for hiding this comment

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

only thing that's maybe a weird pattern is this. But saves us from inheriting ContextExecutable which adds burden for most ppl who don't use meta-tx.

let me know what you think @nkrishang @jakeloo

Copy link
Member

Choose a reason for hiding this comment

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

yup this is similar to ERC721A pattern, maybe we can turn this into _thirdwebMsgSender() and we use it across the board or do you think this has to be isolated to each feature offering

Copy link
Member Author

Choose a reason for hiding this comment

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

Pb is that it will clash if we declare it multiple times... So annoying. Hope solidity gets better overtime with this

@joaquim-verges joaquim-verges merged commit d331efc into main Jun 8, 2022
@joaquim-verges joaquim-verges deleted the joaquim/cleanup_extensions branch June 8, 2022 03:39
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