Skip to content

Commit

Permalink
Clarify readme for errors
Browse files Browse the repository at this point in the history
  • Loading branch information
af-afk committed Aug 8, 2024
1 parent 687d9d6 commit 925f0f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ the appropriate error in this table:
| 36 | 0x24 | Invalid tick |
| 37 | 0x25 | Pool enabled when it should be disabled for this action |
| 38 | 0x26 | Position is empty when it shouldn't be |
| 39 | 0x27 | Liquidity that was almost taken was too low when it didn't need to be |
| 40 | 0x28 | Fee growth that tried to be calculated was bad internally for a tick |

If more bytes are in the error, then the issue was produced by the ERC20 token. Convert
any error types to their selector form to see.
Expand Down
2 changes: 2 additions & 0 deletions pkg/seawater/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@

# Superposition AMM (Seawater)

Check ../README.md

Stylus contracts for the superposition AMM, based on 0xKitsune's port of the uniswap v3 maths to rust ([https://github.com/0xKitsune/uniswap-v3-math](https://github.com/0xKitsune/uniswap-v3-math)).

0 comments on commit 925f0f6

Please sign in to comment.