Minimal Anti Collusion Infrastructure (MACI) / ERC20Checker__factory
Class: ERC20Checker__factory
Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/erc20/ERC20Checker__factory.ts:124
Extends
ContractFactory
Constructors
Constructor
new ERC20Checker__factory(...
args):ERC20Checker__factory
Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/erc20/ERC20Checker__factory.ts:125
Parameters
args
...ERC20CheckerConstructorParams
Returns
ERC20Checker__factory
Overrides
ContractFactory.constructor
Properties
abi
readonlystaticabi: readonly [{inputs: readonly [];name:"AlreadyInitialized";type:"error"; }, {inputs: readonly [];name:"BalanceTooLow";type:"error"; }, {inputs: readonly [{internalType:"address";name:"subject";type:"address"; }, {internalType:"bytes";name:"evidence";type:"bytes"; }];name:"check";outputs: readonly [{internalType:"bool";name:"checked";type:"bool"; }];stateMutability:"view";type:"function"; }, {inputs: readonly [];name:"getAppendedBytes";outputs: readonly [{internalType:"bytes";name:"appendedBytes";type:"bytes"; }];stateMutability:"view";type:"function"; }, {inputs: readonly [];name:"initialize";outputs: readonly [];stateMutability:"nonpayable";type:"function"; }, {inputs: readonly [];name:"initialized";outputs: readonly [{internalType:"bool";name:"";type:"bool"; }];stateMutability:"view";type:"function"; }, {inputs: readonly [];name:"threshold";outputs: readonly [{internalType:"uint256";name:"";type:"uint256"; }];stateMutability:"view";type:"function"; }, {inputs: readonly [];name:"token";outputs: readonly [{internalType:"contract IERC20";name:"";type:"address"; }];stateMutability:"view";type:"function"; }] =_abi
Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/erc20/ERC20Checker__factory.ts:150
bytecode
readonlystaticbytecode:"0x6080604052348015600f57600080fd5b506104058061001f6000396000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c8063158ef93e1461006757806342cde4e8146100895780638129fc1c146100a0578063b41a4b19146100aa578063e2b24085146100bf578063fc0c546a146100d2575b600080fd5b6000546100749060ff1681565b60405190151581526020015b60405180910390f35b61009260015481565b604051908152602001610080565b6100a8610102565b005b6100b261010c565b604051610080919061029b565b6100746100cd366004610301565b61011b565b6000546100ea9061010090046001600160a01b031681565b6040516001600160a01b039091168152602001610080565b61010a610130565b565b606061011661018a565b905090565b6000610128848484610195565b949350505050565b61013861023a565b600061014261018a565b90506000808280602001905181019061015b9190610388565b600080546001600160a01b0390931661010002610100600160a81b031990931692909217909155600155505050565b60606101163061026c565b60008080546040516370a0823160e01b81526001600160a01b038781166004830152610100909204909116906370a0823190602401602060405180830381865afa1580156101e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061020b91906103b6565b9050600154811161022f576040516351940b3960e11b815260040160405180910390fd5b506001949350505050565b60005460ff161561025d5760405162dc149f60e41b815260040160405180910390fd5b6000805460ff19166001179055565b60405164ffffffffff602c19833b0116808252602090810190602d908301843c60408101815101604052919050565b602081526000825180602084015260005b818110156102c957602081860181015160408684010152016102ac565b506000604082850101526040601f19601f83011684010191505092915050565b6001600160a01b03811681146102fe57600080fd5b50565b60008060006040848603121561031657600080fd5b8335610321816102e9565b9250602084013567ffffffffffffffff81111561033d57600080fd5b8401601f8101861361034e57600080fd5b803567ffffffffffffffff81111561036557600080fd5b86602082840101111561037757600080fd5b939660209190910195509293505050565b6000806040838503121561039b57600080fd5b82516103a6816102e9565b6020939093015192949293505050565b6000602082840312156103c857600080fd5b505191905056fea26469706673582212205a89b1dcf5452b255bdbf7963680bb60835379b78df741c77cca67ed71671b3c64736f6c634300081c0033"=_bytecode
Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/erc20/ERC20Checker__factory.ts:149
Methods
connect()
connect(
runner):ERC20Checker__factory
Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/erc20/ERC20Checker__factory.ts:145
Return a new ContractFactory with the same ABI and bytecode, but connected to %%runner%%.
Parameters
runner
ContractRunner | null
Returns
ERC20Checker__factory
Overrides
ContractFactory.connect
deploy()
deploy(
overrides?):Promise<ERC20Checker&object>
Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/erc20/ERC20Checker__factory.ts:138
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<ERC20Checker & object>
Overrides
ContractFactory.deploy
getDeployTransaction()
getDeployTransaction(
overrides?):Promise<ContractDeployTransaction>
Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/erc20/ERC20Checker__factory.ts:133
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?):ERC20Checker
Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/erc20/ERC20Checker__factory.ts:154
Parameters
address
string
runner?
ContractRunner | null
Returns
createInterface()
staticcreateInterface():ERC20CheckerInterface
Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/erc20/ERC20Checker__factory.ts:151
Returns
ERC20CheckerInterface