Skip to content

Commit

Permalink
feat: added poolFees in getFeeConfigurations
Browse files Browse the repository at this point in the history
  • Loading branch information
00xSam committed Oct 9, 2024
1 parent a3b41a0 commit 0c6d6a8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Security

## @mercurial-finance/dynamic-amm-sdk [1.1.6] - PR[#161](https://github.com/mercurial-finance/mercurial-dynamic-amm-sdk/pull/163)

### Added

- Added `poolFees` in `getFeeConfigurations` function

## @mercurial-finance/dynamic-amm-sdk [1.1.5] - PR[#161](https://github.com/mercurial-finance/mercurial-dynamic-amm-sdk/pull/163)

### Added
Expand Down
1 change: 1 addition & 0 deletions ts-client/src/amm/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1050,6 +1050,7 @@ export default class AmmImpl implements AmmImplementation {

return {
publicKey: configAccount.publicKey,
poolFees,
tradeFeeBps: poolFees.tradeFeeNumerator.mul(new BN(10000)).div(poolFees.tradeFeeDenominator),
protocolTradeFeeBps: poolFees.protocolTradeFeeNumerator
.mul(new BN(10000))
Expand Down

0 comments on commit 0c6d6a8

Please sign in to comment.