Skip to main content
Version: v3.x

Minimal Anti Collusion Infrastructure (MACI) / PoseidonT6__factory

Class: PoseidonT6__factory

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

Extends​

  • ContractFactory

Constructors​

Constructor​

new PoseidonT6__factory(...args): PoseidonT6__factory

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

Parameters​

args​

...PoseidonT6ConstructorParams

Returns​

PoseidonT6__factory

Overrides​

ContractFactory.constructor

Properties​

abi​

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

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


bytecode​

readonly static bytecode: "0x61011d610039600b82828239805160001a607314602c57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe730000000000000000000000000000000000000000301460806040526004361060335760003560e01c80634937a258146038575b600080fd5b604960433660046071565b50600090565b60405190815260200160405180910390f35b634e487b7160e01b600052604160045260246000fd5b600060a08284031215608257600080fd5b82601f830112609057600080fd5b60405160a0810181811067ffffffffffffffff8211171560b05760b0605b565b6040528060a084018581111560c457600080fd5b845b8181101560dc57803583526020928301920160c6565b50919594505050505056fea264697066735822122014b6bc0c7749ec2c14f9577d2cce9b75eac2a943d55a3f2a9293733e24f5d89264736f6c634300081c0033" = _bytecode

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

Methods​

connect()​

connect(runner): PoseidonT6__factory

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

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

Parameters​

runner​

ContractRunner | null

Returns​

PoseidonT6__factory

Overrides​

ContractFactory.connect


deploy()​

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

Defined in: contracts/typechain-types/factories/contracts/crypto/PoseidonT6__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<PoseidonT6 & object>

Overrides​

ContractFactory.deploy


getDeployTransaction()​

getDeployTransaction(overrides?): Promise<ContractDeployTransaction>

Defined in: contracts/typechain-types/factories/contracts/crypto/PoseidonT6__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?): PoseidonT6

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

Parameters​

address​

string

runner?​

ContractRunner | null

Returns​

PoseidonT6


createInterface()​

static createInterface(): PoseidonT6Interface

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

Returns​

PoseidonT6Interface