message: Update hackatom contract with new api
diff: @@ -85,7 +85,7 @@ pub fn init<S: Storage, A: Api, Q: Querier>(
  // This adds some unrelated log for testing purposes
  let mut ctx = Context::new();
  - ctx.emit("Let the", "hacking begin");
  + ctx.add_event("Let the", "hacking begin");
  ctx.try_into()
  }
  @@ -102,7 +102,7 @@ pub fn migrate<S: Storage, A: Api, Q: Querier>(
  config.verifier = deps.api.canonical_address(&msg.verifier)?;
  deps.storage.set(CONFIG_KEY, &to_vec(&config)?);
  - Context::new().try_into()
  + Ok(MigrateResponse::default())
  }
  pub fn handle<S: Storage, A: Api, Q: Querier>(
  @@ -136,15 +136,15 @@ fn do_release<S: Storage, A: Api, Q: Querier>(
  let balance = deps.querier.query_all_balances(&from_addr)?;
  let mut ctx = Context::new();
  - ctx.emit("action", "release");
  - ctx.emit("destination", &to_addr);
  - ctx.send_action(BankMsg::Send {
  + ctx.add_event("action", "release");
  + ctx.add_event("destination", &to_addr);
  + ctx.add_message(BankMsg::Send {
  from_address: from_addr,
  to_address: to_addr,
  amount: balance,
  });
  ctx.set_data(&[0xF0, 0x0B, 0xAA]);
  - ctx.try_into()
  + Ok(ctx.into())
  } else {
  Err(StdError::unauthorized())
  }
  