Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Use AssetBuyer for orders with fees #561

Closed
wants to merge 1 commit into from
Closed

Conversation

dekz
Copy link
Member

@dekz dekz commented Jul 25, 2019

When fees exist on the order we use AssetBuyer to buy via the Forwarder rather than the Forwarder directly.

Fixes #557 0xProject/0x-launch-kit#22

Example Tx

Fees on MKR and fees on ZRX orders used to pay the fees.

Screen Shot 2019-07-25 at 3 10 52 pm

We're using AssetBuyer here for future proofing even though it makes an additional 2 requests for the order books. This will help when fees move from ZRX to another token rather than front end keeping a special cased list of ZRX orders.

@dekz dekz closed this Nov 28, 2019
@dekz dekz deleted the fix/fee-orders branch November 28, 2019 03:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Forwarder usage does not handle fees
1 participant