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