Static Readonly ACCOUNT_Static MAX_Static Readonly MIN_Static MIN_Static decodeStatic initSAGE program
the authority for the new game
the profile with the required permissions for the instruction
the SAGE game id
Static updateUpdate a Game account
InstructionReturn
the SAGE game id
SAGE program
the key authorized to run this instruction
the profile with the required permissions for the instruction
the index of the key in the profile permissions
Optional pointCategories: { point category settings
Optional lpLP points category
Optional xpXP points category
Optional mints: { mint settings
Optional ammo?: PublicKeyammo token mint
Optional atlas?: PublicKeyatlas token mint
Optional food?: PublicKeyfood token mint
Optional fuel?: PublicKeyfuel token mint
Optional polis?: PublicKeypolis token mint
Optional repairrepair kit token mint
Optional vaults: { vault settings
Optional atlas?: PublicKeyatlas vault (token account)
Optional polis?: PublicKeypolis vault (token account)
Optional crafting: { crafting settings
Optional domain?: PublicKeycrafting domain
Optional cargo: { cargo settings
Optional statscargo stats definition
Optional riskZones: AnchorTypeDef<Object, Record<string, never>>risk zone definitions
Generated using TypeDoc
Create a new Game account
Returns
InstructionReturn