Skip to content

Instantly share code, notes, and snippets.

@ethanfrey
Created October 14, 2021 15:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ethanfrey/d5dc0f5b745649be7d095a52ca0b6d95 to your computer and use it in GitHub Desktop.
Save ethanfrey/d5dc0f5b745649be7d095a52ca0b6d95 to your computer and use it in GitHub Desktop.
Execute Prototype
#[cfg_attr(not(feature = "library"), entry_point)]
pub fn execute(
deps: DepsMut,
env: Env,
info: MessageInfo,
msg: ExecuteMsg,
) -> Result<Response, ContractError> {
/* your implementation here */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment