Skip to content

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