Skip to content

Commit

Permalink
remove FeeAmount enum from fees
Browse files Browse the repository at this point in the history
  • Loading branch information
tommyzhao451 committed Aug 9, 2024
1 parent 0b049c6 commit 6cdef87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aperture_finance/uniswap-v3-automation-sdk",
"version": "3.4.22-fees2",
"version": "3.4.22-fees3",
"description": "SDK for Aperture's Uniswap V3 automation platform",
"author": "Aperture Finance <[email protected]>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/viem/automan/getFees.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const FEE_DEFAULT_REINVEST_RATIO = parseFloat(
process.env.FEE_DEFAULT_REINVEST_RATIO || '0.001',
);

export function getFeeReinvestRatio(feeAmount: FeeAmount) {
export function getFeeReinvestRatio(feeAmount: number) {
return FEE_REINVEST_RATIO[feeAmount] || FEE_DEFAULT_REINVEST_RATIO;
}

Expand Down

0 comments on commit 6cdef87

Please sign in to comment.