Minimal Anti Collusion Infrastructure (MACI) / IMACI__factory
Class: IMACI__factory
Defined in: contracts/typechain-types/factories/contracts/interfaces/IMACI__factory.ts:251
Constructors
Constructor
new IMACI__factory():
IMACI__factory
Returns
IMACI__factory
Properties
abi
readonlystaticabi: readonly [{inputs: readonly [{components: readonly [{internalType:"uint256";name:"startDate";type:"uint256"; }, {internalType:"uint256";name:"endDate";type:"uint256"; }, {components: readonly [{internalType:"uint8";name:"tallyProcessingStateTreeDepth";type:"uint8"; }, {internalType:"uint8";name:"voteOptionTreeDepth";type:"uint8"; }, {internalType:"uint8";name:"stateTreeDepth";type:"uint8"; }];internalType:"struct Params.TreeDepths";name:"treeDepths";type:"tuple"; }, {internalType:"uint8";name:"messageBatchSize";type:"uint8"; }, {components: readonly [{internalType:"uint256";name:"x";type:"uint256"; }, {internalType:"uint256";name:"y";type:"uint256"; }];internalType:"struct DomainObjs.PublicKey";name:"coordinatorPublicKey";type:"tuple"; }, {internalType:"enum DomainObjs.Mode";name:"mode";type:"uint8"; }, {internalType:"address";name:"policy";type:"address"; }, {internalType:"address";name:"initialVoiceCreditProxy";type:"address"; }, {internalType:"address[]";name:"relayers";type:"address[]"; }, {internalType:"uint256";name:"voteOptions";type:"uint256"; }];internalType:"struct IMACI.DeployPollArgs";name:"_pollArgs";type:"tuple"; }];name:"deployPoll";outputs: readonly [{components: readonly [{internalType:"address";name:"poll";type:"address"; }, {internalType:"address";name:"messageProcessor";type:"address"; }, {internalType:"address";name:"tally";type:"address"; }];internalType:"struct IMACI.PollContracts";name:"";type:"tuple"; }];stateMutability:"nonpayable";type:"function"; }, {inputs: readonly [{internalType:"uint256";name:"_publicKeyHash";type:"uint256"; }];name:"getStateIndex";outputs: readonly [{internalType:"uint256";name:"";type:"uint256"; }];stateMutability:"view";type:"function"; }, {inputs: readonly [{internalType:"uint256";name:"_index";type:"uint256"; }];name:"getStateRootOnIndexedSignUp";outputs: readonly [{internalType:"uint256";name:"";type:"uint256"; }];stateMutability:"view";type:"function"; }, {inputs: readonly [];name:"getStateTreeRoot";outputs: readonly [{internalType:"uint256";name:"";type:"uint256"; }];stateMutability:"view";type:"function"; }, {inputs: readonly [];name:"nextPollId";outputs: readonly [{internalType:"uint256";name:"";type:"uint256"; }];stateMutability:"view";type:"function"; }, {inputs: readonly [{components: readonly [{internalType:"uint256";name:"x";type:"uint256"; }, {internalType:"uint256";name:"y";type:"uint256"; }];internalType:"struct DomainObjs.PublicKey";name:"_publicKey";type:"tuple"; }, {internalType:"bytes";name:"_signUpPolicyData";type:"bytes"; }];name:"signUp";outputs: readonly [];stateMutability:"nonpayable";type:"function"; }, {inputs: readonly [];name:"stateTreeDepth";outputs: readonly [{internalType:"uint8";name:"";type:"uint8"; }];stateMutability:"view";type:"function"; }, {inputs: readonly [];name:"totalSignups";outputs: readonly [{internalType:"uint256";name:"";type:"uint256"; }];stateMutability:"view";type:"function"; }] =_abi
Defined in: contracts/typechain-types/factories/contracts/interfaces/IMACI__factory.ts:252
Methods
connect()
staticconnect(address,runner?):IMACI
Defined in: contracts/typechain-types/factories/contracts/interfaces/IMACI__factory.ts:256
Parameters
address
string
runner?
ContractRunner | null
Returns
createInterface()
staticcreateInterface():IMACIInterface
Defined in: contracts/typechain-types/factories/contracts/interfaces/IMACI__factory.ts:253
Returns
IMACIInterface