Add marginal price capability and update integration tests
Balancer now passes the test Some misc aesthetics
This commit is contained in:
@@ -33,7 +33,11 @@ interface ISwapAdapterTypes {
|
||||
ScaledPrices,
|
||||
// Indicates that if we try to go over the sell limits, the pool will
|
||||
// revert (optional)
|
||||
HardLimits
|
||||
HardLimits,
|
||||
// Indicates whether the pool's price function can be called with
|
||||
// amountIn=0 to return the
|
||||
// current price (optional)
|
||||
MarginalPrice
|
||||
}
|
||||
|
||||
/// @dev Representation used for rational numbers such as prices.
|
||||
|
||||
Reference in New Issue
Block a user