Skip to content

Commit

Permalink
fix: removed unnecessary package
Browse files Browse the repository at this point in the history
Signed-off-by: tipusinghaw <[email protected]>
  • Loading branch information
tipusinghaw committed Jan 8, 2024
1 parent 377482b commit bb45ec9
Show file tree
Hide file tree
Showing 5 changed files with 3,311 additions and 10,026 deletions.
165 changes: 162 additions & 3 deletions .openzeppelin/polygon-mumbai.json
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,11 @@
"address": "0x5edaC3E213F724224d68C943318AcF7b095c2B76",
"txHash": "0xc76192086e5a639c7d53b8ef4e21ec890c53c1bba5bdf39a34f205593bace312",
"kind": "transparent"
},
{
"address": "0xF7dc016E5752e413f6C6188BaCAa8B5c30A4DFF2",
"txHash": "0x8f8b29f78e73a14e15bf5c5b2700120fb941671741c7c06dde3a10060a208cfd",
"kind": "transparent"
}
],
"impls": {
Expand Down Expand Up @@ -737,7 +742,7 @@
"label": "polyDIDs",
"offset": 0,
"slot": "2",
"type": "t_mapping(t_address,t_struct(PolyDID)48_storage)",
"type": "t_mapping(t_address,t_struct(PolyDID)15_storage)",
"contract": "PolygonDidRegistry",
"src": "contracts/PolygonDidRegistry.sol:25"
},
Expand Down Expand Up @@ -803,7 +808,7 @@
"label": "mapping(address => mapping(string => string))",
"numberOfBytes": "32"
},
"t_mapping(t_address,t_struct(PolyDID)48_storage)": {
"t_mapping(t_address,t_struct(PolyDID)15_storage)": {
"label": "mapping(address => struct PolygonDidRegistry.PolyDID)",
"numberOfBytes": "32"
},
Expand All @@ -827,7 +832,7 @@
"label": "string",
"numberOfBytes": "32"
},
"t_struct(PolyDID)48_storage": {
"t_struct(PolyDID)15_storage": {
"label": "struct PolygonDidRegistry.PolyDID",
"members": [
{
Expand Down Expand Up @@ -1942,6 +1947,160 @@
},
"namespaces": {}
}
},
"c6f7c650e35a37dc4df31a81b5ee7df9a8fc2f4cec18ba171b1f0ebe3d6c583c": {
"address": "0xf912918778b3c25BeBE4Bbff9b7a4c6caBd5B4ab",
"txHash": "0xdaaaee1ded38e5e1a700a0f51ef782beef4d17b22c1f25bc72d84f9957446800",
"layout": {
"solcVersion": "0.8.16",
"storage": [
{
"label": "totalDIDs",
"offset": 0,
"slot": "0",
"type": "t_uint256",
"contract": "PolygonDidRegistry",
"src": "contracts/PolygonDidRegistry.sol:9"
},
{
"label": "owner",
"offset": 0,
"slot": "1",
"type": "t_address",
"contract": "PolygonDidRegistry",
"src": "contracts/PolygonDidRegistry.sol:10"
},
{
"label": "polyDIDs",
"offset": 0,
"slot": "2",
"type": "t_mapping(t_address,t_struct(PolyDID)15_storage)",
"contract": "PolygonDidRegistry",
"src": "contracts/PolygonDidRegistry.sol:25"
},
{
"label": "activeDIDs",
"offset": 0,
"slot": "3",
"type": "t_mapping(t_uint256,t_address)",
"contract": "PolygonDidRegistry",
"src": "contracts/PolygonDidRegistry.sol:26"
},
{
"label": "activeAddress",
"offset": 0,
"slot": "4",
"type": "t_mapping(t_address,t_uint256)",
"contract": "PolygonDidRegistry",
"src": "contracts/PolygonDidRegistry.sol:27"
},
{
"label": "resourceData",
"offset": 0,
"slot": "5",
"type": "t_mapping(t_address,t_mapping(t_string_memory_ptr,t_string_storage))",
"contract": "PolygonDidRegistry",
"src": "contracts/PolygonDidRegistry.sol:28"
},
{
"label": "keysById",
"offset": 0,
"slot": "6",
"type": "t_mapping(t_address,t_array(t_string_storage)dyn_storage)",
"contract": "PolygonDidRegistry",
"src": "contracts/PolygonDidRegistry.sol:29"
},
{
"label": "initialized",
"offset": 0,
"slot": "7",
"type": "t_bool",
"contract": "PolygonDidRegistry",
"src": "contracts/PolygonDidRegistry.sol:35"
}
],
"types": {
"t_address": {
"label": "address",
"numberOfBytes": "20"
},
"t_array(t_string_storage)dyn_storage": {
"label": "string[]",
"numberOfBytes": "32"
},
"t_bool": {
"label": "bool",
"numberOfBytes": "1"
},
"t_mapping(t_address,t_array(t_string_storage)dyn_storage)": {
"label": "mapping(address => string[])",
"numberOfBytes": "32"
},
"t_mapping(t_address,t_mapping(t_string_memory_ptr,t_string_storage))": {
"label": "mapping(address => mapping(string => string))",
"numberOfBytes": "32"
},
"t_mapping(t_address,t_struct(PolyDID)15_storage)": {
"label": "mapping(address => struct PolygonDidRegistry.PolyDID)",
"numberOfBytes": "32"
},
"t_mapping(t_address,t_uint256)": {
"label": "mapping(address => uint256)",
"numberOfBytes": "32"
},
"t_mapping(t_string_memory_ptr,t_string_storage)": {
"label": "mapping(string => string)",
"numberOfBytes": "32"
},
"t_mapping(t_uint256,t_address)": {
"label": "mapping(uint256 => address)",
"numberOfBytes": "32"
},
"t_string_memory_ptr": {
"label": "string",
"numberOfBytes": "32"
},
"t_string_storage": {
"label": "string",
"numberOfBytes": "32"
},
"t_struct(PolyDID)15_storage": {
"label": "struct PolygonDidRegistry.PolyDID",
"members": [
{
"label": "controller",
"type": "t_address",
"offset": 0,
"slot": "0"
},
{
"label": "created",
"type": "t_uint256",
"offset": 0,
"slot": "1"
},
{
"label": "updated",
"type": "t_uint256",
"offset": 0,
"slot": "2"
},
{
"label": "didDoc",
"type": "t_string_storage",
"offset": 0,
"slot": "3"
}
],
"numberOfBytes": "128"
},
"t_uint256": {
"label": "uint256",
"numberOfBytes": "32"
}
},
"namespaces": {}
}
}
}
}
3 changes: 1 addition & 2 deletions hardhat.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
*/

// import 'hardhat';
require('@nomiclabs/hardhat-ethers');
require('@nomiclabs/hardhat-waffle');
require("@nomicfoundation/hardhat-ethers");
require('@openzeppelin/hardhat-upgrades');

require('dotenv/config');
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@
},
"license": "MIT",
"devDependencies": {
"@nomiclabs/hardhat-ethers": "^2.2.3",
"@nomiclabs/hardhat-waffle": "^2.0.6",
"@nomicfoundation/hardhat-ethers": "^3.0.5",
"@openzeppelin/hardhat-upgrades": "^3.0.1",
"@types/fs-extra": "^11.0.1",
"@types/node": "^18.17.0",
"dotenv": "^16.0.2",
"eslint": "^8.23.1",
"ethers": "^6.9.0",
"fs-extra": "^11.1.1",
"hardhat": "^2.19.4",
"mocha": "^7.0.0",
"prettier": "^3.0.2",
"release-it": "^16.3.0",
Expand All @@ -53,6 +53,6 @@
},
"homepage": "https://github.com/ayanworks/polygon-did-registry-contract#readme",
"dependencies": {
"hardhat": "^2.19.4"

}
}
Loading

0 comments on commit bb45ec9

Please sign in to comment.