@settlemint/solidity-soulbound
Version:
Smart contract set to build an Soulbound token in SettleMint
99 lines (93 loc) • 2.99 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 Errors$Type {
"_format": "hh-sol-artifact-1",
"contractName": "Errors",
"sourceName": "@openzeppelin/contracts/utils/Errors.sol",
"abi": [
{
"inputs": [],
"name": "FailedCall",
"type": "error"
},
{
"inputs": [],
"name": "FailedDeployment",
"type": "error"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "balance",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "needed",
"type": "uint256"
}
],
"name": "InsufficientBalance",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "MissingPrecompile",
"type": "error"
}
],
"bytecode": "0x60808060405234601757603a9081601d823930815050f35b600080fdfe600080fdfea26469706673582212206563c7e9308ca6c3ee5386549883347e477d0c27e5dce2b23d1a78f812104d0564736f6c634300081b0033",
"deployedBytecode": "0x600080fdfea26469706673582212206563c7e9308ca6c3ee5386549883347e477d0c27e5dce2b23d1a78f812104d0564736f6c634300081b0033",
"linkReferences": {},
"deployedLinkReferences": {}
}
declare module "@nomicfoundation/hardhat-viem/types" {
export function deployContract(
contractName: "Errors",
constructorArgs?: [],
config?: DeployContractConfig
): Promise<GetContractReturnType<Errors$Type["abi"]>>;
export function deployContract(
contractName: "@openzeppelin/contracts/utils/Errors.sol:Errors",
constructorArgs?: [],
config?: DeployContractConfig
): Promise<GetContractReturnType<Errors$Type["abi"]>>;
export function sendDeploymentTransaction(
contractName: "Errors",
constructorArgs?: [],
config?: SendDeploymentTransactionConfig
): Promise<{
contract: GetContractReturnType<Errors$Type["abi"]>;
deploymentTransaction: GetTransactionReturnType;
}>;
export function sendDeploymentTransaction(
contractName: "@openzeppelin/contracts/utils/Errors.sol:Errors",
constructorArgs?: [],
config?: SendDeploymentTransactionConfig
): Promise<{
contract: GetContractReturnType<Errors$Type["abi"]>;
deploymentTransaction: GetTransactionReturnType;
}>;
export function getContractAt(
contractName: "Errors",
address: Address,
config?: GetContractAtConfig
): Promise<GetContractReturnType<Errors$Type["abi"]>>;
export function getContractAt(
contractName: "@openzeppelin/contracts/utils/Errors.sol:Errors",
address: Address,
config?: GetContractAtConfig
): Promise<GetContractReturnType<Errors$Type["abi"]>>;
}