@settlemint/solidity-diamond-bond
Version:
Smart contract set to build an enterprise bond usecase in SettleMint
99 lines (93 loc) • 2.98 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": "0x6080806040523460175760399081601c823930815050f35b5f80fdfe5f80fdfea2646970667358221220dc896ee0e34701350c95c832f694edb008f203092fdfe727d62463f31d7ea65764736f6c634300081e0033",
"deployedBytecode": "0x5f80fdfea2646970667358221220dc896ee0e34701350c95c832f694edb008f203092fdfe727d62463f31d7ea65764736f6c634300081e0033",
"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"]>>;
}