@settlemint/solidity-attestation-service
Version:
Smart contract set to use the Ethereum Attestation Service in SettleMint
78 lines (72 loc) • 2.68 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": "0x6080806040523460175760399081601c823930815050f35b5f80fdfe5f80fdfea26469706673582212202494085ac0997c4e6fb376c68666a573dc9a34fae0738e0544722153b17e469864736f6c634300081b0033",
"deployedBytecode": "0x5f80fdfea26469706673582212202494085ac0997c4e6fb376c68666a573dc9a34fae0738e0544722153b17e469864736f6c634300081b0033",
"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"]>>;
}