11use cosmwasm_std:: Empty ;
22pub use cw721:: msg:: MinterResponse ;
33pub use cw721:: traits:: { Cw721Execute , Cw721Query } ;
4- pub use cw721_base :: error:: ContractError ;
4+ pub use cw721 :: error:: Cw721ContractError ;
55pub use drop_staking_base:: msg:: withdrawal_voucher:: {
66 ExecuteMsg , Extension , ExtensionMsg , InstantiateMsg , MigrateMsg , QueryMsg ,
77} ;
@@ -34,7 +34,7 @@ pub mod entry {
3434 env : Env ,
3535 info : MessageInfo ,
3636 msg : InstantiateMsg ,
37- ) -> Result < Response , ContractError > {
37+ ) -> Result < Response , Cw721ContractError > {
3838 cw2:: set_contract_version ( deps. storage , CONTRACT_NAME , CONTRACT_VERSION ) ?;
3939 Cw721VoucherContract :: default ( ) . instantiate ( deps. branch ( ) , & env, & info, msg)
4040 }
@@ -45,24 +45,17 @@ pub mod entry {
4545 env : Env ,
4646 info : MessageInfo ,
4747 msg : ExecuteMsg ,
48- ) -> Result < Response , ContractError > {
48+ ) -> Result < Response , Cw721ContractError > {
4949 Cw721VoucherContract :: default ( ) . execute ( deps, & env, & info, msg)
5050 }
5151
5252 #[ cosmwasm_std:: entry_point]
53- pub fn query ( deps : Deps , env : Env , msg : QueryMsg ) -> Result < Binary , ContractError > {
54- deps. api
55- . debug ( format ! ( "WASMDEBUG: Received QueryMsg: {:?}" , msg) . as_str ( ) ) ;
56-
57- let result = Cw721VoucherContract :: default ( ) . query ( deps, & env, msg) ;
58-
59- deps. api
60- . debug ( format ! ( "WASMDEBUG: Exiting query with result: {:?}" , result) . as_str ( ) ) ;
61- result
53+ pub fn query ( deps : Deps , env : Env , msg : QueryMsg ) -> Result < Binary , Cw721ContractError > {
54+ Cw721VoucherContract :: default ( ) . query ( deps, & env, msg) ;
6255 }
6356
6457 #[ cosmwasm_std:: entry_point]
65- pub fn migrate ( deps : DepsMut , _env : Env , _msg : MigrateMsg ) -> Result < Response , ContractError > {
58+ pub fn migrate ( deps : DepsMut , _env : Env , _msg : MigrateMsg ) -> Result < Response , Cw721ContractError > {
6659 let contract_version_metadata = cw2:: get_contract_version ( deps. storage ) ?;
6760 let storage_contract_name = contract_version_metadata. contract . as_str ( ) ;
6861 if storage_contract_name != CONTRACT_NAME {
0 commit comments