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

feat: include upfront fee incurred by batch in BatchUpdated #412

Merged
merged 1 commit into from
Sep 6, 2024

Conversation

danielattilasimon
Copy link
Collaborator

To reconstruct a batched Trove's transaction history, we have to take into account not only the actions of the owner (and add/remove-managers) but also the actions of the batch manager.

If the batch manager makes a premature interest rate adjustment, the entire batch incurs an upfront fee. We include this fee in the BatchUpdated event so that the individual fees incurred by each Trove within the batch can be calculated.

To reconstruct a batched Trove's transaction history, we have
to take into account not only the actions of the owner (and
add/remove-managers) but also the actions of the batch manager.

If the batch manager makes a premature interest rate adjustment,
the entire batch incurs an upfront fee. We include this fee in
the `BatchUpdated` event so that the individual fees incurred
by each Trove within the batch can be calculated.
Copy link
Collaborator

@bingen bingen left a comment

Choose a reason for hiding this comment

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

Looks good!

@danielattilasimon danielattilasimon merged commit 65db4b3 into main Sep 6, 2024
6 of 7 checks passed
@danielattilasimon danielattilasimon deleted the batch-upfront-fee branch January 19, 2025 04:23
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