Flow price: --
3eba6fbf9f0baa9112a380fc68112ca98e28e15c7414e3bcf7ba400a5d0b9515

Transaction

Hash: 3eba6fbf9f0baa9112a380fc68112ca98e28e15c7414e3bcf7ba400a5d0b9515
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
  --> 3eba6fbf9f0baa9112a380fc68112ca98e28e15c7414e3bcf7ba400a5d0b9515:28:99
   |
28 |                 signer.storage.save(<-FlowStakingCollection.createStakingCollection(unlockedVault: flowToken, tokenHolder: lockedHolder), to: FlowStakingCollection.StakingCollectionStoragePath)
   |                                                                                                    ^^^^^^^^^ expected `Capability<auth(FungibleToken.Withdraw) &FlowToken.Vault>`, got `Capability<&FlowToken.Vault>`

error: mismatched types
  --> 3eba6fbf9f0baa9112a380fc68112ca98e28e15c7414e3bcf7ba400a5d0b9515:28:123
   |
28 |                 signer.storage.save(<-FlowStakingCollection.createStakingCollection(unlockedVault: flowToken, tokenHolder: lockedHolder), to: FlowStakingCollection.StakingCollectionStoragePath)
   |                                                                                                                            ^^^^^^^^^^^^ expected `Capability<auth(FungibleToken.Withdraw, LockedTokens.TokenOperations) &LockedTokens.TokenHolder>?`, got `Capability<&LockedTokens.TokenHolder>`

error: mismatched types
  --> 3eba6fbf9f0baa9112a380fc68112ca98e28e15c7414e3bcf7ba400a5d0b9515:30:99
   |
30 |                 signer.storage.save(<-FlowStakingCollection.createStakingCollection(unlockedVault: flowToken, tokenHolder: nil), to: FlowStakingCollection.StakingCollectionStoragePath)
   |                                                                                                    ^^^^^^^^^ expected `Capability<auth(FungibleToken.Withdraw) &FlowToken.Vault>`, got `Capability<&FlowToken.Vault>`


Loading...