Skip to main content
Version: v3.x

Minimal Anti Collusion Infrastructure (MACI) / IPolicy__factory

Class: IPolicy__factory

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/interfaces/IPolicy__factory.ts:83

Constructors

Constructor

new IPolicy__factory(): IPolicy__factory

Returns

IPolicy__factory

Properties

abi

readonly static abi: readonly [{ inputs: readonly []; name: "AlreadyEnforced"; type: "error"; }, { inputs: readonly []; name: "TargetAlreadySet"; type: "error"; }, { inputs: readonly []; name: "TargetNotSet"; type: "error"; }, { inputs: readonly []; name: "TargetOnly"; type: "error"; }, { inputs: readonly []; name: "UnsuccessfulCheck"; type: "error"; }, { inputs: readonly []; name: "ZeroAddress"; type: "error"; }, { anonymous: false; inputs: readonly [{ indexed: true; internalType: "address"; name: "guarded"; type: "address"; }]; name: "TargetSet"; type: "event"; }, { inputs: readonly [{ internalType: "address"; name: "_guarded"; type: "address"; }]; name: "setTarget"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly []; name: "trait"; outputs: readonly [{ internalType: "string"; name: ""; type: "string"; }]; stateMutability: "pure"; type: "function"; }] = _abi

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/interfaces/IPolicy__factory.ts:84

Methods

connect()

static connect(address, runner?): IPolicy

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/interfaces/IPolicy__factory.ts:88

Parameters

address

string

runner?

ContractRunner | null

Returns

IPolicy


createInterface()

static createInterface(): IPolicyInterface

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/interfaces/IPolicy__factory.ts:85

Returns

IPolicyInterface