// SPDX-License-Identifier: MIT
pragma solidity ^0.8.3;
contract ContractBalanceTest {
address public owner;
constructor() public payable {
owner = msg.sender;
}
modifier onlyOwner () {
require(msg.sender == owner, "This can only be called by the contract owner!");
_;
}
function deposit() payable public {
}
function depositAmount(uint256 amount) payable public {
require(msg.value == amount);
}
function withdraw() payable onlyOwner public {
payable(msg.sender).transfer(address(this).balance);
}
function withdrawAmount(uin