/**
 * This code was GENERATED using the solita package.
 * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.
 *
 * See: https://github.com/metaplex-foundation/solita
 */

import * as web3 from '@solana/web3.js';
import * as beet from '@metaplex-foundation/beet';
import * as beetSolana from '@metaplex-foundation/beet-solana';
export type ConcurrentMerkleTreeHeaderDataV1 = {
  maxBufferSize: number;
  maxDepth: number;
  authority: web3.PublicKey;
  creationSlot: beet.bignum;
  padding: number[] /* size: 6 */;
};

/**
 * @category userTypes
 * @category generated
 */
export const concurrentMerkleTreeHeaderDataV1Beet =
  new beet.BeetArgsStruct<ConcurrentMerkleTreeHeaderDataV1>(
    [
      ['maxBufferSize', beet.u32],
      ['maxDepth', beet.u32],
      ['authority', beetSolana.publicKey],
      ['creationSlot', beet.u64],
      ['padding', beet.uniformFixedSizeArray(beet.u8, 6)],
    ],
    'ConcurrentMerkleTreeHeaderDataV1'
  );
