Adds assertions to generic_transfer_with_address to make sure the vault is the correct type
Added a test with MaliciousNFT to test the transaction. MaliciousNFT is the same as ExampleNFT, but returns the ExampleNFT paths in the NFTCollectionData view instead of its own paths.
Adds FLIX to the main generic transactions
Updates comments in NonFungibleToken
adds generic_transfer_with_address_and_type since some NFTs might not have the type NFT
I can't think of any other assertions to put in the transactions, but I am open to suggestions
For contributor use:
[x] Targeted PR against master branch
[x] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
Closes: #222
Description
generic_transfer_with_address
to make sure the vault is the correct typeMaliciousNFT
to test the transaction.MaliciousNFT
is the same asExampleNFT
, but returns theExampleNFT
paths in theNFTCollectionData
view instead of its own paths.NonFungibleToken
generic_transfer_with_address_and_type
since some NFTs might not have the typeNFT
I can't think of any other assertions to put in the transactions, but I am open to suggestions
For contributor use:
master
branchFiles changed
in the Github PR explorer