MCPcopy Create free account
hub / github.com/BitVM/BitVM / push

Method push

bitvm/src/bn254/fq.rs:94–98  ·  view source on GitHub ↗
(a: ark_bn254::Fq)

Source from the content-addressed store, hash-verified

92
93 #[inline]
94 pub fn push(a: ark_bn254::Fq) -> Script {
95 script! {
96 { Fq::push_u32_le(&BigUint::from(a).to_u32_digits()) }
97 }
98 }
99
100 pub fn hinted_mul(
101 mut a_depth: u32,

Callers 13

hinted_mulMethod · 0.45
hinted_mul_lc2Method · 0.45
hinted_mul_lc2_w4Method · 0.45
hinted_mul_lc4Method · 0.45
hinted_squareMethod · 0.45
hinted_invMethod · 0.45
bigint_to_u32_limbsFunction · 0.45

Calls

no outgoing calls

Tested by 1

test_windowed_mul_2lcFunction · 0.36