@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.
|
@@ -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 {
|
package/dist/src/prelude.d.ts
CHANGED
|
@@ -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>;
|
package/dist/src/profileEVM.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@1inch/solidity-utils",
|
|
3
|
-
"version": "2.0.
|
|
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.
|
|
30
|
-
"@openzeppelin/contracts": "4.
|
|
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.
|
|
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.
|
|
37
|
-
"web3-utils": "1.7.
|
|
36
|
+
"ethereumjs-util": "7.1.5",
|
|
37
|
+
"web3-utils": "1.7.4"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@nomiclabs/hardhat-truffle5": "2.0.
|
|
40
|
+
"@nomiclabs/hardhat-truffle5": "2.0.6",
|
|
41
41
|
"@nomiclabs/hardhat-web3": "2.0.0",
|
|
42
|
-
"@typechain/hardhat": "
|
|
42
|
+
"@typechain/hardhat": "4.0.0",
|
|
43
43
|
"@typechain/truffle-v5": "7.0.0",
|
|
44
|
-
"@types/chai": "4.3.
|
|
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.
|
|
49
|
-
"@types/node": "
|
|
50
|
-
"@typescript-eslint/eslint-plugin": "5.
|
|
51
|
-
"@typescript-eslint/parser": "5.
|
|
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.
|
|
57
|
-
"eslint": "8.
|
|
58
|
-
"eslint-config-standard": "
|
|
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-
|
|
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.
|
|
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.
|
|
70
|
-
"ts-node": "10.
|
|
69
|
+
"solidity-coverage": "0.7.21",
|
|
70
|
+
"ts-node": "10.8.1",
|
|
71
71
|
"typechain": "7.0.0",
|
|
72
|
-
"typescript": "4.
|
|
72
|
+
"typescript": "4.7.4"
|
|
73
73
|
},
|
|
74
74
|
"bin": {
|
|
75
75
|
"solidity-utils-docify": "utils/docify.utils.js",
|