Skip to main content
Version: v3.x

Minimal Anti Collusion Infrastructure (MACI) / PoseidonT3__factory

Class: PoseidonT3__factory

Defined in: contracts/typechain-types/factories/contracts/crypto/PoseidonT3__factory.ts:50

Extends

  • ContractFactory

Constructors

Constructor

new PoseidonT3__factory(...args): PoseidonT3__factory

Defined in: contracts/typechain-types/factories/contracts/crypto/PoseidonT3__factory.ts:51

Parameters

args

...PoseidonT3ConstructorParams

Returns

PoseidonT3__factory

Overrides

ContractFactory.constructor

Properties

abi

readonly static abi: readonly [{ inputs: readonly [{ internalType: "uint256[2]"; name: "input"; type: "uint256[2]"; }]; name: "poseidon"; outputs: readonly [{ internalType: "uint256"; name: ""; type: "uint256"; }]; stateMutability: "pure"; type: "function"; }] = _abi

Defined in: contracts/typechain-types/factories/contracts/crypto/PoseidonT3__factory.ts:76


bytecode

readonly static bytecode: "0x61011f610039600b82828239805160001a607314602c57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe730000000000000000000000000000000000000000301460806040526004361060335760003560e01c806329a5f2f6146038575b600080fd5b604960433660046071565b50600090565b60405190815260200160405180910390f35b634e487b7160e01b600052604160045260246000fd5b600060408284031215608257600080fd5b82601f830112609057600080fd5b6040516040810181811067ffffffffffffffff8211171560b05760b0605b565b806040525080604084018581111560c657600080fd5b845b8181101560de57803583526020928301920160c8565b50919594505050505056fea2646970667358221220c8c0aaa4c158e47707d85f4b06023754a6722d9af00315e2ba4b84348613836064736f6c634300081c0033" = _bytecode

Defined in: contracts/typechain-types/factories/contracts/crypto/PoseidonT3__factory.ts:75

Methods

connect()

connect(runner): PoseidonT3__factory

Defined in: contracts/typechain-types/factories/contracts/crypto/PoseidonT3__factory.ts:71

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

Parameters

runner

ContractRunner | null

Returns

PoseidonT3__factory

Overrides

ContractFactory.connect


deploy()

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

Defined in: contracts/typechain-types/factories/contracts/crypto/PoseidonT3__factory.ts:64

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

Overrides

ContractFactory.deploy


getDeployTransaction()

getDeployTransaction(overrides?): Promise<ContractDeployTransaction>

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

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

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

Parameters

address

string

runner?

ContractRunner | null

Returns

PoseidonT3


createInterface()

static createInterface(): PoseidonT3Interface

Defined in: contracts/typechain-types/factories/contracts/crypto/PoseidonT3__factory.ts:77

Returns

PoseidonT3Interface