native currency fixes

This commit is contained in:
tim
2025-10-14 21:13:38 -04:00
parent 96535ed005
commit 7ac4cdc8f6
3 changed files with 632 additions and 0 deletions

View File

@@ -37,6 +37,8 @@ contract PartyPool is PartyPoolBase, ERC20External, IPartyPool {
using LMSRStabilized for LMSRStabilized.State;
using SafeERC20 for IERC20;
receive() external payable {}
function wrapperToken() external view returns (IWETH9) { return WRAPPER_TOKEN; }
/// @notice Liquidity parameter κ (Q64.64) used by the LMSR kernel: b = κ * S(q)