Skip to content

Kent 3/liquidity orderbook #382

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

Merged
merged 42 commits into from
Nov 27, 2023

Conversation

kent-3
Copy link

@kent-3 kent-3 commented Nov 16, 2023

Description

Merging my long-running branch with this one.

Notable changes

  • change the query return types to Binary (much easier to read IMO)
  • changes to some library methods to take and return &mut self
  • small fixes and improvement here and there

Next steps

  • study the changes closely to make sure there are no accidental deletions

info: MessageInfo,
new_lb_pair_implementation: ContractInstantiationInfo,
) -> Result<Response> {
let state = CONFIG.load(deps.storage)?;
let config = CONFIG.load(deps.storage)?;
only_owner(&info.sender, &config.owner)?;

Choose a reason for hiding this comment

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

actually while creating the lb-pair-implementation we have option to whether let people set implementations for this specific pair or not so no need to only_owner()

Choose a reason for hiding this comment

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

@kent-3 kent-3 force-pushed the kent-3/liquidity-orderbook branch from 8565a68 to c4aa9a8 Compare November 20, 2023 15:01
@kent-3 kent-3 merged commit c2b4173 into liquidity-orderbook-develop Nov 27, 2023
@kent-3 kent-3 deleted the kent-3/liquidity-orderbook branch November 27, 2023 21:22
kent-3 added a commit that referenced this pull request Nov 27, 2023
* rough start

* close, lots of missing imports

* fixed errors in basic_staking

* Added admin_auth

* added lbAdmin

* fixes

* Lp + Dao fees

* cargo fmt

* delete unused file

* organize contract interfaces a bit

* library improvements

* misc improvements to lb_factory

* misc improvements to lb_pair

* small test improvements

* just git merge things

* use shade c_std instead of cosmwasm_std

* uncomment GetPairInfo and SwapSimulation

* addressing build warnings

* add some cargo helpers for lb contracts

* remove comparison that is always true

* cleanup

* delete old shadeswap_shared package

* fix errors and warnings, add router interface

* dependency fixes and formatting

* dependency fixes and formatting

* refactoring TokenType

* delete old shadeswap_shared again

* fixing merge mistake

* cargo +nightly fmt

* use swap::core for TokenAmount and TokenType

* fix unused doc comments

* finally fixed shade-protocol build issue

* dependency mods

* refactor lb_libraries

* build success

* remove archive_lb_router

it was being included in CI automatically

* fix test dependencies, run some tests in serial

* try to fix CI

* rand crate causes errors with wasm target

---------

Co-authored-by: DrPresident <jacksonswenson@securesecrets.org>
Co-authored-by: itshaseebsaeed <haseebsyed30000@gmail.com>
Co-authored-by: Haseeb Saeed <34556583+itsHaseebSaeed@users.noreply.github.com>
kent-3 added a commit that referenced this pull request Jan 12, 2024
* rough start

* close, lots of missing imports

* fixed errors in basic_staking

* Added admin_auth

* added lbAdmin

* fixes

* Lp + Dao fees

* cargo fmt

* delete unused file

* organize contract interfaces a bit

* library improvements

* misc improvements to lb_factory

* misc improvements to lb_pair

* small test improvements

* just git merge things

* use shade c_std instead of cosmwasm_std

* uncomment GetPairInfo and SwapSimulation

* addressing build warnings

* add some cargo helpers for lb contracts

* remove comparison that is always true

* cleanup

* delete old shadeswap_shared package

* fix errors and warnings, add router interface

* dependency fixes and formatting

* dependency fixes and formatting

* refactoring TokenType

* delete old shadeswap_shared again

* fixing merge mistake

* cargo +nightly fmt

* use swap::core for TokenAmount and TokenType

* fix unused doc comments

* finally fixed shade-protocol build issue

* dependency mods

* refactor lb_libraries

* build success

* remove archive_lb_router

it was being included in CI automatically

* fix test dependencies, run some tests in serial

* try to fix CI

* rand crate causes errors with wasm target

---------

Co-authored-by: DrPresident <jacksonswenson@securesecrets.org>
Co-authored-by: itshaseebsaeed <haseebsyed30000@gmail.com>
Co-authored-by: Haseeb Saeed <34556583+itsHaseebSaeed@users.noreply.github.com>
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