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