Starting from scratch.

This commit is contained in:
Sowmayjain 2019-01-24 04:45:25 +05:30
parent def3d79a69
commit e970138500
2 changed files with 32 additions and 0 deletions

View File

@ -53,6 +53,22 @@ interface WETHFace {
function withdraw(uint wad) external;
}
interface InstaKyber {
function executeTrade(
address src,
address dest,
uint srcAmt,
uint minConversionRate,
uint maxDestAmt
) external payable returns (uint destAmt);
function getExpectedPrice(
address src,
address dest,
uint srcAmt
) external view returns (uint, uint);
}
contract Registry {

View File

@ -53,6 +53,22 @@ interface WETHFace {
function withdraw(uint wad) external;
}
interface InstaKyber {
function executeTrade(
address src,
address dest,
uint srcAmt,
uint minConversionRate,
uint maxDestAmt
) external payable returns (uint destAmt);
function getExpectedPrice(
address src,
address dest,
uint srcAmt
) external view returns (uint, uint);
}
contract Registry {