Minimal Anti Collusion Infrastructure (MACI) / ERC20VotesCheckerFactory__factory
Class: ERC20VotesCheckerFactory__factory
Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/erc20votes/ERC20VotesCheckerFactory__factory.ts:91
Extends
ContractFactory
Constructors
Constructor
new ERC20VotesCheckerFactory__factory(...
args):ERC20VotesCheckerFactory__factory
Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/erc20votes/ERC20VotesCheckerFactory__factory.ts:92
Parameters
args
...ERC20VotesCheckerFactoryConstructorParams
Returns
ERC20VotesCheckerFactory__factory
Overrides
ContractFactory.constructor
Properties
abi
readonlystaticabi: 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:"_snapshotBlock";type:"uint256"; }, {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/erc20votes/ERC20VotesCheckerFactory__factory.ts:119
bytecode
readonlystaticbytecode:"0x60a0604052348015600f57600080fd5b50604051601a906046565b604051809103906000f0801580156035573d6000803e3d6000fd5b506001600160a01b03166080526053565b6104608061030883390190565b608051610294610074600039600081816040015261013201526102946000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80633a4741bd1461003b578063cfda54781461007e575b600080fd5b6100627f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200160405180910390f35b61006261008c36600461021d565b604080516001600160a01b038516602082015290810183905260608101829052600090819060800160405160208183030381529060405290506100ce8161012b565b9150816001600160a01b0316638129fc1c6040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561010b57600080fd5b505af115801561011f573d6000803e3d6000fd5b50505050509392505050565b60006101577f000000000000000000000000000000000000000000000000000000000000000083610193565b6040519091506001600160a01b038216907f2158cde9935cbf85d0b02e02fbc315ad0be2f3f017a603a2ebeedead21b8d60b90600090a2919050565b60006101a1600084846101a8565b9392505050565b600060405182518060438301826020870160045afa506e5af43d82803e903d91602b57fd5bf360238301528460148301528060881b74fe61002d3d81600a3d39f3363d3d373d3d3d363d730182526037810161ffd38210600b01830187f092505050806101a15763301164256000526004601cfd5b60008060006060848603121561023257600080fd5b83356001600160a01b038116811461024957600080fd5b9560208501359550604090940135939250505056fea26469706673582212208a607652b2673217a4344a67f39444d697ecaa869fd11e2982e001774edfab5864736f6c634300081c00336080604052348015600f57600080fd5b506104418061001f6000396000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c80638129fc1c1161005b5780638129fc1c146100c4578063b41a4b19146100ce578063e2b24085146100e3578063fc0c546a146100f657600080fd5b8063158ef93e146100825780631f90b2a5146100a457806342cde4e8146100bb575b600080fd5b60005461008f9060ff1681565b60405190151581526020015b60405180910390f35b6100ad60015481565b60405190815260200161009b565b6100ad60025481565b6100cc610126565b005b6100d6610130565b60405161009b91906102ce565b61008f6100f1366004610334565b61013f565b60005461010e9061010090046001600160a01b031681565b6040516001600160a01b03909116815260200161009b565b61012e610154565b565b606061013a6101b4565b905090565b600061014c8484846101bf565b949350505050565b61015c61026d565b60006101666101b4565b905060008060008380602001905181019061018191906103bb565b600080546001600160a01b0390941661010002610100600160a81b03199094169390931790925560015560025550505050565b606061013a3061029f565b6000808054600154604051630748d63560e31b81526001600160a01b03888116600483015260248201929092526101009092041690633a46b1a890604401602060405180830381865afa15801561021a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061023e91906103f2565b90506002548111610262576040516351940b3960e11b815260040160405180910390fd5b506001949350505050565b60005460ff16156102905760405162dc149f60e41b815260040160405180910390fd5b6000805460ff19166001179055565b60405164ffffffffff602c19833b0116808252602090810190602d908301843c60408101815101604052919050565b602081526000825180602084015260005b818110156102fc57602081860181015160408684010152016102df565b506000604082850101526040601f19601f83011684010191505092915050565b6001600160a01b038116811461033157600080fd5b50565b60008060006040848603121561034957600080fd5b83356103548161031c565b9250602084013567ffffffffffffffff81111561037057600080fd5b8401601f8101861361038157600080fd5b803567ffffffffffffffff81111561039857600080fd5b8660208284010111156103aa57600080fd5b939660209190910195509293505050565b6000806000606084860312156103d057600080fd5b83516103db8161031c565b602085015160409095015190969495509392505050565b60006020828403121561040457600080fd5b505191905056fea2646970667358221220a28a321e4aca83ad3c36204768725c7bcceb13a4c77a84f91311a3439919ea1364736f6c634300081c0033"=_bytecode
Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/erc20votes/ERC20VotesCheckerFactory__factory.ts:118
Methods
connect()
connect(
runner):ERC20VotesCheckerFactory__factory
Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/erc20votes/ERC20VotesCheckerFactory__factory.ts:112
Return a new ContractFactory with the same ABI and bytecode, but connected to %%runner%%.
Parameters
runner
ContractRunner | null
Returns
ERC20VotesCheckerFactory__factory
Overrides
ContractFactory.connect
deploy()
deploy(
overrides?):Promise<ERC20VotesCheckerFactory&object>
Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/erc20votes/ERC20VotesCheckerFactory__factory.ts:105
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<ERC20VotesCheckerFactory & object>
Overrides
ContractFactory.deploy
getDeployTransaction()
getDeployTransaction(
overrides?):Promise<ContractDeployTransaction>
Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/erc20votes/ERC20VotesCheckerFactory__factory.ts:100
Resolves to the transaction to deploy the contract, passing %%args%% into the constructor.
Parameters
overrides?
NonPayableOverrides & object
Returns
Promise<ContractDeployTransaction>
Overrides
ContractFactory.getDeployTransaction
connect()
staticconnect(address,runner?):ERC20VotesCheckerFactory
Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/erc20votes/ERC20VotesCheckerFactory__factory.ts:123
Parameters
address
string
runner?
ContractRunner | null
Returns
createInterface()
staticcreateInterface():ERC20VotesCheckerFactoryInterface
Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/erc20votes/ERC20VotesCheckerFactory__factory.ts:120
Returns
ERC20VotesCheckerFactoryInterface