Example #1
0
        public void ERC721AssetCreationFromAssetData()
        {
            ERC721Asset asset = ERC721Asset.Create(_testERC721AssetData);

            Assert.AreEqual(1, asset.TokenId);
            Assert.AreEqual(_testAddress, asset.TokenAddress);
        }
Example #2
0
 public void ERC721AssetDataEncoding()
 {
     byte[] assetData = ERC721Asset.Create(_testAddress, 1).AssetData;
     CollectionAssert.AreEqual(_testERC721AssetData, assetData);
 }