dsa-connectors/contracts/mainnet/connectors/kyber/kyber_v2/interface.sol
2023-06-13 13:24:06 -04:00

21 lines
461 B
Solidity

//SPDX-License-Identifier: MIT
pragma solidity ^0.7.0;
interface KyberInterface {
function trade(
address src,
uint srcAmount,
address dest,
address destAddress,
uint maxDestAmount,
uint minConversionRate,
address walletId
) external payable returns (uint);
function getExpectedRate(
address src,
address dest,
uint srcQty
) external view returns (uint, uint);
}