CODE_ERROR
There is an error in the cadence code of this transaction.
[Error Code: 1101] error caused by: 1 error occurred: * transaction preprocess failed: [Error Code: 1101] cadence runtime error: Execution failed: error: cannot find variable in this scope: `ExampleNFT` --> b006f2892d3c06afe928ad9dab5605d679f5ee77892e8876ed9687dd0c204629:20:27 | 20 | .getCapability(ExampleNFT.CollectionPublicPath) | ^^^^^^^^^^ not found in this scope error: mismatched types --> b006f2892d3c06afe928ad9dab5605d679f5ee77892e8876ed9687dd0c204629:19:38 | 19 | self.recipientCollectionRef = getAccount(recipient) 20 | .getCapability(ExampleNFT.CollectionPublicPath) 21 | .borrow<&{NonFungibleToken.CollectionPublic}>() 22 | ?? panic("Could not get receiver reference to the NFT Collection") | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&ZojaxMintsV2.Collection{NonFungibleToken.CollectionPublic}`, got `&AnyResource{NonFungibleToken.CollectionPublic}` error: cannot find variable in this scope: `royaltyBeneficiaries` --> b006f2892d3c06afe928ad9dab5605d679f5ee77892e8876ed9687dd0c204629:36:14 | 36 | while royaltyBeneficiaries.length > count { | ^^^^^^^^^^^^^^^^^^^^ not found in this scope error: cannot find variable in this scope: `royaltyBeneficiaries` --> b006f2892d3c06afe928ad9dab5605d679f5ee77892e8876ed9687dd0c204629:37:30 | 37 | let beneficiary = royaltyBeneficiaries[count] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope error: cannot find type in this scope: `FungibleToken` --> b006f2892d3c06afe928ad9dab5605d679f5ee77892e8876ed9687dd0c204629:39:29 | 39 | .getCapability<&{FungibleToken.Receiver}>(MetadataViews.getRoyaltyReceiverPublicPath()) | ^^^^^^^^^^^^^ not found in this scope error: ambiguous restricted type --> b006f2892d3c06afe928ad9dab5605d679f5ee77892e8876ed9687dd0c204629:39:28 | 39 | .getCapability<&{FungibleToken.Receiver}>(MetadataViews.getRoyaltyReceiverPublicPath()) | ^^^^^^^^^^^^^^^^^^^^^^^^ error: cannot infer type parameter: `T` --> b006f2892d3c06afe928ad9dab5605d679f5ee77892e8876ed9687dd0c204629:42:16 | 42 | if !beneficiaryCapability.check() { panic("Beneficiary capability is not valid!") } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: too few arguments --> b006f2892d3c06afe928ad9dab5605d679f5ee77892e8876ed9687dd0c204629:45:16 | 45 | MetadataViews.Royalty( 46 | receiver: beneficiaryCapability, 47 | description: royaltyDescriptions[count] 48 | ) | ^ expected at least 3, got 2 error: mismatched types --> b006f2892d3c06afe928ad9dab5605d679f5ee77892e8876ed9687dd0c204629:46:30 | 46 | receiver: beneficiaryCapability, | ^^^^^^^^^^^^^^^^^^^^^ expected `Capability<&AnyResource{FungibleToken.Receiver}>`, got `Capability` error: cannot find variable in this scope: `royaltyDescriptions` --> b006f2892d3c06afe928ad9dab5605d679f5ee77892e8876ed9687dd0c204629:47:33 | 47 | description: royaltyDescriptions[count] | ^^^^^^^^^^^^^^^^^^^ not found in this scope error: value of type `ZojaxMintsV2` has no member `mintNFT` --> b006f2892d3c06afe928ad9dab5605d679f5ee77892e8876ed9687dd0c204629:53:21 | 53 | ZojaxMintsV2.mintNFT( | ^^^^^^^ unknown member error: cannot find variable in this scope: `ExampleNFT` --> b006f2892d3c06afe928ad9dab5605d679f5ee77892e8876ed9687dd0c204629:63:8 | 63 | ExampleNFT.totalSupply == self.mintingIDBefore + 1: "The total supply should have been increased by 1" | ^^^^^^^^^^ not found in this scope error: cannot apply binary operation + to types: `UInt64`, `Int` --> b006f2892d3c06afe928ad9dab5605d679f5ee77892e8876ed9687dd0c204629:63:34 | 63 | ExampleNFT.totalSupply == self.mintingIDBefore + 1: "The total supply should have been increased by 1" | ^^^^^^^^^^^^^^^^^^^^^^^^
Arguments:
recipient:
0x53ac8f60ab1bc349
name:
Jeko
description:
Jeko Desc
thumbnail:
https://mydogsnftcom...4/03/dog-puppy-3.jpg