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

Method new_for_query

bridge/src/graphs/peg_in.rs:194–214  ·  view source on GitHub ↗
(
        network: Network,
        depositor_public_key: &PublicKey,
        depositor_taproot_public_key: &XOnlyPublicKey,
        n_of_n_public_key: &PublicKey,
        n_of_n_public_keys: &[Public

Source from the content-addressed store, hash-verified

192
193 #[allow(clippy::too_many_arguments)]
194 pub fn new_for_query(
195 network: Network,
196 depositor_public_key: &PublicKey,
197 depositor_taproot_public_key: &XOnlyPublicKey,
198 n_of_n_public_key: &PublicKey,
199 n_of_n_public_keys: &[PublicKey],
200 n_of_n_taproot_public_key: &XOnlyPublicKey,
201 depositor_evm_address: &str,
202 deposit_input: Input,
203 ) -> Self {
204 create_graph_without_signing(
205 network,
206 depositor_public_key,
207 depositor_taproot_public_key,
208 n_of_n_public_key,
209 n_of_n_public_keys,
210 n_of_n_taproot_public_key,
211 depositor_evm_address,
212 deposit_input,
213 )
214 }
215
216 #[allow(clippy::too_many_arguments)]
217 pub fn new_with_depositor_signatures(

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected