0xProject / 0x-launch-kit-frontend

Apache License 2.0
112 stars 207 forks source link

Fetch taker and maker fee from relayer #460

Closed mariano-aguero closed 5 years ago

mariano-aguero commented 5 years ago

Closes #373

In order to fetch MAKER_FEE and TAKER_FEE we need to pass a type of object OrderConfigRequest. This is a problem since the non-existence of an order does not allow us to obtain the configuration and save it in the store (using it in future opportunities) , and I had to do it on demand. I did not have much flexibility in some sectors due to the architecture already proposed by the application based on the use of constants. The file market_prices.ts was deleted because is not used. With this initial clarification I will add comments in the code...