sei-chain
sei-chain copied to clipboard
Update ERC721 pointer contract
Describe your changes and provide context
- Switched ERC721 pointer contract to read
name
andsymbol
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