Link to original code/license for reused source (#214)

This commit is contained in:
Ashwin Phatak 2021-08-13 15:23:42 +05:30 committed by GitHub
parent eb912b7f68
commit ec92779c4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 3 deletions

View File

@ -1,3 +1,8 @@
// Original: https://github.com/nandit123/lighthouse/blob/master/contracts/Lighthouse.sol
// License:
// https://github.com/nandit123/lighthouse/blob/master/LICENSE-APACHE
// https://github.com/nandit123/lighthouse/blob/master/LICENSE-MIT
pragma solidity >=0.4.22 <0.8.0;
contract Lighthouse {
@ -28,6 +33,6 @@ contract Lighthouse {
require(msg.sender == owner);
recipient.transfer(amount);
}
fallback () external payable {}
}

View File

@ -1,4 +1,7 @@
// SPDX-License-Identifier: UNLICENSED
// Original: https://github.com/Uniswap/uniswap-v3-core/blob/main/contracts/test/TestERC20.sol
// Copyright 2021 Uniswap Labs
// LICENSE: https://github.com/Uniswap/uniswap-v3-core/blob/main/LICENSE
pragma solidity =0.7.6;
import '@uniswap/v3-core/contracts/interfaces/IERC20Minimal.sol';

View File

@ -1,4 +1,7 @@
// SPDX-License-Identifier: UNLICENSED
// Original: https://github.com/Uniswap/uniswap-v3-core/blob/main/contracts/test/TestUniswapV3Callee.sol
// Copyright 2021 Uniswap Labs
// LICENSE: https://github.com/Uniswap/uniswap-v3-core/blob/main/LICENSE
pragma solidity =0.7.6;
import '@uniswap/v3-core/contracts/interfaces/IERC20Minimal.sol';