diff --git a/contracts/v1/protocols/MakerDAO/InstaMaker.sol b/contracts/v1/protocols/MakerDAO/InstaMaker.sol index de0fac6..cde1a33 100644 --- a/contracts/v1/protocols/MakerDAO/InstaMaker.sol +++ b/contracts/v1/protocols/MakerDAO/InstaMaker.sol @@ -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 { diff --git a/contracts/v2/InstaBank.sol b/contracts/v2/InstaBank.sol index de0fac6..cde1a33 100644 --- a/contracts/v2/InstaBank.sol +++ b/contracts/v2/InstaBank.sol @@ -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 {