The block header when the DAO deposit was made.
The block header when the DAO withdrawal was initiated.
The epoch when the withdrawal can be claimed, represented as [number, index, length].
const claimEpoch = calcDaoClaimEpoch(depositHeader, withdrawHeader);
console.log(`Can claim at epoch: ${claimEpoch[0]}, index: ${claimEpoch[1]}, length: ${claimEpoch[2]}`);
Calculate claimable epoch for Nervos DAO withdrawal. This function determines the earliest epoch when a Nervos DAO withdrawal can be claimed based on the deposit and withdrawal epochs.