DataRegistryIdl: {
accounts: {
discriminator: number[];
name: string;
}[];
address: string;
errors: {
code: number;
msg: string;
name: string;
}[];
instructions: ({
accounts: ({
address?: undefined;
name: string;
signer: boolean;
writable: boolean;
} | {
address?: undefined;
name: string;
signer: boolean;
writable?: undefined;
} | {
address?: undefined;
name: string;
signer?: undefined;
writable?: undefined;
} | {
address: string;
name: string;
signer?: undefined;
writable?: undefined;
})[];
args: {
name: string;
type: {
defined: {
name: string;
};
};
}[];
discriminator: number[];
docs: string[];
name: string;
} | {
accounts: ({
address?: undefined;
name: string;
pda?: undefined;
signer: boolean;
writable: boolean;
} | {
address?: undefined;
name: string;
pda?: undefined;
signer: boolean;
writable?: undefined;
} | {
address?: undefined;
name: string;
pda?: undefined;
signer?: undefined;
writable?: undefined;
} | {
address?: undefined;
name: string;
pda: {
seeds: {
kind: string;
path: string;
}[];
};
signer?: undefined;
writable: boolean;
} | {
address: string;
name: string;
pda?: undefined;
signer?: undefined;
writable?: undefined;
})[];
args: ({
name: string;
type: string;
} | {
name: string;
type: {
option: string;
};
})[];
discriminator: number[];
docs: string[];
name: string;
} | {
accounts: ({
name: string;
signer: boolean;
writable?: undefined;
} | {
name: string;
signer?: undefined;
writable: boolean;
})[];
args: {
name: string;
type: string;
}[];
discriminator: number[];
docs: string[];
name: string;
} | {
accounts: ({
name: string;
signer: boolean;
writable?: undefined;
} | {
name: string;
signer?: undefined;
writable?: undefined;
} | {
name: string;
signer?: undefined;
writable: boolean;
})[];
args: {
name: string;
type: {
defined: {
name: string;
};
};
}[];
discriminator: number[];
docs: string[];
name: string;
})[];
metadata: {
description: string;
name: string;
repository: string;
spec: string;
version: string;
};
types: ({
name: string;
type: {
fields: ({
name: string;
type: {
defined: {
name: string;
};
};
} | {
name: string;
type: string;
})[];
kind: string;
variants?: undefined;
};
} | {
name: string;
type: {
fields: ({
docs?: undefined;
name: string;
type: string;
} | {
docs: string[];
name: string;
type: string;
} | {
docs: string[];
name: string;
type: {
defined: {
name: string;
};
};
})[];
kind: string;
variants?: undefined;
};
} | {
name: string;
type: {
fields?: undefined;
kind: string;
variants: {
name: string;
}[];
};
})[];
}
Type declaration
accounts: {
discriminator: number[];
name: string;
}[]
address: string
errors: {
code: number;
msg: string;
name: string;
}[]
instructions: ({
accounts: ({
address?: undefined;
name: string;
signer: boolean;
writable: boolean;
} | {
address?: undefined;
name: string;
signer: boolean;
writable?: undefined;
} | {
address?: undefined;
name: string;
signer?: undefined;
writable?: undefined;
} | {
address: string;
name: string;
signer?: undefined;
writable?: undefined;
})[];
args: {
name: string;
type: {
defined: {
name: string;
};
};
}[];
discriminator: number[];
docs: string[];
name: string;
} | {
accounts: ({
address?: undefined;
name: string;
pda?: undefined;
signer: boolean;
writable: boolean;
} | {
address?: undefined;
name: string;
pda?: undefined;
signer: boolean;
writable?: undefined;
} | {
address?: undefined;
name: string;
pda?: undefined;
signer?: undefined;
writable?: undefined;
} | {
address?: undefined;
name: string;
pda: {
seeds: {
kind: string;
path: string;
}[];
};
signer?: undefined;
writable: boolean;
} | {
address: string;
name: string;
pda?: undefined;
signer?: undefined;
writable?: undefined;
})[];
args: ({
name: string;
type: string;
} | {
name: string;
type: {
option: string;
};
})[];
discriminator: number[];
docs: string[];
name: string;
} | {
accounts: ({
name: string;
signer: boolean;
writable?: undefined;
} | {
name: string;
signer?: undefined;
writable: boolean;
})[];
args: {
name: string;
type: string;
}[];
discriminator: number[];
docs: string[];
name: string;
} | {
accounts: ({
name: string;
signer: boolean;
writable?: undefined;
} | {
name: string;
signer?: undefined;
writable?: undefined;
} | {
name: string;
signer?: undefined;
writable: boolean;
})[];
args: {
name: string;
type: {
defined: {
name: string;
};
};
}[];
discriminator: number[];
docs: string[];
name: string;
})[]
metadata: {
description: string;
name: string;
repository: string;
spec: string;
version: string;
}
description: string
name: string
repository: string
spec: string
version: string
types: ({
name: string;
type: {
fields: ({
name: string;
type: {
defined: {
name: string;
};
};
} | {
name: string;
type: string;
})[];
kind: string;
variants?: undefined;
};
} | {
name: string;
type: {
fields: ({
docs?: undefined;
name: string;
type: string;
} | {
docs: string[];
name: string;
type: string;
} | {
docs: string[];
name: string;
type: {
defined: {
name: string;
};
};
})[];
kind: string;
variants?: undefined;
};
} | {
name: string;
type: {
fields?: undefined;
kind: string;
variants: {
name: string;
}[];
};
})[]