Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
"dependencies": {
"@across-protocol/across-token": "^1.0.0",
"@across-protocol/constants": "^3.1.94",
"@across-protocol/contracts": "^4.1.14",
"@across-protocol/contracts": "^4.1.19-alpha.3",
"@coral-xyz/anchor": "^0.30.1",
"@eth-optimism/sdk": "^3.3.1",
"@ethersproject/bignumber": "^5.7.0",
Expand Down
22 changes: 10 additions & 12 deletions src/typechain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@
* Currently, the packages `@across-protocol/contracts` and `@across-protocol/across-token` are not optimized for tree-shaking
* and contain modules that are not compatible in a browser environment. This is a temporary solution until we can fix the issue upstream.
*/
import type { TypedEvent, TypedEventFilter } from "@across-protocol/contracts/dist/typechain/common";

export type { TypedEvent, TypedEventFilter };
export { AcrossMerkleDistributor__factory } from "@across-protocol/contracts/dist/typechain/factories/contracts/merkle-distributor/AcrossMerkleDistributor__factory";
export { AcrossConfigStore__factory } from "@across-protocol/contracts/dist/typechain/factories/contracts/AcrossConfigStore__factory";
export { HubPool__factory } from "@across-protocol/contracts/dist/typechain/factories/contracts/HubPool__factory";
export { SpokePool__factory } from "@across-protocol/contracts/dist/typechain/factories/contracts/SpokePool__factory";
export { ERC20__factory } from "@across-protocol/contracts/dist/typechain/factories/@openzeppelin/contracts-v4/token/ERC20/ERC20__factory";
export type { TypedEvent, TypedEventFilter } from "@across-protocol/contracts/dist/typechain/common";
export { AcrossMerkleDistributor__factory } from "@across-protocol/contracts/dist/typechain/factories/AcrossMerkleDistributor__factory";
export { AcrossConfigStore__factory } from "@across-protocol/contracts/dist/typechain/factories/AcrossConfigStore__factory";
export { HubPool__factory } from "@across-protocol/contracts/dist/typechain/factories/HubPool__factory";
export { SpokePool__factory } from "@across-protocol/contracts/dist/typechain/factories/SpokePool__factory";
export { ERC20__factory } from "@across-protocol/contracts/dist/typechain/factories/ERC20__factory";

export { AcceleratingDistributor__factory } from "@across-protocol/across-token/dist/typechain/factories/AcceleratingDistributor__factory";
export { ClaimAndStake__factory } from "@across-protocol/across-token/dist/typechain/factories/ClaimAndStake__factory";
Expand All @@ -19,18 +17,18 @@ export { MerkleDistributor__factory } from "@across-protocol/across-token/dist/t
export type {
AcrossMerkleDistributor,
AcrossMerkleDistributorInterface,
} from "@across-protocol/contracts/dist/typechain/contracts/merkle-distributor/AcrossMerkleDistributor";
} from "@across-protocol/contracts/dist/typechain/AcrossMerkleDistributor";
export type {
AcrossConfigStore,
AcrossConfigStoreInterface,
} from "@across-protocol/contracts/dist/typechain/contracts/AcrossConfigStore";
export type { HubPool, HubPoolInterface } from "@across-protocol/contracts/dist/typechain/contracts/HubPool";
} from "@across-protocol/contracts/dist/typechain/AcrossConfigStore";
export type { HubPool, HubPoolInterface } from "@across-protocol/contracts/dist/typechain/HubPool";
export type {
SpokePool,
SpokePoolInterface,
V3FundsDepositedEvent,
FilledV3RelayEvent,
} from "@across-protocol/contracts/dist/typechain/contracts/SpokePool";
} from "@across-protocol/contracts/dist/typechain/SpokePool";

export type {
AcceleratingDistributor,
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@
"@openzeppelin/contracts" "4.1.0"
"@uma/core" "^2.18.0"

"@across-protocol/contracts@^4.1.14":
version "4.1.14"
resolved "https://registry.yarnpkg.com/@across-protocol/contracts/-/contracts-4.1.14.tgz#abedc67f8d5515d799da0d3a73fac40e8edc659f"
integrity sha512-8Akpqj4sGxdceQI+QSzNh2O2/sIX99j3TTSFMCaXH7W0MzZxsMytvHZJKgZJOgps5Aged+X61pyCC08xhWIOVQ==
"@across-protocol/contracts@^4.1.19-alpha.3":
version "4.1.19-alpha.3"
resolved "https://registry.yarnpkg.com/@across-protocol/contracts/-/contracts-4.1.19-alpha.3.tgz#2ddbbd4f87e7b846392540e885f47bfe8d7dfcf3"
integrity sha512-2cr1KqEpZF4H/kYxSkojSVno81AF23i+/MmGOD2LXsV36MFFUr2VzZXf2wdiU/uuPUxPwCGQJmZd5SRf+Vx1/A==
dependencies:
"@across-protocol/constants" "^3.1.88"
"@coral-xyz/anchor" "^0.31.1"
Expand Down