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 variable in this scope: `repositoryRef` --> 05d61820ff69664a4351c3d0e1122f00f2437a8ef5b3b14b3a056d32082e9c0e:74:26 | 74 | let newTresorId = repositoryRef!.createTresor(signer: self.buyer, price: price, amount: amount) | ^^^^^^^^^^^^^ not found in this scope error: cannot emit imported event type: `VroomTokenRepository.TokensPurchased` --> 05d61820ff69664a4351c3d0e1122f00f2437a8ef5b3b14b3a056d32082e9c0e:85:13 | 85 | emit VroomTokenRepository.TokensPurchased( 86 | tresorId: tresorId, 87 | buyer: recipientAddress, 88 | price: tresorRef.getDetails().price, 89 | amount: tresorRef.getDetails().amount 90 | ) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Arguments:
tresorId:
92
paymentAmount:
0
sellerAddress:
0xcb52c86d2fcdc7b6
recipientAddress:
0xcb52c86d2fcdc7b6
price:
0
amount:
3150
auctionType:
CCrare
timeStamp:
TimeStamp
TxID:
d8ae4178d45fa553
newTxID:
abc123