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

Pay trading fees with input token #319

Merged
merged 6 commits into from
Jan 30, 2025
Merged

Pay trading fees with input token #319

merged 6 commits into from
Jan 30, 2025

Conversation

0xaslan
Copy link
Collaborator

@0xaslan 0xaslan commented Jan 30, 2025

No description provided.

0
.fee_quantity(base_volume, quote_volume, maker_is_bid);

if (whitelisted) {
Copy link
Collaborator

@tonylee08 tonylee08 Jan 30, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small: let's move whitelisted param inside public(package) fun fee_quantity

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Optional and can prob revisit when tests start

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's hard to do because there are other places where fee_quantity() is being used but don't have access to whitelisted

@0xaslan 0xaslan merged commit 870f4aa into main Jan 30, 2025
1 check 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