-
Notifications
You must be signed in to change notification settings - Fork 5
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
feat: Create Pool With Liquidity #70
Conversation
…, on_pool_register_with_funds_reply in router
…PLY_ID in factory,
…h_funds in factory
…stPoolCreationWithFunds
…unds, PENDING_POOL_WITH_LIQUIDITY_REQUESTS in factory state
funds: vec![], | ||
label: "escrow".to_string(), | ||
}); | ||
PENDING_DEPOSIT_TOKEN.save(deps.storage, token.clone().token, &token)?; |
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.
Should we update our escrow contract instatiate msg to receive funds during instantiate? Note - If we use this approach, it should be able to use both native and cw20 funds
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.
I thought about this but wasn't sure how to handle cw20 funds
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.
We can try Instantiate2, let discuss this and implement it in another PR
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.
Changes requested for core logic. Review for testing is in progress.
This reverts commit be88663.
…ty_request, FUNDS_INFO item in router, call ibc_execute_add_liquidity in pool_register_reply
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.
LGTM!
Future Updates
- Remove Request Pool With funds code
Pull Request
Description
Allows to create a pool with liquidity
Type of Change
Related Issue
[Link to related issue, if applicable]
Testing
Integration test using
cw-orch
infactory.rs
Checklist
Screenshots (if applicable)
[Add screenshots here]
Additional Notes
Still a work in progress