@1inch/solidity-utils 2.0.16 → 2.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  // SPDX-License-Identifier: MIT
2
2
 
3
3
  pragma solidity ^0.8.0;
4
-
4
+ pragma abicoder v1;
5
5
 
6
6
  library AddressArray {
7
7
  error IndexOutOfBounds();
@@ -1,10 +1,10 @@
1
1
  // SPDX-License-Identifier: MIT
2
2
 
3
3
  pragma solidity ^0.8.0;
4
+ pragma abicoder v1;
4
5
 
5
6
  import "./AddressArray.sol";
6
7
 
7
-
8
8
  library AddressSet {
9
9
  using AddressArray for AddressArray.Data;
10
10
 
@@ -1,6 +1,7 @@
1
1
  // SPDX-License-Identifier: MIT
2
2
 
3
3
  pragma solidity ^0.8.0;
4
+ pragma abicoder v1;
4
5
 
5
6
  import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
6
7
  import "@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol";
@@ -4,8 +4,8 @@ pragma solidity ^0.8.0;
4
4
  pragma abicoder v1;
5
5
 
6
6
  import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
7
- import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
8
7
  import "./RevertReasonForwarder.sol";
8
+ import "./SafeERC20.sol";
9
9
  import "./StringUtil.sol";
10
10
 
11
11
  library UniERC20 {
@@ -10,7 +10,7 @@ export declare const constants: {
10
10
  readonly MAX_INT256: string;
11
11
  readonly MIN_INT256: string;
12
12
  };
13
- export { BN };
13
+ export { BN, };
14
14
  export declare type Time = {
15
15
  increaseTo: (target: string | number | BN) => Promise<BN>;
16
16
  latest: () => Promise<BN>;
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="node" />
2
3
  import { PathLike, promises as fs } from 'fs';
3
4
  export declare const gasspectOptionsDefault: {
4
5
  minOpGasCost: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1inch/solidity-utils",
3
- "version": "2.0.16",
3
+ "version": "2.0.17",
4
4
  "main": "dist/src/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "repository": {
@@ -26,50 +26,50 @@
26
26
  "typechain": "hardhat typechain"
27
27
  },
28
28
  "dependencies": {
29
- "@metamask/eth-sig-util": "4.0.0",
30
- "@openzeppelin/contracts": "4.5.0",
29
+ "@metamask/eth-sig-util": "4.0.1",
30
+ "@openzeppelin/contracts": "4.6.0",
31
31
  "@openzeppelin/test-helpers": "0.5.15",
32
- "bn.js": "5.2.0",
32
+ "bn.js": "5.2.1",
33
33
  "chai": "4.3.6",
34
34
  "chai-as-promised": "7.1.1",
35
35
  "chai-bn": "0.3.1",
36
- "ethereumjs-util": "7.1.4",
37
- "web3-utils": "1.7.1"
36
+ "ethereumjs-util": "7.1.5",
37
+ "web3-utils": "1.7.4"
38
38
  },
39
39
  "devDependencies": {
40
- "@nomiclabs/hardhat-truffle5": "2.0.5",
40
+ "@nomiclabs/hardhat-truffle5": "2.0.6",
41
41
  "@nomiclabs/hardhat-web3": "2.0.0",
42
- "@typechain/hardhat": "6.0.0",
42
+ "@typechain/hardhat": "4.0.0",
43
43
  "@typechain/truffle-v5": "7.0.0",
44
- "@types/chai": "4.3.0",
44
+ "@types/chai": "4.3.1",
45
45
  "@types/chai-as-promised": "7.1.5",
46
46
  "@types/eth-sig-util": "2.1.1",
47
47
  "@types/ethereumjs-util": "6.1.0",
48
- "@types/mocha": "9.1.0",
49
- "@types/node": "17.0.23",
50
- "@typescript-eslint/eslint-plugin": "5.18.0",
51
- "@typescript-eslint/parser": "5.18.0",
48
+ "@types/mocha": "9.1.1",
49
+ "@types/node": "18.0.0",
50
+ "@typescript-eslint/eslint-plugin": "5.30.0",
51
+ "@typescript-eslint/parser": "5.30.0",
52
52
  "acquit": "1.2.1",
53
53
  "commander": "9.3.0",
54
54
  "create-ts-index": "1.14.0",
55
55
  "cross-spawn": "7.0.3",
56
- "dotenv": "16.0.0",
57
- "eslint": "8.12.0",
58
- "eslint-config-standard": "16.0.3",
56
+ "dotenv": "16.0.1",
57
+ "eslint": "8.18.0",
58
+ "eslint-config-standard": "17.0.0",
59
59
  "eslint-plugin-import": "2.26.0",
60
- "eslint-plugin-node": "11.1.0",
60
+ "eslint-plugin-n": "15.2.3",
61
61
  "eslint-plugin-promise": "6.0.0",
62
62
  "eslint-plugin-standard": "5.0.0",
63
63
  "ethereumjs-wallet": "1.0.2",
64
- "hardhat": "2.9.3",
64
+ "hardhat": "2.9.9",
65
65
  "hardhat-gas-reporter": "1.0.8",
66
66
  "rimraf": "3.0.2",
67
67
  "shx": "0.3.4",
68
68
  "solhint": "3.3.7",
69
- "solidity-coverage": "0.7.20",
70
- "ts-node": "10.7.0",
69
+ "solidity-coverage": "0.7.21",
70
+ "ts-node": "10.8.1",
71
71
  "typechain": "7.0.0",
72
- "typescript": "4.6.3"
72
+ "typescript": "4.7.4"
73
73
  },
74
74
  "bin": {
75
75
  "solidity-utils-docify": "utils/docify.utils.js",