@pendle/sdk-boros 1.0.13-cross-deposit-1 → 1.0.13-cross-deposit-3
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/addresses.d.ts
CHANGED
|
@@ -60,6 +60,6 @@ export declare const DEV_ADDRESSES_CONFIG: {
|
|
|
60
60
|
readonly REFERRAL_MERKLE_DISTRIBUTOR_ADDRESS: "0x8Ba866001EbCf7b81a2B7CBdD3D4242e6e94262E";
|
|
61
61
|
readonly MAKER_INCENTIVE_MERKLE_DISTRIBUTOR_ADDRESS: "0xAe94ccf0Cc9E6A783bc5ec3515f745bFaF68960A";
|
|
62
62
|
readonly LP_REWARDS_MERKLE_DISTRIBUTOR_ADDRESS: "0x5fa1be763d5eb2cb4df90f557468421bd7f27fbf";
|
|
63
|
-
readonly SWAP_EXECUTOR_ADDRESS: "
|
|
63
|
+
readonly SWAP_EXECUTOR_ADDRESS: "0x930C98c95962Af1fA1d55b177370AA8941819c81";
|
|
64
64
|
readonly DEPOSIT_BOX_CODE_HASH: "0x50c3a57a6207df4e2f809e270419e0adc0cb12692c2f05b29572e42fee411159";
|
|
65
65
|
};
|
package/dist/addresses.js
CHANGED
|
@@ -32,7 +32,7 @@ const DEV_ADDRESSES = {
|
|
|
32
32
|
REFERRAL_MERKLE_DISTRIBUTOR_ADDRESS: '0x8Ba866001EbCf7b81a2B7CBdD3D4242e6e94262E',
|
|
33
33
|
MAKER_INCENTIVE_MERKLE_DISTRIBUTOR_ADDRESS: '0xAe94ccf0Cc9E6A783bc5ec3515f745bFaF68960A',
|
|
34
34
|
LP_REWARDS_MERKLE_DISTRIBUTOR_ADDRESS: '0x5fa1be763d5eb2cb4df90f557468421bd7f27fbf',
|
|
35
|
-
SWAP_EXECUTOR_ADDRESS: '
|
|
35
|
+
SWAP_EXECUTOR_ADDRESS: '0x930C98c95962Af1fA1d55b177370AA8941819c81',
|
|
36
36
|
DEPOSIT_BOX_CODE_HASH: '0x50c3a57a6207df4e2f809e270419e0adc0cb12692c2f05b29572e42fee411159',
|
|
37
37
|
};
|
|
38
38
|
const getRouterAddress = () => {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Hex } from 'viem';
|
|
2
|
-
import { BorosCoreSdk } from '../../backend/secrettune/module';
|
|
3
2
|
import { ChainId } from '../../common/chainId';
|
|
4
3
|
import { TokenId } from '../../types';
|
|
5
4
|
import { Token } from '../token';
|
|
@@ -15,7 +14,7 @@ export declare class Withdrawer {
|
|
|
15
14
|
readonly lifiAggregatorHelper: LifiAggregatorHelper;
|
|
16
15
|
readonly pendleSwapHelper: PendleSwapHelper;
|
|
17
16
|
readonly borosLzBridgeHelper: BorosLzBridgeHelper;
|
|
18
|
-
constructor(
|
|
17
|
+
constructor(rpcUrls: string[]);
|
|
19
18
|
private getAggregatorHelper;
|
|
20
19
|
getRoutes(params: QuoteWithdrawParams): Promise<AggregatorResult>;
|
|
21
20
|
getTokens(options?: {
|
|
@@ -18,8 +18,8 @@ class Withdrawer {
|
|
|
18
18
|
lifiAggregatorHelper;
|
|
19
19
|
pendleSwapHelper;
|
|
20
20
|
borosLzBridgeHelper;
|
|
21
|
-
constructor(
|
|
22
|
-
this.coreSdk =
|
|
21
|
+
constructor(rpcUrls) {
|
|
22
|
+
this.coreSdk = (0, module_1.getCoreSdk)();
|
|
23
23
|
this.contractsFactory = new contracts_factory_1.ContractsFactory(rpcUrls);
|
|
24
24
|
this.depositBoxFactoryContract = this.contractsFactory.getDepositBoxFactoryContract((0, addresses_1.getDepositBoxFactoryAddress)());
|
|
25
25
|
this.tokenHelper = new TokenHelper_1.TokenHelper(this.coreSdk);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Withdrawer.js","sourceRoot":"","sources":["../../../src/entities/crossChainDeposit/Withdrawer.ts"],"names":[],"mappings":";;;AACA,wCAA4C;AAC5C,+CAA8D;AAC9D,
|
|
1
|
+
{"version":3,"file":"Withdrawer.js","sourceRoot":"","s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