add SPDX header to integration contracts

Signed-off-by: xermicus <cyrill@parity.io>
This commit is contained in:
xermicus
2024-04-18 12:30:09 +02:00
parent b208daed7e
commit 21dd0abb8a
6 changed files with 14 additions and 5 deletions
+5 -4
View File
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
// https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v3.0.0/contracts/token/ERC20/IERC20.sol
@@ -9,7 +10,10 @@ interface IERC20 {
function transfer(address recipient, uint amount) external returns (bool);
function allowance(address owner, address spender) external view returns (uint);
function allowance(
address owner,
address spender
) external view returns (uint);
function approve(address spender, uint amount) external returns (bool);
@@ -23,9 +27,6 @@ interface IERC20 {
event Approval(address indexed owner, address indexed spender, uint value);
}
contract ERC20 is IERC20 {
uint public totalSupply;
mapping(address => uint) public balanceOf;
+2 -1
View File
@@ -1,4 +1,5 @@
// Source:
// SPDX-License-Identifier: UNLICENSED
// https://medium.com/coinmonks/fibonacci-in-solidity-8477d907e22a
contract FibonacciRecursive {
+2
View File
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT
contract MSize {
uint[] public data;
+2
View File
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT
contract Value {
function value() public payable returns (uint ret) {
ret = msg.value;
+2
View File
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT
contract MStore8 {
function mStore8(uint value) public pure returns (uint256 word) {
assembly {
+1
View File
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-2-Clause
pragma solidity ^0.8.4;
contract SHA1 {