-
Notifications
You must be signed in to change notification settings - Fork 46
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
Development #17
Merged
Merged
Development #17
Conversation
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
…an to reflect least and most significant bits
0xKitsune
added a commit
that referenced
this pull request
Jan 1, 2023
* Development (#17) * exposed min and max tick constants as public, updated version and cargo lock * bumped version to 0.2.4 * bumping to v 0.2.5 * added constants for MIN_SQRT_RATIO and MAX_SQRT_RATIO, bumped version * removed unneeded import * Overflow/Underflow in tick_bit_map.rs, changed little endian/big endian to reflect least and most significant bits * patching next_initialized_tick_within_one_word * bumping version to 0.2.8 * updated mulmod to use ruint * patched overflow on left shift during next_initialized_tick_within_one_word * patched compute swap step, updated I256 -> U256 conversion * patched mulmod, bumping version * patching mulmod to allow overflowing mul * patching muldiv to allow overflowing/underflowing * updated mulmod to use ruint * fixed clippy warnings and merged main * bumped to 0.2.14 Co-authored-by: Leyton <leytontaylor23@gmail.com> * use arithmetic operators * run clippy --fix * errors and is_zero * more unnecessary parens * bump ethers * rm main.rs in library * negatives * minor nits * revert negatives .is_negative is not lt(0) but lte(0) * last unnecessary parens * propagate middleware error * final touches * final last unnecessary parens * fix wrong placement * fixed compilation errors, fixed failing tests * fixed clippy warnings, ran formatting Co-authored-by: 0xKitsune <77890308+0xKitsune@users.noreply.github.com> Co-authored-by: Leyton <leytontaylor23@gmail.com> Co-authored-by: 0xKitsune <0xKitsune@protonmail.com>
0xKitsune
added a commit
that referenced
this pull request
Jan 2, 2023
* exposed min and max tick constants as public, updated version and cargo lock * bumped version to 0.2.4 * bumping to v 0.2.5 * added constants for MIN_SQRT_RATIO and MAX_SQRT_RATIO, bumped version * removed unneeded import * Overflow/Underflow in tick_bit_map.rs, changed little endian/big endian to reflect least and most significant bits * patching next_initialized_tick_within_one_word * bumping version to 0.2.8 * updated mulmod to use ruint * patched overflow on left shift during next_initialized_tick_within_one_word * patched compute swap step, updated I256 -> U256 conversion * patched mulmod, bumping version * patching mulmod to allow overflowing mul * patching muldiv to allow overflowing/underflowing * updated mulmod to use ruint * fixed clippy warnings and merged main * bumped to 0.2.14 * add_delta Patches and tests * updated muldiv to use ruint * patched bug that used exp instead of bitor, updating tests * patched bitor to bitxor within muldiv, all tests passing * added all univ3 tests for add delta * added tests for sqrt price math * removed unneeded test * amount out delta tests written, something wrong with encode sqrt price * added all tests for get amount out 0 * updating version * moved tests for _get_amount_0_delta * adding tests for test_get_next_sqrt_price_from_input * added get amount 1 delta private * updated tests * patched test_get_next_sqrt_price_from_output test * test_get_next_sqrt_price_from_input passing * added more tests for get_next_sqrt_price_from_input, all passing * updated tests * added all tests for get_next_sqrt_price_from_output * all tests passing for sqrt_price_math * bumping version to 0.2.16 * Compute swap step unit test * Pushing compute swap step parity unit tests * Swap math tests * Removing supes * Bumping version * Pushing changes in tick math * Pushing changes * patched get_sqrt_ratio_at_tick tests * fixed typos, removed cross function * bumped to 0.2.18 * added tests for msb and lsb * added lsb and msb * added all tests for msb * lsb updated and all tests added * updated next_initialized_tick_within_one_word to use msb and lsb * Improve readability (#18) * Development (#17) * exposed min and max tick constants as public, updated version and cargo lock * bumped version to 0.2.4 * bumping to v 0.2.5 * added constants for MIN_SQRT_RATIO and MAX_SQRT_RATIO, bumped version * removed unneeded import * Overflow/Underflow in tick_bit_map.rs, changed little endian/big endian to reflect least and most significant bits * patching next_initialized_tick_within_one_word * bumping version to 0.2.8 * updated mulmod to use ruint * patched overflow on left shift during next_initialized_tick_within_one_word * patched compute swap step, updated I256 -> U256 conversion * patched mulmod, bumping version * patching mulmod to allow overflowing mul * patching muldiv to allow overflowing/underflowing * updated mulmod to use ruint * fixed clippy warnings and merged main * bumped to 0.2.14 Co-authored-by: Leyton <leytontaylor23@gmail.com> * use arithmetic operators * run clippy --fix * errors and is_zero * more unnecessary parens * bump ethers * rm main.rs in library * negatives * minor nits * revert negatives .is_negative is not lt(0) but lte(0) * last unnecessary parens * propagate middleware error * final touches * final last unnecessary parens * fix wrong placement * fixed compilation errors, fixed failing tests * fixed clippy warnings, ran formatting Co-authored-by: 0xKitsune <77890308+0xKitsune@users.noreply.github.com> Co-authored-by: Leyton <leytontaylor23@gmail.com> Co-authored-by: 0xKitsune <0xKitsune@protonmail.com> Co-authored-by: Leyton <leytontaylor23@gmail.com> Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com>
0xKitsune
added a commit
that referenced
this pull request
Jan 2, 2023
* exposed min and max tick constants as public, updated version and cargo lock * bumped version to 0.2.4 * bumping to v 0.2.5 * added constants for MIN_SQRT_RATIO and MAX_SQRT_RATIO, bumped version * removed unneeded import * Overflow/Underflow in tick_bit_map.rs, changed little endian/big endian to reflect least and most significant bits * patching next_initialized_tick_within_one_word * bumping version to 0.2.8 * updated mulmod to use ruint * patched overflow on left shift during next_initialized_tick_within_one_word * patched compute swap step, updated I256 -> U256 conversion * patched mulmod, bumping version * patching mulmod to allow overflowing mul * patching muldiv to allow overflowing/underflowing * updated mulmod to use ruint * fixed clippy warnings and merged main * bumped to 0.2.14 * add_delta Patches and tests * updated muldiv to use ruint * patched bug that used exp instead of bitor, updating tests * patched bitor to bitxor within muldiv, all tests passing * added all univ3 tests for add delta * added tests for sqrt price math * removed unneeded test * amount out delta tests written, something wrong with encode sqrt price * added all tests for get amount out 0 * updating version * moved tests for _get_amount_0_delta * adding tests for test_get_next_sqrt_price_from_input * added get amount 1 delta private * updated tests * patched test_get_next_sqrt_price_from_output test * test_get_next_sqrt_price_from_input passing * added more tests for get_next_sqrt_price_from_input, all passing * updated tests * added all tests for get_next_sqrt_price_from_output * all tests passing for sqrt_price_math * bumping version to 0.2.16 * Compute swap step unit test * Pushing compute swap step parity unit tests * Swap math tests * Removing supes * Bumping version * Pushing changes in tick math * Pushing changes * patched get_sqrt_ratio_at_tick tests * fixed typos, removed cross function * bumped to 0.2.18 * added tests for msb and lsb * added lsb and msb * added all tests for msb * lsb updated and all tests added * updated next_initialized_tick_within_one_word to use msb and lsb * Improve readability (#18) * Development (#17) * exposed min and max tick constants as public, updated version and cargo lock * bumped version to 0.2.4 * bumping to v 0.2.5 * added constants for MIN_SQRT_RATIO and MAX_SQRT_RATIO, bumped version * removed unneeded import * Overflow/Underflow in tick_bit_map.rs, changed little endian/big endian to reflect least and most significant bits * patching next_initialized_tick_within_one_word * bumping version to 0.2.8 * updated mulmod to use ruint * patched overflow on left shift during next_initialized_tick_within_one_word * patched compute swap step, updated I256 -> U256 conversion * patched mulmod, bumping version * patching mulmod to allow overflowing mul * patching muldiv to allow overflowing/underflowing * updated mulmod to use ruint * fixed clippy warnings and merged main * bumped to 0.2.14 Co-authored-by: Leyton <leytontaylor23@gmail.com> * use arithmetic operators * run clippy --fix * errors and is_zero * more unnecessary parens * bump ethers * rm main.rs in library * negatives * minor nits * revert negatives .is_negative is not lt(0) but lte(0) * last unnecessary parens * propagate middleware error * final touches * final last unnecessary parens * fix wrong placement * fixed compilation errors, fixed failing tests * fixed clippy warnings, ran formatting Co-authored-by: 0xKitsune <77890308+0xKitsune@users.noreply.github.com> Co-authored-by: Leyton <leytontaylor23@gmail.com> Co-authored-by: 0xKitsune <0xKitsune@protonmail.com> * updated version to 0.2.19 Co-authored-by: Leyton <leytontaylor23@gmail.com> Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com>
0xKitsune
added a commit
that referenced
this pull request
Jan 2, 2023
* exposed min and max tick constants as public, updated version and cargo lock * bumped version to 0.2.4 * bumping to v 0.2.5 * added constants for MIN_SQRT_RATIO and MAX_SQRT_RATIO, bumped version * removed unneeded import * Overflow/Underflow in tick_bit_map.rs, changed little endian/big endian to reflect least and most significant bits * patching next_initialized_tick_within_one_word * bumping version to 0.2.8 * updated mulmod to use ruint * patched overflow on left shift during next_initialized_tick_within_one_word * patched compute swap step, updated I256 -> U256 conversion * patched mulmod, bumping version * patching mulmod to allow overflowing mul * patching muldiv to allow overflowing/underflowing * updated mulmod to use ruint * fixed clippy warnings and merged main * bumped to 0.2.14 * add_delta Patches and tests * updated muldiv to use ruint * patched bug that used exp instead of bitor, updating tests * patched bitor to bitxor within muldiv, all tests passing * added all univ3 tests for add delta * added tests for sqrt price math * removed unneeded test * amount out delta tests written, something wrong with encode sqrt price * added all tests for get amount out 0 * updating version * moved tests for _get_amount_0_delta * adding tests for test_get_next_sqrt_price_from_input * added get amount 1 delta private * updated tests * patched test_get_next_sqrt_price_from_output test * test_get_next_sqrt_price_from_input passing * added more tests for get_next_sqrt_price_from_input, all passing * updated tests * added all tests for get_next_sqrt_price_from_output * all tests passing for sqrt_price_math * bumping version to 0.2.16 * Compute swap step unit test * Pushing compute swap step parity unit tests * Swap math tests * Removing supes * Bumping version * Pushing changes in tick math * Pushing changes * patched get_sqrt_ratio_at_tick tests * fixed typos, removed cross function * bumped to 0.2.18 * added tests for msb and lsb * added lsb and msb * added all tests for msb * lsb updated and all tests added * updated next_initialized_tick_within_one_word to use msb and lsb * Improve readability (#18) * Development (#17) * exposed min and max tick constants as public, updated version and cargo lock * bumped version to 0.2.4 * bumping to v 0.2.5 * added constants for MIN_SQRT_RATIO and MAX_SQRT_RATIO, bumped version * removed unneeded import * Overflow/Underflow in tick_bit_map.rs, changed little endian/big endian to reflect least and most significant bits * patching next_initialized_tick_within_one_word * bumping version to 0.2.8 * updated mulmod to use ruint * patched overflow on left shift during next_initialized_tick_within_one_word * patched compute swap step, updated I256 -> U256 conversion * patched mulmod, bumping version * patching mulmod to allow overflowing mul * patching muldiv to allow overflowing/underflowing * updated mulmod to use ruint * fixed clippy warnings and merged main * bumped to 0.2.14 Co-authored-by: Leyton <leytontaylor23@gmail.com> * use arithmetic operators * run clippy --fix * errors and is_zero * more unnecessary parens * bump ethers * rm main.rs in library * negatives * minor nits * revert negatives .is_negative is not lt(0) but lte(0) * last unnecessary parens * propagate middleware error * final touches * final last unnecessary parens * fix wrong placement * fixed compilation errors, fixed failing tests * fixed clippy warnings, ran formatting Co-authored-by: 0xKitsune <77890308+0xKitsune@users.noreply.github.com> Co-authored-by: Leyton <leytontaylor23@gmail.com> Co-authored-by: 0xKitsune <0xKitsune@protonmail.com> * updated version to 0.2.19 * Patches in nextInitializedTickWithinWord Co-authored-by: 0xKitsune <0xKitsune@protonmail.com> Co-authored-by: 0xKitsune <77890308+0xKitsune@users.noreply.github.com> Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com>
0xKitsune
added a commit
that referenced
this pull request
Jan 3, 2023
* exposed min and max tick constants as public, updated version and cargo lock * bumped version to 0.2.4 * bumping to v 0.2.5 * added constants for MIN_SQRT_RATIO and MAX_SQRT_RATIO, bumped version * removed unneeded import * Overflow/Underflow in tick_bit_map.rs, changed little endian/big endian to reflect least and most significant bits * patching next_initialized_tick_within_one_word * bumping version to 0.2.8 * updated mulmod to use ruint * patched overflow on left shift during next_initialized_tick_within_one_word * patched compute swap step, updated I256 -> U256 conversion * patched mulmod, bumping version * patching mulmod to allow overflowing mul * patching muldiv to allow overflowing/underflowing * updated mulmod to use ruint * fixed clippy warnings and merged main * bumped to 0.2.14 * add_delta Patches and tests * updated muldiv to use ruint * patched bug that used exp instead of bitor, updating tests * patched bitor to bitxor within muldiv, all tests passing * added all univ3 tests for add delta * added tests for sqrt price math * removed unneeded test * amount out delta tests written, something wrong with encode sqrt price * added all tests for get amount out 0 * updating version * moved tests for _get_amount_0_delta * adding tests for test_get_next_sqrt_price_from_input * added get amount 1 delta private * updated tests * patched test_get_next_sqrt_price_from_output test * test_get_next_sqrt_price_from_input passing * added more tests for get_next_sqrt_price_from_input, all passing * updated tests * added all tests for get_next_sqrt_price_from_output * all tests passing for sqrt_price_math * bumping version to 0.2.16 * Compute swap step unit test * Pushing compute swap step parity unit tests * Swap math tests * Removing supes * Bumping version * Pushing changes in tick math * Pushing changes * patched get_sqrt_ratio_at_tick tests * fixed typos, removed cross function * bumped to 0.2.18 * added tests for msb and lsb * added lsb and msb * added all tests for msb * lsb updated and all tests added * updated next_initialized_tick_within_one_word to use msb and lsb * Improve readability (#18) * Development (#17) * exposed min and max tick constants as public, updated version and cargo lock * bumped version to 0.2.4 * bumping to v 0.2.5 * added constants for MIN_SQRT_RATIO and MAX_SQRT_RATIO, bumped version * removed unneeded import * Overflow/Underflow in tick_bit_map.rs, changed little endian/big endian to reflect least and most significant bits * patching next_initialized_tick_within_one_word * bumping version to 0.2.8 * updated mulmod to use ruint * patched overflow on left shift during next_initialized_tick_within_one_word * patched compute swap step, updated I256 -> U256 conversion * patched mulmod, bumping version * patching mulmod to allow overflowing mul * patching muldiv to allow overflowing/underflowing * updated mulmod to use ruint * fixed clippy warnings and merged main * bumped to 0.2.14 Co-authored-by: Leyton <leytontaylor23@gmail.com> * use arithmetic operators * run clippy --fix * errors and is_zero * more unnecessary parens * bump ethers * rm main.rs in library * negatives * minor nits * revert negatives .is_negative is not lt(0) but lte(0) * last unnecessary parens * propagate middleware error * final touches * final last unnecessary parens * fix wrong placement * fixed compilation errors, fixed failing tests * fixed clippy warnings, ran formatting Co-authored-by: 0xKitsune <77890308+0xKitsune@users.noreply.github.com> Co-authored-by: Leyton <leytontaylor23@gmail.com> Co-authored-by: 0xKitsune <0xKitsune@protonmail.com> * updated version to 0.2.19 * Patches in nextInitializedTickWithinWord * patched next_initialized_tick_within_one_word and bumped version * patched sqrt price math and swap math functions, bumped version to 0.2.22 Co-authored-by: Leyton <leytontaylor23@gmail.com> Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com>
0xKitsune
added a commit
that referenced
this pull request
Jan 20, 2023
* Development (#22) * exposed min and max tick constants as public, updated version and cargo lock * bumped version to 0.2.4 * bumping to v 0.2.5 * added constants for MIN_SQRT_RATIO and MAX_SQRT_RATIO, bumped version * removed unneeded import * Overflow/Underflow in tick_bit_map.rs, changed little endian/big endian to reflect least and most significant bits * patching next_initialized_tick_within_one_word * bumping version to 0.2.8 * updated mulmod to use ruint * patched overflow on left shift during next_initialized_tick_within_one_word * patched compute swap step, updated I256 -> U256 conversion * patched mulmod, bumping version * patching mulmod to allow overflowing mul * patching muldiv to allow overflowing/underflowing * updated mulmod to use ruint * fixed clippy warnings and merged main * bumped to 0.2.14 * add_delta Patches and tests * updated muldiv to use ruint * patched bug that used exp instead of bitor, updating tests * patched bitor to bitxor within muldiv, all tests passing * added all univ3 tests for add delta * added tests for sqrt price math * removed unneeded test * amount out delta tests written, something wrong with encode sqrt price * added all tests for get amount out 0 * updating version * moved tests for _get_amount_0_delta * adding tests for test_get_next_sqrt_price_from_input * added get amount 1 delta private * updated tests * patched test_get_next_sqrt_price_from_output test * test_get_next_sqrt_price_from_input passing * added more tests for get_next_sqrt_price_from_input, all passing * updated tests * added all tests for get_next_sqrt_price_from_output * all tests passing for sqrt_price_math * bumping version to 0.2.16 * Compute swap step unit test * Pushing compute swap step parity unit tests * Swap math tests * Removing supes * Bumping version * Pushing changes in tick math * Pushing changes * patched get_sqrt_ratio_at_tick tests * fixed typos, removed cross function * bumped to 0.2.18 * added tests for msb and lsb * added lsb and msb * added all tests for msb * lsb updated and all tests added * updated next_initialized_tick_within_one_word to use msb and lsb * Improve readability (#18) * Development (#17) * exposed min and max tick constants as public, updated version and cargo lock * bumped version to 0.2.4 * bumping to v 0.2.5 * added constants for MIN_SQRT_RATIO and MAX_SQRT_RATIO, bumped version * removed unneeded import * Overflow/Underflow in tick_bit_map.rs, changed little endian/big endian to reflect least and most significant bits * patching next_initialized_tick_within_one_word * bumping version to 0.2.8 * updated mulmod to use ruint * patched overflow on left shift during next_initialized_tick_within_one_word * patched compute swap step, updated I256 -> U256 conversion * patched mulmod, bumping version * patching mulmod to allow overflowing mul * patching muldiv to allow overflowing/underflowing * updated mulmod to use ruint * fixed clippy warnings and merged main * bumped to 0.2.14 Co-authored-by: Leyton <leytontaylor23@gmail.com> * use arithmetic operators * run clippy --fix * errors and is_zero * more unnecessary parens * bump ethers * rm main.rs in library * negatives * minor nits * revert negatives .is_negative is not lt(0) but lte(0) * last unnecessary parens * propagate middleware error * final touches * final last unnecessary parens * fix wrong placement * fixed compilation errors, fixed failing tests * fixed clippy warnings, ran formatting Co-authored-by: 0xKitsune <77890308+0xKitsune@users.noreply.github.com> Co-authored-by: Leyton <leytontaylor23@gmail.com> Co-authored-by: 0xKitsune <0xKitsune@protonmail.com> * updated version to 0.2.19 * Patches in nextInitializedTickWithinWord * patched next_initialized_tick_within_one_word and bumped version * patched sqrt price math and swap math functions, bumped version to 0.2.22 Co-authored-by: Leyton <leytontaylor23@gmail.com> Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com> * Seperated next_initialized_tick_within_one_word into two functions, one with an external call and one without * Clippy and formatting Co-authored-by: 0xKitsune <77890308+0xKitsune@users.noreply.github.com> Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com>
0xKitsune
added a commit
that referenced
this pull request
Feb 1, 2023
* exposed min and max tick constants as public, updated version and cargo lock * bumped version to 0.2.4 * bumping to v 0.2.5 * added constants for MIN_SQRT_RATIO and MAX_SQRT_RATIO, bumped version * removed unneeded import * Overflow/Underflow in tick_bit_map.rs, changed little endian/big endian to reflect least and most significant bits * patching next_initialized_tick_within_one_word * bumping version to 0.2.8 * updated mulmod to use ruint * patched overflow on left shift during next_initialized_tick_within_one_word * patched compute swap step, updated I256 -> U256 conversion * patched mulmod, bumping version * patching mulmod to allow overflowing mul * patching muldiv to allow overflowing/underflowing * updated mulmod to use ruint * fixed clippy warnings and merged main * bumped to 0.2.14 * add_delta Patches and tests * updated muldiv to use ruint * patched bug that used exp instead of bitor, updating tests * patched bitor to bitxor within muldiv, all tests passing * added all univ3 tests for add delta * added tests for sqrt price math * removed unneeded test * amount out delta tests written, something wrong with encode sqrt price * added all tests for get amount out 0 * updating version * moved tests for _get_amount_0_delta * adding tests for test_get_next_sqrt_price_from_input * added get amount 1 delta private * updated tests * patched test_get_next_sqrt_price_from_output test * test_get_next_sqrt_price_from_input passing * added more tests for get_next_sqrt_price_from_input, all passing * updated tests * added all tests for get_next_sqrt_price_from_output * all tests passing for sqrt_price_math * bumping version to 0.2.16 * Compute swap step unit test * Pushing compute swap step parity unit tests * Swap math tests * Removing supes * Bumping version * Pushing changes in tick math * Pushing changes * patched get_sqrt_ratio_at_tick tests * fixed typos, removed cross function * bumped to 0.2.18 * added tests for msb and lsb * added lsb and msb * added all tests for msb * lsb updated and all tests added * updated next_initialized_tick_within_one_word to use msb and lsb * Improve readability (#18) * Development (#17) * exposed min and max tick constants as public, updated version and cargo lock * bumped version to 0.2.4 * bumping to v 0.2.5 * added constants for MIN_SQRT_RATIO and MAX_SQRT_RATIO, bumped version * removed unneeded import * Overflow/Underflow in tick_bit_map.rs, changed little endian/big endian to reflect least and most significant bits * patching next_initialized_tick_within_one_word * bumping version to 0.2.8 * updated mulmod to use ruint * patched overflow on left shift during next_initialized_tick_within_one_word * patched compute swap step, updated I256 -> U256 conversion * patched mulmod, bumping version * patching mulmod to allow overflowing mul * patching muldiv to allow overflowing/underflowing * updated mulmod to use ruint * fixed clippy warnings and merged main * bumped to 0.2.14 Co-authored-by: Leyton <leytontaylor23@gmail.com> * use arithmetic operators * run clippy --fix * errors and is_zero * more unnecessary parens * bump ethers * rm main.rs in library * negatives * minor nits * revert negatives .is_negative is not lt(0) but lte(0) * last unnecessary parens * propagate middleware error * final touches * final last unnecessary parens * fix wrong placement * fixed compilation errors, fixed failing tests * fixed clippy warnings, ran formatting Co-authored-by: 0xKitsune <77890308+0xKitsune@users.noreply.github.com> Co-authored-by: Leyton <leytontaylor23@gmail.com> Co-authored-by: 0xKitsune <0xKitsune@protonmail.com> * updated version to 0.2.19 * Patches in nextInitializedTickWithinWord * patched next_initialized_tick_within_one_word and bumped version * patched sqrt price math and swap math functions, bumped version to 0.2.22 * Tick word call removal (#25) * Development (#22) * exposed min and max tick constants as public, updated version and cargo lock * bumped version to 0.2.4 * bumping to v 0.2.5 * added constants for MIN_SQRT_RATIO and MAX_SQRT_RATIO, bumped version * removed unneeded import * Overflow/Underflow in tick_bit_map.rs, changed little endian/big endian to reflect least and most significant bits * patching next_initialized_tick_within_one_word * bumping version to 0.2.8 * updated mulmod to use ruint * patched overflow on left shift during next_initialized_tick_within_one_word * patched compute swap step, updated I256 -> U256 conversion * patched mulmod, bumping version * patching mulmod to allow overflowing mul * patching muldiv to allow overflowing/underflowing * updated mulmod to use ruint * fixed clippy warnings and merged main * bumped to 0.2.14 * add_delta Patches and tests * updated muldiv to use ruint * patched bug that used exp instead of bitor, updating tests * patched bitor to bitxor within muldiv, all tests passing * added all univ3 tests for add delta * added tests for sqrt price math * removed unneeded test * amount out delta tests written, something wrong with encode sqrt price * added all tests for get amount out 0 * updating version * moved tests for _get_amount_0_delta * adding tests for test_get_next_sqrt_price_from_input * added get amount 1 delta private * updated tests * patched test_get_next_sqrt_price_from_output test * test_get_next_sqrt_price_from_input passing * added more tests for get_next_sqrt_price_from_input, all passing * updated tests * added all tests for get_next_sqrt_price_from_output * all tests passing for sqrt_price_math * bumping version to 0.2.16 * Compute swap step unit test * Pushing compute swap step parity unit tests * Swap math tests * Removing supes * Bumping version * Pushing changes in tick math * Pushing changes * patched get_sqrt_ratio_at_tick tests * fixed typos, removed cross function * bumped to 0.2.18 * added tests for msb and lsb * added lsb and msb * added all tests for msb * lsb updated and all tests added * updated next_initialized_tick_within_one_word to use msb and lsb * Improve readability (#18) * Development (#17) * exposed min and max tick constants as public, updated version and cargo lock * bumped version to 0.2.4 * bumping to v 0.2.5 * added constants for MIN_SQRT_RATIO and MAX_SQRT_RATIO, bumped version * removed unneeded import * Overflow/Underflow in tick_bit_map.rs, changed little endian/big endian to reflect least and most significant bits * patching next_initialized_tick_within_one_word * bumping version to 0.2.8 * updated mulmod to use ruint * patched overflow on left shift during next_initialized_tick_within_one_word * patched compute swap step, updated I256 -> U256 conversion * patched mulmod, bumping version * patching mulmod to allow overflowing mul * patching muldiv to allow overflowing/underflowing * updated mulmod to use ruint * fixed clippy warnings and merged main * bumped to 0.2.14 Co-authored-by: Leyton <leytontaylor23@gmail.com> * use arithmetic operators * run clippy --fix * errors and is_zero * more unnecessary parens * bump ethers * rm main.rs in library * negatives * minor nits * revert negatives .is_negative is not lt(0) but lte(0) * last unnecessary parens * propagate middleware error * final touches * final last unnecessary parens * fix wrong placement * fixed compilation errors, fixed failing tests * fixed clippy warnings, ran formatting Co-authored-by: 0xKitsune <77890308+0xKitsune@users.noreply.github.com> Co-authored-by: Leyton <leytontaylor23@gmail.com> Co-authored-by: 0xKitsune <0xKitsune@protonmail.com> * updated version to 0.2.19 * Patches in nextInitializedTickWithinWord * patched next_initialized_tick_within_one_word and bumped version * patched sqrt price math and swap math functions, bumped version to 0.2.22 Co-authored-by: Leyton <leytontaylor23@gmail.com> Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com> * Seperated next_initialized_tick_within_one_word into two functions, one with an external call and one without * Clippy and formatting Co-authored-by: 0xKitsune <77890308+0xKitsune@users.noreply.github.com> Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com> * bumped version to 0.2.23 * removed async from next_initialized_tick_within_one_word --------- Co-authored-by: Leyton <leytontaylor23@gmail.com> Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.