DeFund Finance
Search…
⌃K

Instantiate

Instantiate Msg
The DeFund CosmWasm instantiate entry point is handled very similarly to any normal Cosmwasm contract.
#[cfg_attr(not(feature = "library"), entry_point)]
pub fn instantiate(
deps: DepsMut,
_env: Env,
_info: MessageInfo,
msg: InstantiateMsg,
) -> Result<Response, StdError> {
// ...etc
}