Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions smart-contracts/interfaces.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ interface BPool {
uint totalWeight,
uint poolAmountOut,
uint swapFee
) public pure returns (uint tokenAmountIn)
) public pure returns (uint tokenAmountIn);

function calcSingleOutGivenPoolIn(
uint tokenBalanceOut,
Expand All @@ -145,7 +145,7 @@ interface BPool {
uint totalWeight,
uint poolAmountIn,
uint swapFee
) public pure returns (uint tokenAmountOut)
) public pure returns (uint tokenAmountOut);

function calcPoolInGivenSingleOut(
uint tokenBalanceOut,
Expand All @@ -154,7 +154,7 @@ interface BPool {
uint totalWeight,
uint tokenAmountOut,
uint swapFee
) public pure returns (uint poolAmountIn)
) public pure returns (uint poolAmountIn);

}
```
Expand All @@ -181,7 +181,7 @@ interface ExchangeProxy {
uint maxTotalAmountIn
)
public payable
returns (uint totalAmountIn)
returns (uint totalAmountIn);

function multihopBatchSwapExactIn(
Swap[][] memory swapSequences,
Expand All @@ -191,7 +191,7 @@ interface ExchangeProxy {
uint minTotalAmountOut
)
public payable
returns (uint totalAmountOut)
returns (uint totalAmountOut);

function multihopBatchSwapExactOut(
Swap[][] memory swapSequences,
Expand All @@ -200,7 +200,7 @@ interface ExchangeProxy {
uint maxTotalAmountIn
)
public payable
returns (uint totalAmountIn)
returns (uint totalAmountIn);

function smartSwapExactIn(
TokenInterface tokenIn,
Expand All @@ -210,7 +210,7 @@ interface ExchangeProxy {
uint nPools
)
public payable
returns (uint totalAmountOut)
returns (uint totalAmountOut);

function smartSwapExactOut(
TokenInterface tokenIn,
Expand All @@ -220,7 +220,7 @@ interface ExchangeProxy {
uint nPools
)
public payable
returns (uint totalAmountIn)
returns (uint totalAmountIn);

function viewSplitExactIn(
address tokenIn,
Expand All @@ -229,7 +229,7 @@ interface ExchangeProxy {
uint nPools
)
public view
returns (Swap[] memory swaps, uint totalOutput)
returns (Swap[] memory swaps, uint totalOutput);

function viewSplitExactOut(
address tokenIn,
Expand All @@ -238,7 +238,7 @@ interface ExchangeProxy {
uint nPools
)
public view
returns (Swap[] memory swaps, uint totalOutput)
returns (Swap[] memory swaps, uint totalOutput);
}

```
Expand Down