Skip to main content
Version: v3.x

Minimal Anti Collusion Infrastructure (MACI) / CurveBabyJubJub__factory

Class: CurveBabyJubJub__factory

Defined in: contracts/typechain-types/factories/contracts/crypto/BabyJubJub.sol/CurveBabyJubJub__factory.ts:70

Extends

  • ContractFactory

Constructors

Constructor

new CurveBabyJubJub__factory(...args): CurveBabyJubJub__factory

Defined in: contracts/typechain-types/factories/contracts/crypto/BabyJubJub.sol/CurveBabyJubJub__factory.ts:71

Parameters

args

...CurveBabyJubJubConstructorParams

Returns

CurveBabyJubJub__factory

Overrides

ContractFactory.constructor

Properties

abi

readonly static abi: readonly [{ inputs: readonly []; name: "A"; outputs: readonly [{ internalType: "uint256"; name: ""; type: "uint256"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "D"; outputs: readonly [{ internalType: "uint256"; name: ""; type: "uint256"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "Q"; outputs: readonly [{ internalType: "uint256"; name: ""; type: "uint256"; }]; stateMutability: "view"; type: "function"; }] = _abi

Defined in: contracts/typechain-types/factories/contracts/crypto/BabyJubJub.sol/CurveBabyJubJub__factory.ts:96


bytecode

readonly static bytecode: "0x60cc610038600b82828239805160001a607314602b57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe730000000000000000000000000000000000000000301460806040526004361060475760003560e01c80630f529ba214604c578063e493ef8c146067578063f446c1d014608d575b600080fd5b6055620292f881565b60405190815260200160405180910390f35b60557f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f000000181565b6055620292fc8156fea2646970667358221220bd46e79ca01caeba56b59330a1839d8cc85daf6f629af0554bf4f714d2c7a90964736f6c634300081c0033" = _bytecode

Defined in: contracts/typechain-types/factories/contracts/crypto/BabyJubJub.sol/CurveBabyJubJub__factory.ts:95

Methods

connect()

connect(runner): CurveBabyJubJub__factory

Defined in: contracts/typechain-types/factories/contracts/crypto/BabyJubJub.sol/CurveBabyJubJub__factory.ts:91

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

Parameters

runner

ContractRunner | null

Returns

CurveBabyJubJub__factory

Overrides

ContractFactory.connect


deploy()

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

Defined in: contracts/typechain-types/factories/contracts/crypto/BabyJubJub.sol/CurveBabyJubJub__factory.ts:84

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

Overrides

ContractFactory.deploy


getDeployTransaction()

getDeployTransaction(overrides?): Promise<ContractDeployTransaction>

Defined in: contracts/typechain-types/factories/contracts/crypto/BabyJubJub.sol/CurveBabyJubJub__factory.ts:79

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

Defined in: contracts/typechain-types/factories/contracts/crypto/BabyJubJub.sol/CurveBabyJubJub__factory.ts:100

Parameters

address

string

runner?

ContractRunner | null

Returns

CurveBabyJubJub


createInterface()

static createInterface(): CurveBabyJubJubInterface

Defined in: contracts/typechain-types/factories/contracts/crypto/BabyJubJub.sol/CurveBabyJubJub__factory.ts:97

Returns

CurveBabyJubJubInterface