Minimal Anti Collusion Infrastructure (MACI) / MockVerifier__factory
Class: MockVerifier__factory
Defined in: contracts/typechain-types/factories/contracts/mocks/MockVerifier__factory.ts:147
Extends
ContractFactory
Constructors
Constructor
new MockVerifier__factory(...
args):MockVerifier__factory
Defined in: contracts/typechain-types/factories/contracts/mocks/MockVerifier__factory.ts:148
Parameters
args
...MockVerifierConstructorParams
Returns
MockVerifier__factory
Overrides
ContractFactory.constructor
Properties
abi
readonlystaticabi: readonly [{inputs: readonly [{internalType:"uint256[8]";name:"";type:"uint256[8]"; }, {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"; }, {internalType:"uint256[]";name:"";type:"uint256[]"; }];name:"verify";outputs: readonly [{internalType:"bool";name:"result";type:"bool"; }];stateMutability:"pure";type:"function"; }] =_abi
Defined in: contracts/typechain-types/factories/contracts/mocks/MockVerifier__factory.ts:173
bytecode
readonlystaticbytecode:"0x6080604052348015600f57600080fd5b506104318061001f6000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063352a4d1514610030575b600080fd5b61004761003e366004610289565b50600192915050565b604051901515815260200160405180910390f35b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff811182821017156100945761009461005b565b60405290565b60405160a0810167ffffffffffffffff811182821017156100945761009461005b565b604051601f8201601f1916810167ffffffffffffffff811182821017156100e6576100e661005b565b604052919050565b60006101006100fc816100bd565b91508201818482111561010e57600080fd5b835b82811015610128578035825260209182019101610110565b50505092915050565b60006040828403121561014357600080fd5b61014b610071565b823581526020928301359281019290925250919050565b600082601f83011261017357600080fd5b600061017f60406100bd565b905080604084018581111561019357600080fd5b845b818110156101ad578035835260209283019201610195565b509195945050505050565b6000608082840312156101ca57600080fd5b6101d2610071565b90506101de8383610162565b81526101ed8360408401610162565b602082015292915050565b600067ffffffffffffffff8211156102125761021261005b565b5060051b60200190565b600082601f83011261022d57600080fd5b813561024061023b826101f8565b6100bd565b8082825260208201915060208360051b86010192508583111561026257600080fd5b602085015b8381101561027f578035835260209283019201610267565b5095945050505050565b6000806000610140848603121561029f57600080fd5b84601f8501126102ae57600080fd5b6102b885856100ee565b925061010084013567ffffffffffffffff8111156102d557600080fd5b84016101e081870312156102e857600080fd5b6102f061009a565b6102fa8783610131565b815261030987604084016101b8565b602082015261031b8760c084016101b8565b604082015261032e8761014084016101b8565b60608201526101c082013567ffffffffffffffff81111561034e57600080fd5b80830192505086601f83011261036357600080fd5b813561037161023b826101f8565b8082825260208201915060208360061b86010192508983111561039357600080fd5b6020850194505b828510156103bf576103ac8a86610131565b825260208201915060408501945061039a565b608084015250909350505061012084013567ffffffffffffffff8111156103e557600080fd5b6103f18682870161021c565b915050925092509256fea2646970667358221220bd82c46cf5e62993e0b5021d1f80eeed4f9baf864c1b898fcfae5cb59277199464736f6c634300081c0033"=_bytecode
Defined in: contracts/typechain-types/factories/contracts/mocks/MockVerifier__factory.ts:172
Methods
connect()
connect(
runner):MockVerifier__factory
Defined in: contracts/typechain-types/factories/contracts/mocks/MockVerifier__factory.ts:168
Return a new ContractFactory with the same ABI and bytecode, but connected to %%runner%%.
Parameters
runner
ContractRunner | null
Returns
MockVerifier__factory
Overrides
ContractFactory.connect
deploy()
deploy(
overrides?):Promise<MockVerifier&object>
Defined in: contracts/typechain-types/factories/contracts/mocks/MockVerifier__factory.ts:161
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<MockVerifier & object>
Overrides
ContractFactory.deploy
getDeployTransaction()
getDeployTransaction(
overrides?):Promise<ContractDeployTransaction>
Defined in: contracts/typechain-types/factories/contracts/mocks/MockVerifier__factory.ts:156
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?):MockVerifier
Defined in: contracts/typechain-types/factories/contracts/mocks/MockVerifier__factory.ts:177
Parameters
address
string
runner?
ContractRunner | null
Returns
createInterface()
staticcreateInterface():MockVerifierInterface
Defined in: contracts/typechain-types/factories/contracts/mocks/MockVerifier__factory.ts:174
Returns
MockVerifierInterface