-
Notifications
You must be signed in to change notification settings - Fork 2
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
[TALENT] As a user with an EVM Wallet who wants to Buy/Sell on Paloma, I want a bot to complete my trades #2523
Comments
Where does this swap happen? @taariq |
Good question. @webelf101 let's do the swap on Uniswap. |
@taariq Should I receive PUSD on EVM and send back to Paloma and buy the token on Bonding Curve again? How about buy the token on Paloma directly without sending PUSD on EVM and get back to Paloma and buy the Bonding Curve token again? |
@webelf101 if we assume that all our users have no Paloma address, how will we do as you propose and. maintain non custodial control? |
PUSD should go to our CW. Even though we are going to send PUSD to Skyway bridge, PUSD should go to CW. |
@webelf101 This makes sense as long as the Paloma maintains NO custodial holding of the users PUSD on Volume's servers. So the PUSD manager will trade directly with the bonding curve and the bot will send the user's resulting tokens to their evm wallet. Did I reflect correctly? |
@taariq No, actually, bonding curve vyper contract receives user's token and swap it into USDT on Uniswap v3. And it deposits USDT to PUSD manager. PUSD manager doesn't interact with bonding curve directly but the manager sends PUSD to bonding curve bot CW. and the bonding curve bot cw will buy token using pusd by interacting with bonding curve cw. After that, the bonding curve bot cw will send the bought token to user's evm wallet using skyway bridge. |
@webelf101 I agree and I am aligned with your proposed approach. |
@webelf101 requirements updated as requested. |
As a user with an EVM Wallet who wants to Buy/Sell on Paloma, I want a Paloma bot to complete my trades so that I can BUY/SELL and trade without a Paloma wallet.
Requirements
a. Alice will choose an EVM token to swap to buy Paloma token
b. Token is swapped on Uniswap to USDT
c. Bonding curve vyper contract receives user's token and swap it into USDT on Uniswap v3.
d. And it deposits USDT to PUSD manager.
e. PUSD manager doesn't interact with bonding curve directly
f. The PUSD manager sends PUSD to Paloma bonding curve bot Cosmwasm contract
g. The bonding curve bot cw will buy token using the pusd and by interacting with bonding curve cw.
h. After that, the bonding curve bot cw will send the bought token to user's evm wallet using skyway bridge.
Note: PUSD manager module works as PUSD minting only. And bonding curve bot module interacts with PUSD manager and bonding curve cw.
The text was updated successfully, but these errors were encountered: