/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { Contract, Interface, type ContractRunner } from "ethers"; import type { ArianeeWhitelist, ArianeeWhitelistInterface, } from "../ArianeeWhitelist"; const _abi = [ { constant: false, inputs: [ { name: "_target", type: "address", }, { name: "_abilities", type: "uint256", }, ], name: "grantAbilities", outputs: [], payable: false, stateMutability: "nonpayable", type: "function", }, { constant: true, inputs: [ { name: "_owner", type: "address", }, { name: "_sender", type: "address", }, { name: "_tokenId", type: "uint256", }, ], name: "isBlacklisted", outputs: [ { name: "_isBlacklisted", type: "bool", }, ], payable: false, stateMutability: "view", type: "function", }, { constant: true, inputs: [ { name: "", type: "address", }, ], name: "addressToAbility", outputs: [ { name: "", type: "uint256", }, ], payable: false, stateMutability: "view", type: "function", }, { constant: true, inputs: [ { name: "_tokenId", type: "uint256", }, { name: "_sender", type: "address", }, { name: "_tokenOwner", type: "address", }, ], name: "isAuthorized", outputs: [ { name: "", type: "bool", }, ], payable: false, stateMutability: "view", type: "function", }, { constant: true, inputs: [ { name: "_tokenId", type: "uint256", }, { name: "_address", type: "address", }, ], name: "isWhitelisted", outputs: [ { name: "_isWhitelisted", type: "bool", }, ], payable: false, stateMutability: "view", type: "function", }, { constant: false, inputs: [ { name: "_tokenId", type: "uint256", }, { name: "_address", type: "address", }, ], name: "addWhitelistedAddress", outputs: [], payable: false, stateMutability: "nonpayable", type: "function", }, { constant: false, inputs: [ { name: "_target", type: "address", }, { name: "_abilities", type: "uint256", }, { name: "_allowSuperRevoke", type: "bool", }, ], name: "revokeAbilities", outputs: [], payable: false, stateMutability: "nonpayable", type: "function", }, { constant: true, inputs: [ { name: "_target", type: "address", }, { name: "_abilities", type: "uint256", }, ], name: "isAble", outputs: [ { name: "", type: "bool", }, ], payable: false, stateMutability: "view", type: "function", }, { constant: false, inputs: [ { name: "_sender", type: "address", }, { name: "_tokenId", type: "uint256", }, { name: "_activate", type: "bool", }, ], name: "addBlacklistedAddress", outputs: [], payable: false, stateMutability: "nonpayable", type: "function", }, { anonymous: false, inputs: [ { indexed: false, name: "_tokenId", type: "uint256", }, { indexed: false, name: "_address", type: "address", }, ], name: "WhitelistedAddressAdded", type: "event", }, { anonymous: false, inputs: [ { indexed: false, name: "_sender", type: "address", }, { indexed: false, name: "_tokenId", type: "uint256", }, { indexed: false, name: "_activate", type: "bool", }, ], name: "BlacklistedAddresAdded", type: "event", }, { anonymous: false, inputs: [ { indexed: true, name: "_target", type: "address", }, { indexed: true, name: "_abilities", type: "uint256", }, ], name: "GrantAbilities", type: "event", }, { anonymous: false, inputs: [ { indexed: true, name: "_target", type: "address", }, { indexed: true, name: "_abilities", type: "uint256", }, ], name: "RevokeAbilities", type: "event", }, ] as const; export class ArianeeWhitelist__factory { static readonly abi = _abi; static createInterface(): ArianeeWhitelistInterface { return new Interface(_abi) as ArianeeWhitelistInterface; } static connect( address: string, runner?: ContractRunner | null ): ArianeeWhitelist { return new Contract(address, _abi, runner) as unknown as ArianeeWhitelist; } }