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
--> aaeb03e1a01b0a13015482c07df9ba03007216cbc4ea3b71bca8124fe44e43fa:3:2
|
3 | signer.contracts.update__experimental(name: name, code: code.decodeHex())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find variable in this scope: `FlunksGraduation`
--> 807c3d470888cc48.BackpackMinter:45:26
|
45 | let childAccounts = FlunksGraduation.getChildAccounts(parentAddress: ownerAddress)
| ^^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: `owner`
--> 807c3d470888cc48.BackpackMinter:68:102
|
68 | let ownerCollectionTokenIds = BackpackMinter.getFlunksTokenIDsFromAllLinkedAccounts(ownerAddress: owner.address)
| ^^^^^ not found in this scope
error: cannot find variable in this scope: `collection`
--> 807c3d470888cc48.BackpackMinter:91:21
|
91 | let templateID = collection.borrowFlunks(id: tokenID)!.templateID
| ^^^^^^^^^^ not found in this scope