diff --git a/sdks/universal-router-sdk/src/utils/routerCommands.ts b/sdks/universal-router-sdk/src/utils/routerCommands.ts index 27e8988f3..0000042d9 100644 --- a/sdks/universal-router-sdk/src/utils/routerCommands.ts +++ b/sdks/universal-router-sdk/src/utils/routerCommands.ts @@ -22,6 +22,10 @@ export enum CommandType { PERMIT2_TRANSFER_FROM_BATCH = 0x0d, BALANCE_CHECK_ERC20 = 0x0e, + V3_POSITION_MANAGER_PERMIT = 0x11, + V3_POSITION_MANAGER_CALL = 0x12, + V4_POSITION_CALL = 0x13, + EXECUTE_SUB_PLAN = 0x21, } @@ -60,6 +64,11 @@ const ABI_DEFINITION: { [key in CommandType]: string[] } = { [CommandType.TRANSFER]: ['address', 'address', 'uint256'], [CommandType.PAY_PORTION]: ['address', 'address', 'uint256'], [CommandType.BALANCE_CHECK_ERC20]: ['address', 'address', 'uint256'], + + // Position Actions + [CommandType.V3_POSITION_MANAGER_PERMIT]: ['bytes'], + [CommandType.V3_POSITION_MANAGER_CALL]: ['bytes'], + [CommandType.V4_POSITION_CALL]: ['bytes'], } export class RoutePlanner {