mirror of
https://github.com/cerc-io/watcher-ts
synced 2025-01-23 03:29:05 +00:00
Link to original code/license for reused source (#214)
This commit is contained in:
parent
eb912b7f68
commit
ec92779c4e
@ -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;
|
pragma solidity >=0.4.22 <0.8.0;
|
||||||
|
|
||||||
contract Lighthouse {
|
contract Lighthouse {
|
||||||
@ -28,6 +33,6 @@ contract Lighthouse {
|
|||||||
require(msg.sender == owner);
|
require(msg.sender == owner);
|
||||||
recipient.transfer(amount);
|
recipient.transfer(amount);
|
||||||
}
|
}
|
||||||
|
|
||||||
fallback () external payable {}
|
fallback () external payable {}
|
||||||
}
|
}
|
||||||
|
@ -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;
|
pragma solidity =0.7.6;
|
||||||
|
|
||||||
import '@uniswap/v3-core/contracts/interfaces/IERC20Minimal.sol';
|
import '@uniswap/v3-core/contracts/interfaces/IERC20Minimal.sol';
|
||||||
|
@ -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;
|
pragma solidity =0.7.6;
|
||||||
|
|
||||||
import '@uniswap/v3-core/contracts/interfaces/IERC20Minimal.sol';
|
import '@uniswap/v3-core/contracts/interfaces/IERC20Minimal.sol';
|
||||||
|
Loading…
Reference in New Issue
Block a user