sei-chain icon indicating copy to clipboard operation
sei-chain copied to clipboard

Update ERC721 pointer contract

Open dvli2007 opened this issue 9 months ago • 0 comments

Describe your changes and provide context

  • Switched ERC721 pointer contract to read name and symbol from CW721 counterpart. This avoids potential human-errors in pointer contract creation that can result in discrepancies in name/symbol between the pointer contract and the base contract.
  • Fix bug in balanceOf -- query now paginates to get count of all tokens belonging to user, rather than just the first page
  • Add totalSupply

Testing performed to validate your change

  • Updated test/CW721ERC721PointerTest.t.sol

dvli2007 avatar May 15 '24 15:05 dvli2007