Skip to main content
Version: v3.x

Minimal Anti Collusion Infrastructure (MACI) / GitcoinPassportChecker__factory

Class: GitcoinPassportChecker__factory

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/gitcoin/GitcoinPassportChecker__factory.ts:137

Extends

  • ContractFactory

Constructors

Constructor

new GitcoinPassportChecker__factory(...args): GitcoinPassportChecker__factory

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/gitcoin/GitcoinPassportChecker__factory.ts:138

Parameters

args

...GitcoinPassportCheckerConstructorParams

Returns

GitcoinPassportChecker__factory

Overrides

ContractFactory.constructor

Properties

abi

readonly static abi: readonly [{ inputs: readonly []; name: "AlreadyInitialized"; type: "error"; }, { inputs: readonly []; name: "ScoreTooLow"; type: "error"; }, { inputs: readonly []; name: "FACTOR"; outputs: readonly [{ internalType: "uint256"; name: ""; type: "uint256"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "address"; name: "subject"; type: "address"; }, { internalType: "bytes"; name: "evidence"; type: "bytes"; }]; name: "check"; outputs: readonly [{ internalType: "bool"; name: "checked"; type: "bool"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "getAppendedBytes"; outputs: readonly [{ internalType: "bytes"; name: "appendedBytes"; type: "bytes"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "initialize"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly []; name: "initialized"; outputs: readonly [{ internalType: "bool"; name: ""; type: "bool"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "passportDecoder"; outputs: readonly [{ internalType: "contract IGitcoinPassportDecoder"; name: ""; type: "address"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "thresholdScore"; outputs: readonly [{ internalType: "uint256"; name: ""; type: "uint256"; }]; stateMutability: "view"; type: "function"; }] = _abi

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/gitcoin/GitcoinPassportChecker__factory.ts:165


bytecode

readonly static bytecode: "0x6080604052348015600f57600080fd5b506104568061001f6000396000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c80638129fc1c1161005b5780638129fc1c146100c3578063b41a4b19146100cd578063d237884e146100e2578063e2b240851461011257600080fd5b8063019d0bb414610082578063158ef93e1461009e57806335815b95146100bb575b600080fd5b61008b60015481565b6040519081526020015b60405180910390f35b6000546100ab9060ff1681565b6040519015158152602001610095565b61008b606481565b6100cb610125565b005b6100d561012f565b60405161009591906102ca565b6000546100fa9061010090046001600160a01b031681565b6040516001600160a01b039091168152602001610095565b6100ab610120366004610330565b61013e565b61012d610153565b565b60606101396101ad565b905090565b600061014b8484846101b8565b949350505050565b61015b610269565b60006101656101ad565b90506000808280602001905181019061017e91906103b7565b600080546001600160a01b0390931661010002610100600160a81b031990931692909217909155600155505050565b60606101393061029b565b6000808054604051630d47875d60e41b81526001600160a01b0387811660048301526101009092049091169063d47875d090602401602060405180830381865afa15801561020a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061022e91906103e5565b60015490915061023f6064836103fe565b101561025e57604051630e94124b60e01b815260040160405180910390fd5b506001949350505050565b60005460ff161561028c5760405162dc149f60e41b815260040160405180910390fd5b6000805460ff19166001179055565b60405164ffffffffff602c19833b0116808252602090810190602d908301843c60408101815101604052919050565b602081526000825180602084015260005b818110156102f857602081860181015160408684010152016102db565b506000604082850101526040601f19601f83011684010191505092915050565b6001600160a01b038116811461032d57600080fd5b50565b60008060006040848603121561034557600080fd5b833561035081610318565b9250602084013567ffffffffffffffff81111561036c57600080fd5b8401601f8101861361037d57600080fd5b803567ffffffffffffffff81111561039457600080fd5b8660208284010111156103a657600080fd5b939660209190910195509293505050565b600080604083850312156103ca57600080fd5b82516103d581610318565b6020939093015192949293505050565b6000602082840312156103f757600080fd5b5051919050565b60008261041b57634e487b7160e01b600052601260045260246000fd5b50049056fea2646970667358221220688b9fd95c196dee4e9c61103a6a2998b6b3b2f4612411dce84b3789740358d464736f6c634300081c0033" = _bytecode

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/gitcoin/GitcoinPassportChecker__factory.ts:164

Methods

connect()

connect(runner): GitcoinPassportChecker__factory

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/gitcoin/GitcoinPassportChecker__factory.ts:158

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

Parameters

runner

ContractRunner | null

Returns

GitcoinPassportChecker__factory

Overrides

ContractFactory.connect


deploy()

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

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/gitcoin/GitcoinPassportChecker__factory.ts:151

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

Overrides

ContractFactory.deploy


getDeployTransaction()

getDeployTransaction(overrides?): Promise<ContractDeployTransaction>

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/gitcoin/GitcoinPassportChecker__factory.ts:146

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

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/gitcoin/GitcoinPassportChecker__factory.ts:169

Parameters

address

string

runner?

ContractRunner | null

Returns

GitcoinPassportChecker


createInterface()

static createInterface(): GitcoinPassportCheckerInterface

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/gitcoin/GitcoinPassportChecker__factory.ts:166

Returns

GitcoinPassportCheckerInterface