Skip to content

Commit 87b9102

Browse files
authored
chore: update @cowprotocol/permit-utils (#943)
* chore: update `@cowprotocol/permit-utils` * chore: fix `recheckPermitInfo` yarn task * chore: remove `AVAX` from `CowSwap.json` and images * chore: remove `POL` from `CowSwap.json`
1 parent 74df884 commit 87b9102

File tree

7 files changed

+16
-61
lines changed

7 files changed

+16
-61
lines changed

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,20 +28,20 @@
2828
"fetchPermitInfo:sepolia": "yarn run fetchPermitInfo -- 11155111",
2929
"fetchPermitInfo:avalanche": "yarn run fetchPermitInfo -- 43114",
3030
"fetchPermitInfo:polygon": "yarn run fetchPermitInfo -- 137",
31-
"recheckPermitInfo:mainnet": "yarn run fetchPermitInfo -- 1 true",
32-
"recheckPermitInfo:arb1": "yarn run fetchPermitInfo -- 42161 true",
33-
"recheckPermitInfo:base": "yarn run fetchPermitInfo -- 8453 true",
34-
"recheckPermitInfo:gnosis": "yarn run fetchPermitInfo -- 100 true",
35-
"recheckPermitInfo:sepolia": "yarn run fetchPermitInfo -- 11155111 true",
36-
"recheckPermitInfo:avalanche": "yarn run fetchPermitInfo -- 43114 true",
37-
"recheckPermitInfo:polygon": "yarn run fetchPermitInfo -- 137 true",
31+
"recheckPermitInfo:mainnet": "yarn run fetchPermitInfo -- 1 '' '' true",
32+
"recheckPermitInfo:arb1": "yarn run fetchPermitInfo -- 42161 '' '' true",
33+
"recheckPermitInfo:base": "yarn run fetchPermitInfo -- 8453 '' '' true",
34+
"recheckPermitInfo:gnosis": "yarn run fetchPermitInfo -- 100 '' '' true",
35+
"recheckPermitInfo:sepolia": "yarn run fetchPermitInfo -- 11155111 '' '' true",
36+
"recheckPermitInfo:avalanche": "yarn run fetchPermitInfo -- 43114 '' '' true",
37+
"recheckPermitInfo:polygon": "yarn run fetchPermitInfo -- 137 '' '' true",
3838
"run-script": "node --loader ts-node/esm --experimental-json-modules --experimental-specifier-resolution=node",
3939
"test": "node --test"
4040
},
4141
"license": "(MIT OR Apache-2.0)",
4242
"dependencies": {
4343
"@cowprotocol/cow-sdk": "^5.11.0-RC.0",
44-
"@cowprotocol/permit-utils": "^0.4.0",
44+
"@cowprotocol/permit-utils": "^0.7.0-RC.0",
4545
"@uniswap/token-lists": "^1.0.0-beta.33",
4646
"ajv": "^8.12.0",
4747
"ajv-cli": "^5.0.0",

src/public/CowSwap.json

Lines changed: 4 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,7 @@
77
"patch": 0
88
},
99
"logoURI": "https://raw.githubusercontent.com/cowprotocol/token-lists/main/src/public/images/list-logo.png",
10-
"keywords": [
11-
"default",
12-
"list",
13-
"cowswap"
14-
],
10+
"keywords": ["default", "list", "cowswap"],
1511
"tags": {
1612
"circle": {
1713
"name": "Issued by Circle",
@@ -826,9 +822,7 @@
826822
"decimals": 6,
827823
"chainId": 1,
828824
"logoURI": "https://raw.githubusercontent.com/cowprotocol/token-lists/main/src/public/images/1/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48/logo.png",
829-
"tags": [
830-
"circle"
831-
]
825+
"tags": ["circle"]
832826
},
833827
{
834828
"address": "0xa34c5e0abe843e10461e2c9586ea03e55dbcc495",
@@ -1590,14 +1584,6 @@
15901584
"chainId": 100,
15911585
"logoURI": "https://raw.githubusercontent.com/cowprotocol/token-lists/main/src/public/images/100/0xfecb3f7c54e2caae9dc6ac9060a822d47e053760/logo.png"
15921586
},
1593-
{
1594-
"address": "0x0000000000000000000000000000000000001010",
1595-
"symbol": "POL",
1596-
"name": "POL (ex-MATIC)",
1597-
"decimals": 18,
1598-
"chainId": 137,
1599-
"logoURI": "https://raw.githubusercontent.com/cowprotocol/token-lists/main/src/public/images/137/0x0000000000000000000000000000000000001010/logo.png"
1600-
},
16011587
{
16021588
"address": "0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270",
16031589
"symbol": "WPOL",
@@ -1701,9 +1687,7 @@
17011687
"decimals": 6,
17021688
"chainId": 8453,
17031689
"logoURI": "https://raw.githubusercontent.com/cowprotocol/token-lists/main/src/public/images/8453/0x833589fcd6edb6e08f4c7c32d4f71b54bda02913/logo.png",
1704-
"tags": [
1705-
"circle"
1706-
]
1690+
"tags": ["circle"]
17071691
},
17081692
{
17091693
"address": "0xa34c5e0abe843e10461e2c9586ea03e55dbcc495",
@@ -1848,9 +1832,7 @@
18481832
"decimals": 6,
18491833
"chainId": 42161,
18501834
"logoURI": "https://raw.githubusercontent.com/cowprotocol/token-lists/main/src/public/images/42161/0xaf88d065e77c8cc2239327c5edb3a432268e5831/logo.png",
1851-
"tags": [
1852-
"circle"
1853-
]
1835+
"tags": ["circle"]
18541836
},
18551837
{
18561838
"address": "0xcb8b5cd20bdcaea9a010ac1f8d835824f5c87a04",
@@ -1891,14 +1873,6 @@
18911873
"decimals": 6,
18921874
"chainId": 43114,
18931875
"logoURI": "https://raw.githubusercontent.com/cowprotocol/token-lists/main/src/public/images/43114/0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e/logo.png"
1894-
},
1895-
{
1896-
"address": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
1897-
"symbol": "AVAX",
1898-
"name": "Avalanche",
1899-
"decimals": 18,
1900-
"chainId": 43114,
1901-
"logoURI": "https://raw.githubusercontent.com/cowprotocol/token-lists/main/src/public/images/43114/0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee/logo.png"
19021876
}
19031877
]
19041878
}

src/public/images/137/0x0000000000000000000000000000000000001010/info.json

Lines changed: 0 additions & 9 deletions
This file was deleted.
Binary file not shown.

src/public/images/43114/0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee/info.json

Lines changed: 0 additions & 10 deletions
This file was deleted.
Binary file not shown.

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,10 @@
9292
graphql-request "^4.3.0"
9393
limiter "^3.0.0"
9494

95-
"@cowprotocol/permit-utils@^0.4.0":
96-
version "0.4.0"
97-
resolved "https://registry.yarnpkg.com/@cowprotocol/permit-utils/-/permit-utils-0.4.0.tgz#36f19a1a6ea813ebf583d226e34d8abb203f8472"
98-
integrity sha512-iWbxk9m2JGgx4gtQ/F0iNoFKOcBSVnRwYQKgtVZy5gkpVxNXhFd/YRZoLYFpxL7N4OLMug/PG6Y5whmZkytu5w==
95+
"@cowprotocol/permit-utils@^0.7.0-RC.0":
96+
version "0.7.0-RC.0"
97+
resolved "https://registry.yarnpkg.com/@cowprotocol/permit-utils/-/permit-utils-0.7.0-RC.0.tgz#a7efce813b68b4d1d2d937ef8a0de21a93901bb5"
98+
integrity sha512-qbJ9RFO65M2UYodKojlxv4jAclUFqLprmwR5sZZwd3eHSUQ4Nc6sJ6yK5uj1KfMOOz0C1dgqnfBYRwHzYAXIGw==
9999
dependencies:
100100
"@1inch/permit-signed-approvals-utils" "^1.4.10"
101101
"@cowprotocol/app-data" "^1.1.0"

0 commit comments

Comments
 (0)