contracts-wizard icon indicating copy to clipboard operation
contracts-wizard copied to clipboard

Cairo: owner and recipient parameter order not consistent

Open ericglau opened this issue 3 years ago • 0 comments

With Cairo ERC20:

  • Set Premint to 1 and enable Mintable. The constructor parameters appear as: recipient: felt, owner: felt
  • in addition to the above, enable Pausable. The constructor parameters appear as: owner: felt, recipient: felt

This is inconsistent and could cause confusion/incorrect usage.

ericglau avatar May 12 '22 01:05 ericglau