@net-protocol/score 0.1.8 → 0.1.10
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.
- package/README.md +30 -0
- package/dist/index.d.mts +107 -28
- package/dist/index.d.ts +107 -28
- package/dist/index.js +474 -36
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +475 -39
- package/dist/index.mjs.map +1 -1
- package/dist/react.d.mts +2 -2
- package/dist/react.d.ts +2 -2
- package/dist/react.js +3 -1
- package/dist/react.js.map +1 -1
- package/dist/react.mjs +3 -1
- package/dist/react.mjs.map +1 -1
- package/dist/{scoreKeyUtils-BjMpyhyX.d.mts → scoreKeyUtils-BQl5oCSc.d.mts} +1 -1
- package/dist/{scoreKeyUtils-BjMpyhyX.d.ts → scoreKeyUtils-BQl5oCSc.d.ts} +1 -1
- package/package.json +3 -3
package/dist/react.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as _tanstack_query_core from '@tanstack/query-core';
|
|
2
2
|
import * as viem from 'viem';
|
|
3
3
|
import { Address } from 'viem';
|
|
4
|
-
import { m as UseUpvotesOptions, l as UseUpvotesBatchOptions, U as UseTokenUpvotesOptions, n as UseUserUpvotesGivenOptions, p as UseUserUpvotesReceivedOptions, o as UseUserUpvotesGivenPerTokenBatchOptions, q as UseUserUpvotesReceivedPerTokenBatchOptions, k as UseUpvoteUserOptions, j as UseUpvotePriceOptions, y as UseDiscoverPoolsOptions,
|
|
5
|
-
export { F as FeedMessage,
|
|
4
|
+
import { m as UseUpvotesOptions, l as UseUpvotesBatchOptions, U as UseTokenUpvotesOptions, n as UseUserUpvotesGivenOptions, p as UseUserUpvotesReceivedOptions, o as UseUserUpvotesGivenPerTokenBatchOptions, q as UseUserUpvotesReceivedPerTokenBatchOptions, k as UseUpvoteUserOptions, j as UseUpvotePriceOptions, y as UseDiscoverPoolsOptions, d as PoolDiscoveryResult } from './scoreKeyUtils-BQl5oCSc.mjs';
|
|
5
|
+
export { F as FeedMessage, P as PoolDiscoveryPair, e as PoolKey, i as ScoreItem, t as getScoreKey, u as getStorageScoreKey, w as getTokenScoreKey } from './scoreKeyUtils-BQl5oCSc.mjs';
|
|
6
6
|
import * as _wagmi_core from '@wagmi/core';
|
|
7
7
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
8
8
|
|
package/dist/react.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as _tanstack_query_core from '@tanstack/query-core';
|
|
2
2
|
import * as viem from 'viem';
|
|
3
3
|
import { Address } from 'viem';
|
|
4
|
-
import { m as UseUpvotesOptions, l as UseUpvotesBatchOptions, U as UseTokenUpvotesOptions, n as UseUserUpvotesGivenOptions, p as UseUserUpvotesReceivedOptions, o as UseUserUpvotesGivenPerTokenBatchOptions, q as UseUserUpvotesReceivedPerTokenBatchOptions, k as UseUpvoteUserOptions, j as UseUpvotePriceOptions, y as UseDiscoverPoolsOptions,
|
|
5
|
-
export { F as FeedMessage,
|
|
4
|
+
import { m as UseUpvotesOptions, l as UseUpvotesBatchOptions, U as UseTokenUpvotesOptions, n as UseUserUpvotesGivenOptions, p as UseUserUpvotesReceivedOptions, o as UseUserUpvotesGivenPerTokenBatchOptions, q as UseUserUpvotesReceivedPerTokenBatchOptions, k as UseUpvoteUserOptions, j as UseUpvotePriceOptions, y as UseDiscoverPoolsOptions, d as PoolDiscoveryResult } from './scoreKeyUtils-BQl5oCSc.js';
|
|
5
|
+
export { F as FeedMessage, P as PoolDiscoveryPair, e as PoolKey, i as ScoreItem, t as getScoreKey, u as getStorageScoreKey, w as getTokenScoreKey } from './scoreKeyUtils-BQl5oCSc.js';
|
|
6
6
|
import * as _wagmi_core from '@wagmi/core';
|
|
7
7
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
8
8
|
|
package/dist/react.js
CHANGED
|
@@ -1018,8 +1018,10 @@ var MULTI_VERSION_UNISWAP_POOL_INFO_RETRIEVER = {
|
|
|
1018
1018
|
var WETH_BY_CHAIN = {
|
|
1019
1019
|
8453: "0x4200000000000000000000000000000000000006",
|
|
1020
1020
|
// Base (L2 predeploy)
|
|
1021
|
-
1: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
|
|
1021
|
+
1: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
|
|
1022
1022
|
// Ethereum mainnet
|
|
1023
|
+
4663: "0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73"
|
|
1024
|
+
// Robinhood Chain (non-standard WETH; not the OP predeploy)
|
|
1023
1025
|
};
|
|
1024
1026
|
function getWethAddress(chainId) {
|
|
1025
1027
|
const addr = WETH_BY_CHAIN[chainId];
|