Variable ValidityProofResultV2Const
ValidityProofResultV2: Struct<
{
compressedProof: { a: number[]; b: number[]; c: number[] }
| null;
accounts: {
hash: BN;
root: BN;
rootIndex: { rootIndex: number; proveByIndex: boolean };
merkleContext: {
treeType: number;
tree: PublicKey;
queue: PublicKey;
cpiContext: PublicKey | null;
nextTreeContext?:
| {
treeType: number;
tree: PublicKey;
queue: PublicKey;
cpiContext: PublicKey
| null;
}
| null;
};
leafIndex: number;
}[];
addresses: {
address: BN;
root: BN;
rootIndex: number;
merkleContext: {
treeType: number;
tree: PublicKey;
queue: PublicKey;
cpiContext: PublicKey
| null;
nextTreeContext?:
| {
treeType: number;
tree: PublicKey;
queue: PublicKey;
cpiContext: PublicKey
| null;
}
| null;
};
}[];
},
{
compressedProof: Struct<
{ a: number[]; b: number[]; c: number[] }
| null,
{
a: Struct<number[], Struct<number, null>>;
b: Struct<number[], Struct<number, null>>;
c: Struct<number[], Struct<number, null>>;
},
>;
accounts: Struct<
{
hash: BN;
root: BN;
rootIndex: { rootIndex: number; proveByIndex: boolean };
merkleContext: {
treeType: number;
tree: PublicKey;
queue: PublicKey;
cpiContext: PublicKey | null;
nextTreeContext?:
| {
treeType: number;
tree: PublicKey;
queue: PublicKey;
cpiContext: PublicKey
| null;
}
| null;
};
leafIndex: number;
}[],
Struct<
{
hash: BN;
root: BN;
rootIndex: { rootIndex: number; proveByIndex: boolean };
merkleContext: {
treeType: number;
tree: PublicKey;
queue: PublicKey;
cpiContext: PublicKey | null;
nextTreeContext?:
| {
treeType: number;
tree: PublicKey;
queue: PublicKey;
cpiContext: PublicKey
| null;
}
| null;
};
leafIndex: number;
},
{
hash: Struct<BN, null>;
root: Struct<BN, null>;
rootIndex: Struct<
{ rootIndex: number; proveByIndex: boolean },
{
rootIndex: Struct<number, null>;
proveByIndex: Struct<boolean, null>;
},
>;
merkleContext: Struct<
{
treeType: number;
tree: PublicKey;
queue: PublicKey;
cpiContext: PublicKey
| null;
nextTreeContext?:
| {
treeType: number;
tree: PublicKey;
queue: PublicKey;
cpiContext: PublicKey
| null;
}
| null;
},
{
treeType: Struct<number, null>;
tree: Struct<PublicKey, null>;
queue: Struct<PublicKey, null>;
cpiContext: Struct<PublicKey | null, null>;
nextTreeContext: Struct<
| {
treeType: number;
tree: PublicKey;
queue: PublicKey;
cpiContext: (...)
| (...);
}
| null
| undefined,
{
treeType: Struct<number, null>;
tree: Struct<PublicKey, null>;
queue: Struct<PublicKey, null>;
cpiContext: Struct<(...) | (...), null>;
},
>;
},
>;
leafIndex: Struct<number, null>;
},
>,
>;
addresses: Struct<
{
address: BN;
root: BN;
rootIndex: number;
merkleContext: {
treeType: number;
tree: PublicKey;
queue: PublicKey;
cpiContext: PublicKey
| null;
nextTreeContext?:
| {
treeType: number;
tree: PublicKey;
queue: PublicKey;
cpiContext: PublicKey
| null;
}
| null;
};
}[],
Struct<
{
address: BN;
root: BN;
rootIndex: number;
merkleContext: {
treeType: number;
tree: PublicKey;
queue: PublicKey;
cpiContext: PublicKey
| null;
nextTreeContext?:
| {
treeType: number;
tree: PublicKey;
queue: PublicKey;
cpiContext: PublicKey
| null;
}
| null;
};
},
{
address: Struct<BN, null>;
root: Struct<BN, null>;
rootIndex: Struct<number, null>;
merkleContext: Struct<
{
treeType: number;
tree: PublicKey;
queue: PublicKey;
cpiContext: PublicKey
| null;
nextTreeContext?:
| {
treeType: number;
tree: PublicKey;
queue: PublicKey;
cpiContext: PublicKey
| null;
}
| null;
},
{
treeType: Struct<number, null>;
tree: Struct<PublicKey, null>;
queue: Struct<PublicKey, null>;
cpiContext: Struct<PublicKey | null, null>;
nextTreeContext: Struct<
| {
treeType: number;
tree: PublicKey;
queue: PublicKey;
cpiContext: (...)
| (...);
}
| null
| undefined,
{
treeType: Struct<number, null>;
tree: Struct<PublicKey, null>;
queue: Struct<PublicKey, null>;
cpiContext: Struct<(...) | (...), null>;
},
>;
},
>;
},
>,
>;
},
> = ...