-
Notifications
You must be signed in to change notification settings - Fork 1
/
Voting.abi
1 lines (1 loc) · 1.94 KB
/
Voting.abi
1
[{"inputs": [{"internalType": "uint256", "name": "_blockCount", "type": "uint256"}, {"internalType": "uint256", "name": "issuer_x", "type": "uint256"}, {"internalType": "uint256", "name": "issuer_y", "type": "uint256"}, {"internalType": "address", "name": "verifier_contract_address", "type": "address"}], "stateMutability": "nonpayable", "type": "constructor"}, {"inputs": [], "name": "endBlock", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_option", "type": "uint256"}], "name": "getVoteCount", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "getWinningOption", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "isDone", "outputs": [{"internalType": "bool", "name": "", "type": "bool"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "name": "options", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "", "type": "address"}], "name": "spent_votes", "outputs": [{"internalType": "bool", "name": "", "type": "bool"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_option", "type": "uint256"}, {"internalType": "address", "name": "_pk_user", "type": "address"}, {"internalType": "bytes", "name": "_user_sig", "type": "bytes"}, {"internalType": "uint256[2]", "name": "_pA", "type": "uint256[2]"}, {"internalType": "uint256[2][2]", "name": "_pB", "type": "uint256[2][2]"}, {"internalType": "uint256[2]", "name": "_pC", "type": "uint256[2]"}], "name": "vote", "outputs": [], "stateMutability": "nonpayable", "type": "function"}]