Function createScoreVarsInitializeInstruction

  • Initializes Score variables account and creates ATLAS treasury token account

    Parameters

    • connection: Connection

      web3.Connection object

    • updateAuthorityAccount: PublicKey

      Desired authority public key

    • atlasMint: PublicKey

      ATLAS mint address

    • fuelMint: PublicKey

      Fuel mint address

    • foodMint: PublicKey

      Food mint address

    • armsMint: PublicKey

      Arms mint address

    • toolkitMint: PublicKey

      Toolkit mint address

    • programId: PublicKey

      Deployed program ID for the SCORE program

    Returns Promise<web3.TransactionInstruction>