Merge branch 'deploy-mm' into ts-client
This commit is contained in:
commit
f381147bf6
|
@ -468,9 +468,10 @@ async function makeMarketUpdateInstructions(
|
|||
),
|
||||
];
|
||||
|
||||
instructions.push(
|
||||
await client.healthRegionBeginIx(group, mangoAccount, [], [perpMarket]),
|
||||
);
|
||||
// Temporary: Health regions are currently disabled on mainnet for security reasons
|
||||
//instructions.push(
|
||||
// await client.healthRegionBeginIx(group, mangoAccount, [], [perpMarket]),
|
||||
//);
|
||||
|
||||
const expiryTimestamp =
|
||||
params.tif !== undefined ? Date.now() / 1000 + params.tif : 0;
|
||||
|
@ -698,9 +699,10 @@ async function makeMarketUpdateInstructions(
|
|||
}
|
||||
}
|
||||
|
||||
instructions.push(
|
||||
await client.healthRegionEndIx(group, mangoAccount, [], [perpMarket]),
|
||||
);
|
||||
// Temporary: Health regions are currently disabled on mainnet for security reasons
|
||||
//instructions.push(
|
||||
// await client.healthRegionEndIx(group, mangoAccount, [], [perpMarket]),
|
||||
//);
|
||||
|
||||
// If instruction is only the sequence enforcement and health region ixs, then just send empty
|
||||
if (instructions.length === 3) {
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
"assets": {
|
||||
"BTC": {
|
||||
"perp": {
|
||||
"sizePerc": 0.75,
|
||||
"sizePerc": 1,
|
||||
"leanCoeff": 0.00025,
|
||||
"bias": 0.0,
|
||||
"requoteThresh": 0.0002,
|
||||
|
@ -16,7 +16,7 @@
|
|||
},
|
||||
"SOL": {
|
||||
"perp": {
|
||||
"sizePerc": 0.75,
|
||||
"sizePerc": 1,
|
||||
"leanCoeff": 0.00025,
|
||||
"bias": 0.0,
|
||||
"requoteThresh": 0.0002,
|
||||
|
|
Loading…
Reference in New Issue