-
Notifications
You must be signed in to change notification settings - Fork 245
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pulls in changes from: * fb93dee (Istanbul) * 2bff3be (Istanbul) Also pulls in cosmetic / test updates from: * 48d34de (coverage) * 635dd96 (test) * a59fec6 (test) * ad46b86 (cosmetic) * 243d330 (coverage) Co-Authored-By: Brett Sun <[email protected]>
- Loading branch information
Showing
27 changed files
with
719 additions
and
372 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
pragma solidity 0.4.24; | ||
|
||
|
||
contract EthSender { | ||
function sendEth(address to) external payable { | ||
to.transfer(msg.value); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
pragma solidity 0.4.24; | ||
|
||
contract ProxyTargetWithoutFallback { | ||
event Pong(); | ||
|
||
function ping() external { | ||
emit Pong(); | ||
} | ||
} | ||
|
||
contract ProxyTargetWithFallback is ProxyTargetWithoutFallback { | ||
event ReceivedEth(); | ||
|
||
function () external payable { | ||
emit ReceivedEth(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
pragma solidity 0.4.24; | ||
|
||
import "../../common/DepositableDelegateProxy.sol"; | ||
|
||
|
||
contract DepositableDelegateProxyMock is DepositableDelegateProxy { | ||
address private implementationMock; | ||
|
||
function enableDepositsOnMock() external { | ||
setDepositable(true); | ||
} | ||
|
||
function setImplementationOnMock(address _implementationMock) external { | ||
implementationMock = _implementationMock; | ||
} | ||
|
||
function implementation() public view returns (address) { | ||
return implementationMock; | ||
} | ||
|
||
function proxyType() public pure returns (uint256 proxyTypeId) { | ||
return UPGRADEABLE; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.