Skip to main content
Version: v3.x

Minimal Anti Collusion Infrastructure (MACI) / ZupassCheckerFactory__factory

Class: ZupassCheckerFactory__factory

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/zupass/ZupassCheckerFactory__factory.ts:96

Extends

  • ContractFactory

Constructors

Constructor

new ZupassCheckerFactory__factory(...args): ZupassCheckerFactory__factory

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/zupass/ZupassCheckerFactory__factory.ts:97

Parameters

args

...ZupassCheckerFactoryConstructorParams

Returns

ZupassCheckerFactory__factory

Overrides

ContractFactory.constructor

Properties

abi

readonly static abi: readonly [{ inputs: readonly []; stateMutability: "nonpayable"; type: "constructor"; }, { anonymous: false; inputs: readonly [{ indexed: true; internalType: "address"; name: "clone"; type: "address"; }]; name: "CloneDeployed"; type: "event"; }, { inputs: readonly []; name: "IMPLEMENTATION"; outputs: readonly [{ internalType: "address"; name: ""; type: "address"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "uint256"; name: "eventId"; type: "uint256"; }, { internalType: "uint256"; name: "signer1"; type: "uint256"; }, { internalType: "uint256"; name: "signer2"; type: "uint256"; }, { internalType: "address"; name: "verifier"; type: "address"; }]; name: "deploy"; outputs: readonly [{ internalType: "address"; name: "clone"; type: "address"; }]; stateMutability: "nonpayable"; type: "function"; }] = _abi

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/zupass/ZupassCheckerFactory__factory.ts:124


bytecode

readonly static bytecode: "0x60a0604052348015600f57600080fd5b50604051601a906046565b604051809103906000f0801580156035573d6000803e3d6000fd5b506001600160a01b03166080526053565b61077b8061031c83390190565b6080516102a8610074600039600081816040015261013a01526102a86000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80633a4741bd1461003b5780634cce6e8e1461007e575b600080fd5b6100627f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200160405180910390f35b61006261008c366004610225565b6040805160208101869052908101849052606081018390526001600160a01b0382166080820152600090819060a00160405160208183030381529060405290506100d581610133565b9150816001600160a01b0316638129fc1c6040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561011257600080fd5b505af1158015610126573d6000803e3d6000fd5b5050505050949350505050565b600061015f7f00000000000000000000000000000000000000000000000000000000000000008361019b565b6040519091506001600160a01b038216907f2158cde9935cbf85d0b02e02fbc315ad0be2f3f017a603a2ebeedead21b8d60b90600090a2919050565b60006101a9600084846101b0565b9392505050565b600060405182518060438301826020870160045afa506e5af43d82803e903d91602b57fd5bf360238301528460148301528060881b74fe61002d3d81600a3d39f3363d3d373d3d3d363d730182526037810161ffd38210600b01830187f092505050806101a95763301164256000526004601cfd5b6000806000806080858703121561023b57600080fd5b84359350602085013592506040850135915060608501356001600160a01b038116811461026757600080fd5b93969295509093505056fea26469706673582212200f90960160ea4ec550c57dfa70fac7576f6eefc6a65a2abf393e71a6d82e913964736f6c634300081c00336080604052348015600f57600080fd5b5061075c8061001f6000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c80638f1d49a51161005b5780638f1d49a5146100fb5780639ed2c04e14610104578063b41a4b191461010d578063e2b240851461012257600080fd5b8063158ef93e1461008d5780632b7ac3f3146100af578063523c359d146100da5780638129fc1c146100f1575b600080fd5b60005461009a9060ff1681565b60405190151581526020015b60405180910390f35b6004546100c2906001600160a01b031681565b6040516001600160a01b0390911681526020016100a6565b6100e360015481565b6040519081526020016100a6565b6100f9610135565b005b6100e360035481565b6100e360025481565b61011561013f565b6040516100a6919061038f565b61009a6101303660046103f5565b61014e565b61013d610163565b565b60606101496101c6565b905090565b600061015b8484846101d1565b949350505050565b61016b61032e565b60006101756101c6565b905060008060008084806020019051810190610191919061047c565b600193909355600291909155600355600480546001600160a01b0319166001600160a01b039092169190911790555050505050565b606061014930610360565b6000808080806101e386880188610554565b93509350935093506001548160016026811061020157610201610639565b60200201511461022457604051630c93477d60e41b815260040160405180910390fd5b6002546101a082015114158061024157506003546101c082015114155b1561025f57604051635e231fff60e01b815260040160405180910390fd5b6104a08101516001600160a01b0389161461028d5760405163055e490360e01b815260040160405180910390fd5b60048054604051630418f25760e51b81526001600160a01b039091169163831e4ae0916102c291889188918891889101610678565b602060405180830381865afa1580156102df573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061030391906106fd565b610320576040516309bde33960e01b815260040160405180910390fd5b506001979650505050505050565b60005460ff16156103515760405162dc149f60e41b815260040160405180910390fd5b6000805460ff19166001179055565b60405164ffffffffff602c19833b0116808252602090810190602d908301843c60408101815101604052919050565b602081526000825180602084015260005b818110156103bd57602081860181015160408684010152016103a0565b506000604082850101526040601f19601f83011684010191505092915050565b6001600160a01b03811681146103f257600080fd5b50565b60008060006040848603121561040a57600080fd5b8335610415816103dd565b9250602084013567ffffffffffffffff81111561043157600080fd5b8401601f8101861361044257600080fd5b803567ffffffffffffffff81111561045957600080fd5b86602082840101111561046b57600080fd5b939660209190910195509293505050565b6000806000806080858703121561049257600080fd5b845160208601516040870151606088015192965090945092506104b4816103dd565b939692955090935050565b604051601f8201601f1916810167ffffffffffffffff811182821017156104f657634e487b7160e01b600052604160045260246000fd5b604052919050565b600082601f83011261050f57600080fd5b600061051b60406104bf565b905080604084018581111561052f57600080fd5b845b81811015610549578035835260209283019201610531565b509195945050505050565b6000806000806105c0858703121561056b57600080fd5b61057586866104fe565b935085605f86011261058657600080fd5b6040610591816104bf565b8060c08801898111156105a357600080fd5b8389015b818110156105c8576105b98b826104fe565b845260209093019284016105a7565b508196506105d68a826104fe565b9550505050506101008501600087601f8301126105f1578081fd5b806104c06105fe816104bf565b91508301818a82111561060f578384fd5b5b81851015610628578435815260209485019401610610565b509699959850939650929450505050565b634e487b7160e01b600052603260045260246000fd5b8060005b6002811015610672578151845260209384019390910190600101610653565b50505050565b6105c08101610687828761064f565b604082018560005b60028110156106b9576106a383835161064f565b604092909201916020919091019060010161068f565b5050506106c960c083018561064f565b61010082018360005b60268110156106f15781518352602092830192909101906001016106d2565b50505095945050505050565b60006020828403121561070f57600080fd5b8151801515811461071f57600080fd5b939250505056fea26469706673582212202191aa9b2bbcefddc5fcfb9b0962087ceb8f8d35e5eafe2e15387af9901762fd64736f6c634300081c0033" = _bytecode

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/zupass/ZupassCheckerFactory__factory.ts:123

Methods

connect()

connect(runner): ZupassCheckerFactory__factory

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/zupass/ZupassCheckerFactory__factory.ts:117

Return a new ContractFactory with the same ABI and bytecode, but connected to %%runner%%.

Parameters

runner

ContractRunner | null

Returns

ZupassCheckerFactory__factory

Overrides

ContractFactory.connect


deploy()

deploy(overrides?): Promise<ZupassCheckerFactory & object>

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/zupass/ZupassCheckerFactory__factory.ts:110

Resolves to the Contract deployed by passing %%args%% into the constructor.

This will resolve to the Contract before it has been deployed to the network, so the [[BaseContract-waitForDeployment]] should be used before sending any transactions to it.

Parameters

overrides?

NonPayableOverrides & object

Returns

Promise<ZupassCheckerFactory & object>

Overrides

ContractFactory.deploy


getDeployTransaction()

getDeployTransaction(overrides?): Promise<ContractDeployTransaction>

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/zupass/ZupassCheckerFactory__factory.ts:105

Resolves to the transaction to deploy the contract, passing %%args%% into the constructor.

Parameters

overrides?

NonPayableOverrides & object

Returns

Promise<ContractDeployTransaction>

Overrides

ContractFactory.getDeployTransaction


connect()

static connect(address, runner?): ZupassCheckerFactory

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/zupass/ZupassCheckerFactory__factory.ts:128

Parameters

address

string

runner?

ContractRunner | null

Returns

ZupassCheckerFactory


createInterface()

static createInterface(): ZupassCheckerFactoryInterface

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/zupass/ZupassCheckerFactory__factory.ts:125

Returns

ZupassCheckerFactoryInterface