primitivefinance / portfolio

Portfolio is an automated market making protocol for implementing custom strategies at the lowest cost possible.

Home Page:https://www.primitive.xyz/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Final Tasks (Spearbit)

Alexangelj opened this issue · comments

Description

  • #269
  • #240
  • #233
  • #187
  • Test file with gas profiling
    • Single add
    • Single remove
    • Single swap
    • Single create pool
    • Multi-operation, cross pool, 2, 5, 10, 25, 50, 100.
    • Create + Add
    • Remove, Swap, Create, Add
  • CI workflows
    • Optimized build with sizes
    • Optimized tests
    • Optimized invariant tests
    • Default tests
    • Test profile tests
    • Gas profile
  • #291
  • Resolve outstanding "todo" comments.
  • Clarify Objective interface
  • Tests
    • Swap asset + quote in
    • Swap using max
    • Swap after time passed
    • Fuzz swap after small time until remaining
    • Fuzz swap positive invariant scenarios
    • Fuzz swap negative invariant scenarios
    • Swap different tokens (especially fee on transfer yikes)
  • Docs
    • How to write a unit test in Portfolio
    • How to setup Portfolio from scratch
    • How to chain operations using multiprocess