Flow price: --
e55a7f2798c52cc3aace88b746349aa860c33d716705542bfc4fa2802ea7cb26

Transaction

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

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

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

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

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

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

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

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

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

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

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

error: cannot find type in this scope: `MotoGPCard`
  --> e55a7f2798c52cc3aace88b746349aa860c33d716705542bfc4fa2802ea7cb26: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`
  --> e55a7f2798c52cc3aace88b746349aa860c33d716705542bfc4fa2802ea7cb26: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`
  --> e55a7f2798c52cc3aace88b746349aa860c33d716705542bfc4fa2802ea7cb26:26:16
   |
26 |                 acct.link<&MotoGPCard.Collection{MotoGPCard.ICardCollectionPublic}>(/public/motogpCardCollection, target: /storage/motogpCardCollection)
   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Hash:
e55a7f2798c52cc3aace88b746349aa860c33d716705542bfc4fa2802ea7cb26
Status:
ERROR
Block height:
31747552
Block id:
546cf426cc83077bc85bfa1fcab4f6968d6ee85b447ebafac7794bbe96e77470
Timestamp:
Wednesday 15 June 2022 at 22:34:14 UTC
()
Proposer:
Authorizers: