contract EthereumProxy {
  // Event to declare a transfer with a reference
  event TransferWithReference(address to, uint256 amount, bytes indexed paymentReference);

  // Fallback function returns funds to the sender
  function() external payable {
    revert("not payable fallback");
  }

  /**
  * @notice Performs an ethereum transfer with a reference
  * @param _to Transfer recipient
  * @param _paymentReference Reference of the payment related
  */
  function transferWithReference(address payable _to, bytes calldata _paymentReference)
    external
    payable
  {
    _to.transfer(msg.value);
    emit TransferWithReference(_to, msg.value, _paymentReference);
  }
}
/**
 * @title EthereumProxy
 * @notice This contract performs an ethereum transfer and stores a reference
 */
function() external payable {
    revert("not payable fallback");
  }
// Fallback function returns funds to the sender