-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontract_abi
1 lines (1 loc) · 5.76 KB
/
contract_abi
1
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"memberIndex","type":"uint256"}],"name":"memberExited","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"member","type":"address"},{"indexed":false,"internalType":"uint256","name":"index","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"publicKey","type":"bytes"}],"name":"memberJoined","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"bytes","name":"messageHash","type":"bytes"},{"indexed":false,"internalType":"uint256","name":"decryptionTime","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"g1r","type":"bytes"},{"indexed":false,"internalType":"bytes","name":"g2r","type":"bytes"},{"indexed":false,"internalType":"bytes[]","name":"alphas","type":"bytes[]"}],"name":"requestReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"member","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"messageID","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"secretShare","type":"bytes"}],"name":"shareRecieved","type":"event"},{"inputs":[],"name":"DEPOSIT_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FIXED_REWARD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GAS_ESTIMATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_COMMITTEE_SIZE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"THRESHOLD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TIME_TO_CONFIRM","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"collectRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"committee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"committeeSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"recipient","type":"address"}],"name":"destroy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"messageID","type":"uint256"},{"internalType":"uint256","name":"memberIndex","type":"uint256"}],"name":"disputeShare","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"disputedShares","outputs":[{"internalType":"address","name":"reporter","type":"address"},{"internalType":"address","name":"member","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"exitCommittee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"indexCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"publicKey","type":"bytes"}],"name":"joinCommittee","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"messageCounter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"messages","outputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"decryptionTime","type":"uint256"},{"internalType":"uint256","name":"sharesReceived","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"publicKeys","outputs":[{"internalType":"bytes","name":"publicKey","type":"bytes"},{"internalType":"uint256","name":"index","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"messageHash","type":"bytes"},{"internalType":"uint256","name":"decryptionTime","type":"uint256"},{"internalType":"bytes","name":"g1r","type":"bytes"},{"internalType":"bytes","name":"g2r","type":"bytes"},{"internalType":"bytes[]","name":"alphas","type":"bytes[]"}],"name":"sendTimeLockMessages","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"shareSubmitted","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"messageID","type":"uint256"},{"internalType":"bytes","name":"secretShare","type":"bytes"}],"name":"submitShare","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"uncollectedRewards","outputs":[{"internalType":"uint256","name":"timestamp","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"}]