[Error Code: 1101] error caused by: 1 error occurred: * transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed: error: cannot deploy invalid contract --> c9a27c5965355651e881c93232ccb89e4f1d56d959a19fb6e3712dd170cddedc:3:2 | 3 | signer.contracts.update(name: name, code: code.decodeHex()) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: value of type `ExampleNFT` has no member `name` --> 8a8f352692c473a0.ExampleNFT:287:31 | 287 | name: self.name, | ^^^^ unknown member error: cannot find variable in this scope: `SerializeMetadata` --> 8a8f352692c473a0.ExampleNFT:291:31 | 291 | value: SerializeMetadata.serializeNFTMetadataAsURI(&self as &{NonFungibleToken.NFT}) | ^^^^^^^^^^^^^^^^^ not found in this scope error: cannot move contract: `self` --> 8a8f352692c473a0.ExampleNFT:291:76 | 291 | value: SerializeMetadata.serializeNFTMetadataAsURI(&self as &{NonFungibleToken.NFT}) | ^^^^ error: mismatched types --> 8a8f352692c473a0.ExampleNFT:291:76 | 291 | value: SerializeMetadata.serializeNFTMetadataAsURI(&self as &{NonFungibleToken.NFT}) | ^^^^ expected `{NonFungibleToken.NFT}`, got `ExampleNFT` error: cannot find variable in this scope: `SerializeMetadata` --> 8a8f352692c473a0.ExampleNFT:139:35 | 139 | value: SerializeMetadata.serializeNFTMetadataAsURI(&self as &{NonFungibleToken.NFT}) | ^^^^^^^^^^^^^^^^^ not found in this scope
Loading...
Loading...
Happy diving into the flow Remember to upgrade your contracts to 1.0!