Flow price: --
1306b7fdcbcf3a9396202cacbf245db680b7039d2baf75a4d570542fd1b61814

Transaction

Hash: 1306b7fdcbcf3a9396202cacbf245db680b7039d2baf75a4d570542fd1b61814
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
 --> 1306b7fdcbcf3a9396202cacbf245db680b7039d2baf75a4d570542fd1b61814:4:3
  |
4 | 			signer.contracts.add(name: name, code: code.utf8 )
  | 			^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find type in this scope: `FooToken`
  --> a7a378052aeb833e.FooTokenNew:80:33
   |
80 |     pub fun createEmptyVault(): @FooToken.Vault {
   |                                  ^^^^^^^^ not found in this scope

error: cannot find type in this scope: `FooToken`
  --> a7a378052aeb833e.FooTokenNew:80:33
   |
80 |     pub fun createEmptyVault(): @FooToken.Vault {
   |                                  ^^^^^^^^ not found in this scope

error: cannot find type in this scope: `FooToken`
  --> a7a378052aeb833e.FooTokenNew:44:35
   |
44 |             let vault <- from as! @FooToken.Vault // typecast to make sure we are using the correct token type
   |                                    ^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `FooToken`
  --> a7a378052aeb833e.FooTokenNew:58:12
   |
58 |             FooToken.totalSupply = FooToken.totalSupply - self.balance
   |             ^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `FooToken`
  --> a7a378052aeb833e.FooTokenNew:58:35
   |
58 |             FooToken.totalSupply = FooToken.totalSupply - self.balance
   |                                    ^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `FooToken`
  --> a7a378052aeb833e.FooTokenNew:71:12
   |
71 |             FooToken.totalSupply = FooToken.totalSupply + amount
   |             ^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `FooToken`
  --> a7a378052aeb833e.FooTokenNew:71:35
   |
71 |             FooToken.totalSupply = FooToken.totalSupply + amount
   |                                    ^^^^^^^^ not found in this scope


Hash:
1306b7fdcbcf3a9396202cacbf245db680b7039d2baf75a4d570542fd1b61814
Status:
ERROR
Block height:
128766481
Block id:
bd02616c724fd8aac95b6935eb06075b1f837744380ef3d3ede95a058d66654b
Timestamp:
Monday 30 October 2023 at 05:34:21 UTC
()
Proposer:
Authorizers:
Gas used:
0