Skip to main content

abstract_cw_orch_polytone/
lib.rs

1pub mod note;
2pub mod proxy;
3pub mod voice;
4pub use note::PolytoneNote;
5pub use proxy::PolytoneProxy;
6pub use voice::PolytoneVoice;
7
8pub mod deploy;
9pub mod interchain;
10pub use interchain::PolytoneConnection;
11
12pub mod utils;
13
14#[derive(Clone)]
15pub struct Polytone<Chain: cw_orch::prelude::CwEnv> {
16    pub note: PolytoneNote<Chain>,
17    pub voice: PolytoneVoice<Chain>,
18    pub proxy: PolytoneProxy<Chain>, // This contract doesn't have an address, it's only a code id  used for instantiating
19}