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

One-Click LP [For Testing] #521

Draft
wants to merge 82 commits into
base: main
Choose a base branch
from
Draft

One-Click LP [For Testing] #521

wants to merge 82 commits into from

Commits on Aug 2, 2022

  1. add controller helper abi and atoms

    daryakaviani authored and Darya Kaviani committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    224da03 View commit details
    Browse the repository at this point in the history
  2. open position hook

    daryakaviani authored and Darya Kaviani committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    5f50ed7 View commit details
    Browse the repository at this point in the history
  3. drafting close position

    daryakaviani authored and Darya Kaviani committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    e18bc67 View commit details
    Browse the repository at this point in the history
  4. collect fees hook

    daryakaviani authored and Darya Kaviani committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    25ea441 View commit details
    Browse the repository at this point in the history
  5. rebalance via general swap

    daryakaviani authored and Darya Kaviani committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    7ffd9f9 View commit details
    Browse the repository at this point in the history
  6. rebalance via vault

    daryakaviani authored and Darya Kaviani committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    0542b4a View commit details
    Browse the repository at this point in the history
  7. flashloanWMintDeposit open position

    daryakaviani authored and Darya Kaviani committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    75cadc7 View commit details
    Browse the repository at this point in the history
  8. next tick price getter func

    daryakaviani authored and Darya Kaviani committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    36c671c View commit details
    Browse the repository at this point in the history
  9. using nearestUsableTick

    daryakaviani authored and Darya Kaviani committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    7c0920b View commit details
    Browse the repository at this point in the history
  10. fixing abi

    daryakaviani authored and Darya Kaviani committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    db6d0f4 View commit details
    Browse the repository at this point in the history
  11. tx goes through, decimal refinement needed

    daryakaviani authored and Darya Kaviani committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    671a40e View commit details
    Browse the repository at this point in the history
  12. testing, debugging, using old hooks for open pos deposit

    daryakaviani authored and Darya Kaviani committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    6a0fac9 View commit details
    Browse the repository at this point in the history
  13. log

    daryakaviani authored and Darya Kaviani committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    18dc6e6 View commit details
    Browse the repository at this point in the history
  14. fixing close position

    daryakaviani authored and Darya Kaviani committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    8a214c6 View commit details
    Browse the repository at this point in the history
  15. removing mint and LP function

    daryakaviani authored and Darya Kaviani committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    5b8e7e7 View commit details
    Browse the repository at this point in the history
  16. taking out safety margin

    daryakaviani authored and Darya Kaviani committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    7d32b31 View commit details
    Browse the repository at this point in the history
  17. add ropsten controller helper address

    daryakaviani authored and Darya Kaviani committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    cf5e5d2 View commit details
    Browse the repository at this point in the history
  18. tester button

    Darya Kaviani authored and Darya Kaviani committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    8e11f52 View commit details
    Browse the repository at this point in the history
  19. remove flashloan fee for open

    Darya Kaviani authored and Darya Kaviani committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    40f1110 View commit details
    Browse the repository at this point in the history
  20. fixing controllerhelper address

    Darya Kaviani authored and Darya Kaviani committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    931d94d View commit details
    Browse the repository at this point in the history
  21. add vault id as open param

    Darya Kaviani authored and Darya Kaviani committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    72bbfde View commit details
    Browse the repository at this point in the history
  22. debugging collect fees

    Darya Kaviani authored and Darya Kaviani committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    a45f136 View commit details
    Browse the repository at this point in the history
  23. getting position manager

    Darya Kaviani authored and Darya Kaviani committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    e5d43a5 View commit details
    Browse the repository at this point in the history
  24. debugged close position (with no burning)

    Darya Kaviani authored and Darya Kaviani committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    472d3f3 View commit details
    Browse the repository at this point in the history
  25. close position with quoter limit price

    Darya Kaviani authored and Darya Kaviani committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    192b87d View commit details
    Browse the repository at this point in the history
  26. collect fees works

    merge
    Darya Kaviani authored and Darya Kaviani committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    96dc674 View commit details
    Browse the repository at this point in the history
  27. rebalance tx

    Darya Kaviani authored and Darya Kaviani committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    c92b362 View commit details
    Browse the repository at this point in the history
  28. rebal swap tx

    Darya Kaviani authored and Darya Kaviani committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    fd6f665 View commit details
    Browse the repository at this point in the history
  29. general swap updates

    Darya Kaviani authored and Darya Kaviani committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    7b20c70 View commit details
    Browse the repository at this point in the history
  30. latest genswap rebal

    Darya Kaviani authored and Darya Kaviani committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    7e3ff90 View commit details
    Browse the repository at this point in the history
  31. buttons

    Darya Kaviani authored and Darya Kaviani committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    bfb7d4f View commit details
    Browse the repository at this point in the history
  32. general swap rebalance works

    Darya Kaviani authored and Darya Kaviani committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    1180d14 View commit details
    Browse the repository at this point in the history
  33. delete rebalance test

    Darya Kaviani authored and Darya Kaviani committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    c5c118c View commit details
    Browse the repository at this point in the history
  34. debugging swap rebal needmoreweth

    Darya Kaviani authored and Darya Kaviani committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    ea83cc7 View commit details
    Browse the repository at this point in the history
  35. walls

    Darya Kaviani authored and Darya Kaviani committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    a49af15 View commit details
    Browse the repository at this point in the history
  36. add onchange params

    Darya Kaviani authored and Darya Kaviani committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    e5d35af View commit details
    Browse the repository at this point in the history
  37. separate cases

    Darya Kaviani authored and Darya Kaviani committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    dd209f6 View commit details
    Browse the repository at this point in the history
  38. fixed one-sided LP positions

    Darya Kaviani authored and Darya Kaviani committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    c3cc026 View commit details
    Browse the repository at this point in the history
  39. change rebalance to real amounts from virtual amounts

    Darya Kaviani authored and Darya Kaviani committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    a453ea9 View commit details
    Browse the repository at this point in the history
  40. Delete fe-testing.ts

    daryakaviani authored and Darya Kaviani committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    bc32d85 View commit details
    Browse the repository at this point in the history
  41. change case 1 to formula version

    Darya Kaviani authored and Darya Kaviani committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    028b774 View commit details
    Browse the repository at this point in the history
  42. debug new formula case 3

    Darya Kaviani authored and Darya Kaviani committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    3f72818 View commit details
    Browse the repository at this point in the history
  43. delete old funcs

    Darya Kaviani authored and Darya Kaviani committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    4dae775 View commit details
    Browse the repository at this point in the history
  44. delete unused

    Darya Kaviani authored and Darya Kaviani committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    2c82ec3 View commit details
    Browse the repository at this point in the history
  45. Revert "delete old funcs"

    This reverts commit 03b3074.
    
    revert delete old funcs
    Darya Kaviani authored and Darya Kaviani committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    b9b3495 View commit details
    Browse the repository at this point in the history
  46. update lp.tx to test

    Darya Kaviani authored and Darya Kaviani committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    82ddfab View commit details
    Browse the repository at this point in the history
  47. updating consts

    Darya Kaviani authored and Darya Kaviani committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    1eb66ab View commit details
    Browse the repository at this point in the history
  48. change one-side positions to math way

    Darya Kaviani authored and Darya Kaviani committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    4ad5b48 View commit details
    Browse the repository at this point in the history
  49. make vaultId variable

    Darya Kaviani authored and Darya Kaviani committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    a538ccd View commit details
    Browse the repository at this point in the history
  50. use Promise.all

    Darya Kaviani authored and Darya Kaviani committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    a137ebd View commit details
    Browse the repository at this point in the history
  51. use promise.all in close

    Darya Kaviani authored and Darya Kaviani committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    ff16e33 View commit details
    Browse the repository at this point in the history
  52. token id null case

    Darya Kaviani authored and Darya Kaviani committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    afc42cd View commit details
    Browse the repository at this point in the history
  53. unitokenid null for fees

    Darya Kaviani authored and Darya Kaviani committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    5a46e9b View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2022

  1. twap to slot0

    Darya Kaviani authored and Darya Kaviani committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    d0f66ee View commit details
    Browse the repository at this point in the history
  2. collat ratio

    Darya Kaviani authored and Darya Kaviani committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    4f6c831 View commit details
    Browse the repository at this point in the history
  3. variable collateral to lp for open

    Darya Kaviani authored and Darya Kaviani committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    c50a954 View commit details
    Browse the repository at this point in the history
  4. amount mins open

    Darya Kaviani authored and Darya Kaviani committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    11ca145 View commit details
    Browse the repository at this point in the history
  5. limit price

    Darya Kaviani authored and Darya Kaviani committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    a7f8018 View commit details
    Browse the repository at this point in the history
  6. amount to burn

    Darya Kaviani authored and Darya Kaviani committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    49ef96a View commit details
    Browse the repository at this point in the history
  7. int 128

    Darya Kaviani authored and Darya Kaviani committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    aedad68 View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2022

  1. change name to poolContract

    Darya Kaviani authored and Darya Kaviani committed Aug 4, 2022
    Configuration menu
    Copy the full SHA
    97f91f3 View commit details
    Browse the repository at this point in the history
  2. get tickSpacing from pool

    Darya Kaviani authored and Darya Kaviani committed Aug 4, 2022
    Configuration menu
    Copy the full SHA
    648b4a5 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2022

  1. no price impact quote

    Darya Kaviani authored and Darya Kaviani committed Aug 5, 2022
    Configuration menu
    Copy the full SHA
    9ce929d View commit details
    Browse the repository at this point in the history
  2. no more iswethtoken0

    Darya Kaviani authored and Darya Kaviani committed Aug 5, 2022
    Configuration menu
    Copy the full SHA
    20e5327 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2022

  1. review updates

    Darya Kaviani authored and Darya Kaviani committed Aug 8, 2022
    Configuration menu
    Copy the full SHA
    89d03ba View commit details
    Browse the repository at this point in the history
  2. limit price

    Darya Kaviani authored and Darya Kaviani committed Aug 8, 2022
    Configuration menu
    Copy the full SHA
    520d611 View commit details
    Browse the repository at this point in the history
  3. amount mins close

    Darya Kaviani authored and Darya Kaviani committed Aug 8, 2022
    Configuration menu
    Copy the full SHA
    e852a85 View commit details
    Browse the repository at this point in the history
  4. fix limit price

    Darya Kaviani authored and Darya Kaviani committed Aug 8, 2022
    Configuration menu
    Copy the full SHA
    ace48c7 View commit details
    Browse the repository at this point in the history
  5. open value

    Darya Kaviani authored and Darya Kaviani committed Aug 8, 2022
    Configuration menu
    Copy the full SHA
    4b948ce View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2022

  1. withdraw

    Darya Kaviani authored and Darya Kaviani committed Aug 9, 2022
    Configuration menu
    Copy the full SHA
    64b5af5 View commit details
    Browse the repository at this point in the history
  2. close dependencies

    Darya Kaviani authored and Darya Kaviani committed Aug 9, 2022
    Configuration menu
    Copy the full SHA
    5295773 View commit details
    Browse the repository at this point in the history
  3. ugly fe

    Darya Kaviani authored and Darya Kaviani committed Aug 9, 2022
    Configuration menu
    Copy the full SHA
    5a80962 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2022

  1. dependencies

    Darya Kaviani authored and Darya Kaviani committed Aug 10, 2022
    Configuration menu
    Copy the full SHA
    67d4fa6 View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2022

  1. remove pool state dupe

    Darya Kaviani authored and Darya Kaviani committed Aug 13, 2022
    Configuration menu
    Copy the full SHA
    8b4f968 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2022

  1. things

    Darya Kaviani authored and Darya Kaviani committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    8552d4c View commit details
    Browse the repository at this point in the history
  2. format

    Darya Kaviani authored and Darya Kaviani committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    bf0fe9b View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2022

  1. open bounds

    Darya Kaviani authored and Darya Kaviani committed Aug 19, 2022
    Configuration menu
    Copy the full SHA
    4af4e5c View commit details
    Browse the repository at this point in the history
  2. open

    Darya Kaviani authored and Darya Kaviani committed Aug 19, 2022
    Configuration menu
    Copy the full SHA
    d72265d View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2022

  1. symmetry

    Darya Kaviani authored and Darya Kaviani committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    fccd68d View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2022

  1. fix flashloan

    Darya Kaviani authored and Darya Kaviani committed Aug 25, 2022
    Configuration menu
    Copy the full SHA
    69439af View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2022

  1. close tweaks

    Darya Kaviani authored and Darya Kaviani committed Aug 29, 2022
    Configuration menu
    Copy the full SHA
    4e27f4c View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2022

  1. Configuration menu
    Copy the full SHA
    11b35eb View commit details
    Browse the repository at this point in the history