Static
Readonly
ACCOUNT_Static
Readonly
MIN_Static
addSAGE program
the profile with the required permissions for the instruction
the profile's faction
the SAGE player profile
the owner of the ship token account
the source ship token account, owned by signerShipOrigin
the ship
the ship escrow token account (destination), owned by sagePlayerProfile
the Starbase player
the Starbase
the SAGE game id
the game state account
the instruction input params
Static
decodeStatic
findFind the SagePlayerProfile account address
The PDA and bump respectively
SAGE program
the player's profile
the SAGE game id
Static
registerRegister the SAGE player profile
InstructionReturn
SAGE program
the profile with the required permissions for the instruction
the SAGE game id
the game state account
Static
removeRemove an invalid ship from the game
InstructionReturn
SAGE program
the key authorized to run this instruction
the player's profile with the required permissions for the instruction
the profile's faction
the SAGE player profile
the destination token account, any owner is valid
the ship
the ship escrow token account (destination), owned by sagePlayerProfile
the Starbase player
the Starbase
the SAGE game id
the game state account
the instruction input params
Static
removeRemove a ship from the game
InstructionReturn
SAGE program
the key authorized to run this instruction
the player's profile with the required permissions for the instruction
the profile's faction
the SAGE player profile
the destination token account, any owner is valid
the ship
the ship escrow token account (source), owned by sagePlayerProfile
the Starbase player
the Starbase
the SAGE game id
the game state account
the instruction input params
Static
updateUpdate Ship
in escrow
InstructionReturn
SAGE program
the ship that is being replaced
the value of the next
field on oldShip
the Starbase player
the Starbase
the SAGE game id
the game state account
the instruction input params
Generated using TypeDoc
Add a
Ship
to the game by transferring it to escrow PDAReturns
InstructionReturn