indentation

This commit is contained in:
Richa-iitr 2022-05-03 14:38:54 +05:30
parent 26e288a15f
commit f52927da71
4 changed files with 16 additions and 17 deletions

View File

@ -28,12 +28,12 @@ abstract contract UniswapResolver is Helpers, Events {
address _buyAddr,
address _sellAddr,
uint24 _fee,
uint256 _unitAmt,
uint256 _unitAmt,
uint256 _buyAmt,
uint256 _getId,
uint256 _setId
) external payable returns (string memory _eventName, bytes memory _eventParam) {
BuyInfo memory buyData = BuyInfo({
return _buy(BuyInfo({
buyAddr: _buyAddr,
sellAddr: _sellAddr,
fee: _fee,
@ -41,8 +41,7 @@ abstract contract UniswapResolver is Helpers, Events {
buyAmt: _buyAmt,
getId: _getId,
setId: _setId
});
return _buy(buyData);
}));
}
/**
@ -69,7 +68,7 @@ abstract contract UniswapResolver is Helpers, Events {
buyAddr: _buyAddr,
sellAddr: _sellAddr,
fee: _fee,
unitAmt: _unitAmt,
unitAmt: _unitAmt,
sellAmt: _sellAmt,
getId: _getId,
setId: _setId

View File

@ -28,7 +28,7 @@ abstract contract UniswapResolver is Helpers, Events {
address _buyAddr,
address _sellAddr,
uint24 _fee,
uint256 _unitAmt,
uint256 _unitAmt,
uint256 _buyAmt,
uint256 _getId,
uint256 _setId
@ -37,7 +37,7 @@ abstract contract UniswapResolver is Helpers, Events {
buyAddr: _buyAddr,
sellAddr: _sellAddr,
fee: _fee,
unitAmt: _unitAmt,
unitAmt: _unitAmt,
buyAmt: _buyAmt,
getId: _getId,
setId: _setId
@ -59,7 +59,7 @@ abstract contract UniswapResolver is Helpers, Events {
address _buyAddr,
address _sellAddr,
uint24 _fee,
uint256 _unitAmt,
uint256 _unitAmt,
uint256 _sellAmt,
uint256 _getId,
uint256 _setId
@ -68,7 +68,7 @@ abstract contract UniswapResolver is Helpers, Events {
buyAddr: _buyAddr,
sellAddr: _sellAddr,
fee: _fee,
unitAmt: _unitAmt,
unitAmt: _unitAmt,
sellAmt: _sellAmt,
getId: _getId,
setId: _setId

View File

@ -28,7 +28,7 @@ abstract contract UniswapResolver is Helpers, Events {
address _buyAddr,
address _sellAddr,
uint24 _fee,
uint256 _unitAmt,
uint256 _unitAmt,
uint256 _buyAmt,
uint256 _getId,
uint256 _setId
@ -37,7 +37,7 @@ abstract contract UniswapResolver is Helpers, Events {
buyAddr: _buyAddr,
sellAddr: _sellAddr,
fee: _fee,
unitAmt: _unitAmt,
unitAmt: _unitAmt,
buyAmt: _buyAmt,
getId: _getId,
setId: _setId
@ -59,7 +59,7 @@ abstract contract UniswapResolver is Helpers, Events {
address _buyAddr,
address _sellAddr,
uint24 _fee,
uint256 _unitAmt,
uint256 _unitAmt,
uint256 _sellAmt,
uint256 _getId,
uint256 _setId
@ -68,7 +68,7 @@ abstract contract UniswapResolver is Helpers, Events {
buyAddr: _buyAddr,
sellAddr: _sellAddr,
fee: _fee,
unitAmt: _unitAmt,
unitAmt: _unitAmt,
sellAmt: _sellAmt,
getId: _getId,
setId: _setId

View File

@ -27,7 +27,7 @@ abstract contract UniswapResolver is Helpers, Events {
address _buyAddr,
address _sellAddr,
uint24 _fee,
uint256 _unitAmt,
uint256 _unitAmt,
uint256 _buyAmt,
uint256 _getId,
uint256 _setId
@ -36,7 +36,7 @@ abstract contract UniswapResolver is Helpers, Events {
buyAddr: _buyAddr,
sellAddr: _sellAddr,
fee: _fee,
unitAmt: _unitAmt,
unitAmt: _unitAmt,
buyAmt: _buyAmt,
getId: _getId,
setId: _setId
@ -59,7 +59,7 @@ abstract contract UniswapResolver is Helpers, Events {
address _buyAddr,
address _sellAddr,
uint24 _fee,
uint256 _unitAmt,
uint256 _unitAmt,
uint256 _sellAmt,
uint256 _getId,
uint256 _setId
@ -68,7 +68,7 @@ abstract contract UniswapResolver is Helpers, Events {
buyAddr: _buyAddr,
sellAddr: _sellAddr,
fee: _fee,
unitAmt: _unitAmt,
unitAmt: _unitAmt,
sellAmt: _sellAmt,
getId: _getId,
setId: _setId