Skip to main content
Version: v3.x

Minimal Anti Collusion Infrastructure (MACI) / ERC20PolicyFactory__factory

Class: ERC20PolicyFactory__factory

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/erc20/ERC20PolicyFactory__factory.ts:81

Extends

  • ContractFactory

Constructors

Constructor

new ERC20PolicyFactory__factory(...args): ERC20PolicyFactory__factory

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/erc20/ERC20PolicyFactory__factory.ts:82

Parameters

args

...ERC20PolicyFactoryConstructorParams

Returns

ERC20PolicyFactory__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: "_checkerAddress"; type: "address"; }]; 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/ERC20PolicyFactory__factory.ts:107


bytecode

readonly static bytecode: "0x60a0604052348015600f57600080fd5b50604051601a906046565b604051809103906000f0801580156035573d6000803e3d6000fd5b506001600160a01b03166080526053565b61088a806102e183390190565b60805161026d6100746000396000818160400152610123015261026d6000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80633a4741bd1461003b5780634c96a3891461007e575b600080fd5b6100627f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200160405180910390f35b61006261008c36600461020e565b604080513360208201526001600160a01b0383168183015281518082038301815260609091019091526000906100c18161011c565b9150816001600160a01b0316638129fc1c6040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156100fe57600080fd5b505af1158015610112573d6000803e3d6000fd5b5050505050919050565b60006101487f000000000000000000000000000000000000000000000000000000000000000083610184565b6040519091506001600160a01b038216907f2158cde9935cbf85d0b02e02fbc315ad0be2f3f017a603a2ebeedead21b8d60b90600090a2919050565b600061019260008484610199565b9392505050565b600060405182518060438301826020870160045afa506e5af43d82803e903d91602b57fd5bf360238301528460148301528060881b74fe61002d3d81600a3d39f3363d3d373d3d3d363d730182526037810161ffd38210600b01830187f092505050806101925763301164256000526004601cfd5b60006020828403121561022057600080fd5b81356001600160a01b038116811461019257600080fdfea26469706673582212208e8f6ac280140f6036c22988a0ebffbf482102c3f24ff102a8f0c39e541b87ff64736f6c634300081c003360806040523380602957604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b6030816035565b50608e565b600080546001600160a01b03838116610100818102610100600160a81b0319851617855560405193049190911692909183917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a35050565b6107ed8061009d6000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c80638129fc1c116100715780638129fc1c146101495780638da5cb5b14610151578063b41a4b1914610167578063ce343deb1461017c578063d94565311461019d578063f2fde38b146101c057600080fd5b8063158ef93e146100b95780631e898ef1146100db578063715018a6146100f057806372f7a030146100f8578063776d1a01146101235780637e16420414610136575b600080fd5b6000546100c69060ff1681565b60405190151581526020015b60405180910390f35b6100ee6100e93660046105e4565b6101d3565b005b6100ee61020e565b60015461010b906001600160a01b031681565b6040516001600160a01b0390911681526020016100d2565b6100ee61013136600461066b565b610222565b60025461010b906001600160a01b031681565b6100ee6102c5565b60005461010090046001600160a01b031661010b565b61016f6102cd565b6040516100d291906106d5565b604080518082019091526005815264045524332360dc1b602082015261016f565b6100c66101ab36600461066b565b60036020526000908152604090205460ff1681565b6100ee6101ce36600461066b565b6102dc565b6001546001600160a01b031633146101fe57604051631f492dbf60e21b815260040160405180910390fd5b61020983838361031f565b505050565b610216610387565b61022060006103ba565b565b61022a610387565b6001600160a01b0381166102515760405163d92e233d60e01b815260040160405180910390fd5b6001546001600160a01b03161561027b5760405163e0f2d7b160e01b815260040160405180910390fd5b600180546001600160a01b0319166001600160a01b0383169081179091556040517f3bfb4bbf112628248058745a3c57e35b13369386e474b8e56c552f3063a4a19690600090a250565b610220610413565b60606102d761046f565b905090565b6102e4610387565b6001600160a01b03811661031357604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b61031c816103ba565b50565b6001600160a01b03831660009081526003602052604090205460ff161561035957604051633440c93360e21b815260040160405180910390fd5b6001600160a01b0383166000908152600360205260409020805460ff1916600117905561020983838361047a565b6000546001600160a01b036101009091041633146102205760405163118cdaa760e01b815233600482015260240161030a565b600080546001600160a01b03838116610100818102610100600160a81b0319851617855560405193049190911692909183917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a35050565b61041b61055d565b600061042561046f565b90506000808280602001905181019061043e91906106e8565b9150915061044b826103ba565b600280546001600160a01b0319166001600160a01b03929092169190911790555050565b60606102d73061056e565b60025460405163e2b2408560e01b81526001600160a01b039091169063e2b24085906104ae9086908690869060040161074b565b602060405180830381865afa1580156104cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104ef9190610779565b61050c57604051634715494560e01b815260040160405180910390fd5b6001546040516001600160a01b03918216918516907fc013b39287cb7a53f776482ac9573829321f002f31ef8782129b41d60047bda090610550908690869061079b565b60405180910390a3505050565b61056561059d565b610220336103ba565b60405164ffffffffff602c19833b0116808252602090810190602d908301843c60408101815101604052919050565b60005460ff16156105c05760405162dc149f60e41b815260040160405180910390fd5b6000805460ff19166001179055565b6001600160a01b038116811461031c57600080fd5b6000806000604084860312156105f957600080fd5b8335610604816105cf565b9250602084013567ffffffffffffffff81111561062057600080fd5b8401601f8101861361063157600080fd5b803567ffffffffffffffff81111561064857600080fd5b86602082840101111561065a57600080fd5b939660209190910195509293505050565b60006020828403121561067d57600080fd5b8135610688816105cf565b9392505050565b6000815180845260005b818110156106b557602081850181015186830182015201610699565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610688602083018461068f565b600080604083850312156106fb57600080fd5b8251610706816105cf565b6020840151909250610717816105cf565b809150509250929050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b6001600160a01b03841681526040602082018190526000906107709083018486610722565b95945050505050565b60006020828403121561078b57600080fd5b8151801515811461068857600080fd5b6020815260006107af602083018486610722565b94935050505056fea2646970667358221220968975ad4a35ad87d3be47701c1c8def0240ba76f62199d0e18a4a3767f1f38864736f6c634300081c0033" = _bytecode

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/erc20/ERC20PolicyFactory__factory.ts:106

Methods

connect()

connect(runner): ERC20PolicyFactory__factory

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/erc20/ERC20PolicyFactory__factory.ts:102

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

Parameters

runner

ContractRunner | null

Returns

ERC20PolicyFactory__factory

Overrides

ContractFactory.connect


deploy()

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

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

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

Overrides

ContractFactory.deploy


getDeployTransaction()

getDeployTransaction(overrides?): Promise<ContractDeployTransaction>

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/erc20/ERC20PolicyFactory__factory.ts:90

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

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/erc20/ERC20PolicyFactory__factory.ts:111

Parameters

address

string

runner?

ContractRunner | null

Returns

ERC20PolicyFactory


createInterface()

static createInterface(): ERC20PolicyFactoryInterface

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/erc20/ERC20PolicyFactory__factory.ts:108

Returns

ERC20PolicyFactoryInterface