Skip to content
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

Update ERC-7683: 'open' and 'fill' methods should be payable #773

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Zodomo
Copy link

@Zodomo Zodomo commented Dec 14, 2024

Making the open methods payable allows for natives to trivially be used in user requests. Native payment can easily be accounted for alongside ERC-20 tokens by using address(0). Adding the payable modifier will make it much easier for integrators to account for native payments. This logic also follows for fill, as fillers might need to provide native payment to the settlement contract to fulfill the user's order. It seems like an anti-pattern to require handling native payment in functions outside of the spec.

@eip-review-bot
Copy link
Collaborator

eip-review-bot commented Dec 14, 2024

File ERCS/erc-7683.md

Requires 1 more reviewers from @marktoda, @mrice32, @nicholaspai

@eip-review-bot eip-review-bot changed the title ERC-7683: 'open' and 'fill' methods should be payable Update ERC-7683: 'open' and 'fill' methods should be payable Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants