// 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 IAuthModule$Type { "_format": "hh-sol-artifact-1", "contractName": "IAuthModule", "sourceName": "contracts/interfaces/IAuthModule.sol", "abi": [ { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "MarketAcc", "name": "user", "type": "bytes26" }, { "indexed": true, "internalType": "AMMId", "name": "ammId", "type": "uint24" }, { "indexed": false, "internalType": "int256", "name": "exactSizeIn", "type": "int256" }, { "indexed": false, "internalType": "uint256", "name": "netLpOut", "type": "uint256" }, { "indexed": false, "internalType": "int256", "name": "netCashIn", "type": "int256" }, { "indexed": false, "internalType": "uint256", "name": "netOtcFee", "type": "uint256" } ], "name": "AddLiquidityDualToAmm", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "MarketAcc", "name": "user", "type": "bytes26" }, { "indexed": true, "internalType": "AMMId", "name": "ammId", "type": "uint24" }, { "indexed": false, "internalType": "uint256", "name": "netLpOut", "type": "uint256" }, { "indexed": false, "internalType": "int256", "name": "netCashIn", "type": "int256" }, { "indexed": false, "internalType": "uint256", "name": "totalTakerOtcFee", "type": "uint256" }, { "indexed": false, "internalType": "int256", "name": "swapSizeInterm", "type": "int256" } ], "name": "AddLiquiditySingleCashToAmm", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "Account", "name": "account", "type": "bytes21" }, { "indexed": true, "internalType": "address", "name": "agent", "type": "address" }, { "indexed": true, "internalType": "uint64", "name": "expiry", "type": "uint64" } ], "name": "AgentApproved", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "Account", "name": "account", "type": "bytes21" }, { "indexed": true, "internalType": "address", "name": "agent", "type": "address" } ], "name": "AgentRevoked", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "MarketAcc", "name": "user", "type": "bytes26" }, { "indexed": true, "internalType": "MarketId", "name": "marketId", "type": "uint24" }, { "indexed": false, "internalType": "enum TimeInForce", "name": "tif", "type": "uint8" }, { "indexed": false, "internalType": "Trade", "name": "matched", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "takerFee", "type": "uint256" } ], "name": "BulkOrdersExecuted", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "MarketAcc", "name": "user", "type": "bytes26" }, { "indexed": false, "internalType": "bytes32", "name": "orderHash", "type": "bytes32" }, { "indexed": false, "internalType": "MarketId", "name": "marketId", "type": "uint24" }, { "indexed": false, "internalType": "AMMId", "name": "ammId", "type": "uint24" }, { "indexed": false, "internalType": "enum TimeInForce", "name": "tif", "type": "uint8" }, { "indexed": false, "internalType": "Trade", "name": "matched", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "takerOtcFee", "type": "uint256" } ], "name": "ConditionalOrderExecuted", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "root", "type": "address" }, { "indexed": false, "internalType": "uint32", "name": "boxId", "type": "uint32" }, { "indexed": false, "internalType": "address", "name": "tokenSpent", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amountSpent", "type": "uint256" }, { "indexed": false, "internalType": "uint8", "name": "accountId", "type": "uint8" }, { "indexed": false, "internalType": "TokenId", "name": "tokenId", "type": "uint16" }, { "indexed": false, "internalType": "MarketId", "name": "marketId", "type": "uint24" }, { "indexed": false, "internalType": "uint256", "name": "depositAmount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "payTreasuryAmount", "type": "uint256" } ], "name": "DepositFromBox", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "Account", "name": "account", "type": "bytes21" }, { "indexed": true, "internalType": "address", "name": "newAccManager", "type": "address" } ], "name": "NewAccManagerSet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "MarketAcc", "name": "maker", "type": "bytes26" }, { "indexed": true, "internalType": "MarketAcc", "name": "taker", "type": "bytes26" }, { "indexed": true, "internalType": "MarketId", "name": "marketId", "type": "uint24" }, { "indexed": false, "internalType": "Trade", "name": "trade", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "otcFee", "type": "uint256" } ], "name": "OTCTradeExecuted", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "MarketAcc", "name": "user", "type": "bytes26" }, { "indexed": true, "internalType": "AMMId", "name": "ammId", "type": "uint24" }, { "indexed": false, "internalType": "uint256", "name": "lpToRemove", "type": "uint256" }, { "indexed": false, "internalType": "int256", "name": "netCashOut", "type": "int256" }, { "indexed": false, "internalType": "int256", "name": "netSizeOut", "type": "int256" }, { "indexed": false, "internalType": "uint256", "name": "netOtcFee", "type": "uint256" } ], "name": "RemoveLiquidityDualFromAmm", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "MarketAcc", "name": "user", "type": "bytes26" }, { "indexed": true, "internalType": "AMMId", "name": "ammId", "type": "uint24" }, { "indexed": false, "internalType": "uint256", "name": "lpToRemove", "type": "uint256" }, { "indexed": false, "internalType": "int256", "name": "netCashOut", "type": "int256" }, { "indexed": false, "internalType": "uint256", "name": "netTakerOtcFee", "type": "uint256" }, { "indexed": false, "internalType": "int256", "name": "netSizeInterm", "type": "int256" } ], "name": "RemoveLiquiditySingleCashFromAmm", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "MarketAcc", "name": "user", "type": "bytes26" }, { "indexed": true, "internalType": "MarketId", "name": "marketId", "type": "uint24" }, { "indexed": true, "internalType": "AMMId", "name": "ammId", "type": "uint24" }, { "indexed": false, "internalType": "enum TimeInForce", "name": "tif", "type": "uint8" }, { "indexed": false, "internalType": "Trade", "name": "matched", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "takerOtcFee", "type": "uint256" } ], "name": "SingleOrderExecuted", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "MarketAcc", "name": "user", "type": "bytes26" }, { "indexed": true, "internalType": "MarketId", "name": "marketId", "type": "uint24" }, { "indexed": true, "internalType": "AMMId", "name": "ammId", "type": "uint24" }, { "indexed": false, "internalType": "Trade", "name": "matched", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "otcFee", "type": "uint256" } ], "name": "SwapWithAmm", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "root", "type": "address" }, { "indexed": false, "internalType": "uint32", "name": "boxId", "type": "uint32" }, { "indexed": false, "internalType": "address", "name": "token", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "WithdrawFromBox", "type": "event" }, { "inputs": [ { "internalType": "Account", "name": "acc", "type": "bytes21" } ], "name": "accountManager", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "agent", "type": "address" }, { "components": [ { "internalType": "Account", "name": "account", "type": "bytes21" }, { "internalType": "bytes32", "name": "connectionId", "type": "bytes32" }, { "internalType": "uint64", "name": "nonce", "type": "uint64" } ], "internalType": "struct IRouterEventsAndTypes.PendleSignTx", "name": "message", "type": "tuple" }, { "internalType": "bytes", "name": "signature", "type": "bytes" }, { "internalType": "bytes", "name": "callData", "type": "bytes" } ], "name": "agentExecute", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "Account", "name": "acc", "type": "bytes21" }, { "internalType": "address", "name": "agent", "type": "address" } ], "name": "agentExpiry", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "components": [ { "internalType": "address", "name": "root", "type": "address" }, { "internalType": "uint8", "name": "accountId", "type": "uint8" }, { "internalType": "address", "name": "agent", "type": "address" }, { "internalType": "uint64", "name": "expiry", "type": "uint64" } ], "internalType": "struct IRouterEventsAndTypes.ApproveAgentReq", "name": "req", "type": "tuple" } ], "name": "approveAgent", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "components": [ { "internalType": "address", "name": "root", "type": "address" }, { "internalType": "uint8", "name": "accountId", "type": "uint8" }, { "internalType": "address", "name": "agent", "type": "address" }, { "internalType": "uint64", "name": "expiry", "type": "uint64" }, { "internalType": "uint64", "name": "nonce", "type": "uint64" } ], "internalType": "struct IRouterEventsAndTypes.ApproveAgentMessage", "name": "data", "type": "tuple" }, { "internalType": "bytes", "name": "signature", "type": "bytes" } ], "name": "approveAgent", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "components": [ { "internalType": "address", "name": "root", "type": "address" }, { "internalType": "TokenId", "name": "tokenId", "type": "uint16" }, { "internalType": "uint64", "name": "nonce", "type": "uint64" } ], "internalType": "struct IRouterEventsAndTypes.CancelVaultWithdrawalMessage", "name": "message", "type": "tuple" }, { "internalType": "bytes", "name": "signature", "type": "bytes" } ], "name": "cancelVaultWithdrawal", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "intentHash", "type": "bytes32" } ], "name": "isIntentExecuted", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "components": [ { "internalType": "address", "name": "root", "type": "address" }, { "internalType": "TokenId", "name": "tokenId", "type": "uint16" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "uint64", "name": "nonce", "type": "uint64" } ], "internalType": "struct IRouterEventsAndTypes.RequestVaultWithdrawalMessage", "name": "message", "type": "tuple" }, { "internalType": "bytes", "name": "signature", "type": "bytes" } ], "name": "requestVaultWithdrawal", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "components": [ { "internalType": "address", "name": "root", "type": "address" }, { "internalType": "uint8", "name": "accountId", "type": "uint8" }, { "internalType": "address[]", "name": "agents", "type": "address[]" } ], "internalType": "struct IRouterEventsAndTypes.RevokeAgentsReq", "name": "req", "type": "tuple" } ], "name": "revokeAgent", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "components": [ { "internalType": "address", "name": "root", "type": "address" }, { "internalType": "uint8", "name": "accountId", "type": "uint8" }, { "internalType": "address[]", "name": "agents", "type": "address[]" }, { "internalType": "uint64", "name": "nonce", "type": "uint64" } ], "internalType": "struct IRouterEventsAndTypes.RevokeAgentsMessage", "name": "data", "type": "tuple" }, { "internalType": "bytes", "name": "signature", "type": "bytes" } ], "name": "revokeAgent", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "components": [ { "internalType": "address", "name": "root", "type": "address" }, { "internalType": "uint8", "name": "accountId", "type": "uint8" }, { "internalType": "address", "name": "accManager", "type": "address" }, { "internalType": "uint64", "name": "nonce", "type": "uint64" } ], "internalType": "struct IRouterEventsAndTypes.SetAccManagerMessage", "name": "data", "type": "tuple" }, { "internalType": "bytes", "name": "signature", "type": "bytes" } ], "name": "setAccManager", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "signer", "type": "address" } ], "name": "signerNonce", "outputs": [ { "internalType": "uint64", "name": "", "type": "uint64" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "components": [ { "internalType": "address", "name": "root", "type": "address" }, { "internalType": "uint8", "name": "accountId", "type": "uint8" }, { "internalType": "TokenId", "name": "tokenId", "type": "uint16" }, { "internalType": "MarketId", "name": "marketId", "type": "uint24" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "bool", "name": "isDeposit", "type": "bool" }, { "internalType": "uint64", "name": "nonce", "type": "uint64" } ], "internalType": "struct IRouterEventsAndTypes.SubaccountTransferMessage", "name": "message", "type": "tuple" }, { "internalType": "bytes", "name": "signature", "type": "bytes" } ], "name": "subaccountTransfer", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "Account[]", "name": "accounts", "type": "bytes21[]" }, { "internalType": "address[]", "name": "agents", "type": "address[]" } ], "name": "systemRevokeAgent", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "components": [ { "internalType": "address", "name": "root", "type": "address" }, { "internalType": "uint8", "name": "accountId", "type": "uint8" }, { "internalType": "TokenId", "name": "tokenId", "type": "uint16" }, { "internalType": "MarketId", "name": "marketId", "type": "uint24" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "uint64", "name": "nonce", "type": "uint64" } ], "internalType": "struct IRouterEventsAndTypes.VaultDepositMessage", "name": "message", "type": "tuple" }, { "internalType": "bytes", "name": "signature", "type": "bytes" } ], "name": "vaultDeposit", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "components": [ { "internalType": "address", "name": "root", "type": "address" }, { "internalType": "TokenId", "name": "tokenId", "type": "uint16" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "uint64", "name": "nonce", "type": "uint64" } ], "internalType": "struct IRouterEventsAndTypes.VaultPayTreasuryMessage", "name": "message", "type": "tuple" }, { "internalType": "bytes", "name": "signature", "type": "bytes" } ], "name": "vaultPayTreasury", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ], "bytecode": "0x", "deployedBytecode": "0x", "linkReferences": {}, "deployedLinkReferences": {} } declare module "@nomicfoundation/hardhat-viem/types" { export function deployContract( contractName: "IAuthModule", constructorArgs?: [], config?: DeployContractConfig ): Promise>; export function deployContract( contractName: "contracts/interfaces/IAuthModule.sol:IAuthModule", constructorArgs?: [], config?: DeployContractConfig ): Promise>; export function sendDeploymentTransaction( contractName: "IAuthModule", constructorArgs?: [], config?: SendDeploymentTransactionConfig ): Promise<{ contract: GetContractReturnType; deploymentTransaction: GetTransactionReturnType; }>; export function sendDeploymentTransaction( contractName: "contracts/interfaces/IAuthModule.sol:IAuthModule", constructorArgs?: [], config?: SendDeploymentTransactionConfig ): Promise<{ contract: GetContractReturnType; deploymentTransaction: GetTransactionReturnType; }>; export function getContractAt( contractName: "IAuthModule", address: Address, config?: GetContractAtConfig ): Promise>; export function getContractAt( contractName: "contracts/interfaces/IAuthModule.sol:IAuthModule", address: Address, config?: GetContractAtConfig ): Promise>; }