-
Notifications
You must be signed in to change notification settings - Fork 0
/
ABI.json
1 lines (1 loc) · 2.17 KB
/
ABI.json
1
[{"inputs": [], "stateMutability": "nonpayable", "type": "constructor"}, {"inputs": [], "name": "admin", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "bytes32", "name": "", "type": "bytes32"}], "name": "candidateVotes", "outputs": [{"internalType": "bytes32", "name": "", "type": "bytes32"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "endVotingTime", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_newEndTime", "type": "uint256"}], "name": "extendVotingTime", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "getAdmin", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "bytes32", "name": "_candidateHash", "type": "bytes32"}], "name": "getCandidateVoteHash", "outputs": [{"internalType": "bytes32", "name": "", "type": "bytes32"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_startVotingTime", "type": "uint256"}, {"internalType": "uint256", "name": "_endVotingTime", "type": "uint256"}], "name": "setVotingTime", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "startVotingTime", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "totalVotes", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "bytes32", "name": "_voteHash", "type": "bytes32"}, {"internalType": "bytes32", "name": "_candidateHash", "type": "bytes32"}], "name": "vote", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "bytes32", "name": "", "type": "bytes32"}], "name": "voterTimestamps", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}]