-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Open
Labels
BugSomething isn't workingSomething isn't workingTriageAwaiting team acknowledgementAwaiting team acknowledgement
Description
Is there an existing issue for this?
- I have searched the existing issues
Product
Other
Current Behavior
snippet from infinity-periphery
} else if (action == Actions.CL_BURN_POSITION) {
// Will automatically decrease liquidity to 0 if the position is not already empty.
(uint256 tokenId, uint128 amount0Min, uint128 amount1Min, bytes calldata hookData) =
params.decodeCLBurnParams();
_burn(tokenId, amount0Min, amount1Min, hookData);
return;
}
and I found the definition in CL_BURN_POSITION in ACTIONS_ABI is different
snippet from infinity-sdk
// 0x03
[ACTIONS.CL_BURN_POSITION]: parseAbiParameters([
'uint256 tokenId, PositionConfig config, uint128 amount0Min, uint128 amount1Min, bytes hookData',
...ABI_STRUCT_POSITION_CONFIG,
]),
Expected Behavior
remove PositionConfig
// 0x03
[ACTIONS.CL_BURN_POSITION]: parseAbiParameters([
'uint256 tokenId, uint128 amount0Min, uint128 amount1Min, bytes hookData',
...ABI_STRUCT_POSITION_CONFIG,
]),
Steps To Reproduce
checkout the infinity-periphery and infinity-sdk
Environment
noAnything else?
No response
nidemidovich and ChefJerry
Metadata
Metadata
Assignees
Labels
BugSomething isn't workingSomething isn't workingTriageAwaiting team acknowledgementAwaiting team acknowledgement