Skip to main content
Version: v3.x

Minimal Anti Collusion Infrastructure (MACI) / Pairing__factory

Class: Pairing__factory

Defined in: contracts/typechain-types/factories/contracts/crypto/Pairing__factory.ts:59

Extends

  • ContractFactory

Constructors

Constructor

new Pairing__factory(...args): Pairing__factory

Defined in: contracts/typechain-types/factories/contracts/crypto/Pairing__factory.ts:60

Parameters

args

...PairingConstructorParams

Returns

Pairing__factory

Overrides

ContractFactory.constructor

Properties

abi

readonly static abi: readonly [{ inputs: readonly []; name: "PairingAddFailed"; type: "error"; }, { inputs: readonly []; name: "PairingMulFailed"; type: "error"; }, { inputs: readonly []; name: "PairingOpcodeFailed"; type: "error"; }, { inputs: readonly []; name: "PRIME_Q"; outputs: readonly [{ internalType: "uint256"; name: ""; type: "uint256"; }]; stateMutability: "view"; type: "function"; }] = _abi

Defined in: contracts/typechain-types/factories/contracts/crypto/Pairing__factory.ts:85


bytecode

readonly static bytecode: "0x60a66037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe730000000000000000000000000000000000000000301460806040526004361060335760003560e01c80638d532908146038575b600080fd5b605e7f30644e72e131a029b85045b68181585d97816a916871ca8d3c208c16d87cfd4781565b60405190815260200160405180910390f3fea2646970667358221220b24d133a1d9bb29329df9a0c7d266f7930bbbae68f709584710eec44dd3c592e64736f6c634300081c0033" = _bytecode

Defined in: contracts/typechain-types/factories/contracts/crypto/Pairing__factory.ts:84

Methods

connect()

connect(runner): Pairing__factory

Defined in: contracts/typechain-types/factories/contracts/crypto/Pairing__factory.ts:80

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

Parameters

runner

ContractRunner | null

Returns

Pairing__factory

Overrides

ContractFactory.connect


deploy()

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

Defined in: contracts/typechain-types/factories/contracts/crypto/Pairing__factory.ts:73

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

Overrides

ContractFactory.deploy


getDeployTransaction()

getDeployTransaction(overrides?): Promise<ContractDeployTransaction>

Defined in: contracts/typechain-types/factories/contracts/crypto/Pairing__factory.ts:68

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

Defined in: contracts/typechain-types/factories/contracts/crypto/Pairing__factory.ts:89

Parameters

address

string

runner?

ContractRunner | null

Returns

Pairing


createInterface()

static createInterface(): PairingInterface

Defined in: contracts/typechain-types/factories/contracts/crypto/Pairing__factory.ts:86

Returns

PairingInterface