Minimal Anti Collusion Infrastructure (MACI) / PoseidonT4__factory
Class: PoseidonT4__factory
Defined in: contracts/typechain-types/factories/contracts/crypto/PoseidonT4__factory.ts:50
Extends
ContractFactory
Constructors
Constructor
new PoseidonT4__factory(...
args):PoseidonT4__factory
Defined in: contracts/typechain-types/factories/contracts/crypto/PoseidonT4__factory.ts:51
Parameters
args
...PoseidonT4ConstructorParams
Returns
PoseidonT4__factory
Overrides
ContractFactory.constructor
Properties
abi
readonlystaticabi: readonly [{inputs: readonly [{internalType:"uint256[3]";name:"input";type:"uint256[3]"; }];name:"poseidon";outputs: readonly [{internalType:"uint256";name:"";type:"uint256"; }];stateMutability:"pure";type:"function"; }] =_abi
Defined in: contracts/typechain-types/factories/contracts/crypto/PoseidonT4__factory.ts:76
bytecode
readonlystaticbytecode:"0x61011d610039600b82828239805160001a607314602c57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe730000000000000000000000000000000000000000301460806040526004361060335760003560e01c806325cc70e8146038575b600080fd5b604960433660046071565b50600090565b60405190815260200160405180910390f35b634e487b7160e01b600052604160045260246000fd5b600060608284031215608257600080fd5b82601f830112609057600080fd5b6040516060810181811067ffffffffffffffff8211171560b05760b0605b565b60405280606084018581111560c457600080fd5b845b8181101560dc57803583526020928301920160c6565b50919594505050505056fea2646970667358221220480a65e291e9db602b5e70489a393df2b5bbaef8c15634166dd6462f9b5a6d0a64736f6c634300081c0033"=_bytecode
Defined in: contracts/typechain-types/factories/contracts/crypto/PoseidonT4__factory.ts:75
Methods
connect()
connect(
runner):PoseidonT4__factory
Defined in: contracts/typechain-types/factories/contracts/crypto/PoseidonT4__factory.ts:71
Return a new ContractFactory with the same ABI and bytecode, but connected to %%runner%%.
Parameters
runner
ContractRunner | null
Returns
PoseidonT4__factory
Overrides
ContractFactory.connect
deploy()
deploy(
overrides?):Promise<PoseidonT4&object>
Defined in: contracts/typechain-types/factories/contracts/crypto/PoseidonT4__factory.ts:64
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<PoseidonT4 & object>
Overrides
ContractFactory.deploy
getDeployTransaction()
getDeployTransaction(
overrides?):Promise<ContractDeployTransaction>
Defined in: contracts/typechain-types/factories/contracts/crypto/PoseidonT4__factory.ts:59
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?):PoseidonT4
Defined in: contracts/typechain-types/factories/contracts/crypto/PoseidonT4__factory.ts:80
Parameters
address
string
runner?
ContractRunner | null
Returns
createInterface()
staticcreateInterface():PoseidonT4Interface
Defined in: contracts/typechain-types/factories/contracts/crypto/PoseidonT4__factory.ts:77
Returns
PoseidonT4Interface