Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //This is an abstract base class because it is not implemented
- // BaseAuction.sol
- pragma solidity ^0.4.25;
- contract BaseAuction {
- address public owner;
- modifier ownerOnly() {
- require(msg.sender == owner);
- _;
- }
- //Events log information and allow applications to listen
- //to whats happening
- event AuctionComplete(address winner, uint bid);
- event BidAccepted(address bidder, uint bid);
- constructor() public {
- owner = msg.sender;
- }
- function bid() external payable;
- function end() external;
- }
Add Comment
Please, Sign In to add comment