mirror of
https://github.com/Instadapp/smart-contract.git
synced 2024-07-29 22:08:07 +00:00
address update
This commit is contained in:
parent
9e36792001
commit
53f68c8c9d
|
@ -170,7 +170,7 @@ contract Helpers is DSMath {
|
|||
* @dev get admin address
|
||||
*/
|
||||
function getAddressSplitSwap() public pure returns (address payable splitSwap) {
|
||||
splitSwap = 0xdAA26F94C5185538830A84eF3B533743afD4baad;
|
||||
splitSwap = 0x4E4E2c3daCE2dF4c516300F4fB0729d6ac778b49;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -300,7 +300,7 @@ contract SplitResolver is SplitHelper {
|
|||
}
|
||||
|
||||
|
||||
contract SplitSwap is SplitResolver {
|
||||
contract Swap is SplitResolver {
|
||||
|
||||
function ethToDaiSwap(uint splitAmt, uint slippageAmt) public payable returns (uint destAmt) { // srcAmt = msg.value
|
||||
require(maxSplitAmtEth >= splitAmt, "split amt > max");
|
||||
|
@ -325,7 +325,7 @@ contract SplitSwap is SplitResolver {
|
|||
}
|
||||
|
||||
|
||||
contract InstaSwap is SplitSwap {
|
||||
contract SplitSwap is Swap {
|
||||
|
||||
constructor() public {
|
||||
setAllowance(TokenInterface(daiAddr), eth2daiAddr);
|
||||
|
|
Loading…
Reference in New Issue
Block a user