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 restrict using non-resource/structure interface type: `OneShots.Collection`
--> 0aa75a9080ee461b3728a85542535043958513ec809c45c483f1947ce65b6557:8:79
|
8 | buyer.link<&OneShots.Collection{NonFungibleToken.CollectionPublic, OneShots.Collection}>(
| ^^^^^^^^^^^^^^^^^^^
error: value of type `OneShots` has no member `CollectionPublicPath`
--> 0aa75a9080ee461b3728a85542535043958513ec809c45c483f1947ce65b6557:9:25
|
9 | OneShots.CollectionPublicPath,
| ^^^^^^^^^^^^^^^^^^^^ unknown member