Skip to content

Commit

Permalink
feat: update config for publishing npm package
Browse files Browse the repository at this point in the history
- updated the package.json
- added .npmignore
- added 'hardhat-abi-exporter' package for generating ABIs separately
  • Loading branch information
Mohsen-T committed Nov 9, 2023
1 parent 0ab954e commit 7cf58a6
Show file tree
Hide file tree
Showing 42 changed files with 19,857 additions and 31 deletions.
19 changes: 19 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/.github/
/.vscode/

node_modules
.env
.env.prod
.env.stage
#Hardhat files
cache
coverage
coverage.json
artifacts
typechain-types/
.openzeppelin/dev-*.json
.DS_Store
.history
.dccache

package-lock.json
15 changes: 15 additions & 0 deletions abis/ContextUpgradeable.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint8",
"name": "version",
"type": "uint8"
}
],
"name": "Initialized",
"type": "event"
}
]
21 changes: 21 additions & 0 deletions abis/CoreLib.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
[
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "enum SSVModules",
"name": "moduleId",
"type": "uint8"
},
{
"indexed": false,
"internalType": "address",
"name": "moduleAddress",
"type": "address"
}
],
"name": "ModuleUpgraded",
"type": "event"
}
]
60 changes: 60 additions & 0 deletions abis/ERC1967UpgradeUpgradeable.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
[
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "previousAdmin",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "newAdmin",
"type": "address"
}
],
"name": "AdminChanged",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "beacon",
"type": "address"
}
],
"name": "BeaconUpgraded",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint8",
"name": "version",
"type": "uint8"
}
],
"name": "Initialized",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "implementation",
"type": "address"
}
],
"name": "Upgraded",
"type": "event"
}
]
Loading

0 comments on commit 7cf58a6

Please sign in to comment.