From 0586a09161250c1f96a2b237a717510b219c060c Mon Sep 17 00:00:00 2001 From: surbhi Date: Tue, 11 Nov 2025 14:42:13 -0400 Subject: [PATCH] new contract naming update --- src/contracts/IPartyInfoABI.ts | 296 +++++++++++++++++++++++++++++++++ 1 file changed, 296 insertions(+) create mode 100644 src/contracts/IPartyInfoABI.ts diff --git a/src/contracts/IPartyInfoABI.ts b/src/contracts/IPartyInfoABI.ts new file mode 100644 index 0000000..d7ead43 --- /dev/null +++ b/src/contracts/IPartyInfoABI.ts @@ -0,0 +1,296 @@ +/* GENERATED FILE: DO NOT EDIT! */ + +const IPartyInfoABI = [ + { + "type": "function", + "name": "burnAmounts", + "inputs": [ + { + "name": "pool", + "type": "address", + "internalType": "contract IPartyPool" + }, + { + "name": "lpTokenAmount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "withdrawAmounts", + "type": "uint256[]", + "internalType": "uint256[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "burnSwapAmounts", + "inputs": [ + { + "name": "pool", + "type": "address", + "internalType": "contract IPartyPool" + }, + { + "name": "lpAmount", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "outputTokenIndex", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "amountOut", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "outFee", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "flashFee", + "inputs": [ + { + "name": "pool", + "type": "address", + "internalType": "contract IPartyPool" + }, + { + "name": "token", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "fee", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "maxFlashLoan", + "inputs": [ + { + "name": "pool", + "type": "address", + "internalType": "contract IPartyPool" + }, + { + "name": "token", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "mintAmounts", + "inputs": [ + { + "name": "pool", + "type": "address", + "internalType": "contract IPartyPool" + }, + { + "name": "lpTokenAmount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "depositAmounts", + "type": "uint256[]", + "internalType": "uint256[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "poolPrice", + "inputs": [ + { + "name": "pool", + "type": "address", + "internalType": "contract IPartyPool" + }, + { + "name": "quoteTokenIndex", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "int128", + "internalType": "int128" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "price", + "inputs": [ + { + "name": "pool", + "type": "address", + "internalType": "contract IPartyPool" + }, + { + "name": "baseTokenIndex", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "quoteTokenIndex", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "int128", + "internalType": "int128" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "swapMintAmounts", + "inputs": [ + { + "name": "pool", + "type": "address", + "internalType": "contract IPartyPool" + }, + { + "name": "inputTokenIndex", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "maxAmountIn", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "amountInUsed", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "lpMinted", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "inFee", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "swapToLimitAmounts", + "inputs": [ + { + "name": "pool", + "type": "address", + "internalType": "contract IPartyPool" + }, + { + "name": "inputTokenIndex", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "outputTokenIndex", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "limitPrice", + "type": "int128", + "internalType": "int128" + } + ], + "outputs": [ + { + "name": "amountIn", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "amountOut", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "inFee", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "working", + "inputs": [ + { + "name": "pool", + "type": "address", + "internalType": "contract IPartyPool" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + } +] as const; + +export default IPartyInfoABI;