Flow price: --
d7846889b5f6b1f6dec4f0dd3ab1e2a2c8f1d6dba23861788a0f547de5930688

Transaction

Hash: d7846889b5f6b1f6dec4f0dd3ab1e2a2c8f1d6dba23861788a0f547de5930688
error
Error

Whoops! 😨 Something unexpected happened...

[Error Code: 1101] error caused by: 1 error occurred:
	* transaction preprocess failed: [Error Code: 1101] cadence runtime error: Execution failed:
error: error getting program 49e7a5a4edefe42e.ExampleNFT: failed to derive value: load program failed: Checking failed:
error: cannot find type in this scope: `NonFungibleToken.Owner`
   --> 49e7a5a4edefe42e.ExampleNFT:156:43

error: resource `ExampleNFT.Collection` does not conform to resource interface `NonFungibleToken.Collection`
   --> 49e7a5a4edefe42e.ExampleNFT:123:25

error: resource `ExampleNFT.Collection` does not conform to resource interface `NonFungibleToken.Collection`
   --> 49e7a5a4edefe42e.ExampleNFT:123:25

--> 49e7a5a4edefe42e.ExampleNFT

error: cannot find type in this scope: `ExampleNFT`
  --> d7846889b5f6b1f6dec4f0dd3ab1e2a2c8f1d6dba23861788a0f547de5930688:21:17
   |
21 |     let minter: &ExampleNFT.NFTMinter
   |                  ^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `ExampleNFT`
  --> d7846889b5f6b1f6dec4f0dd3ab1e2a2c8f1d6dba23861788a0f547de5930688:28:29
   |
28 |         let collectionData = ExampleNFT.resolveContractView(
   |                              ^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `ExampleNFT`
  --> d7846889b5f6b1f6dec4f0dd3ab1e2a2c8f1d6dba23861788a0f547de5930688:35:45
   |
35 |         self.minter = signer.storage.borrow<&ExampleNFT.NFTMinter>(from: ExampleNFT.MinterStoragePath)
   |                                              ^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `ExampleNFT`
  --> d7846889b5f6b1f6dec4f0dd3ab1e2a2c8f1d6dba23861788a0f547de5930688:35:73
   |
35 |         self.minter = signer.storage.borrow<&ExampleNFT.NFTMinter>(from: ExampleNFT.MinterStoragePath)
   |                                                                          ^^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
  --> d7846889b5f6b1f6dec4f0dd3ab1e2a2c8f1d6dba23861788a0f547de5930688:35:22
   |
35 |         self.minter = signer.storage.borrow<&ExampleNFT.NFTMinter>(from: ExampleNFT.MinterStoragePath)
   |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot apply binary operation ?? to left-hand type
  --> d7846889b5f6b1f6dec4f0dd3ab1e2a2c8f1d6dba23861788a0f547de5930688:55:40
   |
55 |             let beneficiaryCapability = getAccount(beneficiary).capabilities.get<&{FungibleToken.Receiver}>(
56 |                     MetadataViews.getRoyaltyReceiverPublicPath()
57 |                 ) ?? panic("Beneficiary does not have Receiver configured at RoyaltyReceiverPublicPath")
   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `optional`, got `Capability<&{FungibleToken.Receiver}>`


Loading...
0

Loading...

1

Loading...

2

Loading...

3

Loading...

4

Loading...

5

Loading...

6

Loading...