Static Readonly ACCOUNT_Static Readonly MIN_Static addthe player profile program
The key to use to sign the transaction
the player profile
the permissions class
the permissions scope
the keys to add
Optional optionalProfileOrRoleInput: OptionalProfileOrRoleInput[]optional profiles or roles
InstructionReturn
Static adjustAdjust authorized keys on a player profile
the player profile program
they keys that will sign the transaction
keys to be added
the range of keys to remove (these are indices)
new key threshold
Optional optionalProfileOrRoleInput: OptionalProfileOrRoleInput[]optional profiles or roles
InstructionReturn
Static createCreate a new player profile
the player profile program
the player profile account address
the keys to add to the player profile
the ey thresh hold
InstructionReturn
Static createCreates a new role for the associated Profile
the player profile program
The key to use to sign the transaction
the new role account PDA & bump
Optional optionalProfileOrRoleInput: OptionalProfileOrRoleInput[]InstructionReturn & newRoleAccount
Static decodeStatic removeRemoves a set of non-auth keys to a profile.
the player profile program
the key input
the address where rent refunds will be sent
the range of keys to remove (these are indices)
Optional optionalProfileOrRoleInput: OptionalProfileOrRoleInput[]optional profiles or roles
InstructionReturn
Static removeRemoves a role from the associated Profile
the player profile program
The key to use to sign the transaction
The role being removed
Optional optionalProfileOrRoleInput: OptionalProfileOrRoleInput[]InstructionReturn
Static setSets the name of the profile.
the player profile program
The key to use to sign the transaction
the name account
Optional optionalProfileOrRoleInput: OptionalProfileOrRoleInput[]optional profiles or roles for validation
InstructionReturn
Generated using TypeDoc
Add keys to a profile's permissions list