Skip to content

Commit

Permalink
Fix all warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
rmeissner committed Oct 1, 2020
1 parent 53808ee commit 3bcdf1f
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 3 deletions.
14 changes: 14 additions & 0 deletions allowances/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Allowance module

## Getting started

```bash
yarn
yarn test
```

To only compile the contract use
```bash
yarn
yarn compile
```
1 change: 1 addition & 0 deletions allowances/contracts/AlowanceModule.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: LGPL-3.0-only
pragma solidity >=0.7.0 <0.8.0;

import "./Enum.sol";
Expand Down
2 changes: 1 addition & 1 deletion allowances/contracts/Enum.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: LGPL-3.0-only
pragma solidity >=0.7.0 <0.8.0;


/// @title Enum - Collection of enums
/// @author Richard Meissner - <[email protected]>
contract Enum {
Expand Down
3 changes: 2 additions & 1 deletion allowances/contracts/Migrations.sol
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
// SPDX-License-Identifier: LGPL-3.0-only
pragma solidity >=0.7.0 <0.8.0;

contract Migrations {
address public owner;
uint public last_completed_migration;

constructor() public {
constructor() {
owner = msg.sender;
}

Expand Down
2 changes: 1 addition & 1 deletion allowances/contracts/SignatureDecoder.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: LGPL-3.0-only
pragma solidity >=0.7.0 <0.8.0;


/// @title SignatureDecoder - Decodes signatures that a encoded as bytes
/// @author Ricardo Guilherme Schmidt (Status Research & Development GmbH)
/// @author Richard Meissner - <[email protected]>
Expand Down
1 change: 1 addition & 0 deletions allowances/contracts/test/TestToken.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: LGPL-3.0-only
pragma solidity >=0.7.0 <0.8.0;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
Expand Down

0 comments on commit 3bcdf1f

Please sign in to comment.