- vaultDataEquals(profileVault1, profileVault2): boolean
-
Parameters
-
profileVault1: AnchorTypeDef<{
docs: ["An authority over vaults for a profile"];
name: "vaultAuthority";
type: {
fields: [{
docs: ["The data version of this account."];
name: "version";
type: "u8";
}, {
docs: ["The profile the authority is for"];
name: "profile";
type: "publicKey";
}, {
docs: ["The seed of this authority"];
name: "vaultSeed";
type: "publicKey";
}, {
docs: ["The bump for this authority"];
name: "vaultBump";
type: "u8";
}];
kind: "struct";
};
} & {
name: "vaultAuthority";
}, AnchorDefined<ProfileVaultIDL, Record<string, never>>>
-
profileVault2: AnchorTypeDef<{
docs: ["An authority over vaults for a profile"];
name: "vaultAuthority";
type: {
fields: [{
docs: ["The data version of this account."];
name: "version";
type: "u8";
}, {
docs: ["The profile the authority is for"];
name: "profile";
type: "publicKey";
}, {
docs: ["The seed of this authority"];
name: "vaultSeed";
type: "publicKey";
}, {
docs: ["The bump for this authority"];
name: "vaultBump";
type: "u8";
}];
kind: "struct";
};
} & {
name: "vaultAuthority";
}, AnchorDefined<ProfileVaultIDL, Record<string, never>>>
Returns boolean
InstructionReturnboolean
Checks if two instances of
ProfileVaultAccount
are equal.