// 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 IMarketHubRiskManagement$Type { "_format": "hh-sol-artifact-1", "contractName": "IMarketHubRiskManagement", "sourceName": "contracts/interfaces/IMarketHub.sol", "abi": [ { "inputs": [ { "internalType": "MarketId", "name": "marketId", "type": "uint24" }, { "internalType": "MarketAcc", "name": "user", "type": "bytes26" }, { "components": [ { "internalType": "OrderId[]", "name": "ids", "type": "uint64[]" }, { "internalType": "bool", "name": "isAll", "type": "bool" }, { "internalType": "bool", "name": "isStrict", "type": "bool" } ], "internalType": "struct CancelData", "name": "cancelData", "type": "tuple" } ], "name": "forceCancel", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "MarketAcc", "name": "riskyUser", "type": "bytes26" }, { "internalType": "MarketId[]", "name": "marketIds", "type": "uint24[]" } ], "name": "forceCancelAllRiskyUser", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "MarketId", "name": "marketId", "type": "uint24" }, { "internalType": "MarketAcc", "name": "win", "type": "bytes26" }, { "internalType": "MarketAcc", "name": "lose", "type": "bytes26" }, { "internalType": "int256", "name": "sizeToWin", "type": "int256" }, { "internalType": "uint256", "name": "alpha", "type": "uint256" } ], "name": "forceDeleverage", "outputs": [ { "internalType": "Trade", "name": "delevTrade", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "MarketId[]", "name": "marketIds", "type": "uint24[]" }, { "internalType": "uint256", "name": "maxNTicksPurgeOneSide", "type": "uint256" } ], "name": "forcePurgeOobOrders", "outputs": [ { "internalType": "uint256", "name": "totalTicksPurgedLong", "type": "uint256" }, { "internalType": "uint256", "name": "totalTicksPurgedShort", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" } ], "bytecode": "0x", "deployedBytecode": "0x", "linkReferences": {}, "deployedLinkReferences": {} } declare module "@nomicfoundation/hardhat-viem/types" { export function deployContract( contractName: "IMarketHubRiskManagement", constructorArgs?: [], config?: DeployContractConfig ): Promise>; export function deployContract( contractName: "contracts/interfaces/IMarketHub.sol:IMarketHubRiskManagement", constructorArgs?: [], config?: DeployContractConfig ): Promise>; export function sendDeploymentTransaction( contractName: "IMarketHubRiskManagement", constructorArgs?: [], config?: SendDeploymentTransactionConfig ): Promise<{ contract: GetContractReturnType; deploymentTransaction: GetTransactionReturnType; }>; export function sendDeploymentTransaction( contractName: "contracts/interfaces/IMarketHub.sol:IMarketHubRiskManagement", constructorArgs?: [], config?: SendDeploymentTransactionConfig ): Promise<{ contract: GetContractReturnType; deploymentTransaction: GetTransactionReturnType; }>; export function getContractAt( contractName: "IMarketHubRiskManagement", address: Address, config?: GetContractAtConfig ): Promise>; export function getContractAt( contractName: "contracts/interfaces/IMarketHub.sol:IMarketHubRiskManagement", address: Address, config?: GetContractAtConfig ): Promise>; }