Skip to content

Commit

Permalink
mark stdlib apache2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
axic committed Dec 16, 2020
1 parent 58042aa commit 33435e8
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions stdlib/assembly.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: Apache-2.0

// These are the helpers from:
// https://github.com/ethereum/solidity/issues/1319
// https://github.com/ethereum/solidity/issues/7317
Expand Down
2 changes: 2 additions & 0 deletions stdlib/blocktx.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: Apache-2.0

function blockhash(uint blockNumber) returns (bytes32 ret) {
assembly {
ret := blockhash(blockNumber)
Expand Down
2 changes: 2 additions & 0 deletions stdlib/contract.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: Apache-2.0

// Implements the following issues:
// - https://github.com/ethereum/solidity/issues/3044
// - https://github.com/ethereum/solidity/issues/4910
Expand Down
2 changes: 2 additions & 0 deletions stdlib/contract_test.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: Apache-2.0

import "./contract.sol";

contract C {
Expand Down
2 changes: 2 additions & 0 deletions stdlib/errors.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: Apache-2.0

function revert() {
assembly {
revert(0, 0)
Expand Down
2 changes: 2 additions & 0 deletions stdlib/globals.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: Apache-2.0

//import ecrecover from std;
//import sha256 from std;
//import chainid from std;
Expand Down

0 comments on commit 33435e8

Please sign in to comment.