This repository has been archived by the owner on Jul 9, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 465
@0x/contracts-erc20-bridge-sampler
: Generic liquidity provider sampling
#2487
Merged
moodlezoup
merged 2 commits into
development
from
feature/erc20-bridge-sampler/liquidity-provider
Feb 26, 2020
Merged
@0x/contracts-erc20-bridge-sampler
: Generic liquidity provider sampling
#2487
moodlezoup
merged 2 commits into
development
from
feature/erc20-bridge-sampler/liquidity-provider
Feb 26, 2020
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
moodlezoup
force-pushed
the
feature/erc20-bridge-sampler/liquidity-provider
branch
2 times, most recently
from
February 19, 2020 23:42
a9ca4fd
to
055dedd
Compare
moodlezoup
changed the title
Add methods to Sampler contract to plug into generic on-chain liquidi…
Feb 19, 2020
@0x/contracts-erc20-bridge-sampler
: Generic liquidity provider sampling
hysz
reviewed
Feb 20, 2020
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! Just left a few minor questions & suggestions.
contracts/erc20-bridge-sampler/contracts/src/ERC20BridgeSampler.sol
Outdated
Show resolved
Hide resolved
contracts/erc20-bridge-sampler/contracts/src/ERC20BridgeSampler.sol
Outdated
Show resolved
Hide resolved
contracts/erc20-bridge-sampler/contracts/src/ERC20BridgeSampler.sol
Outdated
Show resolved
Hide resolved
I noticed that IERC20BridgeSampler was not amended to implement the new functions ( |
moodlezoup
force-pushed
the
feature/erc20-bridge-sampler/liquidity-provider
branch
from
February 21, 2020 21:57
055dedd
to
11f3ff1
Compare
moodlezoup
force-pushed
the
feature/erc20-bridge-sampler/liquidity-provider
branch
2 times, most recently
from
February 21, 2020 22:01
9a97717
to
a9c8787
Compare
dorothy-zbornak
approved these changes
Feb 21, 2020
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 ༼ ͠° ͟ ͟ʖ ͡° ༽ 👍
hysz
approved these changes
Feb 26, 2020
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Merge it (~‾▿‾)~
moodlezoup
force-pushed
the
feature/erc20-bridge-sampler/liquidity-provider
branch
from
February 26, 2020 18:46
a9c8787
to
76491fa
Compare
moodlezoup
deleted the
feature/erc20-bridge-sampler/liquidity-provider
branch
February 26, 2020 19:54
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Introduces
ILiquidityProvider
, a common interface that external teams can implement so that their on-chain liquidity can be easily integrated into the bridge sampler contract and thereby 0x API.Adds quote-sampling methods to
ERC20BridgeSampler
to work with this new interface.Testing instructions
Types of changes
Checklist:
[WIP]
if necessary.