Skip to main content
Version: v3.x

Minimal Anti Collusion Infrastructure (MACI) / PoseidonT5__factory

Class: PoseidonT5__factory

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

Extends

  • ContractFactory

Constructors

Constructor

new PoseidonT5__factory(...args): PoseidonT5__factory

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

Parameters

args

...PoseidonT5ConstructorParams

Returns

PoseidonT5__factory

Overrides

ContractFactory.constructor

Properties

abi

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

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


bytecode

readonly static bytecode: "0x61011d610039600b82828239805160001a607314602c57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe730000000000000000000000000000000000000000301460806040526004361060335760003560e01c8063248f6677146038575b600080fd5b604960433660046071565b50600090565b60405190815260200160405180910390f35b634e487b7160e01b600052604160045260246000fd5b600060808284031215608257600080fd5b82601f830112609057600080fd5b6040516080810181811067ffffffffffffffff8211171560b05760b0605b565b60405280608084018581111560c457600080fd5b845b8181101560dc57803583526020928301920160c6565b50919594505050505056fea2646970667358221220ce290d6f384c1c45b3cf486f678d3fa1bf00399da6fc84ed3c0434771e24a33464736f6c634300081c0033" = _bytecode

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

Methods

connect()

connect(runner): PoseidonT5__factory

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

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

Parameters

runner

ContractRunner | null

Returns

PoseidonT5__factory

Overrides

ContractFactory.connect


deploy()

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

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

Overrides

ContractFactory.deploy


getDeployTransaction()

getDeployTransaction(overrides?): Promise<ContractDeployTransaction>

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

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

Parameters

address

string

runner?

ContractRunner | null

Returns

PoseidonT5


createInterface()

static createInterface(): PoseidonT5Interface

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

Returns

PoseidonT5Interface