Skip to main content
Version: v3.x

Minimal Anti Collusion Infrastructure (MACI) / Policy__factory

Class: Policy__factory

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/policy/Policy__factory.ts:208

Constructors

Constructor

new Policy__factory(): Policy__factory

Returns

Policy__factory

Properties

abi

readonly static abi: readonly [{ inputs: readonly []; name: "AlreadyEnforced"; type: "error"; }, { inputs: readonly []; name: "AlreadyInitialized"; type: "error"; }, { inputs: readonly [{ internalType: "address"; name: "owner"; type: "address"; }]; name: "OwnableInvalidOwner"; type: "error"; }, { inputs: readonly [{ internalType: "address"; name: "account"; type: "address"; }]; name: "OwnableUnauthorizedAccount"; 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: "previousOwner"; type: "address"; }, { indexed: true; internalType: "address"; name: "newOwner"; type: "address"; }]; name: "OwnershipTransferred"; type: "event"; }, { anonymous: false; inputs: readonly [{ indexed: true; internalType: "address"; name: "guarded"; type: "address"; }]; name: "TargetSet"; type: "event"; }, { inputs: readonly []; name: "getAppendedBytes"; outputs: readonly [{ internalType: "bytes"; name: "appendedBytes"; type: "bytes"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "guarded"; outputs: readonly [{ internalType: "address"; name: ""; type: "address"; }]; 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: "owner"; outputs: readonly [{ internalType: "address"; name: ""; type: "address"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "renounceOwnership"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { 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"; }, { inputs: readonly [{ internalType: "address"; name: "newOwner"; type: "address"; }]; name: "transferOwnership"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }] = _abi

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/policy/Policy__factory.ts:209

Methods

connect()

static connect(address, runner?): Policy

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/policy/Policy__factory.ts:213

Parameters

address

string

runner?

ContractRunner | null

Returns

Policy


createInterface()

static createInterface(): PolicyInterface

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/policy/Policy__factory.ts:210

Returns

PolicyInterface