Skip to main content
Version: v3.x

Minimal Anti Collusion Infrastructure (MACI) / IVerifyingKeysRegistry__factory

Class: IVerifyingKeysRegistry__factory

Defined in: contracts/typechain-types/factories/contracts/interfaces/IVerifyingKeysRegistry__factory.ts:468

Constructors

Constructor

new IVerifyingKeysRegistry__factory(): IVerifyingKeysRegistry__factory

Returns

IVerifyingKeysRegistry__factory

Properties

abi

readonly static abi: readonly [{ inputs: readonly [{ internalType: "uint256"; name: "_stateTreeDepth"; type: "uint256"; }]; name: "getPollJoinedVerifyingKey"; outputs: readonly [{ components: readonly [{ components: readonly [{ internalType: "uint256"; name: "x"; type: "uint256"; }, { internalType: "uint256"; name: "y"; type: "uint256"; }]; internalType: "struct Pairing.G1Point"; name: "alpha1"; type: "tuple"; }, { components: readonly [{ internalType: "uint256[2]"; name: "x"; type: "uint256[2]"; }, { internalType: "uint256[2]"; name: "y"; type: "uint256[2]"; }]; internalType: "struct Pairing.G2Point"; name: "beta2"; type: "tuple"; }, { components: readonly [{ internalType: "uint256[2]"; name: "x"; type: "uint256[2]"; }, { internalType: "uint256[2]"; name: "y"; type: "uint256[2]"; }]; internalType: "struct Pairing.G2Point"; name: "gamma2"; type: "tuple"; }, { components: readonly [{ internalType: "uint256[2]"; name: "x"; type: "uint256[2]"; }, { internalType: "uint256[2]"; name: "y"; type: "uint256[2]"; }]; internalType: "struct Pairing.G2Point"; name: "delta2"; type: "tuple"; }, { components: readonly [{ internalType: "uint256"; name: "x"; type: "uint256"; }, { internalType: "uint256"; name: "y"; type: "uint256"; }]; internalType: "struct Pairing.G1Point[]"; name: "ic"; type: "tuple[]"; }]; internalType: "struct SnarkCommon.VerifyingKey"; name: ""; type: "tuple"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "uint256"; name: "_stateTreeDepth"; type: "uint256"; }]; name: "getPollJoiningVerifyingKey"; outputs: readonly [{ components: readonly [{ components: readonly [{ internalType: "uint256"; name: "x"; type: "uint256"; }, { internalType: "uint256"; name: "y"; type: "uint256"; }]; internalType: "struct Pairing.G1Point"; name: "alpha1"; type: "tuple"; }, { components: readonly [{ internalType: "uint256[2]"; name: "x"; type: "uint256[2]"; }, { internalType: "uint256[2]"; name: "y"; type: "uint256[2]"; }]; internalType: "struct Pairing.G2Point"; name: "beta2"; type: "tuple"; }, { components: readonly [{ internalType: "uint256[2]"; name: "x"; type: "uint256[2]"; }, { internalType: "uint256[2]"; name: "y"; type: "uint256[2]"; }]; internalType: "struct Pairing.G2Point"; name: "gamma2"; type: "tuple"; }, { components: readonly [{ internalType: "uint256[2]"; name: "x"; type: "uint256[2]"; }, { internalType: "uint256[2]"; name: "y"; type: "uint256[2]"; }]; internalType: "struct Pairing.G2Point"; name: "delta2"; type: "tuple"; }, { components: readonly [{ internalType: "uint256"; name: "x"; type: "uint256"; }, { internalType: "uint256"; name: "y"; type: "uint256"; }]; internalType: "struct Pairing.G1Point[]"; name: "ic"; type: "tuple[]"; }]; internalType: "struct SnarkCommon.VerifyingKey"; name: ""; type: "tuple"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "uint256"; name: "_stateTreeDepth"; type: "uint256"; }, { internalType: "uint256"; name: "_voteOptionTreeDepth"; type: "uint256"; }, { internalType: "uint8"; name: "_messageBatchSize"; type: "uint8"; }, { internalType: "enum DomainObjs.Mode"; name: "_mode"; type: "uint8"; }]; name: "getProcessVerifyingKey"; outputs: readonly [{ components: readonly [{ components: readonly [{ internalType: "uint256"; name: "x"; type: "uint256"; }, { internalType: "uint256"; name: "y"; type: "uint256"; }]; internalType: "struct Pairing.G1Point"; name: "alpha1"; type: "tuple"; }, { components: readonly [{ internalType: "uint256[2]"; name: "x"; type: "uint256[2]"; }, { internalType: "uint256[2]"; name: "y"; type: "uint256[2]"; }]; internalType: "struct Pairing.G2Point"; name: "beta2"; type: "tuple"; }, { components: readonly [{ internalType: "uint256[2]"; name: "x"; type: "uint256[2]"; }, { internalType: "uint256[2]"; name: "y"; type: "uint256[2]"; }]; internalType: "struct Pairing.G2Point"; name: "gamma2"; type: "tuple"; }, { components: readonly [{ internalType: "uint256[2]"; name: "x"; type: "uint256[2]"; }, { internalType: "uint256[2]"; name: "y"; type: "uint256[2]"; }]; internalType: "struct Pairing.G2Point"; name: "delta2"; type: "tuple"; }, { components: readonly [{ internalType: "uint256"; name: "x"; type: "uint256"; }, { internalType: "uint256"; name: "y"; type: "uint256"; }]; internalType: "struct Pairing.G1Point[]"; name: "ic"; type: "tuple[]"; }]; internalType: "struct SnarkCommon.VerifyingKey"; name: ""; type: "tuple"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "uint256"; name: "_stateTreeDepth"; type: "uint256"; }, { internalType: "uint256"; name: "_intStateTreeDepth"; type: "uint256"; }, { internalType: "uint256"; name: "_voteOptionTreeDepth"; type: "uint256"; }, { internalType: "enum DomainObjs.Mode"; name: "_mode"; type: "uint8"; }]; name: "getTallyVerifyingKey"; outputs: readonly [{ components: readonly [{ components: readonly [{ internalType: "uint256"; name: "x"; type: "uint256"; }, { internalType: "uint256"; name: "y"; type: "uint256"; }]; internalType: "struct Pairing.G1Point"; name: "alpha1"; type: "tuple"; }, { components: readonly [{ internalType: "uint256[2]"; name: "x"; type: "uint256[2]"; }, { internalType: "uint256[2]"; name: "y"; type: "uint256[2]"; }]; internalType: "struct Pairing.G2Point"; name: "beta2"; type: "tuple"; }, { components: readonly [{ internalType: "uint256[2]"; name: "x"; type: "uint256[2]"; }, { internalType: "uint256[2]"; name: "y"; type: "uint256[2]"; }]; internalType: "struct Pairing.G2Point"; name: "gamma2"; type: "tuple"; }, { components: readonly [{ internalType: "uint256[2]"; name: "x"; type: "uint256[2]"; }, { internalType: "uint256[2]"; name: "y"; type: "uint256[2]"; }]; internalType: "struct Pairing.G2Point"; name: "delta2"; type: "tuple"; }, { components: readonly [{ internalType: "uint256"; name: "x"; type: "uint256"; }, { internalType: "uint256"; name: "y"; type: "uint256"; }]; internalType: "struct Pairing.G1Point[]"; name: "ic"; type: "tuple[]"; }]; internalType: "struct SnarkCommon.VerifyingKey"; name: ""; type: "tuple"; }]; stateMutability: "view"; type: "function"; }] = _abi

Defined in: contracts/typechain-types/factories/contracts/interfaces/IVerifyingKeysRegistry__factory.ts:469

Methods

connect()

static connect(address, runner?): IVerifyingKeysRegistry

Defined in: contracts/typechain-types/factories/contracts/interfaces/IVerifyingKeysRegistry__factory.ts:473

Parameters

address

string

runner?

ContractRunner | null

Returns

IVerifyingKeysRegistry


createInterface()

static createInterface(): IVerifyingKeysRegistryInterface

Defined in: contracts/typechain-types/factories/contracts/interfaces/IVerifyingKeysRegistry__factory.ts:470

Returns

IVerifyingKeysRegistryInterface