From 3aca793f0ecca965192f595b959f7eea95f4b78a Mon Sep 17 00:00:00 2001 From: Christian Kamm Date: Tue, 24 May 2022 17:01:34 +0200 Subject: [PATCH] Commit deployment changes --- ts/client/src/mango_v4.ts | 42 +++++++++++++++++++++++++++++++++++---- yarn.lock | 7 +++++++ 2 files changed, 45 insertions(+), 4 deletions(-) diff --git a/ts/client/src/mango_v4.ts b/ts/client/src/mango_v4.ts index 4029a4628..1a07a6150 100644 --- a/ts/client/src/mango_v4.ts +++ b/ts/client/src/mango_v4.ts @@ -514,13 +514,26 @@ export type MangoV4 = { "name": "owner", "isMut": false, "isSigner": true + }, + { + "name": "tokenProgram", + "isMut": false, + "isSigner": false } ], "args": [ { - "name": "banksLen", + "name": "numHealthAccounts", "type": "u64" }, + { + "name": "withdraws", + "type": { + "vec": { + "defined": "(u8,u64)" + } + } + }, { "name": "cpiData", "type": "bytes" @@ -1703,12 +1716,16 @@ export type MangoV4 = { "name": "tokenIndex", "type": "u16" }, + { + "name": "bump", + "type": "u8" + }, { "name": "reserved", "type": { "array": [ "u8", - 6 + 5 ] } } @@ -3354,13 +3371,26 @@ export const IDL: MangoV4 = { "name": "owner", "isMut": false, "isSigner": true + }, + { + "name": "tokenProgram", + "isMut": false, + "isSigner": false } ], "args": [ { - "name": "banksLen", + "name": "numHealthAccounts", "type": "u64" }, + { + "name": "withdraws", + "type": { + "vec": { + "defined": "(u8,u64)" + } + } + }, { "name": "cpiData", "type": "bytes" @@ -4543,12 +4573,16 @@ export const IDL: MangoV4 = { "name": "tokenIndex", "type": "u16" }, + { + "name": "bump", + "type": "u8" + }, { "name": "reserved", "type": { "array": [ "u8", - 6 + 5 ] } } diff --git a/yarn.lock b/yarn.lock index 14eb6680e..75a065228 100644 --- a/yarn.lock +++ b/yarn.lock @@ -255,6 +255,13 @@ resolved "https://registry.yarnpkg.com/@tsconfig/recommended/-/recommended-1.0.1.tgz#7619bad397e06ead1c5182926c944e0ca6177f52" integrity sha512-2xN+iGTbPBEzGSnVp/Hd64vKJCJWxsi9gfs88x4PPMyEjHJoA3o5BY9r5OLPHIZU2pAQxkSAsJFqn6itClP8mQ== +"@types/bn.js@^4.11.6": + version "4.11.6" + resolved "https://registry.yarnpkg.com/@types/bn.js/-/bn.js-4.11.6.tgz#c306c70d9358aaea33cd4eda092a742b9505967c" + integrity sha512-pqr857jrp2kPuO9uRjZ3PwnJTjoQy+fcdxvBTvHm6dkmEL9q+hDD/2j/0ELOBPtPnS8LjCX0gI9nbl8lVkadpg== + dependencies: + "@types/node" "*" + "@types/bs58@^4.0.1": version "4.0.1" resolved "https://registry.yarnpkg.com/@types/bs58/-/bs58-4.0.1.tgz#3d51222aab067786d3bc3740a84a7f5a0effaa37"