Whoops! 😨 Something unexpected happened...
[Error Code: 1101] cadence runtime error Execution failed:
error: cannot find declaration `Shard` in `7ff5f9ac593c3ee0.Shard`
--> 4ce95090f28a75d1e2c176ec6c147e44777b9a3615c00d34be5581ce86dc2962:5:7
|
5 | import Shard from 0x7ff5f9ac593c3ee0
| ^^^^^ available exported declarations are:
error: cannot infer type parameter: `T`
--> 4ce95090f28a75d1e2c176ec6c147e44777b9a3615c00d34be5581ce86dc2962:21:12
|
21 | if !signer.getCapability<&Shard.Collection{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>(nftCollectionProviderPrivatePath)!.check() {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot infer type parameter: `T`
--> 4ce95090f28a75d1e2c176ec6c147e44777b9a3615c00d34be5581ce86dc2962:22:12
|
22 | signer.link<&Shard.Collection{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>(nftCollectionProviderPrivatePath, target: /storage/EternalShardCollection)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: mismatched types
--> 4ce95090f28a75d1e2c176ec6c147e44777b9a3615c00d34be5581ce86dc2962:58:35
|
58 | nftProviderCapability: self.nftProvider,
| ^^^^^^^^^^^^^^^^ expected `Capability<&AnyResource{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>`, got `Capability<&<<invalid>>{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>`
error: cannot infer type parameter: `T`
--> 4ce95090f28a75d1e2c176ec6c147e44777b9a3615c00d34be5581ce86dc2962:59:21
|
59 | nftType: Type<@Shard.NFT>(),
| ^^^^^^^^^^^^^^^^^^
could not find import [Error Code: 1101] cadence runtime error Execution failed:
error: cannot find declaration `Shard` in `7ff5f9ac593c3ee0.Shard`
--> 4ce95090f28a75d1e2c176ec6c147e44777b9a3615c00d34be5581ce86dc2962:5:7
|
5 | import Shard from 0x7ff5f9ac593c3ee0
| ^^^^^ available exported declarations are:
error: cannot infer type parameter: `T`
--> 4ce95090f28a75d1e2c176ec6c147e44777b9a3615c00d34be5581ce86dc2962:21:12
|
21 | if !signer.getCapability<&Shard.Collection{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>(nftCollectionProviderPrivatePath)!.check() {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot infer type parameter: `T`
--> 4ce95090f28a75d1e2c176ec6c147e44777b9a3615c00d34be5581ce86dc2962:22:12
|
22 | signer.link<&Shard.Collection{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>(nftCollectionProviderPrivatePath, target: /storage/EternalShardCollection)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: mismatched types
--> 4ce95090f28a75d1e2c176ec6c147e44777b9a3615c00d34be5581ce86dc2962:58:35
|
58 | nftProviderCapability: self.nftProvider,
| ^^^^^^^^^^^^^^^^ expected `Capability<&AnyResource{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>`, got `Capability<&<<invalid>>{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>`
error: cannot infer type parameter: `T`
--> 4ce95090f28a75d1e2c176ec6c147e44777b9a3615c00d34be5581ce86dc2962:59:21
|
59 | nftType: Type<@Shard.NFT>(),
| ^^^^^^^^^^^^^^^^^^
%!(EXTRA string=No contracts found for identifier=A.7ff5f9ac593c3ee0.Shard)