contract DharmaSpreadRegistryPrototypeStaging is TwoStepOwnable {
  uint256 internal _daiSpreadPerBlock;
  uint256 internal _usdcSpreadPerBlock;

  /**
   * @notice Set a new spread per block to be applied on top of the cDai supply
   * rate.
   * @param spreadPerBlock uint256 The new Dai spread.
   */
  function setDaiSpreadPerBlock(uint256 spreadPerBlock) external onlyOwner {
    _daiSpreadPerBlock = spreadPerBlock;
  }

  /**
   * @notice Set a new spread per block to be applied on top of the cUSDC supply
   * rate.
   * @param spreadPerBlock uint256 The new USDC spread.
   */
  function setUSDCSpreadPerBlock(uint256 spreadPerBlock) external onlyOwner {
    _usdcSpreadPerBlock = spreadPerBlock;
  }

  /**
   * @notice Get the current spread per block to be applied on top of the cDai
   * supply rate.
   * @return daiSpreadPerBlock uint256 The current Dai spread per block.
   */
  function getDaiSpreadPerBlock() external view returns (uint256 daiSpreadPerBlock) {
    daiSpreadPerBlock = _daiSpreadPerBlock;
  }

  /**
   * @notice Get the current spread per block to be applied on top of the cUSDC
   * supply rate.
   * @return usdcSpreadPerBlock uint256 The current USDC spread per block.
   */
  function getUSDCSpreadPerBlock() external view returns (uint256 usdcSpreadPerBlock) {
    usdcSpreadPerBlock = _usdcSpreadPerBlock;
  }
}
/**
 * @title DharmaSpreadRegistry (prototype, staging)
 * @author 0age
 * @notice The Dharma Spread Registry is an owned contract that holds the spread
 * over Compound cTokens that is applied to the interest earned by a respective
 * Dharma dToken.
 */
function setUSDCSpreadPerBlock(uint256 spreadPerBlock) external onlyOwner {
  _usdcSpreadPerBlock = spreadPerBlock;
}

/**
 * @notice Set a new spread per block to be applied on top of the cUSDC supply
 * rate.
 * @param spreadPerBlock uint256 The new USDC spread.
 */