Guest User

Untitled

a guest
Jun 15th, 2020
76
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"string","name":"municipality","type":"string"},{"internalType":"string","name":"policyURL","type":"string"},{"internalType":"string","name":"logoURL","type":"string"}],"name":"addDept","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"string","name":"fullName","type":"string"},{"internalType":"string","name":"photoURL","type":"string"},{"internalType":"string","name":"badgeID","type":"string"},{"internalType":"uint256","name":"deptID","type":"uint256"}],"name":"addOfficer","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"string","name":"ipfsCID","type":"string"},{"internalType":"string","name":"title","type":"string"},{"internalType":"uint256","name":"dateOfIncident","type":"uint256"},{"internalType":"string","name":"location","type":"string"},{"internalType":"string","name":"description","type":"string"},{"internalType":"uint256","name":"departmentID","type":"uint256"},{"internalType":"string[]","name":"officerData","type":"string[]"},{"internalType":"string","name":"mediaIDs","type":"string"}],"name":"addReport","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"deptID","type":"uint256"}],"name":"fetchDept","outputs":[{"components":[{"internalType":"string","name":"municipality","type":"string"},{"internalType":"string","name":"policyURL","type":"string"},{"internalType":"string","name":"logoURL","type":"string"}],"internalType":"struct EthOpticon.Dept","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"deptID","type":"uint256"}],"name":"fetchDeptOfficers","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"deptID","type":"uint256"}],"name":"fetchDeptReports","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"officerID","type":"uint256"}],"name":"fetchOfficer","outputs":[{"components":[{"internalType":"string","name":"fullName","type":"string"},{"internalType":"string","name":"photoURL","type":"string"},{"internalType":"string","name":"badgeID","type":"string"},{"internalType":"bool","name":"exists","type":"bool"}],"internalType":"struct EthOpticon.Officer","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"badgeNumber","type":"string"}],"name":"fetchOfficerID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"officerID","type":"uint256"}],"name":"fetchOfficerReports","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"reportID","type":"uint256"}],"name":"fetchReport","outputs":[{"components":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"string","name":"ipfsCID","type":"string"},{"internalType":"string","name":"title","type":"string"},{"internalType":"uint256","name":"dateOfIncident","type":"uint256"},{"internalType":"string","name":"location","type":"string"},{"internalType":"string","name":"description","type":"string"},{"internalType":"uint256[]","name":"officer_ids","type":"uint256[]"},{"internalType":"string","name":"evidence_ids","type":"string"},{"internalType":"bool","name":"exists","type":"bool"}],"internalType":"struct EthOpticon.Report","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"kill","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"numReports","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"smashKeys","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"officerID","type":"uint256"},{"internalType":"string","name":"fullName","type":"string"},{"internalType":"string","name":"photoURL","type":"string"},{"internalType":"string","name":"badgeID","type":"string"},{"internalType":"uint256","name":"deptID","type":"uint256"}],"name":"updateOfficer","outputs":[],"stateMutability":"payable","type":"function"}]
RAW Paste Data