Skip to content

Commit

Permalink
improve: align rate model with correct parameters (#865)
Browse files Browse the repository at this point in the history
* improve: align rate model with correct parameters

* improve: align to new parameters

* chore: align with params sheet
  • Loading branch information
james-a-morris authored Oct 12, 2023
1 parent 0124480 commit afe7436
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions api/_constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ const defaultRelayerFeeCapitalCostConfig: {
} = {
ETH: {
lowerBound: ethers.utils.parseUnits("0.0001").toString(),
upperBound: ethers.utils.parseUnits("0.0001").toString(),
upperBound: ethers.utils.parseUnits("0.0004").toString(),
cutoff: ethers.utils.parseUnits("750").toString(),
decimals: 18,
},
WETH: {
lowerBound: ethers.utils.parseUnits("0.0001").toString(),
upperBound: ethers.utils.parseUnits("0.0001").toString(),
upperBound: ethers.utils.parseUnits("0.0004").toString(),
cutoff: ethers.utils.parseUnits("750").toString(),
decimals: 18,
},
Expand All @@ -35,20 +35,20 @@ const defaultRelayerFeeCapitalCostConfig: {
},
DAI: {
lowerBound: ethers.utils.parseUnits("0.0001").toString(),
upperBound: ethers.utils.parseUnits("0.0001").toString(),
cutoff: ethers.utils.parseUnits("250000").toString(),
upperBound: ethers.utils.parseUnits("0.0004").toString(),
cutoff: ethers.utils.parseUnits("1500000").toString(),
decimals: 18,
},
USDC: {
lowerBound: ethers.utils.parseUnits("0.0001").toString(),
upperBound: ethers.utils.parseUnits("0.0001").toString(),
upperBound: ethers.utils.parseUnits("0.0004").toString(),
cutoff: ethers.utils.parseUnits("1500000").toString(),
decimals: 6,
},
USDT: {
lowerBound: ethers.utils.parseUnits("0.0001").toString(),
upperBound: ethers.utils.parseUnits("0.0001").toString(),
cutoff: ethers.utils.parseUnits("250000").toString(),
upperBound: ethers.utils.parseUnits("0.0004").toString(),
cutoff: ethers.utils.parseUnits("1500000").toString(),
decimals: 6,
},
UMA: {
Expand Down

2 comments on commit afe7436

@vercel
Copy link

@vercel vercel bot commented on afe7436 Oct 12, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

goerli-frontend-v2 – ./

goerli-frontend-v2.vercel.app
goerli-frontend-v2-git-master-uma.vercel.app
goerli-frontend-v2-uma.vercel.app

@vercel
Copy link

@vercel vercel bot commented on afe7436 Oct 12, 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.