You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An optional value lpConduit can be passed in the CrocLpOpts opts param of LP functions (mintAmbient, mintConc, burnAmbient, etc.). lpConduit is already a defined parameter at the smart contract level, but functionality is not exposed to the SDK.
Actual Behavior
Currently, lpConduit is hardcoded as AddressZero prior to encoding, so an LP conduit contract address can never be utilized.
Expected Behavior
An optional value
lpConduit
can be passed in theCrocLpOpts opts
param of LP functions (mintAmbient, mintConc, burnAmbient, etc.).lpConduit
is already a defined parameter at the smart contract level, but functionality is not exposed to the SDK.Actual Behavior
Currently,
lpConduit
is hardcoded asAddressZero
prior to encoding, so an LP conduit contract address can never be utilized.Steps to Reproduce the Problem
await croc.poolEth(USDC).mintAmbientQuote(50, [0.0001, 0.001], { lpConduit: SOME_LP_CONDUIT_ADDRESS })
Specifications
The text was updated successfully, but these errors were encountered: