Flow price: --
1f2fbf4476f9effd0e7a90e6da0903f815fcc747463644352b36af94ede94bdc

Transaction

Hash: 1f2fbf4476f9effd0e7a90e6da0903f815fcc747463644352b36af94ede94bdc
error
Error

Whoops! 😨 Something unexpected happened...

[Error Code: 1101] cadence runtime error Execution failed:
error: mismatched types
  --> a49cc0ee46c54bfb.MotoGPPack:79:45
   |
79 |             let packTypeStruct: &PackType = &MotoGPPack.packTypes[_packType] as &PackType
   |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `MotoGPPack.PackType`, got `MotoGPPack.PackType?`

error: mismatched types
   --> a49cc0ee46c54bfb.MotoGPPack:243:20
    |
243 |             return &self.ownedNFTs[id] as &NonFungibleToken.NFT
    |                     ^^^^^^^^^^^^^^^^^^ expected `NonFungibleToken.NFT`, got `NonFungibleToken.NFT?`

error: mismatched types
   --> a49cc0ee46c54bfb.MotoGPPack:253:27
    |
253 |                 let ref = &self.ownedNFTs[id] as auth &NonFungibleToken.NFT
    |                            ^^^^^^^^^^^^^^^^^^ expected `NonFungibleToken.NFT`, got `NonFungibleToken.NFT?`

error: cannot find variable in this scope: `MotoGPPack`
  --> a49cc0ee46c54bfb.MotoGPAdmin:25:16
   |
25 |                 MotoGPPack.packTypes[packType] == nil:
   |                 ^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `MotoGPPack`
  --> a49cc0ee46c54bfb.MotoGPAdmin:29:12
   |
29 |             MotoGPPack.packTypes[packType] = MotoGPPack.PackType(_packType: packType, _numberOfCards: numberOfCards)
   |             ^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `MotoGPPack`
  --> a49cc0ee46c54bfb.MotoGPAdmin:29:45
   |
29 |             MotoGPPack.packTypes[packType] = MotoGPPack.PackType(_packType: packType, _numberOfCards: numberOfCards)
   |                                              ^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `MotoGPPack`
  --> a49cc0ee46c54bfb.MotoGPAdmin:38:16
   |
38 |                 MotoGPPack.packTypes[packType] != nil:
   |                 ^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `MotoGPPack`
  --> a49cc0ee46c54bfb.MotoGPAdmin:47:66
   |
47 |             let adminPackCollection = MotoGPAdmin.account.borrow<&MotoGPPack.Collection{MotoGPPack.IPackCollectionPublic}>(from: /storage/motogpPackCollection)!
   |                                                                   ^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `MotoGPPack`
  --> a49cc0ee46c54bfb.MotoGPAdmin:47:88
   |
47 |             let adminPackCollection = MotoGPAdmin.account.borrow<&MotoGPPack.Collection{MotoGPPack.IPackCollectionPublic}>(from: /storage/motogpPackCollection)!
   |                                                                                         ^^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
  --> a49cc0ee46c54bfb.MotoGPAdmin:47:38
   |
47 |             let adminPackCollection = MotoGPAdmin.account.borrow<&MotoGPPack.Collection{MotoGPPack.IPackCollectionPublic}>(from: /storage/motogpPackCollection)!
   |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find variable in this scope: `MotoGPPack`
  --> a49cc0ee46c54bfb.MotoGPAdmin:51:31
   |
51 |                 let newPack <- MotoGPPack.createPack(packNumber: packNumbers[i], packType: packType)
   |                                ^^^^^^^^^^ not found in this scope

error: mismatched types
  --> a49cc0ee46c54bfb.MotoGPPack:79:45
   |
79 |             let packTypeStruct: &PackType = &MotoGPPack.packTypes[_packType] as &PackType
   |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `MotoGPPack.PackType`, got `MotoGPPack.PackType?`

error: mismatched types
   --> a49cc0ee46c54bfb.MotoGPPack:243:20
    |
243 |             return &self.ownedNFTs[id] as &NonFungibleToken.NFT
    |                     ^^^^^^^^^^^^^^^^^^ expected `NonFungibleToken.NFT`, got `NonFungibleToken.NFT?`

error: mismatched types
   --> a49cc0ee46c54bfb.MotoGPPack:253:27
    |
253 |                 let ref = &self.ownedNFTs[id] as auth &NonFungibleToken.NFT
    |                            ^^^^^^^^^^^^^^^^^^ expected `NonFungibleToken.NFT`, got `NonFungibleToken.NFT?`

error: cannot find variable in this scope: `MotoGPPack`
  --> a49cc0ee46c54bfb.MotoGPAdmin:25:16
   |
25 |                 MotoGPPack.packTypes[packType] == nil:
   |                 ^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `MotoGPPack`
  --> a49cc0ee46c54bfb.MotoGPAdmin:29:12
   |
29 |             MotoGPPack.packTypes[packType] = MotoGPPack.PackType(_packType: packType, _numberOfCards: numberOfCards)
   |             ^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `MotoGPPack`
  --> a49cc0ee46c54bfb.MotoGPAdmin:29:45
   |
29 |             MotoGPPack.packTypes[packType] = MotoGPPack.PackType(_packType: packType, _numberOfCards: numberOfCards)
   |                                              ^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `MotoGPPack`
  --> a49cc0ee46c54bfb.MotoGPAdmin:38:16
   |
38 |                 MotoGPPack.packTypes[packType] != nil:
   |                 ^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `MotoGPPack`
  --> a49cc0ee46c54bfb.MotoGPAdmin:47:66
   |
47 |             let adminPackCollection = MotoGPAdmin.account.borrow<&MotoGPPack.Collection{MotoGPPack.IPackCollectionPublic}>(from: /storage/motogpPackCollection)!
   |                                                                   ^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `MotoGPPack`
  --> a49cc0ee46c54bfb.MotoGPAdmin:47:88
   |
47 |             let adminPackCollection = MotoGPAdmin.account.borrow<&MotoGPPack.Collection{MotoGPPack.IPackCollectionPublic}>(from: /storage/motogpPackCollection)!
   |                                                                                         ^^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
  --> a49cc0ee46c54bfb.MotoGPAdmin:47:38
   |
47 |             let adminPackCollection = MotoGPAdmin.account.borrow<&MotoGPPack.Collection{MotoGPPack.IPackCollectionPublic}>(from: /storage/motogpPackCollection)!
   |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find variable in this scope: `MotoGPPack`
  --> a49cc0ee46c54bfb.MotoGPAdmin:51:31
   |
51 |                 let newPack <- MotoGPPack.createPack(packNumber: packNumbers[i], packType: packType)
   |                                ^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `MotoGPAdmin`
  --> a49cc0ee46c54bfb.MotoGPCardMetadata:56:34
   |
56 |    pub fun setMetadata(adminRef: &MotoGPAdmin.Admin, cardID: UInt64, name:String, description:String, imageUrl:String, data:{String: String}) {
   |                                   ^^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `MotoGPAdmin`
  --> a49cc0ee46c54bfb.MotoGPCardMetadata:66:37
   |
66 |    pub fun removeMetadata(adminRef: &MotoGPAdmin.Admin, cardID: UInt64) {
   |                                      ^^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `MotoGPAdmin`
  --> a49cc0ee46c54bfb.MotoGPCardMetadata:56:34
   |
56 |    pub fun setMetadata(adminRef: &MotoGPAdmin.Admin, cardID: UInt64, name:String, description:String, imageUrl:String, data:{String: String}) {
   |                                   ^^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `MotoGPAdmin`
  --> a49cc0ee46c54bfb.MotoGPCardMetadata:66:37
   |
66 |    pub fun removeMetadata(adminRef: &MotoGPAdmin.Admin, cardID: UInt64) {
   |                                      ^^^^^^^^^^^ not found in this scope

error: mismatched types
  --> a49cc0ee46c54bfb.MotoGPPack:79:45
   |
79 |             let packTypeStruct: &PackType = &MotoGPPack.packTypes[_packType] as &PackType
   |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `MotoGPPack.PackType`, got `MotoGPPack.PackType?`

error: mismatched types
   --> a49cc0ee46c54bfb.MotoGPPack:243:20
    |
243 |             return &self.ownedNFTs[id] as &NonFungibleToken.NFT
    |                     ^^^^^^^^^^^^^^^^^^ expected `NonFungibleToken.NFT`, got `NonFungibleToken.NFT?`

error: mismatched types
   --> a49cc0ee46c54bfb.MotoGPPack:253:27
    |
253 |                 let ref = &self.ownedNFTs[id] as auth &NonFungibleToken.NFT
    |                            ^^^^^^^^^^^^^^^^^^ expected `NonFungibleToken.NFT`, got `NonFungibleToken.NFT?`

error: cannot find variable in this scope: `MotoGPPack`
  --> a49cc0ee46c54bfb.MotoGPAdmin:25:16
   |
25 |                 MotoGPPack.packTypes[packType] == nil:
   |                 ^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `MotoGPPack`
  --> a49cc0ee46c54bfb.MotoGPAdmin:29:12
   |
29 |             MotoGPPack.packTypes[packType] = MotoGPPack.PackType(_packType: packType, _numberOfCards: numberOfCards)
   |             ^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `MotoGPPack`
  --> a49cc0ee46c54bfb.MotoGPAdmin:29:45
   |
29 |             MotoGPPack.packTypes[packType] = MotoGPPack.PackType(_packType: packType, _numberOfCards: numberOfCards)
   |                                              ^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `MotoGPPack`
  --> a49cc0ee46c54bfb.MotoGPAdmin:38:16
   |
38 |                 MotoGPPack.packTypes[packType] != nil:
   |                 ^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `MotoGPPack`
  --> a49cc0ee46c54bfb.MotoGPAdmin:47:66
   |
47 |             let adminPackCollection = MotoGPAdmin.account.borrow<&MotoGPPack.Collection{MotoGPPack.IPackCollectionPublic}>(from: /storage/motogpPackCollection)!
   |                                                                   ^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `MotoGPPack`
  --> a49cc0ee46c54bfb.MotoGPAdmin:47:88
   |
47 |             let adminPackCollection = MotoGPAdmin.account.borrow<&MotoGPPack.Collection{MotoGPPack.IPackCollectionPublic}>(from: /storage/motogpPackCollection)!
   |                                                                                         ^^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
  --> a49cc0ee46c54bfb.MotoGPAdmin:47:38
   |
47 |             let adminPackCollection = MotoGPAdmin.account.borrow<&MotoGPPack.Collection{MotoGPPack.IPackCollectionPublic}>(from: /storage/motogpPackCollection)!
   |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find variable in this scope: `MotoGPPack`
  --> a49cc0ee46c54bfb.MotoGPAdmin:51:31
   |
51 |                 let newPack <- MotoGPPack.createPack(packNumber: packNumbers[i], packType: packType)
   |                                ^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `MotoGPCardMetadata`
  --> a49cc0ee46c54bfb.MotoGPCard:83:35
   |
83 |         pub fun getCardMetadata(): MotoGPCardMetadata.Metadata? {
   |                                    ^^^^^^^^^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `MotoGPCounter`
  --> a49cc0ee46c54bfb.MotoGPCard:76:22
   |
76 |             self.id = MotoGPCounter.increment("MotoGPCard")
   |                       ^^^^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `MotoGPCardMetadata`
  --> a49cc0ee46c54bfb.MotoGPCard:83:35
   |
83 |         pub fun getCardMetadata(): MotoGPCardMetadata.Metadata? {
   |                                    ^^^^^^^^^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `MotoGPCardMetadata`
  --> a49cc0ee46c54bfb.MotoGPCard:84:19
   |
84 |             return MotoGPCardMetadata.getMetadataForCardID(cardID: self.cardID)
   |                    ^^^^^^^^^^^^^^^^^^ not found in this scope

error: mismatched types
   --> a49cc0ee46c54bfb.MotoGPCard:209:20
    |
209 |             return &self.ownedNFTs[id] as &NonFungibleToken.NFT
    |                     ^^^^^^^^^^^^^^^^^^ expected `NonFungibleToken.NFT`, got `NonFungibleToken.NFT?`

error: mismatched types
   --> a49cc0ee46c54bfb.MotoGPCard:219:27
    |
219 |                 let ref = &self.ownedNFTs[id] as auth &NonFungibleToken.NFT
    |                            ^^^^^^^^^^^^^^^^^^ expected `NonFungibleToken.NFT`, got `NonFungibleToken.NFT?`

error: mismatched types
  --> a49cc0ee46c54bfb.MotoGPPack:79:45
   |
79 |             let packTypeStruct: &PackType = &MotoGPPack.packTypes[_packType] as &PackType
   |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `MotoGPPack.PackType`, got `MotoGPPack.PackType?`

error: mismatched types
   --> a49cc0ee46c54bfb.MotoGPPack:243:20
    |
243 |             return &self.ownedNFTs[id] as &NonFungibleToken.NFT
    |                     ^^^^^^^^^^^^^^^^^^ expected `NonFungibleToken.NFT`, got `NonFungibleToken.NFT?`

error: mismatched types
   --> a49cc0ee46c54bfb.MotoGPPack:253:27
    |
253 |                 let ref = &self.ownedNFTs[id] as auth &NonFungibleToken.NFT
    |                            ^^^^^^^^^^^^^^^^^^ expected `NonFungibleToken.NFT`, got `NonFungibleToken.NFT?`

error: cannot find type in this scope: `MotoGPPack`
 --> 1f2fbf4476f9effd0e7a90e6da0903f815fcc747463644352b36af94ede94bdc:8:24
  |
8 |         if acct.borrow<&MotoGPPack.Collection>(from: /storage/motogpPackCollection) == nil {
  |                         ^^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
 --> 1f2fbf4476f9effd0e7a90e6da0903f815fcc747463644352b36af94ede94bdc:8:11
  |
8 |         if acct.borrow<&MotoGPPack.Collection>(from: /storage/motogpPackCollection) == nil {
  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find variable in this scope: `MotoGPPack`
 --> 1f2fbf4476f9effd0e7a90e6da0903f815fcc747463644352b36af94ede94bdc:9:34
  |
9 |             let packCollection <- MotoGPPack.createEmptyCollection()
  |                                   ^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `MotoGPPack`
  --> 1f2fbf4476f9effd0e7a90e6da0903f815fcc747463644352b36af94ede94bdc:11:23
   |
11 |             acct.link<&MotoGPPack.Collection{MotoGPPack.IPackCollectionPublic, MotoGPPack.IPackCollectionAdminAccessible}>(/public/motogpPackCollection, target: /storage/motogpPackCollection)
   |                        ^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `MotoGPPack`
  --> 1f2fbf4476f9effd0e7a90e6da0903f815fcc747463644352b36af94ede94bdc:11:45
   |
11 |             acct.link<&MotoGPPack.Collection{MotoGPPack.IPackCollectionPublic, MotoGPPack.IPackCollectionAdminAccessible}>(/public/motogpPackCollection, target: /storage/motogpPackCollection)
   |                                              ^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `MotoGPPack`
  --> 1f2fbf4476f9effd0e7a90e6da0903f815fcc747463644352b36af94ede94bdc:11:79
   |
11 |             acct.link<&MotoGPPack.Collection{MotoGPPack.IPackCollectionPublic, MotoGPPack.IPackCollectionAdminAccessible}>(/public/motogpPackCollection, target: /storage/motogpPackCollection)
   |                                                                                ^^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
  --> 1f2fbf4476f9effd0e7a90e6da0903f815fcc747463644352b36af94ede94bdc:11:12
   |
11 |             acct.link<&MotoGPPack.Collection{MotoGPPack.IPackCollectionPublic, MotoGPPack.IPackCollectionAdminAccessible}>(/public/motogpPackCollection, target: /storage/motogpPackCollection)
   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find type in this scope: `MotoGPPack`
  --> 1f2fbf4476f9effd0e7a90e6da0903f815fcc747463644352b36af94ede94bdc:13:35
   |
13 |             if acct.getCapability<&MotoGPPack.Collection{MotoGPPack.IPackCollectionPublic, MotoGPPack.IPackCollectionAdminAccessible}>(/public/motogpPackCollection).borrow() == nil {
   |                                    ^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `MotoGPPack`
  --> 1f2fbf4476f9effd0e7a90e6da0903f815fcc747463644352b36af94ede94bdc:13:57
   |
13 |             if acct.getCapability<&MotoGPPack.Collection{MotoGPPack.IPackCollectionPublic, MotoGPPack.IPackCollectionAdminAccessible}>(/public/motogpPackCollection).borrow() == nil {
   |                                                          ^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `MotoGPPack`
  --> 1f2fbf4476f9effd0e7a90e6da0903f815fcc747463644352b36af94ede94bdc:13:91
   |
13 |             if acct.getCapability<&MotoGPPack.Collection{MotoGPPack.IPackCollectionPublic, MotoGPPack.IPackCollectionAdminAccessible}>(/public/motogpPackCollection).borrow() == nil {
   |                                                                                            ^^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
  --> 1f2fbf4476f9effd0e7a90e6da0903f815fcc747463644352b36af94ede94bdc:13:15
   |
13 |             if acct.getCapability<&MotoGPPack.Collection{MotoGPPack.IPackCollectionPublic, MotoGPPack.IPackCollectionAdminAccessible}>(/public/motogpPackCollection).borrow() == nil {
   |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find type in this scope: `MotoGPPack`
  --> 1f2fbf4476f9effd0e7a90e6da0903f815fcc747463644352b36af94ede94bdc:15:27
   |
15 |                 acct.link<&MotoGPPack.Collection{MotoGPPack.IPackCollectionPublic, MotoGPPack.IPackCollectionAdminAccessible}>(/public/motogpPackCollection, target: /storage/motogpPackCollection)
   |                            ^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `MotoGPPack`
  --> 1f2fbf4476f9effd0e7a90e6da0903f815fcc747463644352b36af94ede94bdc:15:49
   |
15 |                 acct.link<&MotoGPPack.Collection{MotoGPPack.IPackCollectionPublic, MotoGPPack.IPackCollectionAdminAccessible}>(/public/motogpPackCollection, target: /storage/motogpPackCollection)
   |                                                  ^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `MotoGPPack`
  --> 1f2fbf4476f9effd0e7a90e6da0903f815fcc747463644352b36af94ede94bdc:15:83
   |
15 |                 acct.link<&MotoGPPack.Collection{MotoGPPack.IPackCollectionPublic, MotoGPPack.IPackCollectionAdminAccessible}>(/public/motogpPackCollection, target: /storage/motogpPackCollection)
   |                                                                                    ^^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
  --> 1f2fbf4476f9effd0e7a90e6da0903f815fcc747463644352b36af94ede94bdc:15:16
   |
15 |                 acct.link<&MotoGPPack.Collection{MotoGPPack.IPackCollectionPublic, MotoGPPack.IPackCollectionAdminAccessible}>(/public/motogpPackCollection, target: /storage/motogpPackCollection)
   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find type in this scope: `MotoGPCard`
  --> 1f2fbf4476f9effd0e7a90e6da0903f815fcc747463644352b36af94ede94bdc:19:24
   |
19 |         if acct.borrow<&MotoGPCard.Collection>(from: /storage/motogpCardCollection) == nil {            
   |                         ^^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
  --> 1f2fbf4476f9effd0e7a90e6da0903f815fcc747463644352b36af94ede94bdc:19:11
   |
19 |         if acct.borrow<&MotoGPCard.Collection>(from: /storage/motogpCardCollection) == nil {            
   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find variable in this scope: `MotoGPCard`
  --> 1f2fbf4476f9effd0e7a90e6da0903f815fcc747463644352b36af94ede94bdc:20:34
   |
20 |             let cardCollection <- MotoGPCard.createEmptyCollection()
   |                                   ^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `MotoGPCard`
  --> 1f2fbf4476f9effd0e7a90e6da0903f815fcc747463644352b36af94ede94bdc:22:23
   |
22 |             acct.link<&MotoGPCard.Collection{MotoGPCard.ICardCollectionPublic}>(/public/motogpCardCollection, target: /storage/motogpCardCollection)
   |                        ^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `MotoGPCard`
  --> 1f2fbf4476f9effd0e7a90e6da0903f815fcc747463644352b36af94ede94bdc:22:45
   |
22 |             acct.link<&MotoGPCard.Collection{MotoGPCard.ICardCollectionPublic}>(/public/motogpCardCollection, target: /storage/motogpCardCollection)
   |                                              ^^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
  --> 1f2fbf4476f9effd0e7a90e6da0903f815fcc747463644352b36af94ede94bdc:22:12
   |
22 |             acct.link<&MotoGPCard.Collection{MotoGPCard.ICardCollectionPublic}>(/public/motogpCardCollection, target: /storage/motogpCardCollection)
   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find type in this scope: `MotoGPCard`
  --> 1f2fbf4476f9effd0e7a90e6da0903f815fcc747463644352b36af94ede94bdc:24:35
   |
24 |             if acct.getCapability<&MotoGPCard.Collection{MotoGPCard.ICardCollectionPublic}>(/public/motogpCardCollection).borrow() == nil {
   |                                    ^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `MotoGPCard`
  --> 1f2fbf4476f9effd0e7a90e6da0903f815fcc747463644352b36af94ede94bdc:24:57
   |
24 |             if acct.getCapability<&MotoGPCard.Collection{MotoGPCard.ICardCollectionPublic}>(/public/motogpCardCollection).borrow() == nil {
   |                                                          ^^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
  --> 1f2fbf4476f9effd0e7a90e6da0903f815fcc747463644352b36af94ede94bdc:24:15
   |
24 |             if acct.getCapability<&MotoGPCard.Collection{MotoGPCard.ICardCollectionPublic}>(/public/motogpCardCollection).borrow() == nil {
   |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find type in this scope: `MotoGPCard`
  --> 1f2fbf4476f9effd0e7a90e6da0903f815fcc747463644352b36af94ede94bdc:26:27
   |
26 |                 acct.link<&MotoGPCard.Collection{MotoGPCard.ICardCollectionPublic}>(/public/motogpCardCollection, target: /storage/motogpCardCollection)
   |                            ^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `MotoGPCard`
  --> 1f2fbf4476f9effd0e7a90e6da0903f815fcc747463644352b36af94ede94bdc:26:49
   |
26 |                 acct.link<&MotoGPCard.Collection{MotoGPCard.ICardCollectionPublic}>(/public/motogpCardCollection, target: /storage/motogpCardCollection)
   |                                                  ^^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
  --> 1f2fbf4476f9effd0e7a90e6da0903f815fcc747463644352b36af94ede94bdc:26:16
   |
26 |                 acct.link<&MotoGPCard.Collection{MotoGPCard.ICardCollectionPublic}>(/public/motogpCardCollection, target: /storage/motogpCardCollection)
   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Hash:
1f2fbf4476f9effd0e7a90e6da0903f815fcc747463644352b36af94ede94bdc
Status:
ERROR
Block height:
31746970
Block id:
c28b08e230f4245749ef0b96fda8a6ad243f0b98d1e15692ef32a2ae274f8a0b
Timestamp:
Wednesday 15 June 2022 at 22:20:38 UTC
()
Proposer:
Authorizers: