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: value of type `auth(BorrowValue) &Account` has no member `borrow`
--> 537dc6d4108690dde3cc1d2f4374f4b0f4e1171c441dceb3bf51c952f804468c:13:30
|
13 | let vaultRef = signer.borrow<&MoxyToken.Vault>(from: /storage/moxyTokenVault)
| ^^^^^^ unknown member
error: value of type `&Account` has no member `getCapability`
--> 537dc6d4108690dde3cc1d2f4374f4b0f4e1171c441dceb3bf51c952f804468c:26:36
|
26 | let receiverRef = recipient.getCapability(/public/moxyTokenReceiver)
| ^^^^^^^^^^^^^ unknown member