Skip to content

Function: computeBoopHash()

function computeBoopHash(chainId: number | bigint, boop: {
  account: `0x${string}`;
  callData: `0x${string}`;
  dest: `0x${string}`;
  executeGasLimit?: number;
  extraData: `0x${string}`;
  gasLimit?: number;
  maxFeePerGas?: bigint;
  nonceTrack: bigint;
  nonceValue: bigint;
  payer: `0x${string}`;
  submitterFee?: bigint;
  validateGasLimit?: number;
  validatePaymentGasLimit?: number;
  validatorData: `0x${string}`;
  value: bigint;
}): `0x${string}`;

Defined in: apps/submitter/lib/utils/boop/computeBoopHash.ts:18

Computes a boop hash, which is compute over a Boop and the chain ID.

Parameters

chainId

number | bigint

boop

account

`0x${string}`

callData

`0x${string}`

dest

`0x${string}`

executeGasLimit?

number

extraData

`0x${string}`

gasLimit?

number

maxFeePerGas?

bigint

nonceTrack

bigint

nonceValue

bigint

payer

`0x${string}`

submitterFee?

bigint

validateGasLimit?

number

validatePaymentGasLimit?

number

validatorData

`0x${string}`

value

bigint

Returns

`0x${string}`