Ethereum test node deploys ERC20 token

This commit is contained in:
Mark Spanbroek 2022-01-20 12:44:35 +01:00
parent 177ed78d65
commit 609578190b
6 changed files with 508 additions and 10 deletions

4
testnode/.gitignore vendored
View File

@ -1 +1,5 @@
node_modules node_modules
artifacts
deployments
cache
deployment.json

View File

@ -0,0 +1,12 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
contract TestToken is ERC20 {
constructor() ERC20("TestToken", "TST") {}
function mint(address holder, uint amount) public {
_mint(holder, amount);
}
}

View File

@ -0,0 +1,6 @@
module.exports = async ({deployments, getNamedAccounts}) => {
const { deployer } = await getNamedAccounts()
await deployments.deploy('TestToken', { from: deployer })
}
module.exports.tags = ['TestToken']

View File

@ -1,3 +1,9 @@
require("hardhat-deploy")
require("hardhat-deploy-ethers")
module.exports = { module.exports = {
solidity: "0.7.3", solidity: "0.8.11",
}; namedAccounts: {
deployer: { default: 0 }
}
}

View File

@ -184,6 +184,16 @@
"@ethersproject/bytes": "^5.5.0" "@ethersproject/bytes": "^5.5.0"
} }
}, },
"@ethersproject/basex": {
"version": "5.5.0",
"resolved": "https://registry.npmjs.org/@ethersproject/basex/-/basex-5.5.0.tgz",
"integrity": "sha512-ZIodwhHpVJ0Y3hUCfUucmxKsWQA5TMnavp5j/UOuDdzZWzJlRmuOjcTMIGgHCYuZmHt36BfiSyQPSRskPxbfaQ==",
"dev": true,
"requires": {
"@ethersproject/bytes": "^5.5.0",
"@ethersproject/properties": "^5.5.0"
}
},
"@ethersproject/bignumber": { "@ethersproject/bignumber": {
"version": "5.5.0", "version": "5.5.0",
"resolved": "https://registry.npmjs.org/@ethersproject/bignumber/-/bignumber-5.5.0.tgz", "resolved": "https://registry.npmjs.org/@ethersproject/bignumber/-/bignumber-5.5.0.tgz",
@ -221,6 +231,24 @@
"@ethersproject/bignumber": "^5.5.0" "@ethersproject/bignumber": "^5.5.0"
} }
}, },
"@ethersproject/contracts": {
"version": "5.5.0",
"resolved": "https://registry.npmjs.org/@ethersproject/contracts/-/contracts-5.5.0.tgz",
"integrity": "sha512-2viY7NzyvJkh+Ug17v7g3/IJC8HqZBDcOjYARZLdzRxrfGlRgmYgl6xPRKVbEzy1dWKw/iv7chDcS83pg6cLxg==",
"dev": true,
"requires": {
"@ethersproject/abi": "^5.5.0",
"@ethersproject/abstract-provider": "^5.5.0",
"@ethersproject/abstract-signer": "^5.5.0",
"@ethersproject/address": "^5.5.0",
"@ethersproject/bignumber": "^5.5.0",
"@ethersproject/bytes": "^5.5.0",
"@ethersproject/constants": "^5.5.0",
"@ethersproject/logger": "^5.5.0",
"@ethersproject/properties": "^5.5.0",
"@ethersproject/transactions": "^5.5.0"
}
},
"@ethersproject/hash": { "@ethersproject/hash": {
"version": "5.5.0", "version": "5.5.0",
"resolved": "https://registry.npmjs.org/@ethersproject/hash/-/hash-5.5.0.tgz", "resolved": "https://registry.npmjs.org/@ethersproject/hash/-/hash-5.5.0.tgz",
@ -237,6 +265,47 @@
"@ethersproject/strings": "^5.5.0" "@ethersproject/strings": "^5.5.0"
} }
}, },
"@ethersproject/hdnode": {
"version": "5.5.0",
"resolved": "https://registry.npmjs.org/@ethersproject/hdnode/-/hdnode-5.5.0.tgz",
"integrity": "sha512-mcSOo9zeUg1L0CoJH7zmxwUG5ggQHU1UrRf8jyTYy6HxdZV+r0PBoL1bxr+JHIPXRzS6u/UW4mEn43y0tmyF8Q==",
"dev": true,
"requires": {
"@ethersproject/abstract-signer": "^5.5.0",
"@ethersproject/basex": "^5.5.0",
"@ethersproject/bignumber": "^5.5.0",
"@ethersproject/bytes": "^5.5.0",
"@ethersproject/logger": "^5.5.0",
"@ethersproject/pbkdf2": "^5.5.0",
"@ethersproject/properties": "^5.5.0",
"@ethersproject/sha2": "^5.5.0",
"@ethersproject/signing-key": "^5.5.0",
"@ethersproject/strings": "^5.5.0",
"@ethersproject/transactions": "^5.5.0",
"@ethersproject/wordlists": "^5.5.0"
}
},
"@ethersproject/json-wallets": {
"version": "5.5.0",
"resolved": "https://registry.npmjs.org/@ethersproject/json-wallets/-/json-wallets-5.5.0.tgz",
"integrity": "sha512-9lA21XQnCdcS72xlBn1jfQdj2A1VUxZzOzi9UkNdnokNKke/9Ya2xA9aIK1SC3PQyBDLt4C+dfps7ULpkvKikQ==",
"dev": true,
"requires": {
"@ethersproject/abstract-signer": "^5.5.0",
"@ethersproject/address": "^5.5.0",
"@ethersproject/bytes": "^5.5.0",
"@ethersproject/hdnode": "^5.5.0",
"@ethersproject/keccak256": "^5.5.0",
"@ethersproject/logger": "^5.5.0",
"@ethersproject/pbkdf2": "^5.5.0",
"@ethersproject/properties": "^5.5.0",
"@ethersproject/random": "^5.5.0",
"@ethersproject/strings": "^5.5.0",
"@ethersproject/transactions": "^5.5.0",
"aes-js": "3.0.0",
"scrypt-js": "3.0.1"
}
},
"@ethersproject/keccak256": { "@ethersproject/keccak256": {
"version": "5.5.0", "version": "5.5.0",
"resolved": "https://registry.npmjs.org/@ethersproject/keccak256/-/keccak256-5.5.0.tgz", "resolved": "https://registry.npmjs.org/@ethersproject/keccak256/-/keccak256-5.5.0.tgz",
@ -262,6 +331,16 @@
"@ethersproject/logger": "^5.5.0" "@ethersproject/logger": "^5.5.0"
} }
}, },
"@ethersproject/pbkdf2": {
"version": "5.5.0",
"resolved": "https://registry.npmjs.org/@ethersproject/pbkdf2/-/pbkdf2-5.5.0.tgz",
"integrity": "sha512-SaDvQFvXPnz1QGpzr6/HToLifftSXGoXrbpZ6BvoZhmx4bNLHrxDe8MZisuecyOziP1aVEwzC2Hasj+86TgWVg==",
"dev": true,
"requires": {
"@ethersproject/bytes": "^5.5.0",
"@ethersproject/sha2": "^5.5.0"
}
},
"@ethersproject/properties": { "@ethersproject/properties": {
"version": "5.5.0", "version": "5.5.0",
"resolved": "https://registry.npmjs.org/@ethersproject/properties/-/properties-5.5.0.tgz", "resolved": "https://registry.npmjs.org/@ethersproject/properties/-/properties-5.5.0.tgz",
@ -271,6 +350,51 @@
"@ethersproject/logger": "^5.5.0" "@ethersproject/logger": "^5.5.0"
} }
}, },
"@ethersproject/providers": {
"version": "5.5.2",
"resolved": "https://registry.npmjs.org/@ethersproject/providers/-/providers-5.5.2.tgz",
"integrity": "sha512-hkbx7x/MKcRjyrO4StKXCzCpWer6s97xnm34xkfPiarhtEUVAN4TBBpamM+z66WcTt7H5B53YwbRj1n7i8pZoQ==",
"dev": true,
"requires": {
"@ethersproject/abstract-provider": "^5.5.0",
"@ethersproject/abstract-signer": "^5.5.0",
"@ethersproject/address": "^5.5.0",
"@ethersproject/basex": "^5.5.0",
"@ethersproject/bignumber": "^5.5.0",
"@ethersproject/bytes": "^5.5.0",
"@ethersproject/constants": "^5.5.0",
"@ethersproject/hash": "^5.5.0",
"@ethersproject/logger": "^5.5.0",
"@ethersproject/networks": "^5.5.0",
"@ethersproject/properties": "^5.5.0",
"@ethersproject/random": "^5.5.0",
"@ethersproject/rlp": "^5.5.0",
"@ethersproject/sha2": "^5.5.0",
"@ethersproject/strings": "^5.5.0",
"@ethersproject/transactions": "^5.5.0",
"@ethersproject/web": "^5.5.0",
"bech32": "1.1.4",
"ws": "7.4.6"
},
"dependencies": {
"ws": {
"version": "7.4.6",
"resolved": "https://registry.npmjs.org/ws/-/ws-7.4.6.tgz",
"integrity": "sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A==",
"dev": true
}
}
},
"@ethersproject/random": {
"version": "5.5.1",
"resolved": "https://registry.npmjs.org/@ethersproject/random/-/random-5.5.1.tgz",
"integrity": "sha512-YaU2dQ7DuhL5Au7KbcQLHxcRHfgyNgvFV4sQOo0HrtW3Zkrc9ctWNz8wXQ4uCSfSDsqX2vcjhroxU5RQRV0nqA==",
"dev": true,
"requires": {
"@ethersproject/bytes": "^5.5.0",
"@ethersproject/logger": "^5.5.0"
}
},
"@ethersproject/rlp": { "@ethersproject/rlp": {
"version": "5.5.0", "version": "5.5.0",
"resolved": "https://registry.npmjs.org/@ethersproject/rlp/-/rlp-5.5.0.tgz", "resolved": "https://registry.npmjs.org/@ethersproject/rlp/-/rlp-5.5.0.tgz",
@ -281,6 +405,17 @@
"@ethersproject/logger": "^5.5.0" "@ethersproject/logger": "^5.5.0"
} }
}, },
"@ethersproject/sha2": {
"version": "5.5.0",
"resolved": "https://registry.npmjs.org/@ethersproject/sha2/-/sha2-5.5.0.tgz",
"integrity": "sha512-B5UBoglbCiHamRVPLA110J+2uqsifpZaTmid2/7W5rbtYVz6gus6/hSDieIU/6gaKIDcOj12WnOdiymEUHIAOA==",
"dev": true,
"requires": {
"@ethersproject/bytes": "^5.5.0",
"@ethersproject/logger": "^5.5.0",
"hash.js": "1.1.7"
}
},
"@ethersproject/signing-key": { "@ethersproject/signing-key": {
"version": "5.5.0", "version": "5.5.0",
"resolved": "https://registry.npmjs.org/@ethersproject/signing-key/-/signing-key-5.5.0.tgz", "resolved": "https://registry.npmjs.org/@ethersproject/signing-key/-/signing-key-5.5.0.tgz",
@ -303,6 +438,20 @@
} }
} }
}, },
"@ethersproject/solidity": {
"version": "5.5.0",
"resolved": "https://registry.npmjs.org/@ethersproject/solidity/-/solidity-5.5.0.tgz",
"integrity": "sha512-9NgZs9LhGMj6aCtHXhtmFQ4AN4sth5HuFXVvAQtzmm0jpSCNOTGtrHZJAeYTh7MBjRR8brylWZxBZR9zDStXbw==",
"dev": true,
"requires": {
"@ethersproject/bignumber": "^5.5.0",
"@ethersproject/bytes": "^5.5.0",
"@ethersproject/keccak256": "^5.5.0",
"@ethersproject/logger": "^5.5.0",
"@ethersproject/sha2": "^5.5.0",
"@ethersproject/strings": "^5.5.0"
}
},
"@ethersproject/strings": { "@ethersproject/strings": {
"version": "5.5.0", "version": "5.5.0",
"resolved": "https://registry.npmjs.org/@ethersproject/strings/-/strings-5.5.0.tgz", "resolved": "https://registry.npmjs.org/@ethersproject/strings/-/strings-5.5.0.tgz",
@ -331,6 +480,40 @@
"@ethersproject/signing-key": "^5.5.0" "@ethersproject/signing-key": "^5.5.0"
} }
}, },
"@ethersproject/units": {
"version": "5.5.0",
"resolved": "https://registry.npmjs.org/@ethersproject/units/-/units-5.5.0.tgz",
"integrity": "sha512-7+DpjiZk4v6wrikj+TCyWWa9dXLNU73tSTa7n0TSJDxkYbV3Yf1eRh9ToMLlZtuctNYu9RDNNy2USq3AdqSbag==",
"dev": true,
"requires": {
"@ethersproject/bignumber": "^5.5.0",
"@ethersproject/constants": "^5.5.0",
"@ethersproject/logger": "^5.5.0"
}
},
"@ethersproject/wallet": {
"version": "5.5.0",
"resolved": "https://registry.npmjs.org/@ethersproject/wallet/-/wallet-5.5.0.tgz",
"integrity": "sha512-Mlu13hIctSYaZmUOo7r2PhNSd8eaMPVXe1wxrz4w4FCE4tDYBywDH+bAR1Xz2ADyXGwqYMwstzTrtUVIsKDO0Q==",
"dev": true,
"requires": {
"@ethersproject/abstract-provider": "^5.5.0",
"@ethersproject/abstract-signer": "^5.5.0",
"@ethersproject/address": "^5.5.0",
"@ethersproject/bignumber": "^5.5.0",
"@ethersproject/bytes": "^5.5.0",
"@ethersproject/hash": "^5.5.0",
"@ethersproject/hdnode": "^5.5.0",
"@ethersproject/json-wallets": "^5.5.0",
"@ethersproject/keccak256": "^5.5.0",
"@ethersproject/logger": "^5.5.0",
"@ethersproject/properties": "^5.5.0",
"@ethersproject/random": "^5.5.0",
"@ethersproject/signing-key": "^5.5.0",
"@ethersproject/transactions": "^5.5.0",
"@ethersproject/wordlists": "^5.5.0"
}
},
"@ethersproject/web": { "@ethersproject/web": {
"version": "5.5.1", "version": "5.5.1",
"resolved": "https://registry.npmjs.org/@ethersproject/web/-/web-5.5.1.tgz", "resolved": "https://registry.npmjs.org/@ethersproject/web/-/web-5.5.1.tgz",
@ -344,6 +527,25 @@
"@ethersproject/strings": "^5.5.0" "@ethersproject/strings": "^5.5.0"
} }
}, },
"@ethersproject/wordlists": {
"version": "5.5.0",
"resolved": "https://registry.npmjs.org/@ethersproject/wordlists/-/wordlists-5.5.0.tgz",
"integrity": "sha512-bL0UTReWDiaQJJYOC9sh/XcRu/9i2jMrzf8VLRmPKx58ckSlOJiohODkECCO50dtLZHcGU6MLXQ4OOrgBwP77Q==",
"dev": true,
"requires": {
"@ethersproject/bytes": "^5.5.0",
"@ethersproject/hash": "^5.5.0",
"@ethersproject/logger": "^5.5.0",
"@ethersproject/properties": "^5.5.0",
"@ethersproject/strings": "^5.5.0"
}
},
"@openzeppelin/contracts": {
"version": "4.4.2",
"resolved": "https://registry.npmjs.org/@openzeppelin/contracts/-/contracts-4.4.2.tgz",
"integrity": "sha512-NyJV7sJgoGYqbtNUWgzzOGW4T6rR19FmX1IJgXGdapGPWsuMelGJn9h03nos0iqfforCbCB0iYIR0MtIuIFLLw==",
"dev": true
},
"@sentry/core": { "@sentry/core": {
"version": "5.30.0", "version": "5.30.0",
"resolved": "https://registry.npmjs.org/@sentry/core/-/core-5.30.0.tgz", "resolved": "https://registry.npmjs.org/@sentry/core/-/core-5.30.0.tgz",
@ -473,9 +675,9 @@
"dev": true "dev": true
}, },
"@types/node": { "@types/node": {
"version": "17.0.9", "version": "17.0.10",
"resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.9.tgz", "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.10.tgz",
"integrity": "sha512-5dNBXu/FOER+EXnyah7rn8xlNrfMOQb/qXnw4NQgLkCygKBKhdmF/CA5oXVOKZLBEahw8s2WP9LxIcN/oDDRgQ==", "integrity": "sha512-S/3xB4KzyFxYGCppyDt68yzBU9ysL88lSdIah4D6cptdcltc4NCPCAMc0+PCpg/lLIyC7IPvj2Z52OJWeIUkog==",
"dev": true "dev": true
}, },
"@types/pbkdf2": { "@types/pbkdf2": {
@ -487,6 +689,12 @@
"@types/node": "*" "@types/node": "*"
} }
}, },
"@types/qs": {
"version": "6.9.7",
"resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.7.tgz",
"integrity": "sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw==",
"dev": true
},
"@types/secp256k1": { "@types/secp256k1": {
"version": "4.0.3", "version": "4.0.3",
"resolved": "https://registry.npmjs.org/@types/secp256k1/-/secp256k1-4.0.3.tgz", "resolved": "https://registry.npmjs.org/@types/secp256k1/-/secp256k1-4.0.3.tgz",
@ -524,6 +732,12 @@
"integrity": "sha512-TFi4HBKSGfIKsK5YCkKaaFG2m4PEDyViZmEwof3MTIgzimHLto6muaHVpbrljdIvIrFZzEq/p4nafOeLcYegrg==", "integrity": "sha512-TFi4HBKSGfIKsK5YCkKaaFG2m4PEDyViZmEwof3MTIgzimHLto6muaHVpbrljdIvIrFZzEq/p4nafOeLcYegrg==",
"dev": true "dev": true
}, },
"aes-js": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/aes-js/-/aes-js-3.0.0.tgz",
"integrity": "sha1-4h3xCtbCBTKVvLuNq0Cwnb6ofk0=",
"dev": true
},
"agent-base": { "agent-base": {
"version": "6.0.2", "version": "6.0.2",
"resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz",
@ -606,6 +820,21 @@
"async": "^2.4.0" "async": "^2.4.0"
} }
}, },
"asynckit": {
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
"integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=",
"dev": true
},
"axios": {
"version": "0.21.4",
"resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz",
"integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==",
"dev": true,
"requires": {
"follow-redirects": "^1.14.0"
}
},
"balanced-match": { "balanced-match": {
"version": "1.0.2", "version": "1.0.2",
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
@ -627,6 +856,12 @@
"integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==",
"dev": true "dev": true
}, },
"bech32": {
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/bech32/-/bech32-1.1.4.tgz",
"integrity": "sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ==",
"dev": true
},
"binary-extensions": { "binary-extensions": {
"version": "2.2.0", "version": "2.2.0",
"resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz",
@ -851,6 +1086,15 @@
"integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",
"dev": true "dev": true
}, },
"combined-stream": {
"version": "1.0.8",
"resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
"integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
"dev": true,
"requires": {
"delayed-stream": "~1.0.0"
}
},
"command-exists": { "command-exists": {
"version": "1.2.9", "version": "1.2.9",
"resolved": "https://registry.npmjs.org/command-exists/-/command-exists-1.2.9.tgz", "resolved": "https://registry.npmjs.org/command-exists/-/command-exists-1.2.9.tgz",
@ -975,6 +1219,12 @@
"object-keys": "^1.0.12" "object-keys": "^1.0.12"
} }
}, },
"delayed-stream": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
"integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=",
"dev": true
},
"depd": { "depd": {
"version": "1.1.2", "version": "1.1.2",
"resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz",
@ -1016,6 +1266,12 @@
"integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==", "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==",
"dev": true "dev": true
}, },
"encode-utf8": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/encode-utf8/-/encode-utf8-1.0.3.tgz",
"integrity": "sha512-ucAnuBEhUK4boH2HjVYG5Q2mQyPorvv0u/ocS+zhdw0S8AlHYY+GOFhP1Gio5z4icpP2ivFSvhtFjQi8+T9ppw==",
"dev": true
},
"encoding-down": { "encoding-down": {
"version": "6.3.0", "version": "6.3.0",
"resolved": "https://registry.npmjs.org/encoding-down/-/encoding-down-6.3.0.tgz", "resolved": "https://registry.npmjs.org/encoding-down/-/encoding-down-6.3.0.tgz",
@ -1230,6 +1486,44 @@
"rlp": "^2.2.4" "rlp": "^2.2.4"
} }
}, },
"ethers": {
"version": "5.5.3",
"resolved": "https://registry.npmjs.org/ethers/-/ethers-5.5.3.tgz",
"integrity": "sha512-fTT4WT8/hTe/BLwRUtl7I5zlpF3XC3P/Xwqxc5AIP2HGlH15qpmjs0Ou78az93b1rLITzXLFxoNX63B8ZbUd7g==",
"dev": true,
"requires": {
"@ethersproject/abi": "5.5.0",
"@ethersproject/abstract-provider": "5.5.1",
"@ethersproject/abstract-signer": "5.5.0",
"@ethersproject/address": "5.5.0",
"@ethersproject/base64": "5.5.0",
"@ethersproject/basex": "5.5.0",
"@ethersproject/bignumber": "5.5.0",
"@ethersproject/bytes": "5.5.0",
"@ethersproject/constants": "5.5.0",
"@ethersproject/contracts": "5.5.0",
"@ethersproject/hash": "5.5.0",
"@ethersproject/hdnode": "5.5.0",
"@ethersproject/json-wallets": "5.5.0",
"@ethersproject/keccak256": "5.5.0",
"@ethersproject/logger": "5.5.0",
"@ethersproject/networks": "5.5.2",
"@ethersproject/pbkdf2": "5.5.0",
"@ethersproject/properties": "5.5.0",
"@ethersproject/providers": "5.5.2",
"@ethersproject/random": "5.5.1",
"@ethersproject/rlp": "5.5.0",
"@ethersproject/sha2": "5.5.0",
"@ethersproject/signing-key": "5.5.0",
"@ethersproject/solidity": "5.5.0",
"@ethersproject/strings": "5.5.0",
"@ethersproject/transactions": "5.5.0",
"@ethersproject/units": "5.5.0",
"@ethersproject/wallet": "5.5.0",
"@ethersproject/web": "5.5.1",
"@ethersproject/wordlists": "5.5.0"
}
},
"ethjs-util": { "ethjs-util": {
"version": "0.1.6", "version": "0.1.6",
"resolved": "https://registry.npmjs.org/ethjs-util/-/ethjs-util-0.1.6.tgz", "resolved": "https://registry.npmjs.org/ethjs-util/-/ethjs-util-0.1.6.tgz",
@ -1289,12 +1583,32 @@
"is-buffer": "~2.0.3" "is-buffer": "~2.0.3"
} }
}, },
"fmix": {
"version": "0.1.0",
"resolved": "https://registry.npmjs.org/fmix/-/fmix-0.1.0.tgz",
"integrity": "sha1-x7vxJN7ELJ0ZHPuUfQqXeN2YbAw=",
"dev": true,
"requires": {
"imul": "^1.0.0"
}
},
"follow-redirects": { "follow-redirects": {
"version": "1.14.7", "version": "1.14.7",
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.7.tgz", "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.7.tgz",
"integrity": "sha512-+hbxoLbFMbRKDwohX8GkTataGqO6Jb7jGwpAlwgy2bIz25XtRm7KEzJM76R1WiNT5SwZkX4Y75SwBolkpmE7iQ==", "integrity": "sha512-+hbxoLbFMbRKDwohX8GkTataGqO6Jb7jGwpAlwgy2bIz25XtRm7KEzJM76R1WiNT5SwZkX4Y75SwBolkpmE7iQ==",
"dev": true "dev": true
}, },
"form-data": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz",
"integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==",
"dev": true,
"requires": {
"asynckit": "^0.4.0",
"combined-stream": "^1.0.8",
"mime-types": "^2.1.12"
}
},
"fp-ts": { "fp-ts": {
"version": "1.19.3", "version": "1.19.3",
"resolved": "https://registry.npmjs.org/fp-ts/-/fp-ts-1.19.3.tgz", "resolved": "https://registry.npmjs.org/fp-ts/-/fp-ts-1.19.3.tgz",
@ -1400,9 +1714,9 @@
"dev": true "dev": true
}, },
"hardhat": { "hardhat": {
"version": "2.8.2", "version": "2.8.3",
"resolved": "https://registry.npmjs.org/hardhat/-/hardhat-2.8.2.tgz", "resolved": "https://registry.npmjs.org/hardhat/-/hardhat-2.8.3.tgz",
"integrity": "sha512-cBUqzZGOi+lwKHArWl5Be7zeFIwlu1IUXOna6k5XhORZ8hAWDVbAJBVfxgmjkcX5GffIf0C5g841zRxo36sQ5g==", "integrity": "sha512-VxqiVTSayRoeLHly8zKnlvtWoG8sroTP4vl8GHuj7OjfAdrHu4Blk7NBJ5+Rl8cmMEp6CuZtDaDmcHJIRTwEPA==",
"dev": true, "dev": true,
"requires": { "requires": {
"@ethereumjs/block": "^3.6.0", "@ethereumjs/block": "^3.6.0",
@ -1454,6 +1768,120 @@
"ws": "^7.4.6" "ws": "^7.4.6"
} }
}, },
"hardhat-deploy": {
"version": "0.9.24",
"resolved": "https://registry.npmjs.org/hardhat-deploy/-/hardhat-deploy-0.9.24.tgz",
"integrity": "sha512-fIIg6Wt7lV8h+6c6dFnINUKcJ/5Wfe5GYDaDsGGPqaK2b71DaeFHjsWRL+2ozaHkMZjdyYBOweY09wRu/KM1Qw==",
"dev": true,
"requires": {
"@ethersproject/abi": "^5.4.0",
"@ethersproject/abstract-signer": "^5.4.1",
"@ethersproject/address": "^5.4.0",
"@ethersproject/bignumber": "^5.4.1",
"@ethersproject/bytes": "^5.4.0",
"@ethersproject/constants": "^5.4.0",
"@ethersproject/contracts": "^5.4.1",
"@ethersproject/providers": "^5.4.4",
"@ethersproject/solidity": "^5.4.0",
"@ethersproject/transactions": "^5.4.0",
"@ethersproject/wallet": "^5.4.0",
"@types/qs": "^6.9.7",
"axios": "^0.21.1",
"chalk": "^4.1.2",
"chokidar": "^3.5.2",
"debug": "^4.3.2",
"enquirer": "^2.3.6",
"form-data": "^4.0.0",
"fs-extra": "^10.0.0",
"match-all": "^1.2.6",
"murmur-128": "^0.2.1",
"qs": "^6.9.4"
},
"dependencies": {
"ansi-styles": {
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"dev": true,
"requires": {
"color-convert": "^2.0.1"
}
},
"chalk": {
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
"dev": true,
"requires": {
"ansi-styles": "^4.1.0",
"supports-color": "^7.1.0"
}
},
"color-convert": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
"dev": true,
"requires": {
"color-name": "~1.1.4"
}
},
"color-name": {
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
"dev": true
},
"fs-extra": {
"version": "10.0.0",
"resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.0.0.tgz",
"integrity": "sha512-C5owb14u9eJwizKGdchcDUQeFtlSHHthBk8pbX9Vc1PFZrLombudjDnNns88aYslCyF6IY5SUw3Roz6xShcEIQ==",
"dev": true,
"requires": {
"graceful-fs": "^4.2.0",
"jsonfile": "^6.0.1",
"universalify": "^2.0.0"
}
},
"has-flag": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
"dev": true
},
"jsonfile": {
"version": "6.1.0",
"resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz",
"integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==",
"dev": true,
"requires": {
"graceful-fs": "^4.1.6",
"universalify": "^2.0.0"
}
},
"supports-color": {
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
"dev": true,
"requires": {
"has-flag": "^4.0.0"
}
},
"universalify": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz",
"integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==",
"dev": true
}
}
},
"hardhat-deploy-ethers": {
"version": "0.3.0-beta.13",
"resolved": "https://registry.npmjs.org/hardhat-deploy-ethers/-/hardhat-deploy-ethers-0.3.0-beta.13.tgz",
"integrity": "sha512-PdWVcKB9coqWV1L7JTpfXRCI91Cgwsm7KLmBcwZ8f0COSm1xtABHZTyz3fvF6p42cTnz1VM0QnfDvMFlIRkSNw==",
"dev": true
},
"has": { "has": {
"version": "1.0.3", "version": "1.0.3",
"resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
@ -1578,6 +2006,12 @@
"integrity": "sha512-zIE9hX70qew5qTUjSS7wi1iwj/l7+m54KWU247nhM3v806UdGj1yDndXj+IOYxxtW9zyLI+xqFNZjTuDaLUqFw==", "integrity": "sha512-zIE9hX70qew5qTUjSS7wi1iwj/l7+m54KWU247nhM3v806UdGj1yDndXj+IOYxxtW9zyLI+xqFNZjTuDaLUqFw==",
"dev": true "dev": true
}, },
"imul": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/imul/-/imul-1.0.1.tgz",
"integrity": "sha1-nVhnFh6LPelsLDjV3HyxAvNeKsk=",
"dev": true
},
"inflight": { "inflight": {
"version": "1.0.6", "version": "1.0.6",
"resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
@ -1939,6 +2373,12 @@
"integrity": "sha1-81ypHEk/e3PaDgdJUwTxezH4fuU=", "integrity": "sha1-81ypHEk/e3PaDgdJUwTxezH4fuU=",
"dev": true "dev": true
}, },
"match-all": {
"version": "1.2.6",
"resolved": "https://registry.npmjs.org/match-all/-/match-all-1.2.6.tgz",
"integrity": "sha512-0EESkXiTkWzrQQntBu2uzKvLu6vVkUGz40nGPbSZuegcfE5UuSzNjLaIu76zJWuaT/2I3Z/8M06OlUOZLGwLlQ==",
"dev": true
},
"mcl-wasm": { "mcl-wasm": {
"version": "0.7.9", "version": "0.7.9",
"resolved": "https://registry.npmjs.org/mcl-wasm/-/mcl-wasm-0.7.9.tgz", "resolved": "https://registry.npmjs.org/mcl-wasm/-/mcl-wasm-0.7.9.tgz",
@ -2030,6 +2470,21 @@
} }
} }
}, },
"mime-db": {
"version": "1.51.0",
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.51.0.tgz",
"integrity": "sha512-5y8A56jg7XVQx2mbv1lu49NR4dokRnhZYTtL+KGfaa27uq4pSTXkwQkFJl4pkRMyNFz/EtYDSkiiEHx3F7UN6g==",
"dev": true
},
"mime-types": {
"version": "2.1.34",
"resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.34.tgz",
"integrity": "sha512-6cP692WwGIs9XXdOO4++N+7qjqv0rqxxVvJ3VHPh/Sc9mVZcQP+ZGhkKiTvWMQRr2tbHkJP/Yn7Y0npb3ZBs4A==",
"dev": true,
"requires": {
"mime-db": "1.51.0"
}
},
"minimalistic-assert": { "minimalistic-assert": {
"version": "1.0.1", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz",
@ -2234,6 +2689,17 @@
"integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=",
"dev": true "dev": true
}, },
"murmur-128": {
"version": "0.2.1",
"resolved": "https://registry.npmjs.org/murmur-128/-/murmur-128-0.2.1.tgz",
"integrity": "sha512-WseEgiRkI6aMFBbj8Cg9yBj/y+OdipwVC7zUo3W2W1JAJITwouUOtpqsmGSg67EQmwwSyod7hsVsWY5LsrfQVg==",
"dev": true,
"requires": {
"encode-utf8": "^1.0.2",
"fmix": "^0.1.0",
"imul": "^1.0.0"
}
},
"node-addon-api": { "node-addon-api": {
"version": "2.0.2", "version": "2.0.2",
"resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-2.0.2.tgz", "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-2.0.2.tgz",

View File

@ -1,9 +1,13 @@
{ {
"name": "hardhat-project", "name": "hardhat-project",
"devDependencies": { "devDependencies": {
"hardhat": "^2.8.2" "@openzeppelin/contracts": "^4.4.2",
"ethers": "^5.5.3",
"hardhat": "^2.8.3",
"hardhat-deploy": "^0.9.24",
"hardhat-deploy-ethers": "^0.3.0-beta.13"
}, },
"scripts": { "scripts": {
"start": "npx hardhat node" "start": "hardhat node --export 'deployment.json'"
} }
} }