@settlemint/solidity-diamond-bond
Version:
Smart contract set to build an enterprise bond usecase in SettleMint
107 lines (101 loc) • 2.92 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 IERC173$Type {
"_format": "hh-sol-artifact-1",
"contractName": "IERC173",
"sourceName": "contracts/interfaces/IERC173.sol",
"abi": [
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "previousOwner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "newOwner",
"type": "address"
}
],
"name": "OwnershipTransferred",
"type": "event"
},
{
"inputs": [],
"name": "owner",
"outputs": [
{
"internalType": "address",
"name": "owner_",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_newOwner",
"type": "address"
}
],
"name": "transferOwnership",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
],
"bytecode": "0x",
"deployedBytecode": "0x",
"linkReferences": {},
"deployedLinkReferences": {}
}
declare module "@nomicfoundation/hardhat-viem/types" {
export function deployContract(
contractName: "IERC173",
constructorArgs?: [],
config?: DeployContractConfig
): Promise<GetContractReturnType<IERC173$Type["abi"]>>;
export function deployContract(
contractName: "contracts/interfaces/IERC173.sol:IERC173",
constructorArgs?: [],
config?: DeployContractConfig
): Promise<GetContractReturnType<IERC173$Type["abi"]>>;
export function sendDeploymentTransaction(
contractName: "IERC173",
constructorArgs?: [],
config?: SendDeploymentTransactionConfig
): Promise<{
contract: GetContractReturnType<IERC173$Type["abi"]>;
deploymentTransaction: GetTransactionReturnType;
}>;
export function sendDeploymentTransaction(
contractName: "contracts/interfaces/IERC173.sol:IERC173",
constructorArgs?: [],
config?: SendDeploymentTransactionConfig
): Promise<{
contract: GetContractReturnType<IERC173$Type["abi"]>;
deploymentTransaction: GetTransactionReturnType;
}>;
export function getContractAt(
contractName: "IERC173",
address: Address,
config?: GetContractAtConfig
): Promise<GetContractReturnType<IERC173$Type["abi"]>>;
export function getContractAt(
contractName: "contracts/interfaces/IERC173.sol:IERC173",
address: Address,
config?: GetContractAtConfig
): Promise<GetContractReturnType<IERC173$Type["abi"]>>;
}