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
--> 6f73bde38c9d4f54d4ff0c248f843e3c62a29977bdae5945ebe45544fc83b2c3:51:16
|
51 | CheezeMarket.putOnSale(
| ^ expected 6, got 7
error: mismatched types
--> 6f73bde38c9d4f54d4ff0c248f843e3c62a29977bdae5945ebe45544fc83b2c3:54:38
|
54 | paymentVaultType: self.vaultTypes[currencyCodes[i]]!,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Capability<&FUSD.Vault{FungibleToken.Receiver}>?`, got `Type?`
error: mismatched types
--> 6f73bde38c9d4f54d4ff0c248f843e3c62a29977bdae5945ebe45544fc83b2c3:55:37
|
55 | paymentReceiver: self.receiverCaps[currencyCodes[i]]!,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Capability<&CheezeNFT.Collection{NonFungibleToken.Receiver}>?`, got `Capability<&AnyResource{FungibleToken.Receiver}>?`
error: mismatched types
--> 6f73bde38c9d4f54d4ff0c248f843e3c62a29977bdae5945ebe45544fc83b2c3:56:39
|
56 | nftReturnReceiver: self.nftReceiverCap,
| ^^^^^^^^^^^^^^^^^^^ expected `Capability<&FUSD.Vault{FungibleToken.Receiver}>?`, got `Capability<&CheezeNFT.Collection{NonFungibleToken.Receiver}>`
error: incorrect argument label
--> 6f73bde38c9d4f54d4ff0c248f843e3c62a29977bdae5945ebe45544fc83b2c3:54:20
|
54 | paymentVaultType: self.vaultTypes[currencyCodes[i]]!,
| ^^^^^^^^^^^^^^^^ expected `paymentReceiver`, got `paymentVaultType`
error: incorrect argument label
--> 6f73bde38c9d4f54d4ff0c248f843e3c62a29977bdae5945ebe45544fc83b2c3:55:20
|
55 | paymentReceiver: self.receiverCaps[currencyCodes[i]]!,
| ^^^^^^^^^^^^^^^ expected `nftReturnReceiver`, got `paymentReceiver`
error: incorrect argument label
--> 6f73bde38c9d4f54d4ff0c248f843e3c62a29977bdae5945ebe45544fc83b2c3:56:20
|
56 | nftReturnReceiver: self.nftReceiverCap,
| ^^^^^^^^^^^^^^^^^ expected `royaltyReceiver`, got `nftReturnReceiver`
error: incorrect argument label
--> 6f73bde38c9d4f54d4ff0c248f843e3c62a29977bdae5945ebe45544fc83b2c3:57:20
|
57 | royaltyReceiver: nil,
| ^^^^^^^^^^^^^^^ expected `royaltyPercent`, got `royaltyReceiver`