-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: renaming variables for readability
Renamed the following variables: * `xcp_profit` -> `profit` Because although profit is computed from xcp it creates confusion in contexts where both `xcp` and `xcp_profit` where present. * `xcp_profit_a` -> `profit_checkpoint` For similar reasons to `xcp_profit` + `_a` suffix not having a clear meaning. * `p_new` -> `new_price_scale` Because `p` can be many things in a pool, better to be specific. Created getter for public variables that got their name changed since ABI shouldn't change.
- Loading branch information
1 parent
71d840d
commit d1d80ad
Showing
1 changed file
with
44 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters