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

Method push

bitvm/src/bn254/g1.rs:135–140  ·  view source on GitHub ↗
(element: ark_bn254::G1Affine)

Source from the content-addressed store, hash-verified

133 }
134
135 pub fn push(element: ark_bn254::G1Affine) -> Script {
136 script! {
137 { Fq::push_u32_le(&BigUint::from(element.x).to_u32_digits()) }
138 { Fq::push_u32_le(&BigUint::from(element.y).to_u32_digits()) }
139 }
140 }
141
142 pub fn toaltstack() -> Script {
143 script! {

Callers 5

hinted_check_addMethod · 0.45
hinted_check_doubleMethod · 0.45
hinted_from_eval_pointsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected