@avaprotocol/protocols 0.3.0 → 0.4.0

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,13 +1,25 @@
1
1
  [
2
+ {
3
+ "id": "0xe4ab69c077896252fafbd49efd26b5d171a32410",
4
+ "name": "Chainlink",
5
+ "symbol": "LINK",
6
+ "decimals": 18
7
+ },
2
8
  {
3
9
  "id": "0x036cbd53842c5426634e7929541ec2318f3dcf7e",
4
- "name": "USD Coin (Base Sepolia)",
10
+ "name": "USD Coin",
5
11
  "symbol": "USDC",
6
12
  "decimals": 6
7
13
  },
14
+ {
15
+ "id": "0xce8565457cca0fc7542608a2c78610ed7bc66c8c",
16
+ "name": "Tether USD",
17
+ "symbol": "USDT",
18
+ "decimals": 6
19
+ },
8
20
  {
9
21
  "id": "0x4200000000000000000000000000000000000006",
10
- "name": "Wrapped Ether (Base Sepolia)",
22
+ "name": "Wrapped Ether",
11
23
  "symbol": "WETH",
12
24
  "decimals": 18
13
25
  }
@@ -1,20 +1,140 @@
1
1
  [
2
+ {
3
+ "id": "0x63706e401c06ac8513145b7687a14804d17f814b",
4
+ "name": "Aave",
5
+ "symbol": "AAVE",
6
+ "decimals": 18
7
+ },
8
+ {
9
+ "id": "0x940181a94a35a4569e4529a3cdfb74e38fd98631",
10
+ "name": "Aerodrome",
11
+ "symbol": "AERO",
12
+ "decimals": 18
13
+ },
14
+ {
15
+ "id": "0xeb466342c4d449bc9f53a865d5cb90586f405215",
16
+ "name": "Axelar Wrapped USDC",
17
+ "symbol": "axlUSDC",
18
+ "decimals": 6
19
+ },
20
+ {
21
+ "id": "0x7c6b91d9be155a6db01f749217d76ff02a7227f2",
22
+ "name": "Balancer",
23
+ "symbol": "BAL",
24
+ "decimals": 18
25
+ },
26
+ {
27
+ "id": "0x532f27101965dd16442e59d40670faf5ebb142e4",
28
+ "name": "Brett",
29
+ "symbol": "BRETT",
30
+ "decimals": 18
31
+ },
32
+ {
33
+ "id": "0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf",
34
+ "name": "Coinbase Wrapped BTC",
35
+ "symbol": "cbBTC",
36
+ "decimals": 8
37
+ },
38
+ {
39
+ "id": "0x2ae3f1ec7f1f5012cfeab0185bfc7aa3cf0dec22",
40
+ "name": "Coinbase Wrapped Staked ETH",
41
+ "symbol": "cbETH",
42
+ "decimals": 18
43
+ },
2
44
  {
3
45
  "id": "0x50c5725949a6f0c72e6c4a641f24049a917db0cb",
4
- "name": "Dai Stablecoin",
46
+ "name": "Dai",
5
47
  "symbol": "DAI",
6
48
  "decimals": 18
7
49
  },
50
+ {
51
+ "id": "0x4ed4e862860bed51a9570b96d89af5e1b0efefed",
52
+ "name": "Degen",
53
+ "symbol": "DEGEN",
54
+ "decimals": 18
55
+ },
56
+ {
57
+ "id": "0x88fb150bdc53a65fe94dea0c9ba0a6daf8c6e196",
58
+ "name": "Chainlink",
59
+ "symbol": "LINK",
60
+ "decimals": 18
61
+ },
62
+ {
63
+ "id": "0xbaa5cc21fd487b8fcc2f632f3f4e8d37262a0842",
64
+ "name": "Morpho Token",
65
+ "symbol": "MORPHO",
66
+ "decimals": 18
67
+ },
68
+ {
69
+ "id": "0xb6fe221fe9eef5aba221c348ba20a1bf5e73624c",
70
+ "name": "Rocket Pool ETH",
71
+ "symbol": "rETH",
72
+ "decimals": 18
73
+ },
74
+ {
75
+ "id": "0xab36452dbac151be02b16ca17d8919826072f64a",
76
+ "name": "Reserve Rights",
77
+ "symbol": "RSR",
78
+ "decimals": 18
79
+ },
80
+ {
81
+ "id": "0xac1bd2486aaf3b5c0fc3fd868558b082a531b2b4",
82
+ "name": "Toshi",
83
+ "symbol": "TOSHI",
84
+ "decimals": 18
85
+ },
86
+ {
87
+ "id": "0xc3de830ea07524a0761646a6a4e4be0e114a3c83",
88
+ "name": "Uniswap",
89
+ "symbol": "UNI",
90
+ "decimals": 18
91
+ },
92
+ {
93
+ "id": "0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca",
94
+ "name": "USD Base Coin",
95
+ "symbol": "USDbC",
96
+ "decimals": 6
97
+ },
8
98
  {
9
99
  "id": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
10
100
  "name": "USD Coin",
11
101
  "symbol": "USDC",
12
102
  "decimals": 6
13
103
  },
104
+ {
105
+ "id": "0xfde4c96c8593536e31f229ea8f37b2ada2699bb2",
106
+ "name": "Bridged Tether USD",
107
+ "symbol": "USDT",
108
+ "decimals": 6
109
+ },
110
+ {
111
+ "id": "0x0b3e328455c4059eeb9e3f84b5543f74e24e7e1b",
112
+ "name": "Virtual Protocol",
113
+ "symbol": "VIRTUAL",
114
+ "decimals": 18
115
+ },
116
+ {
117
+ "id": "0xa88594d404727625a9437c3f886c7643872296ae",
118
+ "name": "WELL",
119
+ "symbol": "WELL",
120
+ "decimals": 18
121
+ },
14
122
  {
15
123
  "id": "0x4200000000000000000000000000000000000006",
16
124
  "name": "Wrapped Ether",
17
125
  "symbol": "WETH",
18
126
  "decimals": 18
127
+ },
128
+ {
129
+ "id": "0xc1cba3fcea344f92d9239c08c0568f6f2f0ee452",
130
+ "name": "Wrapped liquid staked Ether 2.0",
131
+ "symbol": "wstETH",
132
+ "decimals": 18
133
+ },
134
+ {
135
+ "id": "0x9eaf8c1e34f05a589eda6bafdf391cf6ad3cb239",
136
+ "name": "yearn.finance",
137
+ "symbol": "YFI",
138
+ "decimals": 18
19
139
  }
20
140
  ]
@@ -1,16 +1,154 @@
1
1
  [
2
+ {
3
+ "id": "0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9",
4
+ "name": "Aave",
5
+ "symbol": "AAVE",
6
+ "decimals": 18
7
+ },
8
+ {
9
+ "id": "0xb50721bcf8d664c30412cfbc6cf7a15145234ad1",
10
+ "name": "Arbitrum",
11
+ "symbol": "ARB",
12
+ "decimals": 18
13
+ },
14
+ {
15
+ "id": "0xc00e94cb662c3520282e6f5717214004a7f26888",
16
+ "name": "Compound",
17
+ "symbol": "COMP",
18
+ "decimals": 18
19
+ },
20
+ {
21
+ "id": "0xd533a949740bb3306d119cc777fa900ba034cd52",
22
+ "name": "Curve DAO Token",
23
+ "symbol": "CRV",
24
+ "decimals": 18
25
+ },
2
26
  {
3
27
  "id": "0x6b175474e89094c44da98b954eedeac495271d0f",
4
- "name": "Dai Stablecoin",
28
+ "name": "Dai",
5
29
  "symbol": "DAI",
6
30
  "decimals": 18
7
31
  },
32
+ {
33
+ "id": "0x92d6c1e31e14520e676a687f0a93788b716beff5",
34
+ "name": "dYdX",
35
+ "symbol": "DYDX",
36
+ "decimals": 18
37
+ },
38
+ {
39
+ "id": "0xec53bf9167f50cdeb3ae105f56099aaab9061f83",
40
+ "name": "Eigen",
41
+ "symbol": "EIGEN",
42
+ "decimals": 18
43
+ },
44
+ {
45
+ "id": "0x57e114b691db790c35207b2e685d4a43181e6061",
46
+ "name": "ENA",
47
+ "symbol": "ENA",
48
+ "decimals": 18
49
+ },
50
+ {
51
+ "id": "0xc18360217d8f7ab5e7c516566761ea12ce7f9d72",
52
+ "name": "Ethereum Name Service",
53
+ "symbol": "ENS",
54
+ "decimals": 18
55
+ },
56
+ {
57
+ "id": "0xaea46a60368a7bd060eec7df8cba43b7ef41ad85",
58
+ "name": "Fetch.ai",
59
+ "symbol": "FET",
60
+ "decimals": 18
61
+ },
62
+ {
63
+ "id": "0x853d955acef822db058eb8505911ed77f175b99e",
64
+ "name": "Frax",
65
+ "symbol": "FRAX",
66
+ "decimals": 18
67
+ },
68
+ {
69
+ "id": "0xc944e90c64b2c07662a292be6244bdf05cda44a7",
70
+ "name": "The Graph",
71
+ "symbol": "GRT",
72
+ "decimals": 18
73
+ },
74
+ {
75
+ "id": "0x5a98fcbea516cf06857215779fd812ca3bef1b32",
76
+ "name": "Lido DAO",
77
+ "symbol": "LDO",
78
+ "decimals": 18
79
+ },
8
80
  {
9
81
  "id": "0x514910771af9ca656af840dff83e8264ecf986ca",
10
- "name": "ChainLink Token",
82
+ "name": "Chainlink",
11
83
  "symbol": "LINK",
12
84
  "decimals": 18
13
85
  },
86
+ {
87
+ "id": "0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2",
88
+ "name": "Maker",
89
+ "symbol": "MKR",
90
+ "decimals": 18
91
+ },
92
+ {
93
+ "id": "0x45804880de22913dafe09f4980848ece6ecbaf78",
94
+ "name": "PAX Gold",
95
+ "symbol": "PAXG",
96
+ "decimals": 18
97
+ },
98
+ {
99
+ "id": "0x808507121b80c02388fad14726482e061b8da827",
100
+ "name": "Pendle",
101
+ "symbol": "PENDLE",
102
+ "decimals": 18
103
+ },
104
+ {
105
+ "id": "0x6982508145454ce325ddbe47a25d4ec3d2311933",
106
+ "name": "Pepe",
107
+ "symbol": "PEPE",
108
+ "decimals": 18
109
+ },
110
+ {
111
+ "id": "0x6c3ea9036406852006290770bedfcaba0e23a0e8",
112
+ "name": "PayPal USD",
113
+ "symbol": "PYUSD",
114
+ "decimals": 6
115
+ },
116
+ {
117
+ "id": "0x6de037ef9ad2725eb40118bb1702ebb27e4aeb24",
118
+ "name": "Render Token",
119
+ "symbol": "RNDR",
120
+ "decimals": 18
121
+ },
122
+ {
123
+ "id": "0xd33526068d116ce69f19a9ee46f0bd304f21a51f",
124
+ "name": "Rocket Pool",
125
+ "symbol": "RPL",
126
+ "decimals": 18
127
+ },
128
+ {
129
+ "id": "0x95ad61b0a150d79219dcf64e1e6cc01f0b64c4ce",
130
+ "name": "SHIBA INU",
131
+ "symbol": "SHIB",
132
+ "decimals": 18
133
+ },
134
+ {
135
+ "id": "0xc011a73ee8576fb46f5e1c5751ca3b9fe0af2a6f",
136
+ "name": "Synthetix",
137
+ "symbol": "SNX",
138
+ "decimals": 18
139
+ },
140
+ {
141
+ "id": "0xae7ab96520de3a18e5e111b5eaab095312d7fe84",
142
+ "name": "stETH",
143
+ "symbol": "stETH",
144
+ "decimals": 18
145
+ },
146
+ {
147
+ "id": "0x1f9840a85d5af5bf1d1762f925bdaddc4201f984",
148
+ "name": "Uniswap",
149
+ "symbol": "UNI",
150
+ "decimals": 18
151
+ },
14
152
  {
15
153
  "id": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
16
154
  "name": "USD Coin",
@@ -19,14 +157,26 @@
19
157
  },
20
158
  {
21
159
  "id": "0xdac17f958d2ee523a2206206994597c13d831ec7",
22
- "name": "Tether USD",
160
+ "name": "Tether",
23
161
  "symbol": "USDT",
24
162
  "decimals": 6
25
163
  },
164
+ {
165
+ "id": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
166
+ "name": "Wrapped BTC",
167
+ "symbol": "WBTC",
168
+ "decimals": 8
169
+ },
26
170
  {
27
171
  "id": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
28
- "name": "Wrapped Ether",
172
+ "name": "WETH",
29
173
  "symbol": "WETH",
30
174
  "decimals": 18
175
+ },
176
+ {
177
+ "id": "0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0",
178
+ "name": "Wrapped liquid staked Ether 2.0",
179
+ "symbol": "wstETH",
180
+ "decimals": 18
31
181
  }
32
182
  ]
@@ -1,4 +1,4 @@
1
- import { type TokenChainEntry } from "./types";
1
+ import { type TokenByChain, type TokenChainEntry } from "./types";
2
2
  export type { TokenByChain, TokenChainEntry, TokenLinks } from "./types";
3
3
  /**
4
4
  * Symbol → per-chain entry. The outer object is frozen at module
@@ -9,18 +9,18 @@ export type { TokenByChain, TokenChainEntry, TokenLinks } from "./types";
9
9
  * import would add overhead for a guarantee no consumer has asked
10
10
  * for. Add a deep-freeze pass here if a real misuse case emerges.
11
11
  *
12
- * Symbol keys are the canonical uppercase ERC-20 ticker (USDC, not
13
- * usdc/Usdc). The catalog is intentionally not case-insensitive at
14
- * this level callers needing a fuzzy lookup should normalize at
15
- * their own boundary.
12
+ * Symbol keys preserve the casing used by the token's canonical
13
+ * branding as published by upstream catalogs. Most symbols are
14
+ * uppercase (USDC, WETH, AAVE) but mixed-case tickers exist where
15
+ * the project explicitly brands that way (stETH, wstETH, axlUSDC,
16
+ * cbBTC, USDbC, rETH, sUSDe). The catalog is intentionally NOT
17
+ * case-insensitive at this level — `Tokens.usdc` is `undefined`,
18
+ * not USDC — so callers needing fuzzy lookup should normalize at
19
+ * their own boundary or use `lookupToken(chainId, address)` which
20
+ * lookups by address (case-insensitive on address, but symbol-
21
+ * agnostic).
16
22
  */
17
- export declare const Tokens: Readonly<{
18
- USDC: Partial<Record<number, TokenChainEntry>>;
19
- USDT: Partial<Record<number, TokenChainEntry>>;
20
- WETH: Partial<Record<number, TokenChainEntry>>;
21
- DAI: Partial<Record<number, TokenChainEntry>>;
22
- LINK: Partial<Record<number, TokenChainEntry>>;
23
- }>;
23
+ export declare const Tokens: Readonly<Record<string, TokenByChain>>;
24
24
  /**
25
25
  * Reverse lookup: given a contract address, find the token entry plus
26
26
  * its symbol. Address matching is case-insensitive so callers can pass
@@ -33,11 +33,13 @@ export declare const Tokens: Readonly<{
33
33
  * for the address. Necessary when the caller's chain context
34
34
  * diverges from where the address actually lives — happens in
35
35
  * multi-chain dev gateways where the workflow targets one chain
36
- * but the runtime is bound to a different one. Most ERC-20
37
- * addresses are globally unique so this collapses to a single
38
- * match; for OP-stack predeploys (e.g. WETH at 0x4200…0006 on
39
- * both Base and Base Sepolia), any match yields the correct
40
- * symbol and decimals.
36
+ * but the runtime is bound to a different one. The fallback is
37
+ * best-effort: the same 20-byte address is reachable on every
38
+ * EVM chain, so the scan only happens to be correct because the
39
+ * catalog only ships well-known canonical tokens whose contract
40
+ * addresses (mainnet USDC, OP-stack WETH predeploys, etc.) don't
41
+ * collide across chains in practice. Callers should still pass
42
+ * the right chainId when they have it.
41
43
  *
42
44
  * Returns `undefined` when no chain in the catalog carries the
43
45
  * address, or when the address is missing/falsy.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tokens/index.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAqB,KAAK,eAAe,EAAE,MAAM,SAAS,CAAC;AAElE,YAAY,EAAE,YAAY,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AA+IzE;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,MAAM;;;;;;EAMgC,CAAC;AAEpD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAgB,WAAW,CACzB,OAAO,EAAE,MAAM,GAAG,SAAS,EAC3B,OAAO,EAAE,MAAM,GAAG,SAAS,GAC1B,CAAC,eAAe,GAAG;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC,GAAG,SAAS,CAsBpD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tokens/index.ts"],"names":[],"mappings":"AA6BA,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,eAAe,EAAE,MAAM,SAAS,CAAC;AAQlE,YAAY,EAAE,YAAY,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAqDzE;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAwC,CAAC;AAEnG;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wBAAgB,WAAW,CACzB,OAAO,EAAE,MAAM,GAAG,SAAS,EAC3B,OAAO,EAAE,MAAM,GAAG,SAAS,GAC1B,CAAC,eAAe,GAAG;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC,GAAG,SAAS,CAsBpD"}
@@ -1,19 +1,37 @@
1
1
  [
2
2
  {
3
- "id": "0xf8fb3713d459d7c1018bd0a49d19b4c44290ebe5",
4
- "name": "ChainLink Token (AAVE Sepolia faucet)",
3
+ "id": "0x3e622317f8c93f7328350cf0b56d9ed4c620c5d6",
4
+ "name": "Dai Stablecoin",
5
+ "symbol": "DAI",
6
+ "decimals": 18
7
+ },
8
+ {
9
+ "id": "0x779877a7b0d9e8603169ddbd7836e478b4624789",
10
+ "name": "ChainLink Token",
5
11
  "symbol": "LINK",
6
12
  "decimals": 18
7
13
  },
14
+ {
15
+ "id": "0x1f9840a85d5af5bf1d1762f925bdaddc4201f984",
16
+ "name": "Uniswap",
17
+ "symbol": "UNI",
18
+ "decimals": 18
19
+ },
8
20
  {
9
21
  "id": "0x1c7d4b196cb0c7b01d743fbc6116a902379c7238",
10
- "name": "USD Coin (Sepolia)",
22
+ "name": "USD Coin",
11
23
  "symbol": "USDC",
12
24
  "decimals": 6
13
25
  },
26
+ {
27
+ "id": "0xaa8e23fb1079ea71e0a56f48a2aa51851d8433d0",
28
+ "name": "Tether USD",
29
+ "symbol": "USDT",
30
+ "decimals": 6
31
+ },
14
32
  {
15
33
  "id": "0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
16
- "name": "Wrapped Ether (Sepolia)",
34
+ "name": "Wrapped Ether",
17
35
  "symbol": "WETH",
18
36
  "decimals": 18
19
37
  }
@@ -4,15 +4,27 @@ import { type ChainId } from "../chains";
4
4
  * catalog only records what's actually known per token. Add new keys
5
5
  * here when adding a category we want to surface; consumers ignore
6
6
  * unknown keys harmlessly.
7
+ *
8
+ * Keys follow the names used by upstream catalogs (Studio's
9
+ * `app/lib/erc20/*.json` in particular) so the port is mechanical.
10
+ * `x` is the renamed Twitter; we deliberately use the current name
11
+ * rather than carrying a `twitter` alias.
7
12
  */
8
13
  export interface TokenLinks {
9
14
  readonly github?: string;
10
- readonly twitter?: string;
15
+ readonly x?: string;
11
16
  readonly coingecko?: string;
12
17
  readonly coinmarketcap?: string;
13
18
  readonly reddit?: string;
14
19
  readonly blog?: string;
15
20
  readonly whitepaper?: string;
21
+ readonly facebook?: string;
22
+ readonly discord?: string;
23
+ readonly telegram?: string;
24
+ readonly medium?: string;
25
+ readonly docs?: string;
26
+ readonly forum?: string;
27
+ readonly youtube?: string;
16
28
  }
17
29
  /**
18
30
  * Per-chain token deployment record. `address` and `decimals` are
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/tok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CAAC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@avaprotocol/protocols",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "Multi-chain catalog of DeFi protocol contract addresses, ABI fragments, and event topic hashes — covers AAVE V3, Uniswap V3, Chainlink, Lido, Morpho, and more.",
5
5
  "keywords": [
6
6
  "defi",
@@ -52,6 +52,7 @@
52
52
  "build:js": "tsup src/index.ts --format cjs,esm --target es2020",
53
53
  "build:tokens-sidecar": "tsx scripts/build-tokens-sidecar.ts",
54
54
  "build": "yarn clean:dist && yarn build:declarations && yarn build:js && yarn build:tokens-sidecar",
55
+ "port:studio": "tsx scripts/port-from-studio.ts",
55
56
  "clean": "rm -rf node_modules dist tsconfig.tsbuildinfo",
56
57
  "clean:dist": "rm -rf dist tsconfig.tsbuildinfo",
57
58
  "test": "vitest",
@@ -65,6 +66,7 @@
65
66
  },
66
67
  "devDependencies": {
67
68
  "@changesets/cli": "^2.31.0",
69
+ "ethers": "^6.16.0",
68
70
  "tsup": "^8.5.0",
69
71
  "tsx": "^4.19.0",
70
72
  "typescript": "^5.5.4",