@pvpbet/pvpbet
Version:
A decentralized PVP betting platform based on the Ethereum Virtual Machine (EVM).
138 lines (132 loc) • 3.64 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 UseGovTokenStaking$Type {
"_format": "hh-sol-artifact-1",
"contractName": "UseGovTokenStaking",
"sourceName": "contracts/base/UseGovTokenStaking.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"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "govTokenStaking",
"type": "address"
}
],
"name": "GovTokenStakingSet",
"type": "event"
},
{
"inputs": [],
"name": "govTokenStaking",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "newGovTokenStaking",
"type": "address"
}
],
"name": "setGovTokenStaking",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
],
"bytecode": "0x",
"deployedBytecode": "0x",
"linkReferences": {},
"deployedLinkReferences": {}
}
declare module "@nomicfoundation/hardhat-viem/types" {
export function deployContract(
contractName: "UseGovTokenStaking",
constructorArgs?: [],
config?: DeployContractConfig
): Promise<GetContractReturnType<UseGovTokenStaking$Type["abi"]>>;
export function deployContract(
contractName: "contracts/base/UseGovTokenStaking.sol:UseGovTokenStaking",
constructorArgs?: [],
config?: DeployContractConfig
): Promise<GetContractReturnType<UseGovTokenStaking$Type["abi"]>>;
export function sendDeploymentTransaction(
contractName: "UseGovTokenStaking",
constructorArgs?: [],
config?: SendDeploymentTransactionConfig
): Promise<{
contract: GetContractReturnType<UseGovTokenStaking$Type["abi"]>;
deploymentTransaction: GetTransactionReturnType;
}>;
export function sendDeploymentTransaction(
contractName: "contracts/base/UseGovTokenStaking.sol:UseGovTokenStaking",
constructorArgs?: [],
config?: SendDeploymentTransactionConfig
): Promise<{
contract: GetContractReturnType<UseGovTokenStaking$Type["abi"]>;
deploymentTransaction: GetTransactionReturnType;
}>;
export function getContractAt(
contractName: "UseGovTokenStaking",
address: Address,
config?: GetContractAtConfig
): Promise<GetContractReturnType<UseGovTokenStaking$Type["abi"]>>;
export function getContractAt(
contractName: "contracts/base/UseGovTokenStaking.sol:UseGovTokenStaking",
address: Address,
config?: GetContractAtConfig
): Promise<GetContractReturnType<UseGovTokenStaking$Type["abi"]>>;
}