-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcontractABI.json
1 lines (1 loc) · 10.3 KB
/
contractABI.json
1
[{"type":"error","name":"AllFinished","inputs":[]},{"type":"error","name":"AlreadyCommitted","inputs":[]},{"type":"error","name":"AlreadyRegistered","inputs":[]},{"type":"error","name":"AlreadyRevealed","inputs":[]},{"type":"error","name":"BigNumbers__ShouldNotBeZero","inputs":[]},{"type":"error","name":"CommitRevealDurationLessThanCommitDuration","inputs":[]},{"type":"error","name":"FunctionInvalidAtThisStage","inputs":[]},{"type":"error","name":"InvalidDuration","inputs":[]},{"type":"error","name":"ModExpRevealNotMatchCommit","inputs":[]},{"type":"error","name":"NoneParticipated","inputs":[]},{"type":"error","name":"NotAllRevealed","inputs":[]},{"type":"error","name":"NotCommittedParticipant","inputs":[]},{"type":"error","name":"NotVerifiedAtTOne","inputs":[]},{"type":"error","name":"OmegaAlreadyCompleted","inputs":[]},{"type":"error","name":"RecovNotMatchX","inputs":[]},{"type":"error","name":"RegistrationAlreadyStarted","inputs":[]},{"type":"error","name":"RegistrationFinished","inputs":[]},{"type":"error","name":"RegistrationInProgress","inputs":[]},{"type":"error","name":"RegistrationNotStarted","inputs":[]},{"type":"error","name":"RoundNotCompleted","inputs":[]},{"type":"error","name":"ShouldNotBeZero","inputs":[]},{"type":"error","name":"StageNotFinished","inputs":[]},{"type":"error","name":"TNotMatched","inputs":[]},{"type":"error","name":"TOneNotAtLast","inputs":[]},{"type":"error","name":"XPrimeNotEqualAtIndex","inputs":[{"type":"uint256","name":"index"}]},{"type":"error","name":"YPrimeNotEqualAtIndex","inputs":[{"type":"uint256","name":"index"}]},{"type":"error","name":"iNotMatchProofSize","inputs":[]},{"type":"event","anonymous":false,"name":"CalculatedOmega","inputs":[{"type":"uint256","name":"round","indexed":false},{"type":"tuple","name":"omega","indexed":false,"components":[{"type":"bytes","name":"val"},{"type":"uint256","name":"bitlen"}]},{"type":"uint256","name":"calculatedTimestamp","indexed":false}]},{"type":"event","anonymous":false,"name":"CommitC","inputs":[{"type":"address","name":"participant","indexed":false},{"type":"tuple","name":"commit","indexed":false,"components":[{"type":"bytes","name":"val"},{"type":"uint256","name":"bitlen"}]},{"type":"bytes","name":"commitsString","indexed":false},{"type":"uint256","name":"commitCount","indexed":false},{"type":"uint256","name":"commitTimestamp","indexed":false}]},{"type":"event","anonymous":false,"name":"RandomAirdropRegisteredAtRound","inputs":[{"type":"address","name":"_entrant","indexed":true},{"type":"uint256","name":"_timestamp","indexed":false}]},{"type":"event","anonymous":false,"name":"Recovered","inputs":[{"type":"address","name":"msgSender","indexed":false},{"type":"tuple","name":"recov","indexed":false,"components":[{"type":"bytes","name":"val"},{"type":"uint256","name":"bitlen"}]},{"type":"tuple","name":"omegaRecov","indexed":false,"components":[{"type":"bytes","name":"val"},{"type":"uint256","name":"bitlen"}]},{"type":"uint256","name":"recoveredTimestamp","indexed":false}]},{"type":"event","anonymous":false,"name":"Registered","inputs":[{"type":"address","name":"_entrant","indexed":true},{"type":"uint256","name":"_timestamp","indexed":false}]},{"type":"event","anonymous":false,"name":"RevealA","inputs":[{"type":"address","name":"participant","indexed":false},{"type":"tuple","name":"a","indexed":false,"components":[{"type":"bytes","name":"val"},{"type":"uint256","name":"bitlen"}]},{"type":"uint256","name":"revealLeftCount","indexed":false},{"type":"uint256","name":"revealTimestamp","indexed":false}]},{"type":"event","anonymous":false,"name":"SetUp","inputs":[{"type":"address","name":"msgSender","indexed":false},{"type":"uint256","name":"setUpTime","indexed":false},{"type":"uint256","name":"commitDuration","indexed":false},{"type":"uint256","name":"commitRevealDuration","indexed":false},{"type":"tuple","name":"n","indexed":false,"components":[{"type":"bytes","name":"val"},{"type":"uint256","name":"bitlen"}]},{"type":"tuple","name":"g","indexed":false,"components":[{"type":"bytes","name":"val"},{"type":"uint256","name":"bitlen"}]},{"type":"tuple","name":"h","indexed":false,"components":[{"type":"bytes","name":"val"},{"type":"uint256","name":"bitlen"}]},{"type":"uint256","name":"T","indexed":false},{"type":"uint256","name":"round","indexed":false}]},{"type":"event","anonymous":false,"name":"StartRegistration","inputs":[{"type":"uint256","name":"_round","indexed":false},{"type":"uint256","name":"_timestamp","indexed":false}]},{"type":"function","name":"calculateOmega","constant":false,"payable":false,"inputs":[{"type":"uint256","name":"_round"}],"outputs":[{"type":"tuple","name":"","components":[{"type":"bytes","name":"val"},{"type":"uint256","name":"bitlen"}]}]},{"type":"function","name":"commit","constant":false,"payable":false,"inputs":[{"type":"uint256","name":"_round"},{"type":"tuple","name":"_c","components":[{"type":"bytes","name":"val"},{"type":"uint256","name":"bitlen"}]}],"outputs":[]},{"type":"function","name":"getCommitRevealValues","constant":true,"stateMutability":"view","payable":false,"inputs":[{"type":"uint256","name":"_round"},{"type":"uint256","name":"_index"}],"outputs":[{"type":"tuple","name":"","components":[{"type":"tuple","name":"c","components":[{"type":"bytes","name":"val"},{"type":"uint256","name":"bitlen"}]},{"type":"tuple","name":"a","components":[{"type":"bytes","name":"val"},{"type":"uint256","name":"bitlen"}]},{"type":"address","name":"participantAddress"}]}]},{"type":"function","name":"getIsRegistrationStarted","constant":true,"stateMutability":"view","payable":false,"inputs":[{"type":"uint256","name":"_round"}],"outputs":[{"type":"bool","name":""}]},{"type":"function","name":"getNextRound","constant":true,"stateMutability":"view","payable":false,"inputs":[],"outputs":[{"type":"uint256","name":""}]},{"type":"function","name":"getParticipantsAtRound","constant":true,"stateMutability":"view","payable":false,"inputs":[{"type":"uint256","name":"_round"}],"outputs":[{"type":"address[]","name":""}]},{"type":"function","name":"getParticipantsLengthAtRound","constant":true,"stateMutability":"view","payable":false,"inputs":[{"type":"uint256","name":"_round"}],"outputs":[{"type":"uint256","name":""}]},{"type":"function","name":"getParticipatedRounds","constant":true,"stateMutability":"view","payable":false,"inputs":[],"outputs":[{"type":"uint256[]","name":""}]},{"type":"function","name":"getRankPointOfEachParticipants","constant":true,"stateMutability":"view","payable":false,"inputs":[{"type":"uint256","name":"_round"}],"outputs":[{"type":"address[]","name":"addresses"},{"type":"bytes[]","name":"rankPoints"}]},{"type":"function","name":"getRegistrationDurationForNextRound","constant":true,"stateMutability":"view","payable":false,"inputs":[],"outputs":[{"type":"uint256","name":""}]},{"type":"function","name":"getSetUpValuesAtRound","constant":true,"stateMutability":"view","payable":false,"inputs":[{"type":"uint256","name":"_round"}],"outputs":[{"type":"tuple","name":"","components":[{"type":"uint256","name":"setUpTime"},{"type":"uint256","name":"commitDuration"},{"type":"uint256","name":"commitRevealDuration"},{"type":"uint256","name":"T"},{"type":"uint256","name":"proofSize"},{"type":"tuple","name":"n","components":[{"type":"bytes","name":"val"},{"type":"uint256","name":"bitlen"}]},{"type":"tuple","name":"g","components":[{"type":"bytes","name":"val"},{"type":"uint256","name":"bitlen"}]},{"type":"tuple","name":"h","components":[{"type":"bytes","name":"val"},{"type":"uint256","name":"bitlen"}]}]}]},{"type":"function","name":"getStartRegistrationTimeForNextRound","constant":true,"stateMutability":"view","payable":false,"inputs":[],"outputs":[{"type":"uint256","name":""}]},{"type":"function","name":"getUserInfosAtRound","constant":true,"stateMutability":"view","payable":false,"inputs":[{"type":"address","name":"_owner"},{"type":"uint256","name":"_round"}],"outputs":[{"type":"tuple","name":"","components":[{"type":"uint256","name":"index"},{"type":"bool","name":"committed"},{"type":"bool","name":"revealed"}]}]},{"type":"function","name":"getValuesAtRound","constant":true,"stateMutability":"view","payable":false,"inputs":[{"type":"uint256","name":"_round"}],"outputs":[{"type":"tuple","name":"","components":[{"type":"uint256","name":"numOfParticipants"},{"type":"uint256","name":"count"},{"type":"bytes","name":"bStar"},{"type":"bytes","name":"commitsString"},{"type":"tuple","name":"omega","components":[{"type":"bytes","name":"val"},{"type":"uint256","name":"bitlen"}]},{"type":"uint8","name":"stage"},{"type":"bool","name":"isCompleted"},{"type":"bool","name":"isAllRevealed"}]}]},{"type":"function","name":"randomAirdropRound","constant":true,"stateMutability":"view","payable":false,"inputs":[],"outputs":[{"type":"uint256","name":""}]},{"type":"function","name":"recover","constant":false,"payable":false,"inputs":[{"type":"uint256","name":"_round"},{"type":"tuple[]","name":"proofs","components":[{"type":"uint256","name":"T"},{"type":"tuple","name":"x","components":[{"type":"bytes","name":"val"},{"type":"uint256","name":"bitlen"}]},{"type":"tuple","name":"y","components":[{"type":"bytes","name":"val"},{"type":"uint256","name":"bitlen"}]},{"type":"tuple","name":"v","components":[{"type":"bytes","name":"val"},{"type":"uint256","name":"bitlen"}]}]}],"outputs":[]},{"type":"function","name":"registerForNextRound","constant":false,"payable":false,"inputs":[],"outputs":[]},{"type":"function","name":"reveal","constant":false,"payable":false,"inputs":[{"type":"uint256","name":"_round"},{"type":"tuple","name":"_a","components":[{"type":"bytes","name":"val"},{"type":"uint256","name":"bitlen"}]}],"outputs":[]},{"type":"function","name":"setUp","constant":false,"payable":false,"inputs":[{"type":"uint256","name":"_commitDuration"},{"type":"uint256","name":"_commitRevealDuration"},{"type":"tuple","name":"_n","components":[{"type":"bytes","name":"val"},{"type":"uint256","name":"bitlen"}]},{"type":"tuple[]","name":"_proofs","components":[{"type":"uint256","name":"T"},{"type":"tuple","name":"x","components":[{"type":"bytes","name":"val"},{"type":"uint256","name":"bitlen"}]},{"type":"tuple","name":"y","components":[{"type":"bytes","name":"val"},{"type":"uint256","name":"bitlen"}]},{"type":"tuple","name":"v","components":[{"type":"bytes","name":"val"},{"type":"uint256","name":"bitlen"}]}]}],"outputs":[{"type":"uint256","name":""}]},{"type":"function","name":"startRegistration","constant":false,"payable":false,"inputs":[{"type":"uint256","name":"_registrationDuration"}],"outputs":[]}]