Skip to main content
Version: v3.x

Minimal Anti Collusion Infrastructure (MACI) / IHats__factory

Class: IHats__factory

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/hats/IHats__factory.ts:140

Constructors

Constructor

new IHats__factory(): IHats__factory

Returns

IHats__factory

Properties

abi

readonly static abi: readonly [{ inputs: readonly [{ internalType: "uint256"; name: "admin"; type: "uint256"; }, { internalType: "string"; name: "details"; type: "string"; }, { internalType: "uint32"; name: "maxSupply"; type: "uint32"; }, { internalType: "address"; name: "eligibility"; type: "address"; }, { internalType: "address"; name: "toggle"; type: "address"; }, { internalType: "bool"; name: "isMutable"; type: "bool"; }, { internalType: "string"; name: "imageURI"; type: "string"; }]; name: "createHat"; outputs: readonly [{ internalType: "uint256"; name: ""; type: "uint256"; }]; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ internalType: "address"; name: "account"; type: "address"; }, { internalType: "uint256"; name: "hat"; type: "uint256"; }]; name: "isWearerOfHat"; outputs: readonly [{ internalType: "bool"; name: ""; type: "bool"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "uint256"; name: "hatId"; type: "uint256"; }, { internalType: "address"; name: "wearer"; type: "address"; }]; name: "mintHat"; outputs: readonly [{ internalType: "bool"; name: "success"; type: "bool"; }]; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ internalType: "address"; name: "target"; type: "address"; }, { internalType: "string"; name: "details"; type: "string"; }, { internalType: "string"; name: "imageURI"; type: "string"; }]; name: "mintTopHat"; outputs: readonly [{ internalType: "uint256"; name: ""; type: "uint256"; }]; stateMutability: "nonpayable"; type: "function"; }] = _abi

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/hats/IHats__factory.ts:141

Methods

connect()

static connect(address, runner?): IHats

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/hats/IHats__factory.ts:145

Parameters

address

string

runner?

ContractRunner | null

Returns

IHats


createInterface()

static createInterface(): IHatsInterface

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/extensions/hats/IHats__factory.ts:142

Returns

IHatsInterface