1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
use boot_core::{Contract, IndexResponse, TxHandler};
use serde::Serialize;
use std::fmt::Debug;
use std::ops::{Deref, DerefMut};
pub struct AbstractOS<
Chain: TxHandler,
ExecuteMsg: Serialize + Debug,
InitMsg: Serialize + Debug,
QueryMsg: Serialize + Debug,
M: Serialize + Debug,
>(Contract<Chain, ExecuteMsg, InitMsg, QueryMsg, M>)
where
<Chain as TxHandler>::Response: IndexResponse;
impl<
Chain: TxHandler,
E: Serialize + Debug,
I: Serialize + Debug,
Q: Serialize + Debug,
M: Serialize + Debug,
> Deref for AbstractOS<Chain, E, I, Q, M>
where
<Chain as TxHandler>::Response: IndexResponse,
{
type Target = Contract<Chain, E, I, Q, M>;
fn deref(&self) -> &Self::Target {
&self.0
}
}
impl<
Chain: TxHandler,
E: Serialize + Debug,
I: Serialize + Debug,
Q: Serialize + Debug,
M: Serialize + Debug,
> DerefMut for AbstractOS<Chain, E, I, Q, M>
where
<Chain as TxHandler>::Response: IndexResponse,
{
fn deref_mut(&mut self) -> &mut Self::Target {
&mut self.0
}
}
pub mod manager;
pub mod memory;
pub mod module_factory;
pub mod os_factory;
pub mod proxy;
pub mod subscription;
pub mod dex_api;
pub mod etf;
pub mod ibc_client;
pub mod idea_token;
pub mod osmosis_host;
pub mod tendermint_staking_api;
pub mod version_control;
pub mod vesting;