-
Notifications
You must be signed in to change notification settings - Fork 24
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
Kent 3/liquidity orderbook #382
Conversation
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)?; |
There was a problem hiding this comment.
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()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added admin auth
8565a68
to
c4aa9a8
Compare
it was being included in CI automatically
* 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>
* 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>
Description
Merging my long-running branch with this one.
Notable changes
&mut self
Next steps