@pvpbet/pvpbet
Version:
A decentralized PVP betting platform based on the Ethereum Virtual Machine (EVM).
102 lines (96 loc) • 3.53 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 TransferLib$Type {
"_format": "hh-sol-artifact-1",
"contractName": "TransferLib",
"sourceName": "contracts/lib/Transfer.sol",
"abi": [
{
"inputs": [
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "TransferFailed",
"type": "error"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "paid",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "needed",
"type": "uint256"
}
],
"name": "Underpayment",
"type": "error"
},
{
"inputs": [],
"name": "PERMIT2",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
}
],
"bytecode": "0x609f610038600b82828239805160001a607314602b57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe730000000000000000000000000000000000000000301460806040526004361060335760003560e01c80636afdd850146038575b600080fd5b604d6e22d473030f116ddee9f6b43ac78ba381565b6040516001600160a01b03909116815260200160405180910390f3fea26469706673582212205fb2a594216a9d0645fc5f04b8cddaaad6e03f37d3f439ba65bb8fe1897212c164736f6c63430008140033",
"deployedBytecode": "0x730000000000000000000000000000000000000000301460806040526004361060335760003560e01c80636afdd850146038575b600080fd5b604d6e22d473030f116ddee9f6b43ac78ba381565b6040516001600160a01b03909116815260200160405180910390f3fea26469706673582212205fb2a594216a9d0645fc5f04b8cddaaad6e03f37d3f439ba65bb8fe1897212c164736f6c63430008140033",
"linkReferences": {},
"deployedLinkReferences": {}
}
declare module "@nomicfoundation/hardhat-viem/types" {
export function deployContract(
contractName: "TransferLib",
constructorArgs?: [],
config?: DeployContractConfig
): Promise<GetContractReturnType<TransferLib$Type["abi"]>>;
export function deployContract(
contractName: "contracts/lib/Transfer.sol:TransferLib",
constructorArgs?: [],
config?: DeployContractConfig
): Promise<GetContractReturnType<TransferLib$Type["abi"]>>;
export function sendDeploymentTransaction(
contractName: "TransferLib",
constructorArgs?: [],
config?: SendDeploymentTransactionConfig
): Promise<{
contract: GetContractReturnType<TransferLib$Type["abi"]>;
deploymentTransaction: GetTransactionReturnType;
}>;
export function sendDeploymentTransaction(
contractName: "contracts/lib/Transfer.sol:TransferLib",
constructorArgs?: [],
config?: SendDeploymentTransactionConfig
): Promise<{
contract: GetContractReturnType<TransferLib$Type["abi"]>;
deploymentTransaction: GetTransactionReturnType;
}>;
export function getContractAt(
contractName: "TransferLib",
address: Address,
config?: GetContractAtConfig
): Promise<GetContractReturnType<TransferLib$Type["abi"]>>;
export function getContractAt(
contractName: "contracts/lib/Transfer.sol:TransferLib",
address: Address,
config?: GetContractAtConfig
): Promise<GetContractReturnType<TransferLib$Type["abi"]>>;
}