...
NFT table added to FIO Address contract
Index support for new getters
contract address & tokenid
nft hash
by fio address
by owner
Binary extensions
Risks
Increase in state utilization
...
add nft
NFT is searchable by hash
Searchable by owner
Verify fee amount properly paid from user
Verify fee amount distribution between bp pools and tpids
transfer address
Ensure NFTs are burned on transfer
burn address
Ensure NFTs burned with address
remove nft
Specific nft hash no longer exists
NFT owner no longer has nft in record
Verify fee amount properly paid from user
Verify fee amount distribution between bp pools and tpids
remove all nfts
None of the NFTs are present by their hash
Owner does not have NFTs
Verify fee amount properly paid from user
Verify fee amount distribution between bp pools and tpids
Results
TBD
Performance Testing
...
Registration of 10000 NFTs, 20 simultaneous users 500 total
Measure TPS
Measure state utilization
Any bloating of the block log ?
Big vs small NFT metadata, urls, and other variably sized strings stored in state
Remove large amounts of NFTs from multiple users
Measure performance impact on node
Do actions begin to fail ?
Results
TBD
Fork Testing plan
...