Zilliqa / marketplace-contracts

GNU General Public License v3.0
2 stars 4 forks source link

[fixed price] renaming `msg_to_wzil` #9

Closed bb111189 closed 2 years ago

bb111189 commented 2 years ago
procedure ZRC2TransferFrom(payment_token_address: ByStr20, from: ByStr20, to: ByStr20, amount: Uint128)
  msg_to_wzil = {
    _tag: "TransferFrom";
    _recipient: payment_token_address;
    _amount: Uint128 0;
    from: from;
    to: to;
    amount: amount
  };
  msgs = one_msg msg_to_wzil;
  send msgs
end

msg_to_wzil can be renamed to msg_to_zrc2

ghost commented 2 years ago

Same changes for the English auction contract via https://github.com/Zilliqa/marketplace-contracts/commit/6e59767228955b30ab94ec0100c5f14754c426f5