Skip to main content
Version: v3.x

Minimal Anti Collusion Infrastructure (MACI) / ERC20CheckerFactory__factory

Class: ERC20CheckerFactory__factory

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/erc20/ERC20CheckerFactory__factory.ts:86

Extends

  • ContractFactory

Constructors

Constructor

new ERC20CheckerFactory__factory(...args): ERC20CheckerFactory__factory

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/erc20/ERC20CheckerFactory__factory.ts:87

Parameters

args

...ERC20CheckerFactoryConstructorParams

Returns

ERC20CheckerFactory__factory

Overrides

ContractFactory.constructor

Properties

abi

readonly static abi: readonly [{ inputs: readonly []; stateMutability: "nonpayable"; type: "constructor"; }, { anonymous: false; inputs: readonly [{ indexed: true; internalType: "address"; name: "clone"; type: "address"; }]; name: "CloneDeployed"; type: "event"; }, { inputs: readonly []; name: "IMPLEMENTATION"; outputs: readonly [{ internalType: "address"; name: ""; type: "address"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "address"; name: "_token"; type: "address"; }, { internalType: "uint256"; name: "_threshold"; type: "uint256"; }]; name: "deploy"; outputs: readonly [{ internalType: "address"; name: "clone"; type: "address"; }]; stateMutability: "nonpayable"; type: "function"; }] = _abi

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/erc20/ERC20CheckerFactory__factory.ts:114


bytecode

readonly static bytecode: "0x60a0604052348015600f57600080fd5b50604051601a906046565b604051809103906000f0801580156035573d6000803e3d6000fd5b506001600160a01b03166080526053565b610424806102f283390190565b60805161027e6100746000396000818160400152610125015261027e6000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80633a4741bd1461003b5780634956eaf01461007e575b600080fd5b6100627f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200160405180910390f35b61006261008c366004610210565b604080516001600160a01b038416602082015280820183905281518082038301815260609091019091526000906100c28161011e565b9150816001600160a01b0316638129fc1c6040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156100ff57600080fd5b505af1158015610113573d6000803e3d6000fd5b505050505092915050565b600061014a7f000000000000000000000000000000000000000000000000000000000000000083610186565b6040519091506001600160a01b038216907f2158cde9935cbf85d0b02e02fbc315ad0be2f3f017a603a2ebeedead21b8d60b90600090a2919050565b60006101946000848461019b565b9392505050565b600060405182518060438301826020870160045afa506e5af43d82803e903d91602b57fd5bf360238301528460148301528060881b74fe61002d3d81600a3d39f3363d3d373d3d3d363d730182526037810161ffd38210600b01830187f092505050806101945763301164256000526004601cfd5b6000806040838503121561022357600080fd5b82356001600160a01b038116811461023a57600080fd5b94602093909301359350505056fea2646970667358221220185a38ed08c8bda5883b41eff57aa6938e9c39b112c8d420483fd76f718b28f164736f6c634300081c00336080604052348015600f57600080fd5b506104058061001f6000396000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c8063158ef93e1461006757806342cde4e8146100895780638129fc1c146100a0578063b41a4b19146100aa578063e2b24085146100bf578063fc0c546a146100d2575b600080fd5b6000546100749060ff1681565b60405190151581526020015b60405180910390f35b61009260015481565b604051908152602001610080565b6100a8610102565b005b6100b261010c565b604051610080919061029b565b6100746100cd366004610301565b61011b565b6000546100ea9061010090046001600160a01b031681565b6040516001600160a01b039091168152602001610080565b61010a610130565b565b606061011661018a565b905090565b6000610128848484610195565b949350505050565b61013861023a565b600061014261018a565b90506000808280602001905181019061015b9190610388565b600080546001600160a01b0390931661010002610100600160a81b031990931692909217909155600155505050565b60606101163061026c565b60008080546040516370a0823160e01b81526001600160a01b038781166004830152610100909204909116906370a0823190602401602060405180830381865afa1580156101e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061020b91906103b6565b9050600154811161022f576040516351940b3960e11b815260040160405180910390fd5b506001949350505050565b60005460ff161561025d5760405162dc149f60e41b815260040160405180910390fd5b6000805460ff19166001179055565b60405164ffffffffff602c19833b0116808252602090810190602d908301843c60408101815101604052919050565b602081526000825180602084015260005b818110156102c957602081860181015160408684010152016102ac565b506000604082850101526040601f19601f83011684010191505092915050565b6001600160a01b03811681146102fe57600080fd5b50565b60008060006040848603121561031657600080fd5b8335610321816102e9565b9250602084013567ffffffffffffffff81111561033d57600080fd5b8401601f8101861361034e57600080fd5b803567ffffffffffffffff81111561036557600080fd5b86602082840101111561037757600080fd5b939660209190910195509293505050565b6000806040838503121561039b57600080fd5b82516103a6816102e9565b6020939093015192949293505050565b6000602082840312156103c857600080fd5b505191905056fea26469706673582212205a89b1dcf5452b255bdbf7963680bb60835379b78df741c77cca67ed71671b3c64736f6c634300081c0033" = _bytecode

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/erc20/ERC20CheckerFactory__factory.ts:113

Methods

connect()

connect(runner): ERC20CheckerFactory__factory

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/erc20/ERC20CheckerFactory__factory.ts:107

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

Parameters

runner

ContractRunner | null

Returns

ERC20CheckerFactory__factory

Overrides

ContractFactory.connect


deploy()

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

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/erc20/ERC20CheckerFactory__factory.ts:100

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

Overrides

ContractFactory.deploy


getDeployTransaction()

getDeployTransaction(overrides?): Promise<ContractDeployTransaction>

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/erc20/ERC20CheckerFactory__factory.ts:95

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

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/erc20/ERC20CheckerFactory__factory.ts:118

Parameters

address

string

runner?

ContractRunner | null

Returns

ERC20CheckerFactory


createInterface()

static createInterface(): ERC20CheckerFactoryInterface

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/erc20/ERC20CheckerFactory__factory.ts:115

Returns

ERC20CheckerFactoryInterface