Minimal Anti Collusion Infrastructure (MACI) / MerkleProofChecker__factory
Class: MerkleProofChecker__factory
Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/merkle/MerkleProofChecker__factory.ts:116
Extends
ContractFactory
Constructors
Constructor
new MerkleProofChecker__factory(...
args):MerkleProofChecker__factory
Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/merkle/MerkleProofChecker__factory.ts:117
Parameters
args
...MerkleProofCheckerConstructorParams
Returns
MerkleProofChecker__factory
Overrides
ContractFactory.constructor
Properties
abi
readonlystaticabi: readonly [{inputs: readonly [];name:"AlreadyInitialized";type:"error"; }, {inputs: readonly [];name:"InvalidProof";type:"error"; }, {inputs: readonly [];name:"InvalidRoot";type:"error"; }, {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:"root";outputs: readonly [{internalType:"bytes32";name:"";type:"bytes32"; }];stateMutability:"view";type:"function"; }] =_abi
Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/merkle/MerkleProofChecker__factory.ts:142
bytecode
readonlystaticbytecode:"0x6080604052348015600f57600080fd5b506104f98061001f6000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c8063158ef93e1461005c5780638129fc1c1461007e578063b41a4b1914610088578063e2b240851461009d578063ebf0c717146100b0575b600080fd5b6000546100699060ff1681565b60405190151581526020015b60405180910390f35b6100866100c7565b005b6100906100d1565b60405161007591906102d0565b6100696100ab36600461031e565b6100e0565b6100b960015481565b604051908152602001610075565b6100cf6100f5565b565b60606100db610145565b905090565b60006100ed848484610150565b949350505050565b6100fd6101e4565b6000610107610145565b905060008180602001905181019061011f91906103b1565b90508061013f5760405163504570e360e01b815260040160405180910390fd5b60015550565b60606100db30610216565b60008061015f838501856103e0565b604080516001600160a01b03881660208201529192506000910160408051601f19818403018152828252805160209182012090830152016040516020818303038152906040528051906020012090506101bb8260015483610245565b6101d8576040516309bde33960e01b815260040160405180910390fd5b50600195945050505050565b60005460ff16156102075760405162dc149f60e41b815260040160405180910390fd5b6000805460ff19166001179055565b60405164ffffffffff602c19833b0116808252602090810190602d908301843c60408101815101604052919050565b600082610252858461025b565b14949350505050565b600081815b84518110156102965761028c8286838151811061027f5761027f6104ad565b602002602001015161029e565b9150600101610260565b509392505050565b60008183106102ba5760008281526020849052604090206102c9565b60008381526020839052604090205b9392505050565b602081526000825180602084015260005b818110156102fe57602081860181015160408684010152016102e1565b506000604082850101526040601f19601f83011684010191505092915050565b60008060006040848603121561033357600080fd5b83356001600160a01b038116811461034a57600080fd5b9250602084013567ffffffffffffffff81111561036657600080fd5b8401601f8101861361037757600080fd5b803567ffffffffffffffff81111561038e57600080fd5b8660208284010111156103a057600080fd5b939660209190910195509293505050565b6000602082840312156103c357600080fd5b5051919050565b634e487b7160e01b600052604160045260246000fd5b6000602082840312156103f257600080fd5b813567ffffffffffffffff81111561040957600080fd5b8201601f8101841361041a57600080fd5b803567ffffffffffffffff811115610434576104346103ca565b8060051b604051601f19603f830116810181811067ffffffffffffffff82111715610461576104616103ca565b60405291825260208184018101929081018784111561047f57600080fd5b6020850194505b838510156104a257843580825260209586019590935001610486565b509695505050505050565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220b69e445466d94f4516ee3a37b9080e454b285bc38677d8b1707e0e051bf4a60f64736f6c634300081c0033"=_bytecode
Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/merkle/MerkleProofChecker__factory.ts:141
Methods
connect()
connect(
runner):MerkleProofChecker__factory
Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/merkle/MerkleProofChecker__factory.ts:137
Return a new ContractFactory with the same ABI and bytecode, but connected to %%runner%%.
Parameters
runner
ContractRunner | null
Returns
MerkleProofChecker__factory
Overrides
ContractFactory.connect
deploy()
deploy(
overrides?):Promise<MerkleProofChecker&object>
Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/merkle/MerkleProofChecker__factory.ts:130
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<MerkleProofChecker & object>
Overrides
ContractFactory.deploy
getDeployTransaction()
getDeployTransaction(
overrides?):Promise<ContractDeployTransaction>
Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/merkle/MerkleProofChecker__factory.ts:125
Resolves to the transaction to deploy the contract, passing %%args%% into the constructor.
Parameters
overrides?
NonPayableOverrides & object
Returns
Promise<ContractDeployTransaction>
Overrides
ContractFactory.getDeployTransaction
connect()
staticconnect(address,runner?):MerkleProofChecker
Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/merkle/MerkleProofChecker__factory.ts:146
Parameters
address
string
runner?
ContractRunner | null
Returns
createInterface()
staticcreateInterface():MerkleProofCheckerInterface
Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/merkle/MerkleProofChecker__factory.ts:143
Returns
MerkleProofCheckerInterface