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

refactor!: rename premium fraction #878

Merged
merged 5 commits into from
Sep 9, 2022

Conversation

NibiruHeisenberg
Copy link
Contributor

@NibiruHeisenberg NibiruHeisenberg commented Sep 8, 2022

Description

Renames PremiumFraction to the appropriate name FundingRate and FundingPayment.

Also changes the funding-payments query to funding-rate.

Purpose

Remove confusing entity names from the codebase and makes the code more concise.

@NibiruHeisenberg NibiruHeisenberg requested a review from a team as a code owner September 8, 2022 17:36
@NibiruHeisenberg NibiruHeisenberg enabled auto-merge (squash) September 8, 2022 17:37
@NibiruHeisenberg NibiruHeisenberg self-assigned this Sep 8, 2022
@NibiruHeisenberg NibiruHeisenberg added this to the Mainnet V1 milestone Sep 8, 2022
Copy link
Collaborator

@testinginprod testinginprod left a comment

Choose a reason for hiding this comment

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

ty for API clarity

@NibiruHeisenberg NibiruHeisenberg merged commit ff57f93 into master Sep 9, 2022
@NibiruHeisenberg NibiruHeisenberg deleted the refactor/cumulative-funding-rate branch September 9, 2022 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

refactor(perp): Rename CumulativePremiumFractions to CumulativeFundingRate
3 participants