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

Add fee logic to smart contract #41

Open
boyuan-chen opened this issue Aug 26, 2024 · 1 comment · May be fixed by #43
Open

Add fee logic to smart contract #41

boyuan-chen opened this issue Aug 26, 2024 · 1 comment · May be fixed by #43
Assignees

Comments

@boyuan-chen
Copy link
Contributor

boyuan-chen commented Aug 26, 2024

Please remove the fee calculation logic from the backend service and move it to the smart contract.

I can think of the following functions that we need in our smart contracts:

  • We need to set the fee percentage
  • We need to withdraw the fees

The gateway should read the fee percentage from the smart contract instead of hardcoding it.

@sk-enya sk-enya linked a pull request Oct 14, 2024 that will close this issue
@sk-enya
Copy link

sk-enya commented Oct 21, 2024

Changes has been done under!

#43
#44

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 a pull request may close this issue.

2 participants