Skip to content

Commit

Permalink
Upgrade to OZ contracts v4.9.3 (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
julienbrg authored Sep 26, 2023
1 parent 0f455c3 commit 8eadfc6
Show file tree
Hide file tree
Showing 5 changed files with 8,265 additions and 12,656 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ Provide a coordination tool that fits the needs of everyday people. Orgs, federa
## Install

```js
npm i
pnpm install
```

## Test

```js
npx hardhat test
pnpm test
```

## Deploy
Expand All @@ -46,19 +46,19 @@ Add your own keys in your `.env` file.
Then deploy to Goerli:

```bash
npm run deploy:goerli
pnpm deploy:goerli
```

or deploy to Arthera

```bash
npm run deploy:arthera
pnpm deploy:arthera
```

or deploy to Optimism Goerli:

```bash
npm run deploy:og
pnpm deploy:og
```

Then you can interact with your DAO using [Tally](https://www.tally.xyz/).
Expand Down Expand Up @@ -100,9 +100,9 @@ The following functions are `onlyOwner`, and since the NFT contract ownership is

## Versions

- Node [v18.15.0](https://nodejs.org/uk/blog/release/v18.15.0/)
- NPM [v9.5.0](https://github.com/npm/cli/releases/tag/v9.5.0)
- OpenZeppelin Contracts [v4.8.0](https://github.com/OpenZeppelin/openzeppelin-contracts/releases/tag/v4.8.0)
- Node [v18.17.1](https://nodejs.org/uk/blog/release/v18.17.1/)
- pnpm [v6.28.0](https://pnpm.io/)
- OpenZeppelin Contracts [v4.9.3](https://github.com/OpenZeppelin/openzeppelin-contracts/releases/tag/v4.9.3)

## Support

Expand Down
7 changes: 6 additions & 1 deletion contracts/NFT.sol
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,12 @@ contract NFT is

function supportsInterface(
bytes4 interfaceId
) public view override(ERC721, ERC721Enumerable) returns (bool) {
)
public
view
override(ERC721, ERC721Enumerable, ERC721URIStorage)
returns (bool)
{
return super.supportsInterface(interfaceId);
}
}
Loading

0 comments on commit 8eadfc6

Please sign in to comment.