UNPKG

@pvpbet/pvpbet

Version:

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

218 lines (212 loc) 5.53 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 IBetActionArbitrate$Type { "_format": "hh-sol-artifact-1", "contractName": "IBetActionArbitrate", "sourceName": "contracts/interface/IBetActionArbitrate.sol", "abi": [ { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "arbitrator", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "Arbitrated", "type": "event" }, { "inputs": [ { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "arbitrate", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "arbitrator", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "arbitrate", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "arbitratedAmount", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "arbitrator", "type": "address" } ], "name": "arbitratedAmount", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "arbitratedRecordCount", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "offset", "type": "uint256" }, { "internalType": "uint256", "name": "limit", "type": "uint256" } ], "name": "arbitratedRecords", "outputs": [ { "components": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "internalType": "struct Record[]", "name": "", "type": "tuple[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "arbitratedRecords", "outputs": [ { "components": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "internalType": "struct Record[]", "name": "", "type": "tuple[]" } ], "stateMutability": "view", "type": "function" } ], "bytecode": "0x", "deployedBytecode": "0x", "linkReferences": {}, "deployedLinkReferences": {} } declare module "@nomicfoundation/hardhat-viem/types" { export function deployContract( contractName: "IBetActionArbitrate", constructorArgs?: [], config?: DeployContractConfig ): Promise<GetContractReturnType<IBetActionArbitrate$Type["abi"]>>; export function deployContract( contractName: "contracts/interface/IBetActionArbitrate.sol:IBetActionArbitrate", constructorArgs?: [], config?: DeployContractConfig ): Promise<GetContractReturnType<IBetActionArbitrate$Type["abi"]>>; export function sendDeploymentTransaction( contractName: "IBetActionArbitrate", constructorArgs?: [], config?: SendDeploymentTransactionConfig ): Promise<{ contract: GetContractReturnType<IBetActionArbitrate$Type["abi"]>; deploymentTransaction: GetTransactionReturnType; }>; export function sendDeploymentTransaction( contractName: "contracts/interface/IBetActionArbitrate.sol:IBetActionArbitrate", constructorArgs?: [], config?: SendDeploymentTransactionConfig ): Promise<{ contract: GetContractReturnType<IBetActionArbitrate$Type["abi"]>; deploymentTransaction: GetTransactionReturnType; }>; export function getContractAt( contractName: "IBetActionArbitrate", address: Address, config?: GetContractAtConfig ): Promise<GetContractReturnType<IBetActionArbitrate$Type["abi"]>>; export function getContractAt( contractName: "contracts/interface/IBetActionArbitrate.sol:IBetActionArbitrate", address: Address, config?: GetContractAtConfig ): Promise<GetContractReturnType<IBetActionArbitrate$Type["abi"]>>; }