Skip to content

Commit

Permalink
update idl
Browse files Browse the repository at this point in the history
  • Loading branch information
skrrb committed Oct 24, 2023
1 parent d04b1dc commit 462b566
Showing 1 changed file with 50 additions and 6 deletions.
56 changes: 50 additions & 6 deletions ts/client/src/openbook_v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,12 @@ export interface OpenbookV2 {
isSigner: false;
},
];
args: [];
args: [
{
name: 'name';
type: 'string';
},
];
},
{
name: 'closeOpenOrdersAccount';
Expand Down Expand Up @@ -810,6 +815,11 @@ export interface OpenbookV2 {
isMut: true;
isSigner: true;
},
{
name: 'penaltyPayer';
isMut: true;
isSigner: true;
},
{
name: 'market';
isMut: true;
Expand Down Expand Up @@ -1246,6 +1256,11 @@ export interface OpenbookV2 {
isMut: true;
isSigner: true;
},
{
name: 'penaltyPayer';
isMut: true;
isSigner: true;
},
{
name: 'openOrdersAccount';
isMut: true;
Expand Down Expand Up @@ -1313,7 +1328,12 @@ export interface OpenbookV2 {
isSigner: true;
},
{
name: 'payer';
name: 'owner';
isMut: true;
isSigner: true;
},
{
name: 'penaltyPayer';
isMut: true;
isSigner: true;
},
Expand Down Expand Up @@ -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: [
Expand Down Expand Up @@ -3818,7 +3840,12 @@ export const IDL: OpenbookV2 = {
isSigner: false,
},
],
args: [],
args: [
{
name: 'name',
type: 'string',
},
],
},
{
name: 'closeOpenOrdersAccount',
Expand Down Expand Up @@ -4326,6 +4353,11 @@ export const IDL: OpenbookV2 = {
isMut: true,
isSigner: true,
},
{
name: 'penaltyPayer',
isMut: true,
isSigner: true,
},
{
name: 'market',
isMut: true,
Expand Down Expand Up @@ -4762,6 +4794,11 @@ export const IDL: OpenbookV2 = {
isMut: true,
isSigner: true,
},
{
name: 'penaltyPayer',
isMut: true,
isSigner: true,
},
{
name: 'openOrdersAccount',
isMut: true,
Expand Down Expand Up @@ -4829,7 +4866,12 @@ export const IDL: OpenbookV2 = {
isSigner: true,
},
{
name: 'payer',
name: 'owner',
isMut: true,
isSigner: true,
},
{
name: 'penaltyPayer',
isMut: true,
isSigner: true,
},
Expand Down Expand Up @@ -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: [
Expand Down

0 comments on commit 462b566

Please sign in to comment.