Solana connection
the SAGE program
the Cargo program
the StarbasePlayer
the Starbase associated with the starbasePlayer
the player profile
the player profile's faction
the cargo stats definition
the SAGE game id
the game state account associated with gameId
the key authorized to run this instruction, should have at least ADD_REMOVE_CARGO SAGE permissions
the index of the key in the playerProfile permissions
Generated using TypeDoc
Clean up Starbase cargo pods for the provided StarbasePlayer account
Removes any extra StarbasePlayer-owned cargo pods by transferring all the cargo to the main cargo pod at a Starbase.
Returns
InstructionReturn[]