Skip to content

Commit

Permalink
Merge pull request #151 from mkflow27/main
Browse files Browse the repository at this point in the history
Add clarity for `JoinKind` for StablePools
  • Loading branch information
mikemcdonald authored Sep 27, 2023
2 parents e2a1f49 + ac303b9 commit 0fec3cb
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions docs/reference/joins-and-exits/pool-joins.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@ Applies to:

#### StablePool JoinKinds

::: warning
ComposableStablePools have different `JoinKind` enums compared to StablePools and MetaStablePools
:::

For **StablePool** and **MetaStablePool** the following `JoinKind` applies:

```solidity
enum JoinKind {
INIT,
Expand All @@ -81,10 +87,17 @@ enum JoinKind {
}
```

Applies to:
For **ComposableStablePool** the following `JoinKind` applies:

```solidity
enum JoinKind {
INIT,
EXACT_TOKENS_IN_FOR_BPT_OUT,
TOKEN_IN_FOR_EXACT_BPT_OUT,
ALL_TOKENS_IN_FOR_EXACT_BPT_OUT
}
```

- StablePool
- MetaStablePool

#### JoinKinds Explained

Expand Down

1 comment on commit 0fec3cb

@vercel
Copy link

@vercel vercel bot commented on 0fec3cb Sep 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.