jonesmarvin8
3a3c6f5507
state tests fixed and clean up
2025-12-06 20:03:05 -05:00
jonesmarvin8
ea27eeb929
fixed add and remove logic, and tests
2025-12-06 14:52:18 -05:00
jonesmarvin8
b1ad51f5b9
logic fixes and streamlining examples
...
fixed remove_liquidity logic and added enum/constructors for examples
2025-12-04 21:53:58 -05:00
jonesmarvin8
90d6580377
simplified swap logic
...
removed branching logic from swap logic, and adjusted tests accordingly.
2025-12-02 17:21:49 -05:00
jonesmarvin8
c0c1228e10
fixed accountId
2025-12-02 15:20:16 -05:00
jonesmarvin8
3e9f0f9384
fixed omitted vault checks
...
Previous versions mistakenly used token_definition instead of vault account id to check for vaults.
Functions and corresponding tests fixed.
Minor error in arithmetic in state.rs for remove_liquidity fixed.
2025-12-02 13:40:54 -05:00
jonesmarvin8
93ee75a339
additional tests
...
Tests for chain_calls included in amm.rs,
All tests in state.rs
2025-12-02 13:40:53 -05:00
jonesmarvin8
352b97910a
state tests written
2025-12-02 13:40:11 -05:00
jonesmarvin8
0a645281c6
token_program non-deterministic issue
2025-12-02 13:40:11 -05:00
jonesmarvin8
9da684b7c6
fixed some deterministic issues
2025-12-02 13:40:11 -05:00
jonesmarvin8
5547f0635c
attempted test functions in state.rs
...
Additional minor clean up in amm.rs
2025-12-02 13:40:10 -05:00
jonesmarvin8
2166bbfe03
test fixes and comments
2025-12-02 13:37:40 -05:00
jonesmarvin8
853d4d6b59
Tests written
2025-12-02 13:36:07 -05:00
jonesmarvin8
a426839b3b
Updated based on chain calls fixes
2025-12-02 13:36:07 -05:00
jonesmarvin8
10d42f352b
AMM functions written
2025-12-02 13:33:00 -05:00