Skip to content

Commit

Permalink
feat(law): add break stone exec signature
Browse files Browse the repository at this point in the history
  • Loading branch information
amimart committed Mar 24, 2023
1 parent f82073f commit 263e6db
Showing 1 changed file with 19 additions and 5 deletions.
24 changes: 19 additions & 5 deletions contracts/cw-law-stone/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,26 @@ pub fn instantiate(

#[cfg_attr(not(feature = "library"), entry_point)]
pub fn execute(
_deps: DepsMut<'_>,
_env: Env,
_info: MessageInfo,
_msg: ExecuteMsg,
deps: DepsMut<'_>,
env: Env,
info: MessageInfo,
msg: ExecuteMsg,
) -> Result<Response, ContractError> {
Err(NotImplemented {})
match msg {
ExecuteMsg::BreakStone => execute::break_stone(deps, env, info),
}
}

pub mod execute {
use super::*;

pub fn break_stone(
_deps: DepsMut<'_>,
_env: Env,
_info: MessageInfo,
) -> Result<Response, ContractError> {
Err(NotImplemented {})
}
}

#[cfg_attr(not(feature = "library"), entry_point)]
Expand Down

0 comments on commit 263e6db

Please sign in to comment.