Static
Readonly
ACCOUNT_Static
Readonly
MIN_Static
closethe profile vault program
the profile vault
the vault's authority
the address to receive tokens in vault
the account to receive rent refund
The key to use to sign the transaction
Optional
optionalProfilesOrRoles: OptionalProfileOrRoleInput[]Optional profiles or roles to add to the transaction to authorize transaction.
InstructionReturn
Static
createCreate a new vault
the profile vault program
the vault seed
The key to use to sign the transaction
Optional
optionalProfilesOrRoles: OptionalProfileOrRoleInput[]Optional profiles or roles to add to the transaction to authorize transaction.
InstructionReturn
Static
decodeStatic
drainDrains tokens out of a vault
the profile vault program
the profile vault
the vault's authority
the address to receive drained tokens
the amount of tokens to drain
The key to use to sign the transaction
Optional
optionalProfilesOrRoles: OptionalProfileOrRoleInput[]Optional profiles or roles to add to the transaction to authorize transaction.
InstructionReturn
Static
findFind the PDA of a vault signer
the profile vault program
the player profile account address
the vault seed
PDA & Bump
Generated using TypeDoc
Closes a vault, transferring all remaining tokens