Skip to content

Commit

Permalink
Merge pull request #24 from ava-labs/update-dependencies
Browse files Browse the repository at this point in the history
Update dependencies
  • Loading branch information
cgcardona authored Sep 3, 2021
2 parents 7b1b6f1 + 3fbba0a commit 0f29cbb
Show file tree
Hide file tree
Showing 4 changed files with 240 additions and 70 deletions.
4 changes: 2 additions & 2 deletions contracts/ExampleERC20.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
pragma solidity >=0.6.2;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
Expand All @@ -10,7 +10,7 @@ contract ExampleERC20 is ERC20, Ownable {

uint256 private constant TOTAL_SUPPLY = 123456789;

constructor() public ERC20(TOKEN_NAME, TOKEN_SYMBOL) {
constructor()ERC20(TOKEN_NAME, TOKEN_SYMBOL) {
_mint(msg.sender, TOTAL_SUPPLY);
}

Expand Down
6 changes: 4 additions & 2 deletions contracts/NFT.sol
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ contract NFT is ERC721 {
using Counters for Counters.Counter;
Counters.Counter private _tokenIds;

constructor() public ERC721("GameItem", "ITM") {}
constructor() ERC721("GameItem", "ITM") {}

function awardItem(address player, string memory tokenURI)
// commented out unused variable
// function awardItem(address player, string memory tokenURI)
function awardItem(address player)
public
returns (uint256)
{
Expand Down
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{
"name": "avalanche-smart-contract-quickstart",
"devDependencies": {
"@nomiclabs/hardhat-ethers": "^2.0.1",
"@nomiclabs/hardhat-ethers": "^2.0.2",
"@nomiclabs/hardhat-waffle": "^2.0.1",
"@openzeppelin/contracts": "^3.4.0",
"@types/chai": "^4.2.18",
"@types/mocha": "^8.2.2",
"@types/node": "^15.6.0",
"avalanche": "3.8.1",
"@openzeppelin/contracts": "^4.3.0",
"@types/chai": "^4.2.21",
"@types/mocha": "^9.0.0",
"@types/node": "^16.7.1",
"avalanche": "3.8.5",
"chai": "^4.3.4",
"ethereum-waffle": "^3.2.1",
"ethereum-waffle": "^3.4.0",
"ethereumjs-tx": "^2.1.2",
"ethers": "^5.0.24",
"hardhat": "2.4.3",
"ts-node": "^9.1.1",
"web3": "^1.3.1"
"ethers": "^5.4.5",
"hardhat": "2.6.1",
"ts-node": "^10.2.1",
"web3": "^1.5.2"
},
"version": "1.0.0",
"description": "",
Expand Down Expand Up @@ -45,7 +45,7 @@
"fund-cchain-addresses": "npx hardhat run scripts/fund-cchain-addresses.js"
},
"dependencies": {
"typescript": "^4.2.4"
"typescript": "^4.3.5"
},
"engines": {
"node": ">=14.17.0"
Expand Down
Loading

0 comments on commit 0f29cbb

Please sign in to comment.