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