Flow price: --
7e91cd5434d51833d6594405fe9d9cf7a90b8832fad22bf0011540298bf3e0a0

Transaction

Hash: 7e91cd5434d51833d6594405fe9d9cf7a90b8832fad22bf0011540298bf3e0a0
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`
 --> 7e91cd5434d51833d6594405fe9d9cf7a90b8832fad22bf0011540298bf3e0a0:8:24
  |
8 |         if acct.borrow<&MotoGPPack.Collection>(from: /storage/motogpPackCollection) == nil {
  |                         ^^^^^^^^^^ not found in this scope

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

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

error: cannot find type in this scope: `MotoGPPack`
  --> 7e91cd5434d51833d6594405fe9d9cf7a90b8832fad22bf0011540298bf3e0a0: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`
  --> 7e91cd5434d51833d6594405fe9d9cf7a90b8832fad22bf0011540298bf3e0a0: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`
  --> 7e91cd5434d51833d6594405fe9d9cf7a90b8832fad22bf0011540298bf3e0a0: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`
  --> 7e91cd5434d51833d6594405fe9d9cf7a90b8832fad22bf0011540298bf3e0a0:11:12
   |
11 |             acct.link<&MotoGPPack.Collection{MotoGPPack.IPackCollectionPublic, MotoGPPack.IPackCollectionAdminAccessible}>(/public/motogpPackCollection, target: /storage/motogpPackCollection)
   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find type in this scope: `MotoGPPack`
  --> 7e91cd5434d51833d6594405fe9d9cf7a90b8832fad22bf0011540298bf3e0a0: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`
  --> 7e91cd5434d51833d6594405fe9d9cf7a90b8832fad22bf0011540298bf3e0a0: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`
  --> 7e91cd5434d51833d6594405fe9d9cf7a90b8832fad22bf0011540298bf3e0a0: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`
  --> 7e91cd5434d51833d6594405fe9d9cf7a90b8832fad22bf0011540298bf3e0a0:13:15
   |
13 |             if acct.getCapability<&MotoGPPack.Collection{MotoGPPack.IPackCollectionPublic, MotoGPPack.IPackCollectionAdminAccessible}>(/public/motogpPackCollection).borrow() == nil {
   |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find type in this scope: `MotoGPPack`
  --> 7e91cd5434d51833d6594405fe9d9cf7a90b8832fad22bf0011540298bf3e0a0: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`
  --> 7e91cd5434d51833d6594405fe9d9cf7a90b8832fad22bf0011540298bf3e0a0: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`
  --> 7e91cd5434d51833d6594405fe9d9cf7a90b8832fad22bf0011540298bf3e0a0: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`
  --> 7e91cd5434d51833d6594405fe9d9cf7a90b8832fad22bf0011540298bf3e0a0:15:16
   |
15 |                 acct.link<&MotoGPPack.Collection{MotoGPPack.IPackCollectionPublic, MotoGPPack.IPackCollectionAdminAccessible}>(/public/motogpPackCollection, target: /storage/motogpPackCollection)
   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

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

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

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

error: cannot find type in this scope: `MotoGPCard`
  --> 7e91cd5434d51833d6594405fe9d9cf7a90b8832fad22bf0011540298bf3e0a0: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`
  --> 7e91cd5434d51833d6594405fe9d9cf7a90b8832fad22bf0011540298bf3e0a0: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`
  --> 7e91cd5434d51833d6594405fe9d9cf7a90b8832fad22bf0011540298bf3e0a0:22:12
   |
22 |             acct.link<&MotoGPCard.Collection{MotoGPCard.ICardCollectionPublic}>(/public/motogpCardCollection, target: /storage/motogpCardCollection)
   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find type in this scope: `MotoGPCard`
  --> 7e91cd5434d51833d6594405fe9d9cf7a90b8832fad22bf0011540298bf3e0a0: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`
  --> 7e91cd5434d51833d6594405fe9d9cf7a90b8832fad22bf0011540298bf3e0a0: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`
  --> 7e91cd5434d51833d6594405fe9d9cf7a90b8832fad22bf0011540298bf3e0a0:24:15
   |
24 |             if acct.getCapability<&MotoGPCard.Collection{MotoGPCard.ICardCollectionPublic}>(/public/motogpCardCollection).borrow() == nil {
   |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find type in this scope: `MotoGPCard`
  --> 7e91cd5434d51833d6594405fe9d9cf7a90b8832fad22bf0011540298bf3e0a0: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`
  --> 7e91cd5434d51833d6594405fe9d9cf7a90b8832fad22bf0011540298bf3e0a0: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`
  --> 7e91cd5434d51833d6594405fe9d9cf7a90b8832fad22bf0011540298bf3e0a0:26:16
   |
26 |                 acct.link<&MotoGPCard.Collection{MotoGPCard.ICardCollectionPublic}>(/public/motogpCardCollection, target: /storage/motogpCardCollection)
   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Hash:
7e91cd5434d51833d6594405fe9d9cf7a90b8832fad22bf0011540298bf3e0a0
Status:
ERROR
Block height:
31755578
Block id:
7f0164ba7efc8d5cbc7dab46bd92bd99eff2db7f74c79ce021dd07c8326cd7f2
Timestamp:
Thursday 16 June 2022 at 01:37:58 UTC
()
Proposer:
Authorizers: