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 an Epoch instance.
const epoch = calcDaoClaimEpoch(depositHeader, withdrawHeader);
console.log(`Can claim at epoch: ${epoch.integer}, numerator: ${epoch.numerator}, denominator: ${epoch.denominator}`);
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.