@pvpbet/pvpbet
Version:
A decentralized PVP betting platform based on the Ethereum Virtual Machine (EVM).
94 lines (88 loc) • 3.82 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 TestBetManager$Type {
"_format": "hh-sol-artifact-1",
"contractName": "TestBetManager",
"sourceName": "contracts/test/TestBetManager.sol",
"abi": [
{
"inputs": [
{
"internalType": "address",
"name": "bet",
"type": "address"
}
],
"name": "isBet",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "bet",
"type": "address"
}
],
"name": "setBet",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
],
"bytecode": "0x608060405234801561001057600080fd5b50610109806100206000396000f3fe6080604052348015600f57600080fd5b506004361060325760003560e01c8063c07904ac146037578063f4786c12146068575b600080fd5b6066604236600460a5565b6001600160a01b03166000908152602081905260409020805460ff19166001179055565b005b6091607336600460a5565b6001600160a01b031660009081526020819052604090205460ff1690565b604051901515815260200160405180910390f35b60006020828403121560b657600080fd5b81356001600160a01b038116811460cc57600080fd5b939250505056fea26469706673582212203f9cbde45606b9bc673018f8689d191a80c06dd06f49130b3e4e4ce3b69e065964736f6c63430008140033",
"deployedBytecode": "0x6080604052348015600f57600080fd5b506004361060325760003560e01c8063c07904ac146037578063f4786c12146068575b600080fd5b6066604236600460a5565b6001600160a01b03166000908152602081905260409020805460ff19166001179055565b005b6091607336600460a5565b6001600160a01b031660009081526020819052604090205460ff1690565b604051901515815260200160405180910390f35b60006020828403121560b657600080fd5b81356001600160a01b038116811460cc57600080fd5b939250505056fea26469706673582212203f9cbde45606b9bc673018f8689d191a80c06dd06f49130b3e4e4ce3b69e065964736f6c63430008140033",
"linkReferences": {},
"deployedLinkReferences": {}
}
declare module "@nomicfoundation/hardhat-viem/types" {
export function deployContract(
contractName: "TestBetManager",
constructorArgs?: [],
config?: DeployContractConfig
): Promise<GetContractReturnType<TestBetManager$Type["abi"]>>;
export function deployContract(
contractName: "contracts/test/TestBetManager.sol:TestBetManager",
constructorArgs?: [],
config?: DeployContractConfig
): Promise<GetContractReturnType<TestBetManager$Type["abi"]>>;
export function sendDeploymentTransaction(
contractName: "TestBetManager",
constructorArgs?: [],
config?: SendDeploymentTransactionConfig
): Promise<{
contract: GetContractReturnType<TestBetManager$Type["abi"]>;
deploymentTransaction: GetTransactionReturnType;
}>;
export function sendDeploymentTransaction(
contractName: "contracts/test/TestBetManager.sol:TestBetManager",
constructorArgs?: [],
config?: SendDeploymentTransactionConfig
): Promise<{
contract: GetContractReturnType<TestBetManager$Type["abi"]>;
deploymentTransaction: GetTransactionReturnType;
}>;
export function getContractAt(
contractName: "TestBetManager",
address: Address,
config?: GetContractAtConfig
): Promise<GetContractReturnType<TestBetManager$Type["abi"]>>;
export function getContractAt(
contractName: "contracts/test/TestBetManager.sol:TestBetManager",
address: Address,
config?: GetContractAtConfig
): Promise<GetContractReturnType<TestBetManager$Type["abi"]>>;
}