Skip to content

Latest commit

 

History

History
295 lines (268 loc) · 9.94 KB

ISovrynSwapNetwork.md

File metadata and controls

295 lines (268 loc) · 9.94 KB

ISovrynSwapNetwork.sol

View Source: contracts/swaps/connectors/interfaces/ISovrynSwapNetwork.sol

ISovrynSwapNetwork contract

Functions


convertByPath

function convertByPath(IERC20[] _path, uint256 _amount, uint256 _minReturn, address _beneficiary, address _affiliateAccount, uint256 _affiliateFee) external payable
returns(uint256)

Arguments

Name Type Description
_path IERC20[]
_amount uint256
_minReturn uint256
_beneficiary address
_affiliateAccount address
_affiliateFee uint256
Source Code
function convertByPath(
        IERC20[] calldata _path,
        uint256 _amount,
        uint256 _minReturn,
        address _beneficiary,
        address _affiliateAccount,
        uint256 _affiliateFee
    ) external payable returns (uint256);

rateByPath

function rateByPath(IERC20[] _path, uint256 _amount) external view
returns(uint256)

Arguments

Name Type Description
_path IERC20[]
_amount uint256
Source Code
function rateByPath(IERC20[] calldata _path, uint256 _amount) external view returns (uint256);

conversionPath

function conversionPath(IERC20 _sourceToken, IERC20 _targetToken) external view
returns(contract IERC20[])

Arguments

Name Type Description
_sourceToken IERC20
_targetToken IERC20
Source Code
function conversionPath(IERC20 _sourceToken, IERC20 _targetToken)
        external
        view
        returns (IERC20[] memory);

Contracts