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

Math refactor #283

Merged
merged 5 commits into from
Aug 7, 2023
Merged

Math refactor #283

merged 5 commits into from
Aug 7, 2023

Conversation

cnek
Copy link
Contributor

@cnek cnek commented Jul 28, 2023

breaking down #280
the renaming part of existing ixs,

  • MathError -> MathOverflow
  • BPS_POW -> BPS_DECIMAL
  • BPS_UNIT_CONVERSION -> BPS_POWER

@crypto-vincent
Copy link
Contributor

LGTM, just wondering where those functions come from ? most of the new functions look unused, do we want to commit only the ones we need ? or is that part of a copy/pasted lib ?

crypto-vincent
crypto-vincent previously approved these changes Jul 29, 2023
@acamill acamill mentioned this pull request Jul 31, 2023
@acamill
Copy link
Member

acamill commented Jul 31, 2023

Ideally we would replace the old maths with the new one, but let's start with new code instead

acamill
acamill previously approved these changes Jul 31, 2023
@crypto-vincent crypto-vincent dismissed stale reviews from acamill and themself via 4d23461 August 7, 2023 00:18
@acamill acamill merged commit a393fcc into develop Aug 7, 2023
10 checks passed
@acamill acamill deleted the cnek/improve-math branch August 7, 2023 00:44
cnek added a commit that referenced this pull request Sep 4, 2023
* [Update] Updating tests to credix 0.7.5 update (#279)

* branches update

* [Router] Make all mint/redeem IXs permissioned (except router) (#281)

* Math refactor (#283)

* math improvement

* added back metadata.address

* mod fix

* update solana and uxd-cpi version

---------

Co-authored-by: Vincent Brunet <[email protected]>

* [Credix] Bug Fix: Under-requested rebalancing (#289)

* [Router] Enforce redeem outflow limitations (#288)

* updated readme

* minor

* correct-merging-mistake

---------

Co-authored-by: uxd-vincent <[email protected]>
Co-authored-by: Vincent Brunet <[email protected]>
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