Flow price: --
7898ace6c42f415e55edfc0ab80e84c1d5642bb6638360fc5e4da052a5396288

Transaction

Hash: 7898ace6c42f415e55edfc0ab80e84c1d5642bb6638360fc5e4da052a5396288
error
Error

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: mismatched types
  --> 7898ace6c42f415e55edfc0ab80e84c1d5642bb6638360fc5e4da052a5396288:34:78
   |
34 |         self.adminRef = acct.capabilities.borrow<&FlowversePrimarySale.Admin>(FlowversePrimarySale.AdminStoragePath)
   |                                                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `PublicPath`, got `StoragePath`

error: mismatched types
  --> 7898ace6c42f415e55edfc0ab80e84c1d5642bb6638360fc5e4da052a5396288:37:84
   |
37 |         let flowverseAdminRef = acct.capabilities.borrow<&FlowverseTreasures.Admin>(FlowverseTreasures.AdminStoragePath)
   |                                                                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `PublicPath`, got `StoragePath`

error: value of type `auth(Storage, Capabilities) &Account` has no member `save`
  --> 7898ace6c42f415e55edfc0ab80e84c1d5642bb6638360fc5e4da052a5396288:51:13
   |
51 |         acct.save(<- minter, to: storagePath)
   |              ^^^^ unknown member

error: value of type `auth(Storage, Capabilities) &Account` has no member `account`
  --> 7898ace6c42f415e55edfc0ab80e84c1d5642bb6638360fc5e4da052a5396288:52:30
   |
52 |         self.minterCap = acct.account.capabilities.storage.issue<&{FlowversePrimarySale.IMinter}>(storagePath)
   |                               ^^^^^^^ unknown member


Hash:
7898ace6c42f415e55edfc0ab80e84c1d5642bb6638360fc5e4da052a5396288
Status:
ERROR
Block height:
1948209
Block id:
5ab57c5a82fdccd104e7b918aac6c8e81cffdca9dd064432adc86adbb3e4d1fa
Timestamp:
Wednesday 13 March 2024 at 06:05:26 UTC
()
Proposer:
Authorizers:
Gas used:
0