Skip to content

Conversation

@Quantumplation
Copy link
Member

Without this change, the scoopers have to float the cost of the transaction until they get reimbursed at the end of the month;

With this, the scooper is allowed to pay that fee out of the collected protocol fee, removing the upfront cost of executing a scoop.

@Luivatra
Copy link

Luivatra commented Dec 5, 2025

Probably better to merge it into pi/stableswap :)

Also I thought perhaps to put in a check to make sure that
expected_fees_collected - fee >= 0

@Quantumplation Quantumplation changed the base branch from main to pi/stableswap December 8, 2025 15:41
@Quantumplation
Copy link
Member Author

@Luivatra Yes, that's a good point; can you add that?

@Luivatra Luivatra merged commit ec2cf6b into pi/stableswap Dec 15, 2025
1 check passed
@Luivatra Luivatra deleted the pi/tx-fee-from-protocol-fee branch December 15, 2025 21:07
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.

3 participants