CODE_ERROR
There is an error in the cadence code of this transaction.
[Error Code: 1101] error caused by: 1 error occurred: * transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed: --> 044140a21e21f736f1b9b748fccc93731d5f729a3285576ec0352f4da0880555:18:32 | 18 | let unstakingLpVault <- pool.unstake(userCertificateCap: userCertificateCap, amount: migrateFarmLpAmount) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: pre-condition failed: [IncStakingErrorMsg:Cannot borrow reference to IdentityCertificate][IncStakingErrorCode:7] --> 1b77ba4b414de352.Staking:615:8 | 615 | userCertificateCap.check() && userCertificateCap.borrow()!.owner != nil: StakingError.errorEncode(msg: "Cannot borrow reference to IdentityCertificate", err: StakingError.ErrorCode.INVALID_USER_CERTIFICATE) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^Arguments:
pid:
0
migrateFarmLpAmount:
1.3134104
Loading...