CODE_ERROR
There is an error in the cadence code of this transaction.
[Error Code: 1101] error caused by: 1 error occurred: * transaction preprocess failed: [Error Code: 1101] cadence runtime error: Execution failed: error: cannot find type in this scope: `AuthAccount` --> f63d8556241ced612ad7478be2576dc4b5124dd6e873b3f03c796b0f31724c81:9:18 | 9 | prepare(acct: AuthAccount) { | ^^^^^^^^^^^ not found in this scope error: value of type `&Account` has no member `getCapability` --> f63d8556241ced612ad7478be2576dc4b5124dd6e873b3f03c796b0f31724c81:15:62 | 15 | self.sellerPaymentReceiver = getAccount(ownerAddress).getCapability<&{FungibleToken.Receiver}>(/public/dapperUtilityCoinReceiver) | ^^^^^^^^^^^^^ unknown member error: value of type `&Account` has no member `getCapability` --> f63d8556241ced612ad7478be2576dc4b5124dd6e873b3f03c796b0f31724c81:28:50 | 28 | let royaltyReceiverRef = royaltyRecipient.getCapability<&{FungibleToken.Receiver}>(/public/dapperUtilityCoinReceiver) | ^^^^^^^^^^^^^ unknown member error: cannot access `updateListing`: function requires `UpdateListing` authorization, but reference is unauthorized --> f63d8556241ced612ad7478be2576dc4b5124dd6e873b3f03c796b0f31724c81:41:8 | 41 | self.storefront.updateListing(listingResourceID: listingResourceID, canPurchase: true, saleCuts: [saleCutSeller, saleCutRoyalty]) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Arguments:
listingResourceID:
82463373070705
ownerAddress:
0xc865eb7bf851b8df
merchantAddress:
0x568e954fd542b6ec
saleItemPrice:
100
royaltyPercent:
0.1