Flow price: --
239b5eb80e936d04124815bb3440edcc8a3ae29c35b8e475d993aca7f704b84e

Transaction

Hash: 239b5eb80e936d04124815bb3440edcc8a3ae29c35b8e475d993aca7f704b84e
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
 --> 239b5eb80e936d04124815bb3440edcc8a3ae29c35b8e475d993aca7f704b84e: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:
239b5eb80e936d04124815bb3440edcc8a3ae29c35b8e475d993aca7f704b84e
Status:
ERROR
Block height:
128766996
Block id:
097055dfe8c76dd5a3774b2d3b0f9d32e6278d3253aa1f91b1bcc09fbf30a22c
Timestamp:
Monday 30 October 2023 at 05:37:26 UTC
()
Proposer:
Authorizers:
Gas used:
0