function end(address _vault, bytes32[] calldata _burnProof) external {
    ..SNIP..
    // Reverts if current time is less than or equal to end time of auction
    uint256 endTime = startTime + REJECTION_PERIOD;
    if (block.timestamp <= endTime)
        revert TimeNotElapsed(block.timestamp, endTime);

    uint256 tokenBalance = IERC1155(token).balanceOf(address(this), id);
    // Checks totalSupply of auction pool to determine if buyout is successful or not
    if (
        (tokenBalance * 1000) /
            IVaultRegistry(registry).totalSupply(_vault) >
        500
    ) {
    ..SNIP..
}
