Skip to content

Instantly share code, notes, and snippets.

@Shritesh99
Created December 22, 2020 16:42
Show Gist options
  • Save Shritesh99/bd64bfb67410c8757bab19299eed6eae to your computer and use it in GitHub Desktop.
Save Shritesh99/bd64bfb67410c8757bab19299eed6eae to your computer and use it in GitHub Desktop.
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.7.4+commit.3f05b770.js&optimize=false&runs=200&gist=
pragma solidity >=0.7.0 <0.8.0;
contract Rahul {
struct PoliceStation{
uint id;
}
struct Police{
address addr;
uint station;
}
struct Witness{
address addr;
string phone;
string name;
}
struct Accuse{
address addr;
string phone;
string name;
string lat;
string long;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment