mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
20 lines
430 B
Solidity
20 lines
430 B
Solidity
|
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);
|
||
|
}
|