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 access `issue`: function requires `Capabilities | StorageCapabilities | IssueStorageCapabilityController` authorization, but reference only has `SaveValue, LoadValue, CopyValue, BorrowValue, Storage` authorization
--> df1eb1d0c0a87bba4f80607915db765660f50b66821e63ab0df29ea41eeaa57a:34:37
|
34 | let receiverCapability = self.auth.capabilities.storage.issue<&USDCFlow.Vault>(/storage/usdcFlowVault)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot access `publish`: function requires `Capabilities | PublishCapability` authorization, but reference only has `SaveValue, LoadValue, CopyValue, BorrowValue, Storage` authorization
--> df1eb1d0c0a87bba4f80607915db765660f50b66821e63ab0df29ea41eeaa57a:35:12
|
35 | self.auth.capabilities.publish(receiverCapability, at: /public/usdcFlowReceiver)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot access `issue`: function requires `Capabilities | StorageCapabilities | IssueStorageCapabilityController` authorization, but reference only has `SaveValue, LoadValue, CopyValue, BorrowValue, Storage` authorization
--> df1eb1d0c0a87bba4f80607915db765660f50b66821e63ab0df29ea41eeaa57a:39:36
|
39 | let balanceCapability = self.auth.capabilities.storage.issue<&USDCFlow.Vault>(/storage/usdcFlowVault)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot access `publish`: function requires `Capabilities | PublishCapability` authorization, but reference only has `SaveValue, LoadValue, CopyValue, BorrowValue, Storage` authorization
--> df1eb1d0c0a87bba4f80607915db765660f50b66821e63ab0df29ea41eeaa57a:40:12
|
40 | self.auth.capabilities.publish(balanceCapability, at: /public/usdcFlowMetadata)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot access `issue`: function requires `Capabilities | StorageCapabilities | IssueStorageCapabilityController` authorization, but reference only has `SaveValue, LoadValue, CopyValue, BorrowValue, Storage` authorization
--> df1eb1d0c0a87bba4f80607915db765660f50b66821e63ab0df29ea41eeaa57a:44:37
|
44 | let receiverCapability = self.auth.capabilities.storage.issue<&stFlowToken.Vault>(/storage/stFlowTokenVault)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot access `publish`: function requires `Capabilities | PublishCapability` authorization, but reference only has `SaveValue, LoadValue, CopyValue, BorrowValue, Storage` authorization
--> df1eb1d0c0a87bba4f80607915db765660f50b66821e63ab0df29ea41eeaa57a:45:12
|
45 | self.auth.capabilities.publish(receiverCapability, at: /public/stFlowTokenReceiver)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot access `issue`: function requires `Capabilities | StorageCapabilities | IssueStorageCapabilityController` authorization, but reference only has `SaveValue, LoadValue, CopyValue, BorrowValue, Storage` authorization
--> df1eb1d0c0a87bba4f80607915db765660f50b66821e63ab0df29ea41eeaa57a:49:36
|
49 | let balanceCapability = self.auth.capabilities.storage.issue<&stFlowToken.Vault>(/storage/stFlowTokenVault)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot access `publish`: function requires `Capabilities | PublishCapability` authorization, but reference only has `SaveValue, LoadValue, CopyValue, BorrowValue, Storage` authorization
--> df1eb1d0c0a87bba4f80607915db765660f50b66821e63ab0df29ea41eeaa57a:50:12
|
50 | self.auth.capabilities.publish(balanceCapability, at: /public/stFlowTokenBalance)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^