Skip to content
This repository has been archived by the owner on Aug 27, 2020. It is now read-only.

Commit

Permalink
Add license header and clarify comment
Browse files Browse the repository at this point in the history
  • Loading branch information
axic committed May 12, 2020
1 parent 2000988 commit 3aaf6f0
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions deposit_contract.sol
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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;

Expand Down

0 comments on commit 3aaf6f0

Please sign in to comment.