[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 --> fda4ecf5469744adf1af69c7221a37c6228ca1e0c3e8ef535965ccbd85cbcdbe:4:3 | 4 | signer.contracts.add(name: name, code: code.utf8 ) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: cannot find type in this scope: `FungibleToken` --> 366982079fe6df0c.JeromeTest:6:38 | 6 | access(self) let flowVault: @{FungibleToken.Vault} | ^^^^^^^^^^^^^ not found in this scope error: ambiguous intersection type --> 366982079fe6df0c.JeromeTest:6:37 | 6 | access(self) let flowVault: @{FungibleToken.Vault} | ^^^^^^^^^^^^^^^^^^^^^ error: cannot find variable in this scope: `FlowToken` --> 366982079fe6df0c.JeromeTest:10:30 | 10 | self.flowVault <- FlowToken.createEmptyVault(vaultType: Type<@FlowToken.Vault>()) | ^^^^^^^^^ not found in this scope error: cannot find type in this scope: `FlowToken` --> 366982079fe6df0c.JeromeTest:10:74 | 10 | self.flowVault <- FlowToken.createEmptyVault(vaultType: Type<@FlowToken.Vault>()) | ^^^^^^^^^ not found in this scope error: cannot infer type parameter: `T` --> 366982079fe6df0c.JeromeTest:10:68 | 10 | self.flowVault <- FlowToken.createEmptyVault(vaultType: Type<@FlowToken.Vault>()) | ^^^^^^^^^^^^^^^^^^^^^^^^
Loading...
Loading...
Happy diving into the flow Remember to upgrade your contracts to 1.0!