Whoops! 😨 Something unexpected happened...
Execution failed:
error: cannot find variable in this scope: `nftSaleCollection`
--> 001b99b1cc6fdc1d627568a15e7ef6b7d1d0f8b17add52efc96eb616ee60f48a:40:9
|
40 | nftSaleCollection = acct.borrow<&TokenTroveMarket.SaleCollection>(from: /storage/ChainmonstersRewardCollectionSale)
| ^^^^^^^^^^^^^^^^^ not found in this scope
error: value of type `&TokenTroveMarket.SaleCollection?` has no member `changeBeneficiaryReceiver`
--> 001b99b1cc6fdc1d627568a15e7ef6b7d1d0f8b17add52efc96eb616ee60f48a:47:24
|
47 | nftSaleCollection.changeBeneficiaryReceiver(beneficiaryCap)
| ^^^^^^^^^^^^^^^^^^^^^^^^^ unknown member
error: value of type `&TokenTroveMarket.SaleCollection?` has no member `changePercentage`
--> 001b99b1cc6fdc1d627568a15e7ef6b7d1d0f8b17add52efc96eb616ee60f48a:48:24
|
48 | nftSaleCollection.changePercentage(0.05)
| ^^^^^^^^^^^^^^^^ unknown member
error: value of type `&TokenTroveMarket.SaleCollection?` has no member `listForSale`
--> 001b99b1cc6fdc1d627568a15e7ef6b7d1d0f8b17add52efc96eb616ee60f48a:50:24
|
50 | nftSaleCollection.listForSale(tokenID: 3674, price: UFix64(500))
| ^^^^^^^^^^^ unknown member