generate-contracts sepolia

This commit is contained in:
tim
2025-11-02 18:08:37 -04:00
parent a30c8f866c
commit 41d0336aed
3 changed files with 70 additions and 27 deletions

View File

@@ -11,11 +11,6 @@ const IPartyPoolABI = [
"type": "tuple",
"internalType": "struct LMSRStabilized.State",
"components": [
{
"name": "nAssets",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "kappa",
"type": "int128",
@@ -183,7 +178,7 @@ const IPartyPoolABI = [
"internalType": "uint256"
},
{
"name": "inputTokenIndex",
"name": "outputTokenIndex",
"type": "uint256",
"internalType": "uint256"
},
@@ -240,6 +235,43 @@ const IPartyPoolABI = [
],
"stateMutability": "view"
},
{
"type": "function",
"name": "fee",
"inputs": [
{
"name": "i",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "j",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "fees",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256[]",
"internalType": "uint256[]"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "flashFeePpm",
@@ -526,7 +558,7 @@ const IPartyPoolABI = [
"internalType": "uint256"
},
{
"name": "fee",
"name": "inFee",
"type": "uint256",
"internalType": "uint256"
}
@@ -570,20 +602,7 @@ const IPartyPoolABI = [
"internalType": "uint256"
},
{
"name": "fee",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "swapFeePpm",
"inputs": [],
"outputs": [
{
"name": "",
"name": "inFee",
"type": "uint256",
"internalType": "uint256"
}
@@ -621,10 +640,20 @@ const IPartyPoolABI = [
}
],
"outputs": [
{
"name": "amountInUsed",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "lpMinted",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "inFee",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "payable"
@@ -681,7 +710,7 @@ const IPartyPoolABI = [
"internalType": "uint256"
},
{
"name": "fee",
"name": "inFee",
"type": "uint256",
"internalType": "uint256"
}

View File

@@ -40,7 +40,7 @@ const IPartyPoolViewerABI = [
"internalType": "uint256"
},
{
"name": "inputTokenIndex",
"name": "outputTokenIndex",
"type": "uint256",
"internalType": "uint256"
}
@@ -50,6 +50,11 @@ const IPartyPoolViewerABI = [
"name": "amountOut",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "outFee",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
@@ -235,12 +240,12 @@ const IPartyPoolViewerABI = [
"internalType": "uint256"
},
{
"name": "fee",
"name": "lpMinted",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "lpMinted",
"name": "inFee",
"type": "uint256",
"internalType": "uint256"
}
@@ -284,7 +289,7 @@ const IPartyPoolViewerABI = [
"internalType": "uint256"
},
{
"name": "fee",
"name": "inFee",
"type": "uint256",
"internalType": "uint256"
}