Skip to content

Commit

Permalink
add to schema orderType field (#275)
Browse files Browse the repository at this point in the history
  • Loading branch information
blairmason authored Mar 8, 2024
1 parent f49b28c commit f268c92
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/stacks/analytics-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ enum RS_DATA_TYPES {
SLIPPAGE = 'float4',
UnitInETH = 'float8',
BOT_EVENT_TYPE = 'text', // 'fetch' || 'filter' || 'execution' || 'quote'
ORDER_TYPE = 'text', // 'Limit' || 'Dutch'
}

export interface AnalyticsStackProps extends cdk.NestedStackProps {
Expand Down Expand Up @@ -280,6 +281,7 @@ export class AnalyticsStack extends cdk.NestedStack {
{ name: 'outputEndAmount', dataType: RS_DATA_TYPES.UINT256 },
{ name: 'tokenOut', dataType: RS_DATA_TYPES.ADDRESS },
{ name: 'filler', dataType: RS_DATA_TYPES.ADDRESS },
{ name: 'orderType', dataType: RS_DATA_TYPES.ORDER_TYPE },
],
});

Expand Down

0 comments on commit f268c92

Please sign in to comment.