@pvpbet/pvpbet
Version:
A decentralized PVP betting platform based on the Ethereum Virtual Machine (EVM).
85 lines (79 loc) • 2.51 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 IReceivable$Type {
"_format": "hh-sol-artifact-1",
"contractName": "IReceivable",
"sourceName": "contracts/interface/IReceivable.sol",
"abi": [
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "sender",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "Received",
"type": "event"
},
{
"stateMutability": "payable",
"type": "receive"
}
],
"bytecode": "0x",
"deployedBytecode": "0x",
"linkReferences": {},
"deployedLinkReferences": {}
}
declare module "@nomicfoundation/hardhat-viem/types" {
export function deployContract(
contractName: "IReceivable",
constructorArgs?: [],
config?: DeployContractConfig
): Promise<GetContractReturnType<IReceivable$Type["abi"]>>;
export function deployContract(
contractName: "contracts/interface/IReceivable.sol:IReceivable",
constructorArgs?: [],
config?: DeployContractConfig
): Promise<GetContractReturnType<IReceivable$Type["abi"]>>;
export function sendDeploymentTransaction(
contractName: "IReceivable",
constructorArgs?: [],
config?: SendDeploymentTransactionConfig
): Promise<{
contract: GetContractReturnType<IReceivable$Type["abi"]>;
deploymentTransaction: GetTransactionReturnType;
}>;
export function sendDeploymentTransaction(
contractName: "contracts/interface/IReceivable.sol:IReceivable",
constructorArgs?: [],
config?: SendDeploymentTransactionConfig
): Promise<{
contract: GetContractReturnType<IReceivable$Type["abi"]>;
deploymentTransaction: GetTransactionReturnType;
}>;
export function getContractAt(
contractName: "IReceivable",
address: Address,
config?: GetContractAtConfig
): Promise<GetContractReturnType<IReceivable$Type["abi"]>>;
export function getContractAt(
contractName: "contracts/interface/IReceivable.sol:IReceivable",
address: Address,
config?: GetContractAtConfig
): Promise<GetContractReturnType<IReceivable$Type["abi"]>>;
}