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

Refactor gateway contract to transfer protocol fee only if it is greater than zero and emit refund address instead of sender #49

Merged
merged 1 commit into from
Sep 27, 2024

Conversation

OnahProsperity
Copy link
Collaborator

This pull request refactors the gateway contract to improve the transfer of the protocol fee. Previously, the fee was transferred regardless of its value, but now it is only transferred if it is greater than zero. Additionally, the contract now emits the refund address instead of the sender in the OrderCreated event. These changes enhance the efficiency and accuracy of the gateway contract.

…eater than zero and emit refund address instead of sender
@chibie chibie merged commit 3c598ee into main Sep 27, 2024
2 checks passed
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