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

WIP: unlendable deposits #907

Open
wants to merge 24 commits into
base: dev
Choose a base branch
from
Open

WIP: unlendable deposits #907

wants to merge 24 commits into from

Commits on Mar 6, 2024

  1. wip

    - for sanity, the liquidator likely must have lendable positions too
    - instruction for creating and closing an unlendable position
    - heaps of tests, rs client changes, ts client changes :/
    
    Done:
    - when dealing with the vault, always keep unlendable_deposits in the
      vault (unless withdrawing a no-lending position)
    - no-lending positions can't work as settle token positions for perps
    ckamm committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    ae8ab6d View commit details
    Browse the repository at this point in the history
  2. also dust surplus on withdraw

    ckamm committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    b1de91f View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2024

  1. Configuration menu
    Copy the full SHA
    b97ec7b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ca97f91 View commit details
    Browse the repository at this point in the history
  3. some limits may be broken now

    ckamm committed Mar 7, 2024
    Configuration menu
    Copy the full SHA
    4fedfbe View commit details
    Browse the repository at this point in the history
  4. token balance log v2

    ckamm committed Mar 7, 2024
    Configuration menu
    Copy the full SHA
    5c429d7 View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2024

  1. Configuration menu
    Copy the full SHA
    358f3cf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    be25e07 View commit details
    Browse the repository at this point in the history
  3. simple tests

    ckamm committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    659f093 View commit details
    Browse the repository at this point in the history
  4. liq tests

    ckamm committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    799c7ee View commit details
    Browse the repository at this point in the history
  5. comments

    ckamm committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    11738df View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2024

  1. Configuration menu
    Copy the full SHA
    9bb85d7 View commit details
    Browse the repository at this point in the history
  2. fix tests by reducing cu

    ckamm committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    de57a96 View commit details
    Browse the repository at this point in the history
  3. update idl

    ckamm committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    a2b17f2 View commit details
    Browse the repository at this point in the history
  4. ts: token positions

    ckamm committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    8924dfb View commit details
    Browse the repository at this point in the history
  5. ts: bank deposits

    need to audit all uses still
    ckamm committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    37ae687 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f04e3d8 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    7084a8b View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2024

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

Commits on Mar 18, 2024

  1. flash loan: fix vault amount

    ckamm committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    68ebe1d View commit details
    Browse the repository at this point in the history
  2. rename token balance log field

    ckamm committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    c07a1da View commit details
    Browse the repository at this point in the history
  3. comment

    ckamm committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    2ea7299 View commit details
    Browse the repository at this point in the history
  4. fix TokenPos size computation

    ckamm committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    a8a1c97 View commit details
    Browse the repository at this point in the history
  5. ts vault use fixes

    ckamm committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    f962294 View commit details
    Browse the repository at this point in the history