Add license header and clarify comment

This commit is contained in:
Alex Beregszaszi 2020-05-12 01:06:31 +01:00
parent 2000988671
commit 3aaf6f06ad
1 changed files with 4 additions and 5 deletions

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity ^0.6.0; pragma solidity ^0.6.0;
// This interface is designed to be compatible with the Vyper version. // This interface is designed to be compatible with the Vyper version.
@ -18,11 +20,8 @@ interface IDepositContract {
) external payable; ) external payable;
} }
/* // This is a rewrite of the Vyper Eth2.0 deposit contract in Solidity.
* This is a rewrite of the Vyper Eth2.0 deposit contract in Solidity. // It tries to stay as close as possible to the original source code.
* It tries to stay as close as possible to the original source code and
* hence it may look a bit unintuitive to a reader well versed in Solidity.
*/
contract DepositContract is IDepositContract { contract DepositContract is IDepositContract {
uint constant GWEI = 1e9; uint constant GWEI = 1e9;