UNPKG

@pvpbet/pvpbet

Version:

A decentralized PVP betting platform based on the Ethereum Virtual Machine (EVM).

157 lines (151 loc) 4.08 kB
// 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 IWithdrawable$Type { "_format": "hh-sol-artifact-1", "contractName": "IWithdrawable", "sourceName": "contracts/interface/IWithdrawable.sol", "abi": [ { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "sender", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "Withdrawn", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "sender", "type": "address" }, { "indexed": true, "internalType": "address", "name": "token", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "WithdrawnERC20", "type": "event" }, { "inputs": [ { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "withdraw", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "withdraw", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "withdrawERC20", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" } ], "name": "withdrawERC20", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ], "bytecode": "0x", "deployedBytecode": "0x", "linkReferences": {}, "deployedLinkReferences": {} } declare module "@nomicfoundation/hardhat-viem/types" { export function deployContract( contractName: "IWithdrawable", constructorArgs?: [], config?: DeployContractConfig ): Promise<GetContractReturnType<IWithdrawable$Type["abi"]>>; export function deployContract( contractName: "contracts/interface/IWithdrawable.sol:IWithdrawable", constructorArgs?: [], config?: DeployContractConfig ): Promise<GetContractReturnType<IWithdrawable$Type["abi"]>>; export function sendDeploymentTransaction( contractName: "IWithdrawable", constructorArgs?: [], config?: SendDeploymentTransactionConfig ): Promise<{ contract: GetContractReturnType<IWithdrawable$Type["abi"]>; deploymentTransaction: GetTransactionReturnType; }>; export function sendDeploymentTransaction( contractName: "contracts/interface/IWithdrawable.sol:IWithdrawable", constructorArgs?: [], config?: SendDeploymentTransactionConfig ): Promise<{ contract: GetContractReturnType<IWithdrawable$Type["abi"]>; deploymentTransaction: GetTransactionReturnType; }>; export function getContractAt( contractName: "IWithdrawable", address: Address, config?: GetContractAtConfig ): Promise<GetContractReturnType<IWithdrawable$Type["abi"]>>; export function getContractAt( contractName: "contracts/interface/IWithdrawable.sol:IWithdrawable", address: Address, config?: GetContractAtConfig ): Promise<GetContractReturnType<IWithdrawable$Type["abi"]>>; }