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

Class DepositorContext

bridge/src/contexts/depositor.rs:5–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3use super::base::{generate_keys_from_secret, generate_n_of_n_public_key, BaseContext};
4
5pub struct DepositorContext {
6 pub network: Network,
7
8 pub depositor_keypair: Keypair,
9 pub depositor_public_key: PublicKey,
10 pub depositor_taproot_public_key: XOnlyPublicKey,
11
12 pub n_of_n_public_keys: Vec<PublicKey>,
13 pub n_of_n_public_key: PublicKey,
14 pub n_of_n_taproot_public_key: XOnlyPublicKey,
15}
16
17impl BaseContext for DepositorContext {
18 fn network(&self) -> Network {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected