mirror of
https://github.com/Instadapp/InstaContract.git
synced 2024-07-29 22:47:45 +00:00
Core contract: InstaBank.sol
This commit is contained in:
parent
67797af766
commit
def3d79a69
|
@ -53,22 +53,6 @@ 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 {
|
||||
|
||||
|
|
|
@ -53,22 +53,6 @@ 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 {
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user