From 3aaf6f06ad970b62c305f162edc848725f3d3d9a Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Tue, 12 May 2020 01:06:31 +0100 Subject: [PATCH] Add license header and clarify comment --- deposit_contract.sol | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/deposit_contract.sol b/deposit_contract.sol index d756c2524..013c133f8 100644 --- a/deposit_contract.sol +++ b/deposit_contract.sol @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 + pragma solidity ^0.6.0; // This interface is designed to be compatible with the Vyper version. @@ -18,11 +20,8 @@ interface IDepositContract { ) external payable; } -/* - * 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 and - * hence it may look a bit unintuitive to a reader well versed 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. contract DepositContract is IDepositContract { uint constant GWEI = 1e9;