UNPKG
hardhat-abi-exporter
Version:
latest (2.11.0)
2.11.0
2.10.1
2.10.0
2.9.0
2.8.0
2.7.2
2.7.1
2.7.0
2.6.1
2.6.0
2.5.0
2.4.1
2.4.0
2.3.1
2.3.0
2.2.1
2.2.0
2.1.2
2.1.1
2.1.0
2.0.8
2.0.7
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2
Export Ethereum smart contract ABIs on compilation
ItsNickBarry/hardhat-abi-exporter
hardhat-abi-exporter
/
dist
/
src
/
actions
/
clear_abi.js
9 lines
(8 loc)
•
241 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
import
{ clearAbiGroup }
from
'../logic.js'
;
const
action
=
async
(
_, hre
) => {
const
entries = hre.
config
.
abiExporter
;
await
Promise
.
all
(entries.
map
(
(
entry
) =>
{
clearAbiGroup
(hre, entry); })); };
export
default
action;