@cowprotocol/cow-sdk 6.1.0 → 6.2.0-RC.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.
- package/dist/chains/details/bnb.d.ts +2 -0
- package/dist/chains/details/index.d.ts +2 -0
- package/dist/chains/details/lens.d.ts +2 -0
- package/dist/chains/types.d.ts +4 -2
- package/dist/common/consts/contracts.d.ts +2 -5
- package/dist/index-a1f49549.js +29 -0
- package/dist/index-a1f49549.js.map +1 -0
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +1 -1
- package/dist/index.module.js +4 -4
- package/dist/index.module.js.map +1 -1
- package/dist/package.json +6 -3
- package/dist/schemas/trading/QuoterParameters.ts +4 -2
- package/dist/trading/calculateUniqueOrderId.d.ts +2 -2
- package/dist/trading/getEthFlowTransaction.d.ts +5 -5
- package/dist/{utils-f94c0904.js → utils-65f87588.js} +1 -1
- package/dist/{utils-f94c0904.js.map → utils-65f87588.js.map} +1 -1
- package/dist/{utils-ce940a22.js → utils-674a2b12.js} +1 -1
- package/dist/{utils-ce940a22.js.map → utils-674a2b12.js.map} +1 -1
- package/dist/{utils-6e8340a0.js → utils-bb23b910.js} +2 -2
- package/dist/{utils-6e8340a0.js.map → utils-bb23b910.js.map} +1 -1
- package/package.json +6 -3
- package/dist/index-67580d8b.js +0 -29
- package/dist/index-67580d8b.js.map +0 -1
package/dist/chains/types.d.ts
CHANGED
|
@@ -8,10 +8,12 @@ import { TokenInfo } from '../common/types/tokens';
|
|
|
8
8
|
*/
|
|
9
9
|
export declare enum SupportedChainId {
|
|
10
10
|
MAINNET = 1,
|
|
11
|
+
BNB = 56,
|
|
11
12
|
GNOSIS_CHAIN = 100,
|
|
12
|
-
ARBITRUM_ONE = 42161,
|
|
13
|
-
BASE = 8453,
|
|
14
13
|
POLYGON = 137,
|
|
14
|
+
LENS = 232,
|
|
15
|
+
BASE = 8453,
|
|
16
|
+
ARBITRUM_ONE = 42161,
|
|
15
17
|
AVALANCHE = 43114,
|
|
16
18
|
SEPOLIA = 11155111
|
|
17
19
|
}
|
|
@@ -34,15 +34,12 @@ export declare const EXTENSIBLE_FALLBACK_HANDLER_CONTRACT_ADDRESS: Record<Suppor
|
|
|
34
34
|
* An object containing the addresses of the `ComposableCow` contracts for each supported chain.
|
|
35
35
|
*/
|
|
36
36
|
export declare const COMPOSABLE_COW_CONTRACT_ADDRESS: Record<SupportedChainId, string>;
|
|
37
|
-
export declare const ETH_FLOW_ADDRESS = "0xba3cb449bd2b4adddbc894d8697f5170800eadec";
|
|
38
|
-
export declare const BARN_ETH_FLOW_ADDRESS = "0x04501b9b1d52e67f6862d157e00d13419d2d6e95";
|
|
39
37
|
/**
|
|
40
|
-
* An object containing the addresses of ETH flow contracts for each supported chain.
|
|
41
|
-
* @deprecated use ETH_FLOW_ADDRESS instead
|
|
38
|
+
* An object containing the addresses of ETH flow contracts for each supported chain for production.
|
|
42
39
|
*/
|
|
43
40
|
export declare const ETH_FLOW_ADDRESSES: Record<SupportedChainId, string>;
|
|
44
41
|
/**
|
|
45
|
-
*
|
|
42
|
+
* An object containing the addresses of ETH flow contracts for each supported chain for barn.
|
|
46
43
|
*/
|
|
47
44
|
export declare const BARN_ETH_FLOW_ADDRESSES: Record<SupportedChainId, string>;
|
|
48
45
|
export declare const MAX_VALID_TO_EPOCH = 4294967295;
|