Skip to content

Commit

Permalink
release: adjust eth btc adjust
Browse files Browse the repository at this point in the history
  • Loading branch information
shutsuwei committed May 7, 2024
1 parent 0e7754c commit 512b280
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,16 @@ async function main(chainId: number) {
const inputs = [
{
marketIndex: 0, // ETHUSD
makerFee: 20000, // 0.02%
takerFee: 55000, // 0.055%
makerFee: 17500, // 0.0175%
takerFee: 62500, // 0.0625%
},
{
marketIndex: 1, // BTCUSD
makerFee: 20000, // 0.02%
takerFee: 55000, // 0.055%
makerFee: 17500, // 0.0175%
takerFee: 62500, // 0.0625%
},
];

const deployer = signers.deployer(chainId);
const ownerWrapper = new OwnerWrapper(chainId, deployer);
const configStorage = ConfigStorage__factory.connect(config.storages.config, deployer);
Expand Down
4 changes: 2 additions & 2 deletions script/ts/configs/TLCHook/set-market-weight.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ async function main(chainId: number) {
const ownerWrapper = new OwnerWrapper(chainId, deployer);

const weightConfigs: Array<WeightConfig> = [
{ marketIndex: 0, weightBPS: 37500 },
{ marketIndex: 1, weightBPS: 37500 },
{ marketIndex: 0, weightBPS: 40000 },
{ marketIndex: 1, weightBPS: 40000 },
];

const tlcHook = TLCHook__factory.connect(config.hooks.tlc, deployer);
Expand Down

0 comments on commit 512b280

Please sign in to comment.