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

Augmented Bond Curves #697

Open
wants to merge 56 commits into
base: development
Choose a base branch
from
Open

Augmented Bond Curves #697

wants to merge 56 commits into from

Commits on Mar 26, 2024

  1. Initial commit

    JakeHartnell authored and Jake Hartnell committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    088143c View commit details
    Browse the repository at this point in the history
  2. Initial phase integration to cw-abc (#698)

    * CwAbcResult
    
    * Hatch phase configuration and init msg refactor
    
    * Initial instantiate test
    
    * Implement separate phrases and phrase configs
    
    * Remove vesting phase and update funding pool
    
    * Separate commands and queries
    
    * Update init msg with string configs
    
    * Phase config query
    
    * MinMax and config query
    
    * Add some todos
    
    * cw-ownable integration
    adairrr authored and Jake Hartnell committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    aceb8ba View commit details
    Browse the repository at this point in the history
  3. cw-abc: Updated hatch phase mechanics, donations, queries (#699)

    * Separate hatcher allowlist
    
    * Donation feature
    
    * Initial sell exit tax
    
    * Hatchers to amount
    
    * Hatch phase exit tax
    
    * TokenMsg methods
    
    * Format
    
    * Hatchers query
    
    * Fix bug where float was not taken into account in supply
    
    * Buy and sell refactoring
    
    * Update hatch phase config
    
    * Update phase config enum
    
    * Add adairrr to authors
    
    * Initial boot integration with custom msgs
    
    * Initial testing infrastructure
    
    * Abstract-OS to AbstractSDK
    adairrr authored and Jake Hartnell committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    52c6a98 View commit details
    Browse the repository at this point in the history
  4. Comments clean up

    JakeHartnell authored and Jake Hartnell committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    0f390c3 View commit details
    Browse the repository at this point in the history
  5. 697 (#702)

    * update cw-orch dependency
    
    * add getrandom dependency to .toml
    
    ---------
    
    Co-authored-by: Jake Hartnell <Jake.Hartnell@gmail.com>
    2 people authored and Jake Hartnell committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    6097ea4 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    84244ed View commit details
    Browse the repository at this point in the history
  7. Attempt to get tests working

    JakeHartnell authored and Jake Hartnell committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    3b4965a View commit details
    Browse the repository at this point in the history
  8. Start prepping for refactor and tests

    JakeHartnell authored and Jake Hartnell committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    98b0203 View commit details
    Browse the repository at this point in the history
  9. Refactor cw-abc contract to work with cw-tokenfactory-issuer

    JakeHartnell authored and Jake Hartnell committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    df6ebad View commit details
    Browse the repository at this point in the history
  10. Remove old attempt at fixing cw-multi-test

    JakeHartnell authored and Jake Hartnell committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    f05541b View commit details
    Browse the repository at this point in the history
  11. Refactor

    JakeHartnell authored and Jake Hartnell committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    988cf5d View commit details
    Browse the repository at this point in the history
  12. Update schema

    JakeHartnell authored and Jake Hartnell committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    a72ad95 View commit details
    Browse the repository at this point in the history
  13. Clean up and notes

    JakeHartnell authored and Jake Hartnell committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    fc5d5d6 View commit details
    Browse the repository at this point in the history
  14. Get test-tube tests running

    JakeHartnell authored and Jake Hartnell committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    2f6bba4 View commit details
    Browse the repository at this point in the history
  15. Get instantiation working with test-tube

    JakeHartnell authored and Jake Hartnell committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    7d6b600 View commit details
    Browse the repository at this point in the history
  16. Fix tests, need to investigate why this broke

    JakeHartnell authored and Jake Hartnell committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    93f16f6 View commit details
    Browse the repository at this point in the history
  17. Minting tokens works!

    JakeHartnell authored and Jake Hartnell committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    50eff27 View commit details
    Browse the repository at this point in the history
  18. Fixups, burning tokens still doesn't work

    JakeHartnell authored and Jake Hartnell committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    fc19b74 View commit details
    Browse the repository at this point in the history
  19. Rebase cleanup, fix up tests

    JakeHartnell authored and Jake Hartnell committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    b7247f4 View commit details
    Browse the repository at this point in the history
  20. More cleanup for clippy

    JakeHartnell authored and Jake Hartnell committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    6f80580 View commit details
    Browse the repository at this point in the history
  21. Attempt to fix burn

    JakeHartnell authored and Jake Hartnell committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    b5c173b View commit details
    Browse the repository at this point in the history
  22. Note

    JakeHartnell authored and Jake Hartnell committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    8985177 View commit details
    Browse the repository at this point in the history
  23. Clean up, clippy, workspace deps, notes

    JakeHartnell authored and Jake Hartnell committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    4930042 View commit details
    Browse the repository at this point in the history
  24. Happy path test, make notes

    JakeHartnell authored and Jake Hartnell committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    ecdfb9d View commit details
    Browse the repository at this point in the history
  25. Refactor update phase config, fix metadata, clean up

    JakeHartnell authored and Jake Hartnell committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    5fc2de8 View commit details
    Browse the repository at this point in the history
  26. Contribution limits

    JakeHartnell authored and Jake Hartnell committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    ea21f4f View commit details
    Browse the repository at this point in the history
  27. Max Supply

    JakeHartnell authored and Jake Hartnell committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    9f39048 View commit details
    Browse the repository at this point in the history
  28. Clean up, add notes for future work

    JakeHartnell authored and Jake Hartnell committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    30dd7a5 View commit details
    Browse the repository at this point in the history
  29. Close curve, update curve, set max supply methods

    JakeHartnell authored and Jake Hartnell committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    9e70057 View commit details
    Browse the repository at this point in the history
  30. Rename methods, cleanup unused variables

    JakeHartnell authored and Jake Hartnell committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    638b102 View commit details
    Browse the repository at this point in the history
  31. Update schema

    JakeHartnell authored and Jake Hartnell committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    8ef65d8 View commit details
    Browse the repository at this point in the history
  32. Fix some tests

    JakeHartnell authored and Jake Hartnell committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    69cd33b View commit details
    Browse the repository at this point in the history
  33. More tests!

    JakeHartnell authored and Jake Hartnell committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    60d7f61 View commit details
    Browse the repository at this point in the history
  34. Attempt at update curve tests

    JakeHartnell authored and Jake Hartnell committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    f3b1216 View commit details
    Browse the repository at this point in the history
  35. Next pass at adding info to readme

    JakeHartnell authored and Jake Hartnell committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    be5cc1e View commit details
    Browse the repository at this point in the history
  36. to_binary -> to_json_binary

    JakeHartnell authored and Jake Hartnell committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    c882469 View commit details
    Browse the repository at this point in the history
  37. Bug fixes, implement fees

    JakeHartnell authored and Jake Hartnell committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    4080c01 View commit details
    Browse the repository at this point in the history
  38. Fix exit fees

    JakeHartnell authored and Jake Hartnell committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    9c8768e View commit details
    Browse the repository at this point in the history
  39. Update schema

    JakeHartnell authored and Jake Hartnell committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    5be336a View commit details
    Browse the repository at this point in the history
  40. Add more information to the readme

    JakeHartnell authored and Jake Hartnell committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    0db6203 View commit details
    Browse the repository at this point in the history
  41. Rename variables to make them more consistent and understandable

    JakeHartnell authored and Jake Hartnell committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    71832ce View commit details
    Browse the repository at this point in the history
  42. More queries, update schema

    JakeHartnell authored and Jake Hartnell committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    33927a1 View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    84811db View commit details
    Browse the repository at this point in the history
  44. Remove unused old tests

    JakeHartnell authored and Jake Hartnell committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    9d069eb View commit details
    Browse the repository at this point in the history
  45. Fix cargo file after rebase

    JakeHartnell authored and Jake Hartnell committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    00b80d9 View commit details
    Browse the repository at this point in the history
  46. Remove token-bindings dep

    JakeHartnell authored and Jake Hartnell committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    02e26e0 View commit details
    Browse the repository at this point in the history
  47. dao-abc-factory contract

    Creates new cw-abc DAOs.
    JakeHartnell authored and Jake Hartnell committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    4d4d70e View commit details
    Browse the repository at this point in the history
  48. Fix wasm build

    JakeHartnell authored and Jake Hartnell committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    389484f View commit details
    Browse the repository at this point in the history
  49. Basic Integration Tests

    JakeHartnell authored and Jake Hartnell committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    301b45a View commit details
    Browse the repository at this point in the history
  50. Fix clippy errors and test errors

    JakeHartnell authored and Jake Hartnell committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    a0eb619 View commit details
    Browse the repository at this point in the history
  51. Bump nightly version in CI

    JakeHartnell authored and Jake Hartnell committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    7e923ef View commit details
    Browse the repository at this point in the history
  52. Remove unused deps

    JakeHartnell authored and Jake Hartnell committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    371d724 View commit details
    Browse the repository at this point in the history
  53. Clean up small TODO

    JakeHartnell authored and Jake Hartnell committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    6ab116d View commit details
    Browse the repository at this point in the history
  54. Post rebase fixups

    Jake Hartnell committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    6d4b430 View commit details
    Browse the repository at this point in the history

Commits on May 14, 2024

  1. ABC Improvements (#818)

    * Make hatcher_allowlist a map
    
    Also cleans up state when going from Hatch -> Open
    Various spell-checking fixes
    
    * Allow existing tokens to be used with ABC's
    
    I think it's important for an existing token to be supported by an ABC.
    Token DAO's will be able to set up liquidity more easily by simply allowing mint & burn functionality after instantiating the ABC while holding ownership of it.
    
    *Also adds a query for hatcher allowlist
    *fixes spell checks I ran into
    *moves TokenInfo from dao-voting-token-staked to dao-interface for use in cw-abc
    
    * Complete funding pool logic
    
    Renamed fees_recipient to funding_pool_forwarding for better naming
    Made funding_pool_forwarding optional
    Allow updating the funding_pool_forwarding by owner
    Allow withdrawing from the funding pool by owner
    
    * Implement a circuit breaker
    
    Adds IS_PAUSED state that is checked in execute entry
    Also fixes naming in commands
    
    * Add query for initial supply at ABC creation
    
    * Allow donation into the reserve pool
    
    Also fixes donation state being lost after multiple donations
    
    * Move cw-abc curves to its own package cw-curves
    
    * Improve validation for max_supply
    
    * Support DAO membership in hatcher allowlist
    
    Could use a test here
    Also fixes some warnings and flag for cw-std
    
    * Clippy fix
    
    * Only clone decimals from curve_state
    
    also reorg buy command to be closer to sell command for readability
    
    * QoL improvements
    
    Derive copy on DecimalPlaces
    Catch OverflowError directly in ContractError
    Do not set initial supply as supply - will further remove allowing initial supplies
    
    * Revert support for initial supply
    
    * Fix clippy unnecessary clones
    
    * Donate only into the funding pool
    
    * Add a test for donate and withdraw from funding pool
    
    * Add test for dao hatchers + update schemas
    
    Also removes unused deps from cw-abc which now live in cw-curves
    
    * Update Cargo.toml
    
    * Buy & Sell Quotes
    
    Let users know the curve state and returned amount after x payment
    
    * Complete DAO hatchers w/ priority queue
    
    Disallow selling in the hatch phase
    Do not validate max_contribution against max_raise
    
    * Fix priority queue ordering on ties
    
    also clippy fixes
    
    * Couple more clippy fixes
    ismellike committed May 14, 2024
    Configuration menu
    Copy the full SHA
    f656e8a View commit details
    Browse the repository at this point in the history

Commits on May 20, 2024

  1. Fix issue with instantiating cw-abc with hatchers (#830)

    allow self to call method
    ismellike committed May 20, 2024
    Configuration menu
    Copy the full SHA
    455880f View commit details
    Browse the repository at this point in the history