//SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
pragma experimental ABIEncoderV2;

contract BundleUtils {

	constructor() {}

	function checkParentHash(bytes32 _parent_hash) public view returns (bool) {
		require(blockhash(block.number - 1) == _parent_hash, "stale bundle");
		return true;
	}

	function payFlashbotsMiner(uint256 _amount_wei) public payable returns (bool) {
		block.coinbase.transfer(_amount_wei);
		return true;
	}

}