Skip to main content

Module calls

Module calls 

Source

Re-exportsยง

use alloy_sol_types::SolType; ๐Ÿ”’
use alloy_sol_types::sol_data; ๐Ÿ”’
use foundry_cheatcodes_spec::Vm::VmCalls; ๐Ÿ”’
use foundry_common::ErrorExt; ๐Ÿ”’
use super::*; ๐Ÿ”’

Constantsยง

KZG_BLS_MODULUS ๐Ÿ”’
KZG_COMMITMENT_OFFSET ๐Ÿ”’
KZG_INVALID_PROOF ๐Ÿ”’
KZG_ONE_COMMITMENT ๐Ÿ”’
KZG_POINT_EVALUATION_INPUT_LEN ๐Ÿ”’
KZG_PROOF_OFFSET ๐Ÿ”’
KZG_RESIDUAL_REASON ๐Ÿ”’
KZG_RETURN_VALUE ๐Ÿ”’
U256(FIELD_ELEMENTS_PER_BLOB).to_be_bytes() ++ BLS_MODULUS.to_bytes32().
KZG_SUCCESS_INPUT ๐Ÿ”’
KZG_VERSIONED_HASH_OFFSET ๐Ÿ”’
KZG_VERSIONED_HASH_VERSION ๐Ÿ”’
Versioned hash version for KZG commitments.
KZG_Y_OFFSET ๐Ÿ”’
KZG_ZERO_COMMITMENT ๐Ÿ”’
KZG_Z_OFFSET ๐Ÿ”’

Functionsยง

byte_eq_condition ๐Ÿ”’
byte_ne_condition ๐Ÿ”’
bytes_eq_condition ๐Ÿ”’
bytes_ne_condition ๐Ÿ”’
constrained_byte ๐Ÿ”’
constrained_bytes_at ๐Ÿ”’
expr_eq_condition ๐Ÿ”’
expr_ne_condition ๐Ÿ”’
kzg_constrained_outcome ๐Ÿ”’
kzg_failure_witness_condition ๐Ÿ”’
kzg_success_return_data ๐Ÿ”’
kzg_success_witness_condition ๐Ÿ”’
kzg_to_versioned_hash ๐Ÿ”’
Returns KZG_VERSIONED_HASH_VERSION ++ sha256(commitment)[1..].
kzg_versioned_hash_mismatch_condition ๐Ÿ”’