Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency @openzeppelin/contracts to v5 - abandoned #572

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/contracts/contracts/DeepLink.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
pragma solidity ^0.8.20;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";
Expand All @@ -8,7 +8,7 @@ import "./abstracts/Linkable.sol";

/// @custom:security-contact [email protected]
contract DeepLink is ERC721, ERC721Burnable, Ownable, Linkable {
constructor() ERC721("DeepLink", "DLK") {}
constructor(address initialOwner) ERC721("DeepLink", "DLK") Ownable(initialOwner) {}

function _baseURI() internal pure override returns (string memory) {
return "https://link.sovereignnature.com/api/";
Expand Down
4 changes: 2 additions & 2 deletions apps/contracts/contracts/DeepLink1155.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
pragma solidity ^0.8.20;

import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
Expand All @@ -8,7 +8,7 @@ import "./abstracts/Linkable.sol";

/// @custom:security-contact [email protected]
contract DeepLink1155 is ERC1155, Ownable, ERC1155Burnable, Linkable {
constructor() ERC1155("https://link.sovereignnature.com/api/") {}
constructor(address initialOwner) ERC1155("https://link.sovereignnature.com/api/") Ownable(initialOwner) {}

function setURI(string memory newuri) public onlyOwner {
_setURI(newuri);
Expand Down
2 changes: 1 addition & 1 deletion apps/contracts/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import 'solidity-coverage';
dotenv.config();

const config: HardhatUserConfig = {
solidity: '0.8.9',
solidity: '0.8.20',
networks: {
// Moonbase Alpha network specification
moonbase: {
Expand Down
2 changes: 1 addition & 1 deletion apps/contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"devDependencies": {
"@nomicfoundation/hardhat-toolbox": "3.0.0",
"@openzeppelin/contracts": "4.9.3",
"@openzeppelin/contracts": "5.0.0",
"@sni/constants": "workspace:*",
"@web-std/fetch": "4.2.1",
"axios": "1.5.1",
Expand Down
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading