@@ -9,15 +9,15 @@ use cosmwasm_std::{
9
9
10
10
use cw2:: set_contract_version;
11
11
use cw3:: {
12
- ProposalListResponse , ProposalResponse , Status , Vote , VoteInfo , VoteListResponse , VoteResponse ,
13
- VoterDetail , VoterListResponse , VoterResponse ,
12
+ Ballot , Proposal , ProposalListResponse , ProposalResponse , Status , Vote , VoteInfo ,
13
+ VoteListResponse , VoteResponse , VoterDetail , VoterListResponse , VoterResponse , Votes ,
14
14
} ;
15
15
use cw_storage_plus:: Bound ;
16
16
use cw_utils:: { Expiration , ThresholdResponse } ;
17
17
18
18
use crate :: error:: ContractError ;
19
19
use crate :: msg:: { ExecuteMsg , InstantiateMsg , QueryMsg } ;
20
- use crate :: state:: { next_id, Ballot , Config , Proposal , Votes , BALLOTS , CONFIG , PROPOSALS , VOTERS } ;
20
+ use crate :: state:: { next_id, Config , BALLOTS , CONFIG , PROPOSALS , VOTERS } ;
21
21
22
22
// version info for migration info
23
23
const CONTRACT_NAME : & str = "crates.io:cw3-fixed-multisig" ;
@@ -112,6 +112,8 @@ pub fn execute_propose(
112
112
votes : Votes :: yes ( vote_power) ,
113
113
threshold : cfg. threshold ,
114
114
total_weight : cfg. total_weight ,
115
+ proposer : info. sender . clone ( ) ,
116
+ deposit : None ,
115
117
} ;
116
118
prop. update_status ( & env. block ) ;
117
119
let id = next_id ( deps. storage ) ?;
@@ -276,6 +278,8 @@ fn query_proposal(deps: Deps, env: Env, id: u64) -> StdResult<ProposalResponse>
276
278
msgs : prop. msgs ,
277
279
status,
278
280
expires : prop. expires ,
281
+ deposit : prop. deposit ,
282
+ proposer : prop. proposer ,
279
283
threshold,
280
284
} )
281
285
}
@@ -331,6 +335,8 @@ fn map_proposal(
331
335
description : prop. description ,
332
336
msgs : prop. msgs ,
333
337
status,
338
+ deposit : prop. deposit ,
339
+ proposer : prop. proposer ,
334
340
expires : prop. expires ,
335
341
threshold,
336
342
}
0 commit comments