Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
peersky committed Nov 19, 2023
1 parent 8803f6c commit 7c349ad
Show file tree
Hide file tree
Showing 6 changed files with 241 additions and 119 deletions.
2 changes: 1 addition & 1 deletion deploy/01_deployRankToken.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const func: DeployFunction = async (hre: HardhatRuntimeEnvironment) => {

const result = await deploy('RankToken', {
from: deployer,
args: [URI, owner, ContractURI, ethers.BigNumber.from(3), [], []],
args: [URI, owner, ContractURI, 3n, [], []],
skipIfAlreadyDeployed: true,
});
console.log('deployed rank token at', result.address);
Expand Down
7 changes: 1 addition & 6 deletions deploy/02_deployAgendaToken.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
import { HardhatRuntimeEnvironment } from 'hardhat/types';
import { DeployFunction } from 'hardhat-deploy/types';
import { BestOfDiamond } from '../types/typechain/hardhat-diamond-abi/HardhatDiamondABI.sol';
import { ethers } from 'hardhat';
// import {
// MULTIPASS_CONTRACT_VERSION,
// MULTIPASS_CONTRACT_NAME,
// } from "../../test/utils";

const deploymentName = process.env.ATOKEN_NAME;
const func: DeployFunction = async (hre: HardhatRuntimeEnvironment) => {
if (!deploymentName && process.env.NODE_ENV !== 'TEST') throw new Error('ATOKEN_NAME not exported');
Expand Down
18 changes: 8 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,17 @@
"author": "Tim Pechersky (@Peersky)",
"license": "MIT",
"devDependencies": {
"@nomicfoundation/hardhat-chai-matchers": "^1.0.1",
"@nomicfoundation/hardhat-chai-matchers": "^2.0.2",
"@nomicfoundation/hardhat-network-helpers": "^1.0.9",
"@nomicfoundation/hardhat-toolbox": "^2.0.2",
"@nomicfoundation/hardhat-toolbox": "^4.0.0",
"@nomiclabs/buidler": "^1.4.8",
"@nomiclabs/buidler-web3": "^1.3.4",
"@nomiclabs/hardhat-ethers": "^2.0.6",
"@nomiclabs/hardhat-ethers":"^2.2.3",
"@nomiclabs/hardhat-etherscan": "^3.1.0",
"@openzeppelin/test-helpers": "^0.5.10",
"@shopify/eslint-plugin": "^43.0.0",
"@solidstate/contracts": "^0.0.35",
"@typechain/ethers-v5": "^11.1.2",
"@typechain/hardhat": "^7.0.0",
"@typechain/ethers-v6": "^0.5.1",
"@typechain/hardhat": "^9.1.0",
"@typechain/web3-v1": "^6.0.1",
"@types/cli-table": "^0.3.0",
"@types/crypto-js": "^4.1.1",
Expand All @@ -47,7 +46,7 @@
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-promise": "^6.1.1",
"eth-create2-calculator": "^1.1.5",
"ethers": "^5.6.6",
"ethers": "^6.8.1",
"hardhat": "^2.10.0",
"hardhat-abi-exporter": "^2.9.0",
"hardhat-contract-sizer": "^2.6.1",
Expand All @@ -56,11 +55,10 @@
"keccak": "^3.0.1",
"mocha": "^10.0.0",
"prettier-plugin-solidity": "^1.1.3",
"solhint": "^3.6.2",
"solhint": "^4.0.0",
"solidity-coverage": "^0.8.5",
"solidity-docgen": "^0.6.0-beta.36",
"typechain": "^8.0.0",
"web3": "^1.8.2"
"typechain": "^8.0.0"
},
"dependencies": {
"@ethersproject/abi": "^5.7.0",
Expand Down
Loading

0 comments on commit 7c349ad

Please sign in to comment.