Skip to content

Commit f9b6161

Browse files
authored
Merge pull request #34 from windingtree/develop
ERC20Permit added to the package exports
2 parents 9ed0b85 + d90e784 commit f9b6161

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ jobs:
2323
- name: Check contract sizes
2424
run: yarn hardhat size-contracts
2525
- name: Test
26-
run: yarn yarn test
26+
run: yarn test

package/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
"@typechain/ethers-v6": "^0.3.2"
9292
},
9393
"scripts": {
94-
"build": "rm -rf ./lib && typechain --target=ethers-v6 --out-dir typechain ./artifacts/contracts/Config.sol/Config.json ./artifacts/contracts/EntitiesRegistry.sol/EntitiesRegistry.json ./artifacts/contracts/Market.sol/Market.json && tsc -p ./tsconfig.build.json",
94+
"build": "rm -rf ./lib && typechain --target=ethers-v6 --out-dir typechain ./artifacts/contracts/Config.sol/Config.json ./artifacts/contracts/EntitiesRegistry.sol/EntitiesRegistry.json ./artifacts/contracts/Market.sol/Market.json ./artifacts/contracts/test/MockERC20Dec18Permit.sol/MockERC20Dec18Permit.json && tsc -p ./tsconfig.build.json",
9595
"lint": "eslint --ext .ts",
9696
"lint:fix": "eslint --ext .ts --fix && prettier --check !network --write ."
9797
}

package/src/index.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
import ConfigJson from '../artifacts/contracts/Config.sol/Config.json';
22
import EntitiesRegistryJson from '../artifacts/contracts/EntitiesRegistry.sol/EntitiesRegistry.json';
33
import MarketJson from '../artifacts/contracts/Market.sol/Market.json';
4+
import ERC20PermitJson from '../artifacts/contracts/test/MockERC20Dec18Permit.sol/MockERC20Dec18Permit.json';
45

56
export * from '../typechain';
7+
export {
8+
MockERC20Dec18Permit as ERC20Permit,
9+
MockERC20Dec18Permit__factory as ERC20Permit__factory,
10+
} from '../typechain';
611
export * from './constants';
7-
export { ConfigJson, EntitiesRegistryJson, MarketJson };
12+
export { ConfigJson, EntitiesRegistryJson, MarketJson, ERC20PermitJson };

0 commit comments

Comments
 (0)