Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction invocation failed when executing transaction: [Error Code: 1101] cadence runtime error: Execution failed:
error: incorrect number of arguments
--> 6f54f04cfe9ebe02f5869d89baac992852104b0736c17646526c581a08d5e859:51:16
|
51 | CheezeMarket.putOnSale(
| ^ expected 6, got 7
error: mismatched types
--> 6f54f04cfe9ebe02f5869d89baac992852104b0736c17646526c581a08d5e859:54:38
|
54 | paymentVaultType: self.vaultTypes[currencyCodes[i]]!,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Capability<&FUSD.Vault{FungibleToken.Receiver}>?`, got `Type?`
error: mismatched types
--> 6f54f04cfe9ebe02f5869d89baac992852104b0736c17646526c581a08d5e859:55:37
|
55 | paymentReceiver: self.receiverCaps[currencyCodes[i]]!,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Capability<&CheezeNFT.Collection{NonFungibleToken.Receiver}>?`, got `Capability<&AnyResource{FungibleToken.Receiver}>?`
error: mismatched types
--> 6f54f04cfe9ebe02f5869d89baac992852104b0736c17646526c581a08d5e859:56:39
|
56 | nftReturnReceiver: self.nftReceiverCap,
| ^^^^^^^^^^^^^^^^^^^ expected `Capability<&FUSD.Vault{FungibleToken.Receiver}>?`, got `Capability<&CheezeNFT.Collection{NonFungibleToken.Receiver}>`
error: incorrect argument label
--> 6f54f04cfe9ebe02f5869d89baac992852104b0736c17646526c581a08d5e859:54:20
|
54 | paymentVaultType: self.vaultTypes[currencyCodes[i]]!,
| ^^^^^^^^^^^^^^^^ expected `paymentReceiver`, got `paymentVaultType`
error: incorrect argument label
--> 6f54f04cfe9ebe02f5869d89baac992852104b0736c17646526c581a08d5e859:55:20
|
55 | paymentReceiver: self.receiverCaps[currencyCodes[i]]!,
| ^^^^^^^^^^^^^^^ expected `nftReturnReceiver`, got `paymentReceiver`
error: incorrect argument label
--> 6f54f04cfe9ebe02f5869d89baac992852104b0736c17646526c581a08d5e859:56:20
|
56 | nftReturnReceiver: self.nftReceiverCap,
| ^^^^^^^^^^^^^^^^^ expected `royaltyReceiver`, got `nftReturnReceiver`
error: incorrect argument label
--> 6f54f04cfe9ebe02f5869d89baac992852104b0736c17646526c581a08d5e859:57:20
|
57 | royaltyReceiver: nil,
| ^^^^^^^^^^^^^^^ expected `royaltyPercent`, got `royaltyReceiver`