import { OrderConfigRequest , OrderConfigResponse } from '@0x/connect' ; import { FEE_RECIPIENT , MAKER_FEE_ASSET_DATA , MAKER_FEE_UNIT_AMOUNT , TAKER_FEE_ASSET_DATA , TAKER_FEE_UNIT_AMOUNT , } from './config' ; import { NULL_ADDRESS } from './constants' ; export const fixedFeeStrategy = { getOrderConfig : ( _order ) : OrderConfigResponse => { const normalizedFeeRecipient = FEE_RECIPIENT . toLowerCase ( ) ; const orderConfigResponse = { senderAddress : NULL_ADDRESS , feeRecipientAddress : normalizedFeeRecipient , makerFee : MAKER_FEE_UNIT_AMOUNT , takerFee : TAKER_FEE_UNIT_AMOUNT , makerFeeAssetData : MAKER_FEE_ASSET_DATA , takerFeeAssetData : TAKER_FEE_ASSET_DATA , } ; return orderConfigResponse ; } , } ;