Skip to main content
Version: v3.x

Minimal Anti Collusion Infrastructure (MACI) / MerkleProof__factory

Class: MerkleProof__factory

Defined in: contracts/typechain-types/factories/@openzeppelin/contracts/utils/cryptography/MerkleProof__factory.ts:36

Extends

  • ContractFactory

Constructors

Constructor

new MerkleProof__factory(...args): MerkleProof__factory

Defined in: contracts/typechain-types/factories/@openzeppelin/contracts/utils/cryptography/MerkleProof__factory.ts:37

Parameters

args

...MerkleProofConstructorParams

Returns

MerkleProof__factory

Overrides

ContractFactory.constructor

Properties

abi

readonly static abi: readonly [{ inputs: readonly []; name: "MerkleProofInvalidMultiproof"; type: "error"; }] = _abi

Defined in: contracts/typechain-types/factories/@openzeppelin/contracts/utils/cryptography/MerkleProof__factory.ts:62


bytecode

readonly static bytecode: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220fe11a84dcec38cfdf275004b28653e8d343f9a5fcf1994e0625bc604dd079a6964736f6c634300081c0033" = _bytecode

Defined in: contracts/typechain-types/factories/@openzeppelin/contracts/utils/cryptography/MerkleProof__factory.ts:61

Methods

connect()

connect(runner): MerkleProof__factory

Defined in: contracts/typechain-types/factories/@openzeppelin/contracts/utils/cryptography/MerkleProof__factory.ts:57

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

Parameters

runner

ContractRunner | null

Returns

MerkleProof__factory

Overrides

ContractFactory.connect


deploy()

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

Defined in: contracts/typechain-types/factories/@openzeppelin/contracts/utils/cryptography/MerkleProof__factory.ts:50

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

Overrides

ContractFactory.deploy


getDeployTransaction()

getDeployTransaction(overrides?): Promise<ContractDeployTransaction>

Defined in: contracts/typechain-types/factories/@openzeppelin/contracts/utils/cryptography/MerkleProof__factory.ts:45

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

Defined in: contracts/typechain-types/factories/@openzeppelin/contracts/utils/cryptography/MerkleProof__factory.ts:66

Parameters

address

string

runner?

ContractRunner | null

Returns

MerkleProof


createInterface()

static createInterface(): MerkleProofInterface

Defined in: contracts/typechain-types/factories/@openzeppelin/contracts/utils/cryptography/MerkleProof__factory.ts:63

Returns

MerkleProofInterface