message: [examples/core/erc20] Slightly simplify it
diff: @@ -113,6 +113,12 @@ impl Erc20Token {
  self.balances[&to] += value;
  // emit transfer(from, to, value) (not ready yet)
  }
  +
  + // fn mint_for(&mut self, receiver: Address, value: Balance) {
  + // self.balances[&receiver] += value;
  + // self.total_supply += value;
  + // // emit transfer(0, receiver, value) (not ready yet)
  + // }
  }
  // BELOW THIS EVERYTHING WILL EVENTUALLY BE GENERATED BY THE eDSL
  @@ -165,11 +171,9 @@ where
  ContractEnv::return_(&val.encode())
  }
  -const ALLOC_KEY: Key = Key([0x0; 32]);
  -
  fn instantiate() -> Erc20Token {
  unsafe {
  - let mut alloc = BumpAlloc::from_raw_parts(ALLOC_KEY);
  + let mut alloc = BumpAlloc::from_raw_parts(Key([0x0; 32]));
  Erc20Token::allocate_using(&mut alloc)
  }
  }
  