Skip to content

Commit

Permalink
chore: using SPDX License Identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
wei3erHase committed May 16, 2024
1 parent 8c76c6c commit 449a1cc
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 91 deletions.
14 changes: 1 addition & 13 deletions src/contracts/BColor.sol
Original file line number Diff line number Diff line change
@@ -1,16 +1,4 @@
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.

// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.8.23;

Check warning on line 2 in src/contracts/BColor.sol

View workflow job for this annotation

GitHub Actions / Lint Commit Messages

Found more than one contract per file. 2 contracts found!

abstract contract BColor {
Expand Down
14 changes: 1 addition & 13 deletions src/contracts/BConst.sol
Original file line number Diff line number Diff line change
@@ -1,16 +1,4 @@
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.

// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.8.23;

import './BColor.sol';

Check warning on line 4 in src/contracts/BConst.sol

View workflow job for this annotation

GitHub Actions / Lint Commit Messages

global import of path ./BColor.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
Expand Down
14 changes: 1 addition & 13 deletions src/contracts/BFactory.sol
Original file line number Diff line number Diff line change
@@ -1,16 +1,4 @@
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is disstributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.

// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.8.23;

// Builds new BPools, logging their addresses and providing `isBPool(address) -> (bool)`
Expand Down
14 changes: 1 addition & 13 deletions src/contracts/BMath.sol
Original file line number Diff line number Diff line change
@@ -1,16 +1,4 @@
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.

// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.8.23;

import './BNum.sol';

Check warning on line 4 in src/contracts/BMath.sol

View workflow job for this annotation

GitHub Actions / Lint Commit Messages

global import of path ./BNum.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
Expand Down
14 changes: 1 addition & 13 deletions src/contracts/BNum.sol
Original file line number Diff line number Diff line change
@@ -1,16 +1,4 @@
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.

// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.8.23;

import './BConst.sol';
Expand Down
14 changes: 1 addition & 13 deletions src/contracts/BPool.sol
Original file line number Diff line number Diff line change
@@ -1,16 +1,4 @@
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.

// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.8.23;

import './BMath.sol';
Expand Down
14 changes: 1 addition & 13 deletions src/contracts/BToken.sol
Original file line number Diff line number Diff line change
@@ -1,16 +1,4 @@
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.

// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.8.23;

import './BNum.sol';
Expand Down

0 comments on commit 449a1cc

Please sign in to comment.