Flow price: --
269a941cc273112a069e4521d347ac62ec9e55c10a978b240e0ddefb6020f62c

Transaction

Hash: 269a941cc273112a069e4521d347ac62ec9e55c10a978b240e0ddefb6020f62c
error
Error

Whoops! 😨 Something unexpected happened...

[Error Code: 1101] error caused by: 1 error occurred:
	* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
error: cannot deploy invalid contract
 --> 269a941cc273112a069e4521d347ac62ec9e55c10a978b240e0ddefb6020f62c:4:3
  |
4 | 			signer.contracts.add(name: name, code: code.utf8 )
  | 			^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find type in this scope: `fooToken1`
   --> 7fe37c228f5fef28.FooToken1:136:70
    |
136 |         access(FungibleToken.Withdraw) fun withdraw(amount: UFix64): @fooToken1.Vault {
    |                                                                       ^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `fooToken1`
   --> 7fe37c228f5fef28.FooToken1:164:45
    |
164 |         access(all) fun createEmptyVault(): @fooToken1.Vault {
    |                                              ^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `fooToken1`
   --> 7fe37c228f5fef28.FooToken1:179:53
    |
179 |         access(all) fun mintTokens(amount: UFix64): @fooToken1.Vault {
    |                                                      ^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `fooToken1`
   --> 7fe37c228f5fef28.FooToken1:193:56
    |
193 |     access(all) fun createEmptyVault(vaultType: Type): @fooToken1.Vault {
    |                                                         ^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `fooToken1`
   --> 7fe37c228f5fef28.FooToken1:213:68
    |
213 |         let fooToken1Cap = self.account.capabilities.storage.issue<&fooToken1.Vault>(self.VaultStoragePath)
    |                                                                     ^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
   --> 7fe37c228f5fef28.FooToken1:213:27
    |
213 |         let fooToken1Cap = self.account.capabilities.storage.issue<&fooToken1.Vault>(self.VaultStoragePath)
    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find type in this scope: `fooToken1`
   --> 7fe37c228f5fef28.FooToken1:215:67
    |
215 |         let receiverCap = self.account.capabilities.storage.issue<&fooToken1.Vault>(self.VaultStoragePath)
    |                                                                    ^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
   --> 7fe37c228f5fef28.FooToken1:215:26
    |
215 |         let receiverCap = self.account.capabilities.storage.issue<&fooToken1.Vault>(self.VaultStoragePath)
    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find type in this scope: `fooToken1`
  --> 7fe37c228f5fef28.FooToken1:58:46
   |
58 |                     receiverLinkedType: Type<&fooToken1.Vault>(),
   |                                               ^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
  --> 7fe37c228f5fef28.FooToken1:58:40
   |
58 |                     receiverLinkedType: Type<&fooToken1.Vault>(),
   |                                         ^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find type in this scope: `fooToken1`
  --> 7fe37c228f5fef28.FooToken1:59:46
   |
59 |                     metadataLinkedType: Type<&fooToken1.Vault>(),
   |                                               ^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
  --> 7fe37c228f5fef28.FooToken1:59:40
   |
59 |                     metadataLinkedType: Type<&fooToken1.Vault>(),
   |                                         ^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find variable in this scope: `fooToken1`
  --> 7fe37c228f5fef28.FooToken1:61:33
   |
61 |                         return <-fooToken1.createEmptyVault(vaultType: Type<@fooToken1.Vault>())
   |                                  ^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `fooToken1`
  --> 7fe37c228f5fef28.FooToken1:61:77
   |
61 |                         return <-fooToken1.createEmptyVault(vaultType: Type<@fooToken1.Vault>())
   |                                                                              ^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
  --> 7fe37c228f5fef28.FooToken1:61:71
   |
61 |                         return <-fooToken1.createEmptyVault(vaultType: Type<@fooToken1.Vault>())
   |                                                                        ^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find variable in this scope: `fooToken1`
  --> 7fe37c228f5fef28.FooToken1:66:33
   |
66 |                     totalSupply: fooToken1.totalSupply
   |                                  ^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `fooToken1`
  --> 7fe37c228f5fef28.FooToken1:97:16
   |
97 |                 fooToken1.totalSupply = fooToken1.totalSupply - self.balance
   |                 ^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `fooToken1`
  --> 7fe37c228f5fef28.FooToken1:97:40
   |
97 |                 fooToken1.totalSupply = fooToken1.totalSupply - self.balance
   |                                         ^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `fooToken1`
   --> 7fe37c228f5fef28.FooToken1:103:19
    |
103 |             return fooToken1.getContractViews(resourceType: nil)
    |                    ^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `fooToken1`
   --> 7fe37c228f5fef28.FooToken1:107:19
    |
107 |             return fooToken1.resolveContractView(resourceType: nil, viewType: view)
    |                    ^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `fooToken1`
   --> 7fe37c228f5fef28.FooToken1:151:35
    |
151 |             let vault <- from as! @fooToken1.Vault
    |                                    ^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `fooToken1`
   --> 7fe37c228f5fef28.FooToken1:180:12
    |
180 |             fooToken1.totalSupply = fooToken1.totalSupply + amount
    |             ^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `fooToken1`
   --> 7fe37c228f5fef28.FooToken1:180:36
    |
180 |             fooToken1.totalSupply = fooToken1.totalSupply + amount
    |                                     ^^^^^^^^^ not found in this scope


Hash:
269a941cc273112a069e4521d347ac62ec9e55c10a978b240e0ddefb6020f62c
Status:
ERROR
Block height:
12500468
Block id:
2db50cdbd1ebd8f49fe669485513608ddc8a332ca51dda64dc3100237d414abc
Timestamp:
Monday, 13 May 2024 at 21:08:55 UTC
()
Proposer:
Authorizers:
Gas used:
0