Skip to main content
Version: v3.x

Minimal Anti Collusion Infrastructure (MACI) / Strings__factory

Class: Strings__factory

Defined in: contracts/typechain-types/factories/@openzeppelin/contracts/utils/Strings__factory.ts:57

Extends

  • ContractFactory

Constructors

Constructor

new Strings__factory(...args): Strings__factory

Defined in: contracts/typechain-types/factories/@openzeppelin/contracts/utils/Strings__factory.ts:58

Parameters

args

...StringsConstructorParams

Returns

Strings__factory

Overrides

ContractFactory.constructor

Properties

abi

readonly static abi: readonly [{ inputs: readonly [{ internalType: "uint256"; name: "value"; type: "uint256"; }, { internalType: "uint256"; name: "length"; type: "uint256"; }]; name: "StringsInsufficientHexLength"; type: "error"; }, { inputs: readonly []; name: "StringsInvalidAddressFormat"; type: "error"; }, { inputs: readonly []; name: "StringsInvalidChar"; type: "error"; }] = _abi

Defined in: contracts/typechain-types/factories/@openzeppelin/contracts/utils/Strings__factory.ts:83


bytecode

readonly static bytecode: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220d25119d96a0b6c751ed6c6aa81db3c845d0181659d29e3646b022356a5139e5364736f6c634300081c0033" = _bytecode

Defined in: contracts/typechain-types/factories/@openzeppelin/contracts/utils/Strings__factory.ts:82

Methods

connect()

connect(runner): Strings__factory

Defined in: contracts/typechain-types/factories/@openzeppelin/contracts/utils/Strings__factory.ts:78

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

Parameters

runner

ContractRunner | null

Returns

Strings__factory

Overrides

ContractFactory.connect


deploy()

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

Defined in: contracts/typechain-types/factories/@openzeppelin/contracts/utils/Strings__factory.ts:71

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

Overrides

ContractFactory.deploy


getDeployTransaction()

getDeployTransaction(overrides?): Promise<ContractDeployTransaction>

Defined in: contracts/typechain-types/factories/@openzeppelin/contracts/utils/Strings__factory.ts:66

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

Defined in: contracts/typechain-types/factories/@openzeppelin/contracts/utils/Strings__factory.ts:87

Parameters

address

string

runner?

ContractRunner | null

Returns

Strings


createInterface()

static createInterface(): StringsInterface

Defined in: contracts/typechain-types/factories/@openzeppelin/contracts/utils/Strings__factory.ts:84

Returns

StringsInterface