@ring-protocol/few-v2-sdk 0.1.2 → 0.1.5
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/dist/constants.d.ts +10 -0
- package/dist/entities/pair.d.ts +2 -1
- package/dist/few-v2-sdk.cjs.development.js +2808 -46
- package/dist/few-v2-sdk.cjs.development.js.map +1 -1
- package/dist/few-v2-sdk.cjs.production.min.js +1 -1
- package/dist/few-v2-sdk.cjs.production.min.js.map +1 -1
- package/dist/few-v2-sdk.esm.js +2804 -47
- package/dist/few-v2-sdk.esm.js.map +1 -1
- package/dist/fewToken.d.ts +5 -0
- package/dist/index.d.ts +2 -1
- package/package.json +1 -1
package/dist/constants.d.ts
CHANGED
|
@@ -4,10 +4,20 @@ import JSBI from 'jsbi';
|
|
|
4
4
|
* @deprecated use FACTORY_ADDRESS_MAP instead
|
|
5
5
|
*/
|
|
6
6
|
export declare const FACTORY_ADDRESS = "0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f";
|
|
7
|
+
/**
|
|
8
|
+
* @deprecated use V2_FACTORY_ADDRESSES instead
|
|
9
|
+
*/
|
|
10
|
+
export declare const V2_FACTORY_ADDRESS = "0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f";
|
|
11
|
+
export declare const V2_FACTORY_ADDRESSES: {
|
|
12
|
+
[chainId: number]: string;
|
|
13
|
+
};
|
|
7
14
|
export declare const FACTORY_ADDRESS_MAP: {
|
|
8
15
|
[chainId: number]: string;
|
|
9
16
|
};
|
|
10
17
|
export declare const INIT_CODE_HASH = "0x96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f";
|
|
18
|
+
export declare const INIT_CODE_HASH_MAP: {
|
|
19
|
+
[chainId: number]: string;
|
|
20
|
+
};
|
|
11
21
|
export declare const MINIMUM_LIQUIDITY: JSBI;
|
|
12
22
|
export declare const ZERO: JSBI;
|
|
13
23
|
export declare const ONE: JSBI;
|
package/dist/entities/pair.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { BigintIsh, CurrencyAmount, Price, Token } from '@ring-protocol/sdk-core';
|
|
2
|
-
export declare const computePairAddress: ({ factoryAddress, tokenA, tokenB, }: {
|
|
2
|
+
export declare const computePairAddress: ({ initCodeHash, factoryAddress, tokenA, tokenB, }: {
|
|
3
|
+
initCodeHash: string;
|
|
3
4
|
factoryAddress: string;
|
|
4
5
|
tokenA: Token;
|
|
5
6
|
tokenB: Token;
|