/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { Contract, Interface, type ContractRunner } from "ethers"; import type { ArianeeEvent, ArianeeEventInterface } from "../ArianeeEvent"; const _abi = [ { type: "constructor", inputs: [ { name: "_trustedForwarder", type: "address", internalType: "address", }, ], stateMutability: "nonpayable", }, { type: "function", name: "ArianeeEventStorageV0Location", inputs: [], outputs: [ { name: "", type: "bytes32", internalType: "bytes32", }, ], stateMutability: "view", }, { type: "function", name: "DEFAULT_ADMIN_ROLE", inputs: [], outputs: [ { name: "", type: "bytes32", internalType: "bytes32", }, ], stateMutability: "view", }, { type: "function", name: "accept", inputs: [ { name: "_eventId", type: "uint256", internalType: "uint256", }, { name: "_sender", type: "address", internalType: "address", }, ], outputs: [ { name: "", type: "uint256", internalType: "uint256", }, ], stateMutability: "nonpayable", }, { type: "function", name: "create", inputs: [ { name: "_eventId", type: "uint256", internalType: "uint256", }, { name: "_tokenId", type: "uint256", internalType: "uint256", }, { name: "_imprint", type: "bytes32", internalType: "bytes32", }, { name: "_uri", type: "string", internalType: "string", }, { name: "_rewards", type: "uint256", internalType: "uint256", }, { name: "_provider", type: "address", internalType: "address", }, ], outputs: [], stateMutability: "nonpayable", }, { type: "function", name: "destroy", inputs: [ { name: "_eventId", type: "uint256", internalType: "uint256", }, ], outputs: [], stateMutability: "nonpayable", }, { type: "function", name: "eventIdToToken", inputs: [ { name: "_eventId", type: "uint256", internalType: "uint256", }, ], outputs: [ { name: "", type: "uint256", internalType: "uint256", }, ], stateMutability: "view", }, { type: "function", name: "eventsLength", inputs: [ { name: "_tokenId", type: "uint256", internalType: "uint256", }, ], outputs: [ { name: "", type: "uint256", internalType: "uint256", }, ], stateMutability: "view", }, { type: "function", name: "getEvent", inputs: [ { name: "_eventId", type: "uint256", internalType: "uint256", }, ], outputs: [ { name: "uri", type: "string", internalType: "string", }, { name: "imprint", type: "bytes32", internalType: "bytes32", }, { name: "provider", type: "address", internalType: "address", }, { name: "destroyLimitTimestamp", type: "uint256", internalType: "uint256", }, ], stateMutability: "view", }, { type: "function", name: "getRoleAdmin", inputs: [ { name: "role", type: "bytes32", internalType: "bytes32", }, ], outputs: [ { name: "", type: "bytes32", internalType: "bytes32", }, ], stateMutability: "view", }, { type: "function", name: "grantRole", inputs: [ { name: "role", type: "bytes32", internalType: "bytes32", }, { name: "account", type: "address", internalType: "address", }, ], outputs: [], stateMutability: "nonpayable", }, { type: "function", name: "hasRole", inputs: [ { name: "role", type: "bytes32", internalType: "bytes32", }, { name: "account", type: "address", internalType: "address", }, ], outputs: [ { name: "", type: "bool", internalType: "bool", }, ], stateMutability: "view", }, { type: "function", name: "idToPendingEvents", inputs: [ { name: "_tokenId", type: "uint256", internalType: "uint256", }, ], outputs: [ { name: "", type: "uint256", internalType: "uint256", }, ], stateMutability: "view", }, { type: "function", name: "idToTokenEventIndex", inputs: [ { name: "_eventId", type: "uint256", internalType: "uint256", }, ], outputs: [ { name: "", type: "uint256", internalType: "uint256", }, ], stateMutability: "view", }, { type: "function", name: "initialize", inputs: [ { name: "_initialAdmin", type: "address", internalType: "address", }, { name: "_smartAssetAddress", type: "address", internalType: "address", }, { name: "_storeAddress", type: "address", internalType: "address", }, { name: "_whitelistAddress", type: "address", internalType: "address", }, ], outputs: [], stateMutability: "nonpayable", }, { type: "function", name: "isPending", inputs: [ { name: "_eventId", type: "uint256", internalType: "uint256", }, ], outputs: [ { name: "", type: "bool", internalType: "bool", }, ], stateMutability: "view", }, { type: "function", name: "isTrustedForwarder", inputs: [ { name: "forwarder", type: "address", internalType: "address", }, ], outputs: [ { name: "", type: "bool", internalType: "bool", }, ], stateMutability: "view", }, { type: "function", name: "paused", inputs: [], outputs: [ { name: "", type: "bool", internalType: "bool", }, ], stateMutability: "view", }, { type: "function", name: "pendingEvents", inputs: [ { name: "_tokenId", type: "uint256", internalType: "uint256", }, { name: "_index", type: "uint256", internalType: "uint256", }, ], outputs: [ { name: "", type: "uint256", internalType: "uint256", }, ], stateMutability: "view", }, { type: "function", name: "pendingEventsLength", inputs: [ { name: "_tokenId", type: "uint256", internalType: "uint256", }, ], outputs: [ { name: "", type: "uint256", internalType: "uint256", }, ], stateMutability: "view", }, { type: "function", name: "refuse", inputs: [ { name: "_eventId", type: "uint256", internalType: "uint256", }, { name: "_sender", type: "address", internalType: "address", }, ], outputs: [ { name: "", type: "uint256", internalType: "uint256", }, ], stateMutability: "nonpayable", }, { type: "function", name: "renounceRole", inputs: [ { name: "role", type: "bytes32", internalType: "bytes32", }, { name: "callerConfirmation", type: "address", internalType: "address", }, ], outputs: [], stateMutability: "nonpayable", }, { type: "function", name: "revokeRole", inputs: [ { name: "role", type: "bytes32", internalType: "bytes32", }, { name: "account", type: "address", internalType: "address", }, ], outputs: [], stateMutability: "nonpayable", }, { type: "function", name: "rewards", inputs: [ { name: "_eventId", type: "uint256", internalType: "uint256", }, ], outputs: [ { name: "", type: "uint256", internalType: "uint256", }, ], stateMutability: "view", }, { type: "function", name: "supportsInterface", inputs: [ { name: "interfaceId", type: "bytes4", internalType: "bytes4", }, ], outputs: [ { name: "", type: "bool", internalType: "bool", }, ], stateMutability: "view", }, { type: "function", name: "tokenEventsList", inputs: [ { name: "_tokenId", type: "uint256", internalType: "uint256", }, { name: "_index", type: "uint256", internalType: "uint256", }, ], outputs: [ { name: "", type: "uint256", internalType: "uint256", }, ], stateMutability: "view", }, { type: "function", name: "trustedForwarder", inputs: [], outputs: [ { name: "", type: "address", internalType: "address", }, ], stateMutability: "view", }, { type: "function", name: "updateDestroyRequest", inputs: [ { name: "_eventId", type: "uint256", internalType: "uint256", }, { name: "_active", type: "bool", internalType: "bool", }, ], outputs: [], stateMutability: "nonpayable", }, { type: "function", name: "updateEventDestroyDelay", inputs: [ { name: "_newEventDestroyDelay", type: "uint256", internalType: "uint256", }, ], outputs: [], stateMutability: "nonpayable", }, { type: "function", name: "validDestroyRequest", inputs: [ { name: "_eventId", type: "uint256", internalType: "uint256", }, ], outputs: [], stateMutability: "nonpayable", }, { type: "event", name: "DestroyRequestUpdated", inputs: [ { name: "_eventId", type: "uint256", indexed: true, internalType: "uint256", }, { name: "_active", type: "bool", indexed: false, internalType: "bool", }, ], anonymous: false, }, { type: "event", name: "EventAccepted", inputs: [ { name: "_eventId", type: "uint256", indexed: true, internalType: "uint256", }, { name: "_sender", type: "address", indexed: true, internalType: "address", }, ], anonymous: false, }, { type: "event", name: "EventCreated", inputs: [ { name: "_tokenId", type: "uint256", indexed: true, internalType: "uint256", }, { name: "_eventId", type: "uint256", indexed: true, internalType: "uint256", }, { name: "_imprint", type: "bytes32", indexed: true, internalType: "bytes32", }, { name: "_uri", type: "string", indexed: false, internalType: "string", }, { name: "_provider", type: "address", indexed: false, internalType: "address", }, ], anonymous: false, }, { type: "event", name: "EventDestroyDelayUpdated", inputs: [ { name: "_newDelay", type: "uint256", indexed: false, internalType: "uint256", }, ], anonymous: false, }, { type: "event", name: "EventDestroyed", inputs: [ { name: "_eventId", type: "uint256", indexed: true, internalType: "uint256", }, ], anonymous: false, }, { type: "event", name: "EventRefused", inputs: [ { name: "_eventId", type: "uint256", indexed: true, internalType: "uint256", }, { name: "_sender", type: "address", indexed: true, internalType: "address", }, ], anonymous: false, }, { type: "event", name: "Initialized", inputs: [ { name: "version", type: "uint64", indexed: false, internalType: "uint64", }, ], anonymous: false, }, { type: "event", name: "Paused", inputs: [ { name: "account", type: "address", indexed: false, internalType: "address", }, ], anonymous: false, }, { type: "event", name: "RoleAdminChanged", inputs: [ { name: "role", type: "bytes32", indexed: true, internalType: "bytes32", }, { name: "previousAdminRole", type: "bytes32", indexed: true, internalType: "bytes32", }, { name: "newAdminRole", type: "bytes32", indexed: true, internalType: "bytes32", }, ], anonymous: false, }, { type: "event", name: "RoleGranted", inputs: [ { name: "role", type: "bytes32", indexed: true, internalType: "bytes32", }, { name: "account", type: "address", indexed: true, internalType: "address", }, { name: "sender", type: "address", indexed: true, internalType: "address", }, ], anonymous: false, }, { type: "event", name: "RoleRevoked", inputs: [ { name: "role", type: "bytes32", indexed: true, internalType: "bytes32", }, { name: "account", type: "address", indexed: true, internalType: "address", }, { name: "sender", type: "address", indexed: true, internalType: "address", }, ], anonymous: false, }, { type: "event", name: "Unpaused", inputs: [ { name: "account", type: "address", indexed: false, internalType: "address", }, ], anonymous: false, }, { type: "error", name: "AccessControlBadConfirmation", inputs: [], }, { type: "error", name: "AccessControlUnauthorizedAccount", inputs: [ { name: "account", type: "address", internalType: "address", }, { name: "neededRole", type: "bytes32", internalType: "bytes32", }, ], }, { type: "error", name: "EnforcedPause", inputs: [], }, { type: "error", name: "ExpectedPause", inputs: [], }, { type: "error", name: "InvalidInitialization", inputs: [], }, { type: "error", name: "NotInitializing", inputs: [], }, ] as const; export class ArianeeEvent__factory { static readonly abi = _abi; static createInterface(): ArianeeEventInterface { return new Interface(_abi) as ArianeeEventInterface; } static connect( address: string, runner?: ContractRunner | null ): ArianeeEvent { return new Contract(address, _abi, runner) as unknown as ArianeeEvent; } }