Skip to content

feat: add round trip relayer fees & refactor code #18

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 4 commits into from
Oct 30, 2023

Conversation

ducphamle2
Copy link
Collaborator

@ducphamle2 ducphamle2 commented Oct 30, 2023

Changes:

  • Refactor code to charge fees simpler on the outer most function
  • Add relayer fees for the round trip
  • If the deducted amount is zero after token and relayer fees, then the total sent amount is used for the fees

@ducphamle2 ducphamle2 merged commit 653c545 into master Oct 30, 2023
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.

1 participant