@settlemint/solidity-attestation-service
Version:
Smart contract set to use the Ethereum Attestation Service in SettleMint
78 lines (72 loc) • 2.69 kB
TypeScript
// 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 ShortStrings$Type {
"_format": "hh-sol-artifact-1",
"contractName": "ShortStrings",
"sourceName": "@openzeppelin/contracts/utils/ShortStrings.sol",
"abi": [
{
"inputs": [],
"name": "InvalidShortString",
"type": "error"
},
{
"inputs": [
{
"internalType": "string",
"name": "str",
"type": "string"
}
],
"name": "StringTooLong",
"type": "error"
}
],
"bytecode": "0x60808060405234601757603a9081601d823930815050f35b600080fdfe600080fdfea2646970667358221220e0aba3d28b3ea8bf8b623806ad4b0e7a0b19b084b2fd0e795fea64aa4148daae64736f6c634300081b0033",
"deployedBytecode": "0x600080fdfea2646970667358221220e0aba3d28b3ea8bf8b623806ad4b0e7a0b19b084b2fd0e795fea64aa4148daae64736f6c634300081b0033",
"linkReferences": {},
"deployedLinkReferences": {}
}
declare module "@nomicfoundation/hardhat-viem/types" {
export function deployContract(
contractName: "ShortStrings",
constructorArgs?: [],
config?: DeployContractConfig
): Promise<GetContractReturnType<ShortStrings$Type["abi"]>>;
export function deployContract(
contractName: "@openzeppelin/contracts/utils/ShortStrings.sol:ShortStrings",
constructorArgs?: [],
config?: DeployContractConfig
): Promise<GetContractReturnType<ShortStrings$Type["abi"]>>;
export function sendDeploymentTransaction(
contractName: "ShortStrings",
constructorArgs?: [],
config?: SendDeploymentTransactionConfig
): Promise<{
contract: GetContractReturnType<ShortStrings$Type["abi"]>;
deploymentTransaction: GetTransactionReturnType;
}>;
export function sendDeploymentTransaction(
contractName: "@openzeppelin/contracts/utils/ShortStrings.sol:ShortStrings",
constructorArgs?: [],
config?: SendDeploymentTransactionConfig
): Promise<{
contract: GetContractReturnType<ShortStrings$Type["abi"]>;
deploymentTransaction: GetTransactionReturnType;
}>;
export function getContractAt(
contractName: "ShortStrings",
address: Address,
config?: GetContractAtConfig
): Promise<GetContractReturnType<ShortStrings$Type["abi"]>>;
export function getContractAt(
contractName: "@openzeppelin/contracts/utils/ShortStrings.sol:ShortStrings",
address: Address,
config?: GetContractAtConfig
): Promise<GetContractReturnType<ShortStrings$Type["abi"]>>;
}