mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
comment fix
This commit is contained in:
parent
9255d77140
commit
630f1c3d87
|
@ -18,7 +18,7 @@ abstract contract OneInchResolver is Helpers, Events {
|
||||||
/**
|
/**
|
||||||
* @dev 1inch API swap handler
|
* @dev 1inch API swap handler
|
||||||
* @param oneInchData - contains data returned from 1inch API. Struct defined in interfaces.sol
|
* @param oneInchData - contains data returned from 1inch API. Struct defined in interfaces.sol
|
||||||
* @param ftmAmt - Eth to swap for .value()
|
* @param ftmAmt - Ftm to swap for .value()
|
||||||
*/
|
*/
|
||||||
function oneInchSwap(OneInchData memory oneInchData, uint256 ftmAmt)
|
function oneInchSwap(OneInchData memory oneInchData, uint256 ftmAmt)
|
||||||
internal
|
internal
|
||||||
|
@ -83,7 +83,7 @@ abstract contract OneInchResolverHelpers is OneInchResolver {
|
||||||
|
|
||||||
abstract contract OneInch is OneInchResolverHelpers {
|
abstract contract OneInch is OneInchResolverHelpers {
|
||||||
/**
|
/**
|
||||||
* @dev Sell ETH/ERC20_Token using 1Inch.
|
* @dev Sell FTM/ERC20_Token using 1Inch.
|
||||||
* @notice Swap tokens from exchanges like kyber, 0x etc, with calculation done off-chain.
|
* @notice Swap tokens from exchanges like kyber, 0x etc, with calculation done off-chain.
|
||||||
* @param buyAddr The address of the token to buy.(For FTM: 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE)
|
* @param buyAddr The address of the token to buy.(For FTM: 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE)
|
||||||
* @param sellAddr The address of the token to sell.(For FTM: 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE)
|
* @param sellAddr The address of the token to sell.(For FTM: 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user