From e107b281f9f8f1ff1b8c9c0e68eacd0eafe4a1cc Mon Sep 17 00:00:00 2001 From: Christian Kamm Date: Wed, 21 Feb 2024 15:06:34 +0100 Subject: [PATCH] Idl update --- mango_v4.json | 65 +++++++++++++++++++ ts/client/src/mango_v4.ts | 130 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 195 insertions(+) diff --git a/mango_v4.json b/mango_v4.json index b3475028d..b98f94c20 100644 --- a/mango_v4.json +++ b/mango_v4.json @@ -12692,6 +12692,71 @@ } ] }, + { + "name": "PerpLiqBaseOrPositivePnlLogV3", + "fields": [ + { + "name": "mangoGroup", + "type": "publicKey", + "index": false + }, + { + "name": "perpMarketIndex", + "type": "u16", + "index": false + }, + { + "name": "liqor", + "type": "publicKey", + "index": false + }, + { + "name": "liqee", + "type": "publicKey", + "index": false + }, + { + "name": "baseTransferLiqee", + "type": "i64", + "index": false + }, + { + "name": "quoteTransferLiqee", + "type": "i128", + "index": false + }, + { + "name": "quoteTransferLiqor", + "type": "i128", + "index": false + }, + { + "name": "quotePlatformFee", + "type": "i128", + "index": false + }, + { + "name": "pnlTransfer", + "type": "i128", + "index": false + }, + { + "name": "pnlSettleLimitTransferRecurring", + "type": "i64", + "index": false + }, + { + "name": "pnlSettleLimitTransferOneshot", + "type": "i64", + "index": false + }, + { + "name": "price", + "type": "i128", + "index": false + } + ] + }, { "name": "PerpLiqBankruptcyLog", "fields": [ diff --git a/ts/client/src/mango_v4.ts b/ts/client/src/mango_v4.ts index 463d43468..25111aa8f 100644 --- a/ts/client/src/mango_v4.ts +++ b/ts/client/src/mango_v4.ts @@ -12692,6 +12692,71 @@ export type MangoV4 = { } ] }, + { + "name": "PerpLiqBaseOrPositivePnlLogV3", + "fields": [ + { + "name": "mangoGroup", + "type": "publicKey", + "index": false + }, + { + "name": "perpMarketIndex", + "type": "u16", + "index": false + }, + { + "name": "liqor", + "type": "publicKey", + "index": false + }, + { + "name": "liqee", + "type": "publicKey", + "index": false + }, + { + "name": "baseTransferLiqee", + "type": "i64", + "index": false + }, + { + "name": "quoteTransferLiqee", + "type": "i128", + "index": false + }, + { + "name": "quoteTransferLiqor", + "type": "i128", + "index": false + }, + { + "name": "quotePlatformFee", + "type": "i128", + "index": false + }, + { + "name": "pnlTransfer", + "type": "i128", + "index": false + }, + { + "name": "pnlSettleLimitTransferRecurring", + "type": "i64", + "index": false + }, + { + "name": "pnlSettleLimitTransferOneshot", + "type": "i64", + "index": false + }, + { + "name": "price", + "type": "i128", + "index": false + } + ] + }, { "name": "PerpLiqBankruptcyLog", "fields": [ @@ -26726,6 +26791,71 @@ export const IDL: MangoV4 = { } ] }, + { + "name": "PerpLiqBaseOrPositivePnlLogV3", + "fields": [ + { + "name": "mangoGroup", + "type": "publicKey", + "index": false + }, + { + "name": "perpMarketIndex", + "type": "u16", + "index": false + }, + { + "name": "liqor", + "type": "publicKey", + "index": false + }, + { + "name": "liqee", + "type": "publicKey", + "index": false + }, + { + "name": "baseTransferLiqee", + "type": "i64", + "index": false + }, + { + "name": "quoteTransferLiqee", + "type": "i128", + "index": false + }, + { + "name": "quoteTransferLiqor", + "type": "i128", + "index": false + }, + { + "name": "quotePlatformFee", + "type": "i128", + "index": false + }, + { + "name": "pnlTransfer", + "type": "i128", + "index": false + }, + { + "name": "pnlSettleLimitTransferRecurring", + "type": "i64", + "index": false + }, + { + "name": "pnlSettleLimitTransferOneshot", + "type": "i64", + "index": false + }, + { + "name": "price", + "type": "i128", + "index": false + } + ] + }, { "name": "PerpLiqBankruptcyLog", "fields": [