function destroyBucket(bytes32 bucketId)
        public
        onlyBucketManager
    {
        require(collectibleExposure != address(0));
        Bucket storage bucket = buckets[bucketId];
        require(bucket.exposures.length > 0); 
        require(bucket.trading == false);
        uint256 finalValue;

        for (uint256 i = 0; i < bucket.exposures.length; i++) {
            ExposureInfo storage exposure = bucket.exposures[i];
            finalValue += exposure.value;

            
            collectibleExposure.close.value(exposure.value)(exposure.exposureId);
        }

        BucketDestroyed(bucketId, finalValue);

        delete buckets[bucketId];
    }