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` --> d94174c0a6d27fee6a0337f4690ef5063fc524e7875de039b15412fe62ea8f2f:9:18 | 9 | prepare(acct: AuthAccount) { | ^^^^^^^^^^^ not found in this scope error: value of type `&Account` has no member `getCapability` --> d94174c0a6d27fee6a0337f4690ef5063fc524e7875de039b15412fe62ea8f2f:15:62 | 15 | self.sellerPaymentReceiver = getAccount(ownerAddress).getCapability<&{FungibleToken.Receiver}>(/public/dapperUtilityCoinReceiver) | ^^^^^^^^^^^^^ unknown member error: value of type `&Account` has no member `getCapability` --> d94174c0a6d27fee6a0337f4690ef5063fc524e7875de039b15412fe62ea8f2f: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 --> d94174c0a6d27fee6a0337f4690ef5063fc524e7875de039b15412fe62ea8f2f: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
Loading...