From ffde8ac919d18b2d220b38d3a9502a80fa48a864 Mon Sep 17 00:00:00 2001 From: Ethan Date: Sat, 30 Jan 2021 21:56:19 -0600 Subject: [PATCH] add semicolons after output parameters --- smart-contracts/interfaces.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/smart-contracts/interfaces.md b/smart-contracts/interfaces.md index 478134c..67df785 100644 --- a/smart-contracts/interfaces.md +++ b/smart-contracts/interfaces.md @@ -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, @@ -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, @@ -154,7 +154,7 @@ interface BPool { uint totalWeight, uint tokenAmountOut, uint swapFee - ) public pure returns (uint poolAmountIn) + ) public pure returns (uint poolAmountIn); } ``` @@ -181,7 +181,7 @@ interface ExchangeProxy { uint maxTotalAmountIn ) public payable - returns (uint totalAmountIn) + returns (uint totalAmountIn); function multihopBatchSwapExactIn( Swap[][] memory swapSequences, @@ -191,7 +191,7 @@ interface ExchangeProxy { uint minTotalAmountOut ) public payable - returns (uint totalAmountOut) + returns (uint totalAmountOut); function multihopBatchSwapExactOut( Swap[][] memory swapSequences, @@ -200,7 +200,7 @@ interface ExchangeProxy { uint maxTotalAmountIn ) public payable - returns (uint totalAmountIn) + returns (uint totalAmountIn); function smartSwapExactIn( TokenInterface tokenIn, @@ -210,7 +210,7 @@ interface ExchangeProxy { uint nPools ) public payable - returns (uint totalAmountOut) + returns (uint totalAmountOut); function smartSwapExactOut( TokenInterface tokenIn, @@ -220,7 +220,7 @@ interface ExchangeProxy { uint nPools ) public payable - returns (uint totalAmountIn) + returns (uint totalAmountIn); function viewSplitExactIn( address tokenIn, @@ -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, @@ -238,7 +238,7 @@ interface ExchangeProxy { uint nPools ) public view - returns (Swap[] memory swaps, uint totalOutput) + returns (Swap[] memory swaps, uint totalOutput); } ```