Skip to content

Commit

Permalink
release: adjust ena limit
Browse files Browse the repository at this point in the history
  • Loading branch information
shutsuwei committed May 17, 2024
1 parent bead137 commit 73c7110
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 14 deletions.
12 changes: 2 additions & 10 deletions script/ts/configs/CrossMarginHandler/set-banlist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,8 @@ async function main(chainId: number) {
const config = loadConfig(chainId);
const deployer = signers.deployer(chainId);

const users: Array<string> = [
"0x45f599bfca2fab3e8f5822ea1b0085f8982e16e6",
"0x37eb10ac8a2745c1108fdf6756e52535b00f589c",
"0x11777acba15878c3f82d4109df9e1f4799ac8925",
"0x2462812f20b6e704fa0ac16c6e189103f267bb8f",
"0xb3e475368ed0fa0ad23c04de0423d48a0758806f",
"0x61007f6d18f6e480d46108cb4484bd99b42f32cd",
"0xda72696cec7398b548f0b62fc094d0ab46c632d3",
];
const isBanned: Array<boolean> = [true, true, true, true, true, true, true];
const users: Array<string> = ["0x50be4f4a59593221810af975c66936257a04e931"];
const isBanned: Array<boolean> = [true];

console.log("[configs/CrossMarginHandler] Set banlist");
const crossMarginHandler = CrossMarginHandler__factory.connect(config.handlers.crossMargin, deployer);
Expand Down
6 changes: 3 additions & 3 deletions script/ts/configs/LimitTradeHelper/set-limit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import { ethers } from "ethers";
async function main(chainId: number) {
const inputs = [
{
marketIndex: 52,
tradeSizeLimit: 30000,
positionSizeLimit: 30000,
marketIndex: 53,
tradeSizeLimit: 50000,
positionSizeLimit: 50000,
},
];

Expand Down
2 changes: 1 addition & 1 deletion script/ts/configs/TradeOrderHelper/set-limit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { TradeOrderHelper__factory } from "../../../../typechain";
import { ethers } from "ethers";

async function main(chainId: number) {
const inputs = [{ marketIndex: 52, positionSizeLimit: 30000, tradeSizeLimit: 30000 }];
const inputs = [{ marketIndex: 53, positionSizeLimit: 50000, tradeSizeLimit: 50000 }];

const config = loadConfig(chainId);
const marketConfig = loadMarketConfig(chainId);
Expand Down

0 comments on commit 73c7110

Please sign in to comment.