@across-protocol/sdk 4.3.136-alpha.0 → 4.3.136-beta.1
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/cjs/src/relayFeeCalculator/chain-queries/factory.d.ts +0 -36
- package/dist/cjs/src/relayFeeCalculator/relayFeeCalculator.d.ts +0 -36
- package/dist/cjs/src/typechain.d.ts +0 -8
- package/dist/cjs/src/typechain.js +1 -9
- package/dist/cjs/src/typechain.js.map +1 -1
- package/dist/cjs/src/utils/Multicall.js +0 -1
- package/dist/cjs/src/utils/Multicall.js.map +1 -1
- package/dist/cjs/src/utils/NetworkUtils.js +3 -4
- package/dist/cjs/src/utils/NetworkUtils.js.map +1 -1
- package/dist/cjs/src/utils/TokenUtils.d.ts +0 -72
- package/dist/cjs/src/utils/abi/typechain/factories/SpokePoolPeriphery__factory.d.ts +0 -4
- package/dist/cjs/src/utils/abi/typechain/factories/SpokePoolPeriphery__factory.js +0 -5
- package/dist/cjs/src/utils/abi/typechain/factories/SpokePoolPeriphery__factory.js.map +1 -1
- package/dist/esm/src/relayFeeCalculator/chain-queries/factory.d.ts +0 -36
- package/dist/esm/src/relayFeeCalculator/relayFeeCalculator.d.ts +0 -36
- package/dist/esm/src/typechain.d.ts +2 -10
- package/dist/esm/src/typechain.js +2 -7
- package/dist/esm/src/typechain.js.map +1 -1
- package/dist/esm/src/utils/Multicall.js +0 -1
- package/dist/esm/src/utils/Multicall.js.map +1 -1
- package/dist/esm/src/utils/NetworkUtils.js +3 -4
- package/dist/esm/src/utils/NetworkUtils.js.map +1 -1
- package/dist/esm/src/utils/TokenUtils.d.ts +0 -72
- package/dist/esm/src/utils/abi/typechain/factories/SpokePoolPeriphery__factory.d.ts +0 -4
- package/dist/esm/src/utils/abi/typechain/factories/SpokePoolPeriphery__factory.js +0 -5
- package/dist/esm/src/utils/abi/typechain/factories/SpokePoolPeriphery__factory.js.map +1 -1
- package/dist/types/src/relayFeeCalculator/chain-queries/factory.d.ts +0 -36
- package/dist/types/src/relayFeeCalculator/chain-queries/factory.d.ts.map +1 -1
- package/dist/types/src/relayFeeCalculator/relayFeeCalculator.d.ts +0 -36
- package/dist/types/src/relayFeeCalculator/relayFeeCalculator.d.ts.map +1 -1
- package/dist/types/src/typechain.d.ts +2 -10
- package/dist/types/src/typechain.d.ts.map +1 -1
- package/dist/types/src/utils/Multicall.d.ts.map +1 -1
- package/dist/types/src/utils/NetworkUtils.d.ts.map +1 -1
- package/dist/types/src/utils/TokenUtils.d.ts +0 -72
- package/dist/types/src/utils/TokenUtils.d.ts.map +1 -1
- package/dist/types/src/utils/abi/typechain/factories/SpokePoolPeriphery__factory.d.ts +0 -4
- package/dist/types/src/utils/abi/typechain/factories/SpokePoolPeriphery__factory.d.ts.map +1 -1
- package/package.json +5 -5
- package/src/typechain.ts +2 -22
- package/src/utils/Multicall.ts +0 -1
- package/src/utils/NetworkUtils.ts +3 -4
- package/src/utils/abi/contracts/SpokePoolPeriphery.json +0 -5
- package/src/utils/abi/typechain/factories/SpokePoolPeriphery__factory.ts +0 -5
|
@@ -241,15 +241,6 @@ export declare const resolveContractFromSymbol: (symbol: string, chainId: number
|
|
|
241
241
|
};
|
|
242
242
|
coingeckoId: string;
|
|
243
243
|
};
|
|
244
|
-
TRX: {
|
|
245
|
-
name: string;
|
|
246
|
-
symbol: string;
|
|
247
|
-
decimals: number;
|
|
248
|
-
addresses: {
|
|
249
|
-
[x: number]: string;
|
|
250
|
-
};
|
|
251
|
-
coingeckoId: string;
|
|
252
|
-
};
|
|
253
244
|
UMA: {
|
|
254
245
|
name: string;
|
|
255
246
|
symbol: string;
|
|
@@ -315,24 +306,6 @@ export declare const resolveContractFromSymbol: (symbol: string, chainId: number
|
|
|
315
306
|
l1TokenDecimals: number;
|
|
316
307
|
coingeckoId: string;
|
|
317
308
|
};
|
|
318
|
-
"USDC-PERPS": {
|
|
319
|
-
name: string;
|
|
320
|
-
symbol: string;
|
|
321
|
-
decimals: number;
|
|
322
|
-
addresses: {
|
|
323
|
-
[x: number]: string;
|
|
324
|
-
};
|
|
325
|
-
coingeckoId: string;
|
|
326
|
-
};
|
|
327
|
-
"USDC-SPOT": {
|
|
328
|
-
name: string;
|
|
329
|
-
symbol: string;
|
|
330
|
-
decimals: number;
|
|
331
|
-
addresses: {
|
|
332
|
-
[x: number]: string;
|
|
333
|
-
};
|
|
334
|
-
coingeckoId: string;
|
|
335
|
-
};
|
|
336
309
|
USDH: {
|
|
337
310
|
name: string;
|
|
338
311
|
symbol: string;
|
|
@@ -507,15 +480,6 @@ export declare const resolveContractFromSymbol: (symbol: string, chainId: number
|
|
|
507
480
|
};
|
|
508
481
|
coingeckoId: string;
|
|
509
482
|
};
|
|
510
|
-
WTRX: {
|
|
511
|
-
name: string;
|
|
512
|
-
symbol: string;
|
|
513
|
-
decimals: number;
|
|
514
|
-
addresses: {
|
|
515
|
-
[x: number]: string;
|
|
516
|
-
};
|
|
517
|
-
coingeckoId: string;
|
|
518
|
-
};
|
|
519
483
|
WXPL: {
|
|
520
484
|
name: string;
|
|
521
485
|
symbol: string;
|
|
@@ -774,15 +738,6 @@ export declare function getTokenInfo(l2Token: Address, chainId: number, tokenMap
|
|
|
774
738
|
};
|
|
775
739
|
coingeckoId: string;
|
|
776
740
|
};
|
|
777
|
-
TRX: {
|
|
778
|
-
name: string;
|
|
779
|
-
symbol: string;
|
|
780
|
-
decimals: number;
|
|
781
|
-
addresses: {
|
|
782
|
-
[x: number]: string;
|
|
783
|
-
};
|
|
784
|
-
coingeckoId: string;
|
|
785
|
-
};
|
|
786
741
|
UMA: {
|
|
787
742
|
name: string;
|
|
788
743
|
symbol: string;
|
|
@@ -848,24 +803,6 @@ export declare function getTokenInfo(l2Token: Address, chainId: number, tokenMap
|
|
|
848
803
|
l1TokenDecimals: number;
|
|
849
804
|
coingeckoId: string;
|
|
850
805
|
};
|
|
851
|
-
"USDC-PERPS": {
|
|
852
|
-
name: string;
|
|
853
|
-
symbol: string;
|
|
854
|
-
decimals: number;
|
|
855
|
-
addresses: {
|
|
856
|
-
[x: number]: string;
|
|
857
|
-
};
|
|
858
|
-
coingeckoId: string;
|
|
859
|
-
};
|
|
860
|
-
"USDC-SPOT": {
|
|
861
|
-
name: string;
|
|
862
|
-
symbol: string;
|
|
863
|
-
decimals: number;
|
|
864
|
-
addresses: {
|
|
865
|
-
[x: number]: string;
|
|
866
|
-
};
|
|
867
|
-
coingeckoId: string;
|
|
868
|
-
};
|
|
869
806
|
USDH: {
|
|
870
807
|
name: string;
|
|
871
808
|
symbol: string;
|
|
@@ -1040,15 +977,6 @@ export declare function getTokenInfo(l2Token: Address, chainId: number, tokenMap
|
|
|
1040
977
|
};
|
|
1041
978
|
coingeckoId: string;
|
|
1042
979
|
};
|
|
1043
|
-
WTRX: {
|
|
1044
|
-
name: string;
|
|
1045
|
-
symbol: string;
|
|
1046
|
-
decimals: number;
|
|
1047
|
-
addresses: {
|
|
1048
|
-
[x: number]: string;
|
|
1049
|
-
};
|
|
1050
|
-
coingeckoId: string;
|
|
1051
|
-
};
|
|
1052
980
|
WXPL: {
|
|
1053
981
|
name: string;
|
|
1054
982
|
symbol: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TokenUtils.d.ts","sourceRoot":"","sources":["../../../../src/utils/TokenUtils.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAC5D,OAAO,EAAY,SAAS,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAErD,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAEvD,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAG7C,OAAO,EAAE,OAAO,EAAE,UAAU,EAAiB,MAAM,gBAAgB,CAAC;AAGpE,KAAK,gBAAgB,GAAG,SAAS,CAAC,QAAQ,GAAG,MAAM,CAAC;AAEpD,wBAAsB,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoB,GAAG,SAAS,CAe3G;AAED;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAMnF;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,cAAc,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,GAAG,UAAU,CAetF"}
|
|
@@ -1345,10 +1345,6 @@ export declare class SpokePoolPeriphery__factory {
|
|
|
1345
1345
|
readonly type: "error";
|
|
1346
1346
|
readonly name: "InvalidSignature";
|
|
1347
1347
|
readonly inputs: readonly [];
|
|
1348
|
-
}, {
|
|
1349
|
-
readonly type: "error";
|
|
1350
|
-
readonly name: "InvalidSignature";
|
|
1351
|
-
readonly inputs: readonly [];
|
|
1352
1348
|
}, {
|
|
1353
1349
|
readonly type: "error";
|
|
1354
1350
|
readonly name: "MinimumExpectedInputAmount";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpokePoolPeriphery__factory.d.ts","sourceRoot":"","sources":["../../../../../../../src/utils/abi/typechain/factories/SpokePoolPeriphery__factory.ts"],"names":[],"mappings":"AAIA,OAAO,EAAY,MAAM,EAAS,MAAM,QAAQ,CAAC;AACjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,EACV,kBAAkB,EAClB,2BAA2B,EAC5B,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"SpokePoolPeriphery__factory.d.ts","sourceRoot":"","sources":["../../../../../../../src/utils/abi/typechain/factories/SpokePoolPeriphery__factory.ts"],"names":[],"mappings":"AAIA,OAAO,EAAY,MAAM,EAAS,MAAM,QAAQ,CAAC;AACjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,EACV,kBAAkB,EAClB,2BAA2B,EAC5B,MAAM,uBAAuB,CAAC;AA2sD/B,qBAAa,2BAA2B;IACtC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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+
"version": "4.3.136-beta.1",
|
|
5
5
|
"license": "AGPL-3.0",
|
|
6
6
|
"homepage": "https://docs.across.to/reference/sdk",
|
|
7
7
|
"repository": {
|
|
@@ -111,20 +111,20 @@
|
|
|
111
111
|
"typescript": "^5.9"
|
|
112
112
|
},
|
|
113
113
|
"dependencies": {
|
|
114
|
-
"@across-protocol/
|
|
115
|
-
"@across-protocol/
|
|
116
|
-
"@across-protocol/contracts": "5.0.0",
|
|
114
|
+
"@across-protocol/constants": "^3.1.100",
|
|
115
|
+
"@across-protocol/contracts": "5.0.4-alpha.0",
|
|
117
116
|
"@coral-xyz/anchor": "^0.30.1",
|
|
118
117
|
"@eth-optimism/sdk": "^3.3.1",
|
|
119
118
|
"@ethersproject/bignumber": "^5.7.0",
|
|
120
119
|
"@nktkas/hyperliquid": "^0.25.9",
|
|
121
120
|
"@pinata/sdk": "^2.1.0",
|
|
121
|
+
"@solana-program/compute-budget": "^0.11.0",
|
|
122
122
|
"@solana-program/system": "^0.10.0",
|
|
123
123
|
"@solana-program/token": "^0.9.0",
|
|
124
124
|
"@solana-program/token-2022": "^0.6.1",
|
|
125
|
-
"@solana-program/compute-budget": "^0.11.0",
|
|
126
125
|
"@solana/kit": "^5.4.0",
|
|
127
126
|
"@solana/sysvars": "^5.4.0",
|
|
127
|
+
"@uma/contracts-node": "^0.4.0",
|
|
128
128
|
"arweave": "^1.14.4",
|
|
129
129
|
"async": "^3.2.5",
|
|
130
130
|
"axios": "^0.27.2",
|
package/src/typechain.ts
CHANGED
|
@@ -1,24 +1,19 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file re-exports some of the typechain bindings so that they can be tree-shaken in the final frontend bundle.
|
|
3
|
-
* Currently, the packages `@across-protocol/contracts`
|
|
4
|
-
*
|
|
3
|
+
* Currently, the packages `@across-protocol/contracts` is not optimized for tree-shaking and contains modules that
|
|
4
|
+
* are not compatible in a browser environment. This is a temporary solution until we can fix the issue upstream.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
// Common types from local typechain
|
|
8
8
|
export type { TypedEvent, TypedEventFilter } from "./utils/abi/typechain/common";
|
|
9
9
|
|
|
10
10
|
// Factories from local typechain (generated from Foundry artifacts)
|
|
11
|
-
export { AcrossMerkleDistributor__factory } from "./utils/abi/typechain/factories/AcrossMerkleDistributor__factory";
|
|
12
11
|
export { AcrossConfigStore__factory } from "./utils/abi/typechain/factories/AcrossConfigStore__factory";
|
|
13
12
|
export { HubPool__factory } from "./utils/abi/typechain/factories/HubPool__factory";
|
|
14
13
|
export { SpokePool__factory } from "./utils/abi/typechain/factories/SpokePool__factory";
|
|
15
14
|
export { ERC20__factory } from "./utils/abi/typechain/factories/ERC20__factory";
|
|
16
15
|
|
|
17
16
|
// Type exports from local typechain
|
|
18
|
-
export type {
|
|
19
|
-
AcrossMerkleDistributor,
|
|
20
|
-
AcrossMerkleDistributorInterface,
|
|
21
|
-
} from "./utils/abi/typechain/AcrossMerkleDistributor";
|
|
22
17
|
export type { AcrossConfigStore, AcrossConfigStoreInterface } from "./utils/abi/typechain/AcrossConfigStore";
|
|
23
18
|
export type { HubPool, HubPoolInterface } from "./utils/abi/typechain/HubPool";
|
|
24
19
|
export type {
|
|
@@ -27,18 +22,3 @@ export type {
|
|
|
27
22
|
V3FundsDepositedEvent,
|
|
28
23
|
FilledV3RelayEvent,
|
|
29
24
|
} from "./utils/abi/typechain/SpokePool";
|
|
30
|
-
|
|
31
|
-
// Continue importing from @across-protocol/across-token (no Foundry artifacts available)
|
|
32
|
-
export { AcceleratingDistributor__factory } from "@across-protocol/across-token/dist/typechain/factories/AcceleratingDistributor__factory";
|
|
33
|
-
export { ClaimAndStake__factory } from "@across-protocol/across-token/dist/typechain/factories/ClaimAndStake__factory";
|
|
34
|
-
export { MerkleDistributor__factory } from "@across-protocol/across-token/dist/typechain/factories/MerkleDistributor__factory";
|
|
35
|
-
|
|
36
|
-
export type {
|
|
37
|
-
AcceleratingDistributor,
|
|
38
|
-
AcceleratingDistributorInterface,
|
|
39
|
-
} from "@across-protocol/across-token/dist/typechain/AcceleratingDistributor";
|
|
40
|
-
export type { ClaimAndStake, ClaimAndStakeInterface } from "@across-protocol/across-token/dist/typechain/ClaimAndStake";
|
|
41
|
-
export type {
|
|
42
|
-
MerkleDistributor,
|
|
43
|
-
MerkleDistributorInterface,
|
|
44
|
-
} from "@across-protocol/across-token/dist/typechain/MerkleDistributor";
|
package/src/utils/Multicall.ts
CHANGED
|
@@ -21,7 +21,6 @@ const MULTICALL_DEPLOYER = "0x05f32B3cC3888453ff71B01135B34FF8e41263F2";
|
|
|
21
21
|
|
|
22
22
|
const NON_DETERMINISTIC_MULTICALL_ADDRESSES = {
|
|
23
23
|
[CHAIN_IDs.LENS]: "0x6b6dEa4D80e3077D076733A04c48F63c3BA49320",
|
|
24
|
-
[CHAIN_IDs.TRON]: "0x32a4f47a74a6810bd0bf861cabab99656a75de9e", // @todo: Base58?
|
|
25
24
|
[CHAIN_IDs.ZK_SYNC]: "0xF9cda624FBC7e059355ce98a31693d299FACd963",
|
|
26
25
|
[CHAIN_IDs.LENS_SEPOLIA]: "0x8A44EDE8a6843a997bC0Cc4659e4dB1Da8f91116",
|
|
27
26
|
};
|
|
@@ -166,14 +166,13 @@ export function chainIsOFTEnabled(chainId: number): boolean {
|
|
|
166
166
|
// This is backwards vs. CCTP logic because Across support for OFTs is limited vs. OFT deployments.
|
|
167
167
|
const oftEnabled = [
|
|
168
168
|
CHAIN_IDs.ARBITRUM,
|
|
169
|
+
CHAIN_IDs.POLYGON,
|
|
169
170
|
CHAIN_IDs.HYPEREVM,
|
|
170
|
-
CHAIN_IDs.INK,
|
|
171
|
-
CHAIN_IDs.MEGAETH,
|
|
172
171
|
CHAIN_IDs.MONAD,
|
|
173
172
|
CHAIN_IDs.PLASMA,
|
|
174
|
-
CHAIN_IDs.
|
|
175
|
-
CHAIN_IDs.TRON, // tbd!!!
|
|
173
|
+
CHAIN_IDs.MEGAETH,
|
|
176
174
|
CHAIN_IDs.UNICHAIN,
|
|
175
|
+
CHAIN_IDs.INK,
|
|
177
176
|
];
|
|
178
177
|
return oftEnabled.includes(chainId) && PRODUCTION_NETWORKS[chainId]?.oftEid !== OFT_NO_EID;
|
|
179
178
|
}
|