UNPKG

@settlemint/solidity-attestation-service

Version:
192 lines (186 loc) 5.22 kB
// This file was autogenerated by hardhat-viem, do not edit it. // prettier-ignore // tslint:disable // eslint-disable import type { Address } from "viem"; import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; import "@nomicfoundation/hardhat-viem/types"; export interface ISchemaRegistry$Type { "_format": "hh-sol-artifact-1", "contractName": "ISchemaRegistry", "sourceName": "@ethereum-attestation-service/eas-contracts/contracts/ISchemaRegistry.sol", "abi": [ { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "uid", "type": "bytes32" }, { "indexed": true, "internalType": "address", "name": "registerer", "type": "address" }, { "components": [ { "internalType": "bytes32", "name": "uid", "type": "bytes32" }, { "internalType": "contract ISchemaResolver", "name": "resolver", "type": "address" }, { "internalType": "bool", "name": "revocable", "type": "bool" }, { "internalType": "string", "name": "schema", "type": "string" } ], "indexed": false, "internalType": "struct SchemaRecord", "name": "schema", "type": "tuple" } ], "name": "Registered", "type": "event" }, { "inputs": [ { "internalType": "bytes32", "name": "uid", "type": "bytes32" } ], "name": "getSchema", "outputs": [ { "components": [ { "internalType": "bytes32", "name": "uid", "type": "bytes32" }, { "internalType": "contract ISchemaResolver", "name": "resolver", "type": "address" }, { "internalType": "bool", "name": "revocable", "type": "bool" }, { "internalType": "string", "name": "schema", "type": "string" } ], "internalType": "struct SchemaRecord", "name": "", "type": "tuple" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "string", "name": "schema", "type": "string" }, { "internalType": "contract ISchemaResolver", "name": "resolver", "type": "address" }, { "internalType": "bool", "name": "revocable", "type": "bool" } ], "name": "register", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "version", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" } ], "bytecode": "0x", "deployedBytecode": "0x", "linkReferences": {}, "deployedLinkReferences": {} } declare module "@nomicfoundation/hardhat-viem/types" { export function deployContract( contractName: "ISchemaRegistry", constructorArgs?: [], config?: DeployContractConfig ): Promise<GetContractReturnType<ISchemaRegistry$Type["abi"]>>; export function deployContract( contractName: "@ethereum-attestation-service/eas-contracts/contracts/ISchemaRegistry.sol:ISchemaRegistry", constructorArgs?: [], config?: DeployContractConfig ): Promise<GetContractReturnType<ISchemaRegistry$Type["abi"]>>; export function sendDeploymentTransaction( contractName: "ISchemaRegistry", constructorArgs?: [], config?: SendDeploymentTransactionConfig ): Promise<{ contract: GetContractReturnType<ISchemaRegistry$Type["abi"]>; deploymentTransaction: GetTransactionReturnType; }>; export function sendDeploymentTransaction( contractName: "@ethereum-attestation-service/eas-contracts/contracts/ISchemaRegistry.sol:ISchemaRegistry", constructorArgs?: [], config?: SendDeploymentTransactionConfig ): Promise<{ contract: GetContractReturnType<ISchemaRegistry$Type["abi"]>; deploymentTransaction: GetTransactionReturnType; }>; export function getContractAt( contractName: "ISchemaRegistry", address: Address, config?: GetContractAtConfig ): Promise<GetContractReturnType<ISchemaRegistry$Type["abi"]>>; export function getContractAt( contractName: "@ethereum-attestation-service/eas-contracts/contracts/ISchemaRegistry.sol:ISchemaRegistry", address: Address, config?: GetContractAtConfig ): Promise<GetContractReturnType<ISchemaRegistry$Type["abi"]>>; }