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