Skip to content
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

Extension of #198 #201

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

ChefMist
Copy link
Collaborator

@ChefMist ChefMist commented Nov 5, 2024

Extension of #198 to include add liquidity and how it might look like

attached logs output from the POC

Logs:
  ---------start of testSwap_xx add liquidity----------------------
    balanceof user t0:  1010
    balanceof user t1:  1010
    balanceof user hAddr:  0
    balanceof user hAddr:  0
    balanceof user vault:  0
    balanceof user vault:  0
  -------------------------------
  ---------end of testSwap_xx add liquidity ----------------------
    balanceof user t0:  1009
    balanceof user t1:  1009
    balanceof user hAddr:  0
    balanceof user hAddr:  0
    balanceof user vault:  1
    balanceof user vault:  1
  -------------------------------
  ---------start of testSwap_xx swap----------------------
    reserveOfApp t0 (ethers) 0
    reserveOfApp t1 (ethers) 0
    balanceof user t0:  1009
    balanceof user t1:  1009
    balanceof user hAddr:  0
    balanceof user hAddr:  0
  -------------------------------
  ---------end of testSwap_xx swap----------------------
    reserveOfApp t0 (ethers) 0
    reserveOfApp t1 (ethers) 0
    balanceof user t0:  1008
    balanceof user t1:  1010
    balanceof user hAddr:  0
    balanceof user hAddr:  0
  -------------------------------

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.

2 participants