Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction preprocess failed: [Error Code: 1101] cadence runtime error: Execution failed:
error: cannot find declaration `HybridCustody` in `294e44e1ec6993c6.HybridCustody`
--> c2ddbf95c965273d526a29aa61fa318ac00cf78d6449a315bd75620919f7c738:2:7
|
2 | import HybridCustody from 0x294e44e1ec6993c6
| ^^^^^^^^^^^^^ available exported declarations are:
error: cannot find declaration `CapabilityFilter` in `294e44e1ec6993c6.CapabilityFilter`
--> c2ddbf95c965273d526a29aa61fa318ac00cf78d6449a315bd75620919f7c738:4:7
|
4 | import CapabilityFilter from 0x294e44e1ec6993c6
| ^^^^^^^^^^^^^^^^ available exported declarations are:
error: cannot infer type parameter: `T`
--> c2ddbf95c965273d526a29aa61fa318ac00cf78d6449a315bd75620919f7c738:8:16
|
8 | let m = acct.borrow<&HybridCustody.Manager>(from: HybridCustody.ManagerStoragePath)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: loss of resource
--> c2ddbf95c965273d526a29aa61fa318ac00cf78d6449a315bd75620919f7c738:15:8
|
15 | providerCap.borrow()!.withdraw(withdrawID: 878)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^