Fix client to make work with latest perp changes
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
This commit is contained in:
parent
12ced75fea
commit
e0c5562a5b
|
@ -739,7 +739,7 @@ export class MangoClient {
|
||||||
filters.push({
|
filters.push({
|
||||||
memcmp: {
|
memcmp: {
|
||||||
bytes: bs58.encode(bbuf),
|
bytes: bs58.encode(bbuf),
|
||||||
offset: 348,
|
offset: 428,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -750,7 +750,7 @@ export class MangoClient {
|
||||||
filters.push({
|
filters.push({
|
||||||
memcmp: {
|
memcmp: {
|
||||||
bytes: bs58.encode(qbuf),
|
bytes: bs58.encode(qbuf),
|
||||||
offset: 350,
|
offset: 430,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -1232,11 +1232,11 @@ export type MangoV4 = {
|
||||||
"type": "f32"
|
"type": "f32"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "maxFunding",
|
"name": "minFunding",
|
||||||
"type": "f32"
|
"type": "f32"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "minFunding",
|
"name": "maxFunding",
|
||||||
"type": "f32"
|
"type": "f32"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -2068,6 +2068,12 @@ export type MangoV4 = {
|
||||||
"defined": "I80F48"
|
"defined": "I80F48"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "minFunding",
|
||||||
|
"type": {
|
||||||
|
"defined": "I80F48"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "maxFunding",
|
"name": "maxFunding",
|
||||||
"type": {
|
"type": {
|
||||||
|
@ -2075,10 +2081,8 @@ export type MangoV4 = {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "minFunding",
|
"name": "impactQuantity",
|
||||||
"type": {
|
"type": "i64"
|
||||||
"defined": "I80F48"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "longFunding",
|
"name": "longFunding",
|
||||||
|
@ -2096,10 +2100,6 @@ export type MangoV4 = {
|
||||||
"name": "fundingLastUpdated",
|
"name": "fundingLastUpdated",
|
||||||
"type": "i64"
|
"type": "i64"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "impactQuantity",
|
|
||||||
"type": "i64"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "openInterest",
|
"name": "openInterest",
|
||||||
"type": "i64"
|
"type": "i64"
|
||||||
|
@ -4024,11 +4024,11 @@ export const IDL: MangoV4 = {
|
||||||
"type": "f32"
|
"type": "f32"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "maxFunding",
|
"name": "minFunding",
|
||||||
"type": "f32"
|
"type": "f32"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "minFunding",
|
"name": "maxFunding",
|
||||||
"type": "f32"
|
"type": "f32"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -4860,6 +4860,12 @@ export const IDL: MangoV4 = {
|
||||||
"defined": "I80F48"
|
"defined": "I80F48"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "minFunding",
|
||||||
|
"type": {
|
||||||
|
"defined": "I80F48"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "maxFunding",
|
"name": "maxFunding",
|
||||||
"type": {
|
"type": {
|
||||||
|
@ -4867,10 +4873,8 @@ export const IDL: MangoV4 = {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "minFunding",
|
"name": "impactQuantity",
|
||||||
"type": {
|
"type": "i64"
|
||||||
"defined": "I80F48"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "longFunding",
|
"name": "longFunding",
|
||||||
|
@ -4888,10 +4892,6 @@ export const IDL: MangoV4 = {
|
||||||
"name": "fundingLastUpdated",
|
"name": "fundingLastUpdated",
|
||||||
"type": "i64"
|
"type": "i64"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "impactQuantity",
|
|
||||||
"type": "i64"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "openInterest",
|
"name": "openInterest",
|
||||||
"type": "i64"
|
"type": "i64"
|
||||||
|
|
Loading…
Reference in New Issue