Skip to main content
Version: v3.x

Minimal Anti Collusion Infrastructure (MACI) / HatsCheckerFactory__factory

Class: HatsCheckerFactory__factory

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/hats/HatsCheckerFactory__factory.ts:86

Extends

  • ContractFactory

Constructors

Constructor

new HatsCheckerFactory__factory(...args): HatsCheckerFactory__factory

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/hats/HatsCheckerFactory__factory.ts:87

Parameters

args

...HatsCheckerFactoryConstructorParams

Returns

HatsCheckerFactory__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: "address"; name: "hats"; type: "address"; }, { internalType: "uint256[]"; name: "criterionHats"; type: "uint256[]"; }]; 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/hats/HatsCheckerFactory__factory.ts:112


bytecode

readonly static bytecode: "0x60a0604052348015600f57600080fd5b50604051601a906046565b604051809103906000f0801580156035573d6000803e3d6000fd5b506001600160a01b03166080526053565b6105c78061039783390190565b608051610323610074600039600081816040015261012201526103236000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80633a4741bd1461003b5780639a0ae61d1461007e575b600080fd5b6100627f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200160405180910390f35b61006261008c36600461020d565b6000808484846040516020016100a4939291906102a3565b60405160208183030381529060405290506100be8161011b565b9150816001600160a01b0316638129fc1c6040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156100fb57600080fd5b505af115801561010f573d6000803e3d6000fd5b50505050509392505050565b60006101477f000000000000000000000000000000000000000000000000000000000000000083610183565b6040519091506001600160a01b038216907f2158cde9935cbf85d0b02e02fbc315ad0be2f3f017a603a2ebeedead21b8d60b90600090a2919050565b600061019160008484610198565b9392505050565b600060405182518060438301826020870160045afa506e5af43d82803e903d91602b57fd5bf360238301528460148301528060881b74fe61002d3d81600a3d39f3363d3d373d3d3d363d730182526037810161ffd38210600b01830187f092505050806101915763301164256000526004601cfd5b60008060006040848603121561022257600080fd5b83356001600160a01b038116811461023957600080fd5b9250602084013567ffffffffffffffff81111561025557600080fd5b8401601f8101861361026657600080fd5b803567ffffffffffffffff81111561027d57600080fd5b8660208260051b840101111561029257600080fd5b939660209190910195509293505050565b6001600160a01b0384168152604060208201819052810182905260006001600160fb1b038311156102d357600080fd5b8260051b808560608501379190910160600194935050505056fea26469706673582212206e41b711d6678dae0b949fed364daf736e9d0b30e03775b6b972451f5e75159464736f6c634300081c00336080604052348015600f57600080fd5b506105a88061001f6000396000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c806305023c3114610067578063158ef93e1461009f5780638129fc1c146100ac578063b41a4b19146100b6578063e2b24085146100cb578063f99f0238146100de575b600080fd5b61008a610075366004610334565b60016020526000908152604090205460ff1681565b60405190151581526020015b60405180910390f35b60005461008a9060ff1681565b6100b461010e565b005b6100be610118565b604051610096919061034d565b61008a6100d93660046103b3565b610127565b6000546100f69061010090046001600160a01b031681565b6040516001600160a01b039091168152602001610096565b61011661013c565b565b60606101226101e4565b905090565b60006101348484846101ef565b949350505050565b6101446102d3565b600061014e6101e4565b9050600080828060200190518101906101679190610450565b60008054610100600160a81b0319166101006001600160a01b0385160217815591935091505b81518110156101de5760018060008484815181106101ad576101ad610533565b6020908102919091018101518252810191909152604001600020805460ff191691151591909117905560010161018d565b50505050565b606061012230610305565b6000806101fe83850185610334565b60008181526001602052604090205490915060ff1661023057604051632f76bd0160e21b815260040160405180910390fd5b6000546040516321a9204d60e11b81526001600160a01b0387811660048301526024820184905261010090920490911690634352409a90604401602060405180830381865afa158015610287573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102ab9190610549565b6102c8576040516306fdb0d360e31b815260040160405180910390fd5b506001949350505050565b60005460ff16156102f65760405162dc149f60e41b815260040160405180910390fd5b6000805460ff19166001179055565b60405164ffffffffff602c19833b0116808252602090810190602d908301843c60408101815101604052919050565b60006020828403121561034657600080fd5b5035919050565b602081526000825180602084015260005b8181101561037b576020818601810151604086840101520161035e565b506000604082850101526040601f19601f83011684010191505092915050565b6001600160a01b03811681146103b057600080fd5b50565b6000806000604084860312156103c857600080fd5b83356103d38161039b565b9250602084013567ffffffffffffffff8111156103ef57600080fd5b8401601f8101861361040057600080fd5b803567ffffffffffffffff81111561041757600080fd5b86602082840101111561042957600080fd5b939660209190910195509293505050565b634e487b7160e01b600052604160045260246000fd5b6000806040838503121561046357600080fd5b825161046e8161039b565b602084015190925067ffffffffffffffff81111561048b57600080fd5b8301601f8101851361049c57600080fd5b805167ffffffffffffffff8111156104b6576104b661043a565b8060051b604051601f19603f830116810181811067ffffffffffffffff821117156104e3576104e361043a565b60405291825260208184018101929081018884111561050157600080fd5b6020850194505b8385101561052457845180825260209586019590935001610508565b50809450505050509250929050565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561055b57600080fd5b8151801515811461056b57600080fd5b939250505056fea2646970667358221220581eabfad79601c327eaab1d86bd64e59a8e27347fa380792668a42d24916bef64736f6c634300081c0033" = _bytecode

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/hats/HatsCheckerFactory__factory.ts:111

Methods

connect()

connect(runner): HatsCheckerFactory__factory

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/hats/HatsCheckerFactory__factory.ts:107

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

Parameters

runner

ContractRunner | null

Returns

HatsCheckerFactory__factory

Overrides

ContractFactory.connect


deploy()

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

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/hats/HatsCheckerFactory__factory.ts:100

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<HatsCheckerFactory & object>

Overrides

ContractFactory.deploy


getDeployTransaction()

getDeployTransaction(overrides?): Promise<ContractDeployTransaction>

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/hats/HatsCheckerFactory__factory.ts:95

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?): HatsCheckerFactory

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/hats/HatsCheckerFactory__factory.ts:116

Parameters

address

string

runner?

ContractRunner | null

Returns

HatsCheckerFactory


createInterface()

static createInterface(): HatsCheckerFactoryInterface

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/hats/HatsCheckerFactory__factory.ts:113

Returns

HatsCheckerFactoryInterface