mirror of
https://github.com/Instadapp/InstaContract.git
synced 2024-07-29 22:47:45 +00:00
Starting from scratch.
This commit is contained in:
parent
def3d79a69
commit
e970138500
|
|
@ -53,6 +53,22 @@ interface WETHFace {
|
||||||
function withdraw(uint wad) external;
|
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 {
|
contract Registry {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -53,6 +53,22 @@ interface WETHFace {
|
||||||
function withdraw(uint wad) external;
|
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 {
|
contract Registry {
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user