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,
|
||||
uint destAmt,
|
||||
address beneficiary,
|
||||
uint minConversionRate,
|
||||
address affiliate
|
||||
uint minConversionRate
|
||||
);
|
||||
|
||||
function approveDAIKyber() public {
|
||||
|
@ -85,7 +84,7 @@ contract Trade is Registry {
|
|||
);
|
||||
|
||||
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