From 462b5664d798fbbbdd427bce9ae1921dfc626282 Mon Sep 17 00:00:00 2001 From: skrrb Date: Tue, 24 Oct 2023 13:40:29 +0200 Subject: [PATCH] update idl --- ts/client/src/openbook_v2.ts | 56 ++++++++++++++++++++++++++++++++---- 1 file changed, 50 insertions(+), 6 deletions(-) diff --git a/ts/client/src/openbook_v2.ts b/ts/client/src/openbook_v2.ts index c0a22a1ec..785e8e3a2 100644 --- a/ts/client/src/openbook_v2.ts +++ b/ts/client/src/openbook_v2.ts @@ -302,7 +302,12 @@ export interface OpenbookV2 { isSigner: false; }, ]; - args: []; + args: [ + { + name: 'name'; + type: 'string'; + }, + ]; }, { name: 'closeOpenOrdersAccount'; @@ -810,6 +815,11 @@ export interface OpenbookV2 { isMut: true; isSigner: true; }, + { + name: 'penaltyPayer'; + isMut: true; + isSigner: true; + }, { name: 'market'; isMut: true; @@ -1246,6 +1256,11 @@ export interface OpenbookV2 { isMut: true; isSigner: true; }, + { + name: 'penaltyPayer'; + isMut: true; + isSigner: true; + }, { name: 'openOrdersAccount'; isMut: true; @@ -1313,7 +1328,12 @@ export interface OpenbookV2 { isSigner: true; }, { - name: 'payer'; + name: 'owner'; + isMut: true; + isSigner: true; + }, + { + name: 'penaltyPayer'; isMut: true; isSigner: true; }, @@ -2006,7 +2026,9 @@ export interface OpenbookV2 { types: [ { name: 'NonZeroPubkeyOption'; - docs: ['Like `Option`, but implemented for `Pubkey`.']; + docs: [ + 'Like `Option`, but implemented for `Pubkey` to be used with `zero_copy`', + ]; type: { kind: 'struct'; fields: [ @@ -3818,7 +3840,12 @@ export const IDL: OpenbookV2 = { isSigner: false, }, ], - args: [], + args: [ + { + name: 'name', + type: 'string', + }, + ], }, { name: 'closeOpenOrdersAccount', @@ -4326,6 +4353,11 @@ export const IDL: OpenbookV2 = { isMut: true, isSigner: true, }, + { + name: 'penaltyPayer', + isMut: true, + isSigner: true, + }, { name: 'market', isMut: true, @@ -4762,6 +4794,11 @@ export const IDL: OpenbookV2 = { isMut: true, isSigner: true, }, + { + name: 'penaltyPayer', + isMut: true, + isSigner: true, + }, { name: 'openOrdersAccount', isMut: true, @@ -4829,7 +4866,12 @@ export const IDL: OpenbookV2 = { isSigner: true, }, { - name: 'payer', + name: 'owner', + isMut: true, + isSigner: true, + }, + { + name: 'penaltyPayer', isMut: true, isSigner: true, }, @@ -5522,7 +5564,9 @@ export const IDL: OpenbookV2 = { types: [ { name: 'NonZeroPubkeyOption', - docs: ['Like `Option`, but implemented for `Pubkey`.'], + docs: [ + 'Like `Option`, but implemented for `Pubkey` to be used with `zero_copy`', + ], type: { kind: 'struct', fields: [