mirror of
https://github.com/Instadapp/InstaContract.git
synced 2024-07-29 22:47:45 +00:00
Optimised the code.
This commit is contained in:
parent
489eabdce1
commit
d12de296ac
|
@ -52,8 +52,7 @@ contract Trade is Registry {
|
||||||
address dest,
|
address dest,
|
||||||
uint destAmt,
|
uint destAmt,
|
||||||
address beneficiary,
|
address beneficiary,
|
||||||
uint minConversionRate,
|
uint minConversionRate
|
||||||
address affiliate
|
|
||||||
);
|
);
|
||||||
|
|
||||||
function approveDAIKyber() public {
|
function approveDAIKyber() public {
|
||||||
|
@ -85,7 +84,7 @@ contract Trade is Registry {
|
||||||
);
|
);
|
||||||
|
|
||||||
emit KyberTrade(
|
emit KyberTrade(
|
||||||
src, srcDAI, dest, destAmt, msg.sender, minConversionRate, getAddress("admin")
|
src, srcDAI, dest, destAmt, msg.sender, minConversionRate
|
||||||
);
|
);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user