//Write your own contracts here. Currently compiles using solc v0.4.15+commit.bbb8e64f. pragma solidity ^0.4.18; /** * The purpose of this smart contract is to record transactions for web2 application uses * The immediate need for this is to be able to associate an web2 transaction ID with a web 3 payment */ contract TransactionRecorder { bool private _paused; address private _owner; uint256 private _tax; struct Transaction { string } // Map a company address to a list of transactions mapping(address, mapping(string => )) constructor() { _paused = false; _owner = msg.sender; } modifier isOwner() { require(msg.sender == _owner, "You are not authorized to perform this action!"); _; } function setTaxRate(uint256 amount) external isOwner { require(amount >= 0, "You can not set a negative tax rate"); _tax = amount; } function getTaxRate() external view returns(uint256) { return _tax; } /** * @dev Allow a specific address to accept payments */ /** * @dev */ }
0.7.1