-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create MarketPriceSelection
component
#496
Comments
The Question: Is my task just to pass a third property in the object parameter, i.e. |
As seen in the mock, we have the |
Very good question that I missed. I think we have to reapply calculation of the profits (basically all rows below marketUnitPrice: BigNumber
suggestedMarketId: 'Uniswap v3'
marketData: {
"Uniswap v3": {
marketUnitPrice: BigNumber,
route: string[],
transactionGrossProfit: BigNumber,
transactionGrossProfitDate: Date,
transactionNetProfit: BigNumber,
// etc
},
"Uniswap v2": {
marketUnitPrice: BigNumber,
route: string[],
transactionGrossProfit: BigNumber,
transactionGrossProfitDate: Date,
transactionNetProfit: BigNumber,
// etc
},
}
}, |
Yes, you need to pass is to the |
Should the |
yes, since this parameter also depends on the |
Goal
Modify UI elements to support multiple callees
Context
As part of our liquidity sources stream we decided to implement multi callee support. For background discussions and overall concept please read #374
This issue tackles all of the required adjustments to the UI in order to finally enable the new feature
Tasks
Auction
type to contain new keys (see E below for a proposal)marketData
andsuggestedMarketId
are the new keys to be introducedunitPrice
can also benew BigNumber(NaN)
)MarketPriceSelection
component as shown in the mockBasePanel
BigNumber.isNaN()
to be true for some markets (so they should display unknown and not be selectable)synced
propmarketId
to emit and receive currently selectedmarketId
suggestedMarketId
might change after the component render –> meaning thatsuggestedMarketId
changesmarketId
(suggestedMarketId
if none selected) to thebidWithCallee
actionAssets
Mock:
E:
The text was updated successfully, but these errors were encountered: