import { MarketOperation , RfqOrderFields , SwapQuote } from '@0x/asset-swapper' ; import { BigNumber , NULL_ADDRESS , NULL_BYTES } from '@0x/utils' ; export const rfqtIndicativeQuoteResponse = { makerAmount : '100000000000000000' , takerAmount : '100000000000000000' , makerToken : '0x871dd7c2b4b25e1aa18728e9d5f2af4c4e431f5c' , takerToken : '0x0b1ba0af832d7c05fd64161e0db78e85978e8082' , expiry : '1903620548' , } ; export const ganacheZrxWethRfqOrderExchangeProxy = { chainId : 1337 , verifyingContract : '0x48bacb9266a570d521063ef5dd96e61686dbe788' , maker : '0x5409ed021d9299bf6814279a6a1411a7e866a631' , makerAmount : new BigNumber ( '100000000000000000' ) , takerAmount : new BigNumber ( '100000000000000000' ) , expiry : new BigNumber ( '33122559973' ) , salt : new BigNumber ( '1586559973114' ) , makerToken : '0x871dd7c2b4b25e1aa18728e9d5f2af4c4e431f5c' , takerToken : '0x0b1ba0af832d7c05fd64161e0db78e85978e8082' , pool : NULL_BYTES , txOrigin : NULL_ADDRESS , taker : NULL_ADDRESS , } ; export const liquiditySources0xOnly = [ { name : '0x' , proportion : '1' } , { name : 'Uniswap' , proportion : '0' } , { name : 'Uniswap_V2' , proportion : '0' } , { name : 'Eth2Dai' , proportion : '0' } , { name : 'Kyber' , proportion : '0' } , { name : 'Curve' , proportion : '0' } , { name : 'LiquidityProvider' , proportion : '0' } , { name : 'MultiBridge' , proportion : '0' } , { name : 'Balancer' , proportion : '0' } , { name : 'CREAM' , proportion : '0' } , { name : 'Bancor' , proportion : '0' } , { name : 'mStable' , proportion : '0' } , { name : 'Mooniswap' , proportion : '0' } , { name : 'MultiHop' , proportion : '0' } , { name : 'Shell' , proportion : '0' } , { name : 'Swerve' , proportion : '0' } , { name : 'SnowSwap' , proportion : '0' } , { name : 'SushiSwap' , proportion : '0' } , { name : 'DODO' , proportion : '0' } , { name : 'CryptoCom' , proportion : '0' } , ] ; const bestCaseQuoteInfo = { feeTakerTokenAmount : new BigNumber ( '383288145500497440' ) , makerAmount : new BigNumber ( '213528060573258946' ) , gas : 3857345 , protocolFeeInWeiAmount : new BigNumber ( '569793054675519573' ) , takerAmount : new BigNumber ( '933887973800245567' ) , totalTakerAmount : new BigNumber ( '709708376093637456' ) , } ; export const randomSellQuote = { gasPrice : new BigNumber ( '201111549' ) , type : MarketOperation . Sell as MarketOperation . Sell , makerToken : '0xb9302bbc853c3e3480a1eefc2bb6bf4cdca809e6' , takerToken : '0x5471a5833768d1151d34701eba1c9123d1ba2f8a' , orders : [ ] , bestCaseQuoteInfo , worstCaseQuoteInfo : { feeTakerTokenAmount : new BigNumber ( '556208982260696635' ) , makerAmount : new BigNumber ( '195425597817301501' ) , gas : 277671 , protocolFeeInWeiAmount : new BigNumber ( '526097088876239888' ) , takerAmount : new BigNumber ( '227180691057406275' ) , totalTakerAmount : new BigNumber ( '858719009621193719' ) , } , sourceBreakdown : { } , takerTokenFillAmount : new BigNumber ( '401019713908867904' ) , isTwoHop : false , makerTokenDecimals : 18 , takerTokenDecimals : 18 , takerAmountPerEth : new BigNumber ( 0 ) , makerAmountPerEth : new BigNumber ( 0 ) , } ;