Static Readonly ACCOUNT_Static Readonly GRID_Static Readonly MAX_Static Readonly MAX_Static Readonly MIN_Static Readonly NUM_Static Readonly SECTOR_Static decodeStatic deregisterSAGE program
the key authorized to run this instruction
the profile with the required permissions for the instruction
the new survey data unit tracker
the entity that should receive rent refunds
the SAGE game id
instruction input params
Static drainDrain a Survey Data Units token account
InstructionReturn
SAGE program
the key authorized to run this instruction
the profile with the required permissions for the instruction
the entity that should receive rent refunds
the survey data unit tracker
the SAGE game id
The mine item token bank to drain
Where to send tokens from the bank
instruction input params
Static findStatic findFinds the address of a SurveyDataUnitTracker signer
the SAGE program
the survey data units tracker
Static findFinds the address of the SDU token account owned by the SurveyDataUnitTracker signer
the survey data units tracker account
Static fundFund a SurveyDataUnitTracker SDU bank
The bank token account must already exist
InstructionReturn
the survey data units tracker account
the owner of the source token account
the source token account
the amount of tokens
Static registerRegister a Survey Data Unit Tracker Only use this if the empty surveyDataUnitTracker account has already been created on-chain
InstructionReturn
SAGE program
the key authorized to run this instruction
the profile with the required permissions for the instruction
the new survey data unit tracker
the mint for the survey data units
the SAGE game id
instruction input params
Static registerRegister a Survey Data Unit Tracker with Solana connection
Takes a connection to create an empty surveyDataUnitTracker account, which is necessary
InstructionReturn
SAGE program
Solana connection object
the key authorized to run this instruction
the profile with the required permissions for the instruction
the new survey data unit tracker
the mint for the survey data units
the SAGE game id
instruction input params
Static scanScan For Survey Data Units
InstructionReturn
SAGE program
cargo program
the key authorized to run this instruction
the profile with the required permissions for the instruction
the profile's faction
the fleet
the new survey data unit tracker
the fleet's cargo hold cargo pod
the SDU cargo type
the repairKit cargo type
the cargo stats definition
the source token SDU account, owned by the survey data unit tracker's signer (must match SDU mint in surveyDataUnitTracker)
the destination SDU token account, owned by cargoHold (must match SDU mint in surveyDataUnitTracker)
the source repairKit token account, owned by cargoHold
the repairKit token mint
the SAGE game id
the game state
instruction input params
Static updateUpdate a Survey Data Unit Tracker
InstructionReturn
SAGE program
the key authorized to run this instruction
the profile with the required permissions for the instruction
the survey data unit tracker
the SAGE game id
instruction input params
Optional mint: PublicKeythe mint for the survey data units
Generated using TypeDoc
Deregister a Survey Data Unit Tracker
Returns
InstructionReturn