Guest User

Untitled

a guest
Nov 14th, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. //This is an abstract base class because it is not implemented
  2.  
  3. // BaseAuction.sol
  4. pragma solidity ^0.4.25;
  5.  
  6. contract BaseAuction {
  7. address public owner;
  8.  
  9. modifier ownerOnly() {
  10. require(msg.sender == owner);
  11. _;
  12. }
  13. //Events log information and allow applications to listen
  14. //to whats happening
  15. event AuctionComplete(address winner, uint bid);
  16. event BidAccepted(address bidder, uint bid);
  17.  
  18. constructor() public {
  19. owner = msg.sender;
  20. }
  21.  
  22. function bid() external payable;
  23. function end() external;
  24. }
Add Comment
Please, Sign In to add comment