@pvpbet/pvpbet
Version:
A decentralized PVP betting platform based on the Ethereum Virtual Machine (EVM).
99 lines (93 loc) • 2.65 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 IErrors$Type {
"_format": "hh-sol-artifact-1",
"contractName": "IErrors",
"sourceName": "contracts/interface/IErrors.sol",
"abi": [
{
"inputs": [],
"name": "CannotReceive",
"type": "error"
},
{
"inputs": [],
"name": "InvalidAmount",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "token",
"type": "address"
}
],
"name": "InvalidChip",
"type": "error"
},
{
"inputs": [],
"name": "InvalidToken",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "sender",
"type": "address"
}
],
"name": "UnauthorizedAccess",
"type": "error"
}
],
"bytecode": "0x",
"deployedBytecode": "0x",
"linkReferences": {},
"deployedLinkReferences": {}
}
declare module "@nomicfoundation/hardhat-viem/types" {
export function deployContract(
contractName: "IErrors",
constructorArgs?: [],
config?: DeployContractConfig
): Promise<GetContractReturnType<IErrors$Type["abi"]>>;
export function deployContract(
contractName: "contracts/interface/IErrors.sol:IErrors",
constructorArgs?: [],
config?: DeployContractConfig
): Promise<GetContractReturnType<IErrors$Type["abi"]>>;
export function sendDeploymentTransaction(
contractName: "IErrors",
constructorArgs?: [],
config?: SendDeploymentTransactionConfig
): Promise<{
contract: GetContractReturnType<IErrors$Type["abi"]>;
deploymentTransaction: GetTransactionReturnType;
}>;
export function sendDeploymentTransaction(
contractName: "contracts/interface/IErrors.sol:IErrors",
constructorArgs?: [],
config?: SendDeploymentTransactionConfig
): Promise<{
contract: GetContractReturnType<IErrors$Type["abi"]>;
deploymentTransaction: GetTransactionReturnType;
}>;
export function getContractAt(
contractName: "IErrors",
address: Address,
config?: GetContractAtConfig
): Promise<GetContractReturnType<IErrors$Type["abi"]>>;
export function getContractAt(
contractName: "contracts/interface/IErrors.sol:IErrors",
address: Address,
config?: GetContractAtConfig
): Promise<GetContractReturnType<IErrors$Type["abi"]>>;
}