Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. pragma solidity >=0.4.21 <0.6.0;
  2.  
  3. contract MyContract {
  4. uint256 public field;
  5. mapping(uint256 => address) public map;
  6.  
  7. constructor() {
  8. field = 0;
  9. map[0] = address(this);
  10. }
  11. }
  12.  
  13. const contract = drizzle.contracts.MyContract;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement