Skip to content

Commit 3797da5

Browse files
authored
Fix enum value of MultiplexSubcall in the encoder (0xProject#1272)
1 parent e16f0c6 commit 3797da5

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

src/asset-swapper/quote_consumers/multiplex_encoders.ts

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@ import { OtcOrder, RfqOrder, SIGNATURE_ABI } from '@0x/protocol-utils';
22
import { AbiEncoder } from '@0x/utils';
33

44
export enum MultiplexSubcall {
5-
Invalid,
6-
Rfq,
7-
Otc,
8-
UniswapV2,
9-
UniswapV3,
10-
TransformERC20,
11-
BatchSell,
12-
MultiHopSell,
5+
Invalid = 0,
6+
Rfq = 1,
7+
Otc = 2,
8+
UniswapV2 = 3,
9+
UniswapV3 = 4,
10+
LiquidityProvider = 5,
11+
TransformERC20 = 6,
12+
BatchSell = 7,
13+
MultiHopSell = 8,
1314
}
1415
export const multiplexTransformERC20Encoder = AbiEncoder.create([
1516
{

0 commit comments

Comments
 (0)