Minimal Anti Collusion Infrastructure (MACI) / ERC20VotesInitialVoiceCreditProxyFactory__factory
Class: ERC20VotesInitialVoiceCreditProxyFactory__factory
Defined in: contracts/typechain-types/factories/contracts/initialVoiceCreditProxy/ERC20VotesInitialVoiceCreditProxyFactory__factory.ts:91
Extends
ContractFactory
Constructors
Constructor
new ERC20VotesInitialVoiceCreditProxyFactory__factory(...
args):ERC20VotesInitialVoiceCreditProxyFactory__factory
Defined in: contracts/typechain-types/factories/contracts/initialVoiceCreditProxy/ERC20VotesInitialVoiceCreditProxyFactory__factory.ts:92
Parameters
args
...ERC20VotesInitialVoiceCreditProxyFactoryConstructorParams
Returns
ERC20VotesInitialVoiceCreditProxyFactory__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:"uint256";name:"snapshotBlock";type:"uint256"; }, {internalType:"address";name:"token";type:"address"; }, {internalType:"uint256";name:"factor";type:"uint256"; }];name:"deploy";outputs: readonly [{internalType:"address";name:"clone";type:"address"; }];stateMutability:"nonpayable";type:"function"; }] =_abi
Defined in: contracts/typechain-types/factories/contracts/initialVoiceCreditProxy/ERC20VotesInitialVoiceCreditProxyFactory__factory.ts:123
bytecode
readonlystaticbytecode:"0x60a0604052348015600f57600080fd5b50604051601a906046565b604051809103906000f0801580156035573d6000803e3d6000fd5b506001600160a01b03166080526053565b6104b38061030883390190565b608051610294610074600039600081816040015261012f01526102946000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80633a4741bd1461003b5780636f24caaa1461007e575b600080fd5b6100627f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200160405180910390f35b61006261008c36600461021a565b60408051602081018590526001600160a01b0384168183015260608082018490528251808303909101815260809091019091526000906100cb81610128565b9150816001600160a01b0316638129fc1c6040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561010857600080fd5b505af115801561011c573d6000803e3d6000fd5b50505050509392505050565b60006101547f000000000000000000000000000000000000000000000000000000000000000083610190565b6040519091506001600160a01b038216907f2158cde9935cbf85d0b02e02fbc315ad0be2f3f017a603a2ebeedead21b8d60b90600090a2919050565b600061019e600084846101a5565b9392505050565b600060405182518060438301826020870160045afa506e5af43d82803e903d91602b57fd5bf360238301528460148301528060881b74fe61002d3d81600a3d39f3363d3d373d3d3d363d730182526037810161ffd38210600b01830187f0925050508061019e5763301164256000526004601cfd5b60008060006060848603121561022f57600080fd5b8335925060208401356001600160a01b038116811461024d57600080fd5b92959294505050604091909101359056fea26469706673582212204c955efe720ae4319358d465f6b54040f2f1d235727c1840d470b9e001ab3df564736f6c634300081c00336080604052348015600f57600080fd5b506104948061001f6000396000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c80638129fc1c1161005b5780638129fc1c146100c4578063b36543a9146100ce578063b41a4b19146100e1578063fc0c546a146100f657600080fd5b8063158ef93e146100825780631f90b2a5146100a457806354f703f8146100bb575b600080fd5b60005461008f9060ff1681565b60405190151581526020015b60405180910390f35b6100ad60015481565b60405190815260200161009b565b6100ad60035481565b6100cc610121565b005b6100ad6100dc3660046102ce565b61012b565b6100e96101c9565b60405161009b919061039a565b600254610109906001600160a01b031681565b6040516001600160a01b03909116815260200161009b565b6101296101d8565b565b600354600254600154604051630748d63560e31b8152600093926001600160a01b031691633a46b1a8916101779188916004016001600160a01b03929092168252602082015260400190565b602060405180830381865afa158015610194573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101b891906103e8565b6101c29190610401565b9392505050565b60606101d3610234565b905090565b6101e061023f565b60006101ea610234565b90506000806000838060200190518101906102059190610423565b600192909255600280546001600160a01b0319166001600160a01b039290921691909117905560035550505050565b60606101d330610271565b60005460ff16156102625760405162dc149f60e41b815260040160405180910390fd5b6000805460ff19166001179055565b60405164ffffffffff602c19833b0116808252602090810190602d908301843c60408101815101604052919050565b6001600160a01b03811681146102b557600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156102e157600080fd5b82356102ec816102a0565b9150602083013567ffffffffffffffff81111561030857600080fd5b8301601f8101851361031957600080fd5b803567ffffffffffffffff811115610333576103336102b8565b604051601f8201601f19908116603f0116810167ffffffffffffffff81118282101715610362576103626102b8565b60405281815282820160200187101561037a57600080fd5b816020840160208301376000602083830101528093505050509250929050565b602081526000825180602084015260005b818110156103c857602081860181015160408684010152016103ab565b506000604082850101526040601f19601f83011684010191505092915050565b6000602082840312156103fa57600080fd5b5051919050565b60008261041e57634e487b7160e01b600052601260045260246000fd5b500490565b60008060006060848603121561043857600080fd5b8351602085015190935061044b816102a0565b604094909401519295939450919291505056fea2646970667358221220b58704815b48e443a7328fc9c4177b7e51617d908f169c7350b4bd4c3573fe1664736f6c634300081c0033"=_bytecode
Defined in: contracts/typechain-types/factories/contracts/initialVoiceCreditProxy/ERC20VotesInitialVoiceCreditProxyFactory__factory.ts:122
Methods
connect()
connect(
runner):ERC20VotesInitialVoiceCreditProxyFactory__factory
Defined in: contracts/typechain-types/factories/contracts/initialVoiceCreditProxy/ERC20VotesInitialVoiceCreditProxyFactory__factory.ts:114
Return a new ContractFactory with the same ABI and bytecode, but connected to %%runner%%.
Parameters
runner
ContractRunner | null
Returns
ERC20VotesInitialVoiceCreditProxyFactory__factory
Overrides
ContractFactory.connect
deploy()
deploy(
overrides?):Promise<ERC20VotesInitialVoiceCreditProxyFactory&object>
Defined in: contracts/typechain-types/factories/contracts/initialVoiceCreditProxy/ERC20VotesInitialVoiceCreditProxyFactory__factory.ts:107
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<ERC20VotesInitialVoiceCreditProxyFactory & object>
Overrides
ContractFactory.deploy
getDeployTransaction()
getDeployTransaction(
overrides?):Promise<ContractDeployTransaction>
Defined in: contracts/typechain-types/factories/contracts/initialVoiceCreditProxy/ERC20VotesInitialVoiceCreditProxyFactory__factory.ts:102
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?):ERC20VotesInitialVoiceCreditProxyFactory
Defined in: contracts/typechain-types/factories/contracts/initialVoiceCreditProxy/ERC20VotesInitialVoiceCreditProxyFactory__factory.ts:129
Parameters
address
string
runner?
ContractRunner | null
Returns
ERC20VotesInitialVoiceCreditProxyFactory
createInterface()
staticcreateInterface():ERC20VotesInitialVoiceCreditProxyFactoryInterface
Defined in: contracts/typechain-types/factories/contracts/initialVoiceCreditProxy/ERC20VotesInitialVoiceCreditProxyFactory__factory.ts:124
Returns
ERC20VotesInitialVoiceCreditProxyFactoryInterface