@gearbox-protocol/sdk 1.6.5 → 1.6.6
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/lib/types/contracts/interfaces/ICreditFacade.sol/ICreditFacade.d.ts +13 -5
- package/lib/types/contracts/interfaces/ICreditFacade.sol/ICreditFacadeEvents.d.ts +4 -4
- package/lib/types/contracts/pathfinder/interfaces/IClosePathResolver.d.ts +1 -4
- package/lib/types/contracts/pathfinder/interfaces/IDepositor.sol/IDepositor.d.ts +3 -6
- package/lib/types/contracts/pathfinder/interfaces/IDepositor.sol/IDepositorOptions.d.ts +4 -7
- package/lib/types/contracts/pathfinder/interfaces/ILPWorker.sol/ILPWorker.d.ts +1 -4
- package/lib/types/contracts/pathfinder/interfaces/ILPWorker.sol/ILPWorkerOptions.d.ts +1 -4
- package/lib/types/contracts/pathfinder/interfaces/IPathResolver.d.ts +2 -5
- package/lib/types/contracts/pathfinder/interfaces/ISwapAggregator.d.ts +5 -8
- package/lib/types/contracts/pathfinder/interfaces/IWithdrawer.sol/IWithdrawer.d.ts +4 -7
- package/lib/types/contracts/pathfinder/interfaces/IWithdrawer.sol/IWithdrawerOptions.d.ts +4 -7
- package/lib/types/factories/contracts/interfaces/ICreditFacade.sol/ICreditFacadeEvents__factory.js +4 -4
- package/lib/types/factories/contracts/interfaces/ICreditFacade.sol/ICreditFacade__factory.js +17 -4
- package/lib/types/factories/contracts/pathfinder/interfaces/IClosePathResolver__factory.js +0 -10
- package/lib/types/factories/contracts/pathfinder/interfaces/IDepositor.sol/IDepositorOptions__factory.js +0 -40
- package/lib/types/factories/contracts/pathfinder/interfaces/IDepositor.sol/IDepositor__factory.js +0 -30
- package/lib/types/factories/contracts/pathfinder/interfaces/ILPWorker.sol/ILPWorkerOptions__factory.js +0 -10
- package/lib/types/factories/contracts/pathfinder/interfaces/ILPWorker.sol/ILPWorker__factory.js +0 -10
- package/lib/types/factories/contracts/pathfinder/interfaces/IPathResolver__factory.js +0 -20
- package/lib/types/factories/contracts/pathfinder/interfaces/ISwapAggregator__factory.js +0 -50
- package/lib/types/factories/contracts/pathfinder/interfaces/IWithdrawer.sol/IWithdrawerOptions__factory.js +0 -40
- package/lib/types/factories/contracts/pathfinder/interfaces/IWithdrawer.sol/IWithdrawer__factory.js +0 -40
- package/package.json +1 -1
|
@@ -34,9 +34,10 @@ export interface ICreditFacadeInterface extends utils.Interface {
|
|
|
34
34
|
"params()": FunctionFragment;
|
|
35
35
|
"transferAccountOwnership(address)": FunctionFragment;
|
|
36
36
|
"transfersAllowed(address,address)": FunctionFragment;
|
|
37
|
+
"underlying()": FunctionFragment;
|
|
37
38
|
"version()": FunctionFragment;
|
|
38
39
|
};
|
|
39
|
-
getFunction(nameOrSignatureOrTopic: "addCollateral" | "approve" | "approveAccountTransfer" | "calcCreditAccountHealthFactor" | "calcTotalValue" | "closeCreditAccount" | "creditManager" | "decreaseDebt" | "degenNFT" | "enableToken" | "hasOpenedCreditAccount" | "increaseDebt" | "isTokenAllowed" | "limits" | "liquidateCreditAccount" | "liquidateExpiredCreditAccount" | "multicall" | "openCreditAccount" | "openCreditAccountMulticall" | "params" | "transferAccountOwnership" | "transfersAllowed" | "version"): FunctionFragment;
|
|
40
|
+
getFunction(nameOrSignatureOrTopic: "addCollateral" | "approve" | "approveAccountTransfer" | "calcCreditAccountHealthFactor" | "calcTotalValue" | "closeCreditAccount" | "creditManager" | "decreaseDebt" | "degenNFT" | "enableToken" | "hasOpenedCreditAccount" | "increaseDebt" | "isTokenAllowed" | "limits" | "liquidateCreditAccount" | "liquidateExpiredCreditAccount" | "multicall" | "openCreditAccount" | "openCreditAccountMulticall" | "params" | "transferAccountOwnership" | "transfersAllowed" | "underlying" | "version"): FunctionFragment;
|
|
40
41
|
encodeFunctionData(functionFragment: "addCollateral", values: [string, string, BigNumberish]): string;
|
|
41
42
|
encodeFunctionData(functionFragment: "approve", values: [string, string, BigNumberish]): string;
|
|
42
43
|
encodeFunctionData(functionFragment: "approveAccountTransfer", values: [string, boolean]): string;
|
|
@@ -59,6 +60,7 @@ export interface ICreditFacadeInterface extends utils.Interface {
|
|
|
59
60
|
encodeFunctionData(functionFragment: "params", values?: undefined): string;
|
|
60
61
|
encodeFunctionData(functionFragment: "transferAccountOwnership", values: [string]): string;
|
|
61
62
|
encodeFunctionData(functionFragment: "transfersAllowed", values: [string, string]): string;
|
|
63
|
+
encodeFunctionData(functionFragment: "underlying", values?: undefined): string;
|
|
62
64
|
encodeFunctionData(functionFragment: "version", values?: undefined): string;
|
|
63
65
|
decodeFunctionResult(functionFragment: "addCollateral", data: BytesLike): Result;
|
|
64
66
|
decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result;
|
|
@@ -82,6 +84,7 @@ export interface ICreditFacadeInterface extends utils.Interface {
|
|
|
82
84
|
decodeFunctionResult(functionFragment: "params", data: BytesLike): Result;
|
|
83
85
|
decodeFunctionResult(functionFragment: "transferAccountOwnership", data: BytesLike): Result;
|
|
84
86
|
decodeFunctionResult(functionFragment: "transfersAllowed", data: BytesLike): Result;
|
|
87
|
+
decodeFunctionResult(functionFragment: "underlying", data: BytesLike): Result;
|
|
85
88
|
decodeFunctionResult(functionFragment: "version", data: BytesLike): Result;
|
|
86
89
|
events: {
|
|
87
90
|
"AddCollateral(address,address,uint256)": EventFragment;
|
|
@@ -321,6 +324,7 @@ export interface ICreditFacade extends BaseContract {
|
|
|
321
324
|
from?: string | Promise<string>;
|
|
322
325
|
}): Promise<ContractTransaction>;
|
|
323
326
|
transfersAllowed(from: string, to: string, overrides?: CallOverrides): Promise<[boolean]>;
|
|
327
|
+
underlying(overrides?: CallOverrides): Promise<[string]>;
|
|
324
328
|
version(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
325
329
|
};
|
|
326
330
|
addCollateral(onBehalfOf: string, token: string, amount: BigNumberish, overrides?: PayableOverrides & {
|
|
@@ -388,6 +392,7 @@ export interface ICreditFacade extends BaseContract {
|
|
|
388
392
|
from?: string | Promise<string>;
|
|
389
393
|
}): Promise<ContractTransaction>;
|
|
390
394
|
transfersAllowed(from: string, to: string, overrides?: CallOverrides): Promise<boolean>;
|
|
395
|
+
underlying(overrides?: CallOverrides): Promise<string>;
|
|
391
396
|
version(overrides?: CallOverrides): Promise<BigNumber>;
|
|
392
397
|
callStatic: {
|
|
393
398
|
addCollateral(onBehalfOf: string, token: string, amount: BigNumberish, overrides?: CallOverrides): Promise<void>;
|
|
@@ -429,6 +434,7 @@ export interface ICreditFacade extends BaseContract {
|
|
|
429
434
|
}>;
|
|
430
435
|
transferAccountOwnership(to: string, overrides?: CallOverrides): Promise<void>;
|
|
431
436
|
transfersAllowed(from: string, to: string, overrides?: CallOverrides): Promise<boolean>;
|
|
437
|
+
underlying(overrides?: CallOverrides): Promise<string>;
|
|
432
438
|
version(overrides?: CallOverrides): Promise<BigNumber>;
|
|
433
439
|
};
|
|
434
440
|
filters: {
|
|
@@ -450,10 +456,10 @@ export interface ICreditFacade extends BaseContract {
|
|
|
450
456
|
MultiCallStarted(borrower?: string | null): MultiCallStartedEventFilter;
|
|
451
457
|
"OpenCreditAccount(address,address,uint256,uint16)"(onBehalfOf?: string | null, creditAccount?: string | null, borrowAmount?: null, referralCode?: null): OpenCreditAccountEventFilter;
|
|
452
458
|
OpenCreditAccount(onBehalfOf?: string | null, creditAccount?: string | null, borrowAmount?: null, referralCode?: null): OpenCreditAccountEventFilter;
|
|
453
|
-
"TokenDisabled(address,address)"(borrower?: null, token?: null): TokenDisabledEventFilter;
|
|
454
|
-
TokenDisabled(borrower?: null, token?: null): TokenDisabledEventFilter;
|
|
455
|
-
"TokenEnabled(address,address)"(borrower?: null, token?: null): TokenEnabledEventFilter;
|
|
456
|
-
TokenEnabled(borrower?: null, token?: null): TokenEnabledEventFilter;
|
|
459
|
+
"TokenDisabled(address,address)"(borrower?: string | null, token?: string | null): TokenDisabledEventFilter;
|
|
460
|
+
TokenDisabled(borrower?: string | null, token?: string | null): TokenDisabledEventFilter;
|
|
461
|
+
"TokenEnabled(address,address)"(borrower?: string | null, token?: string | null): TokenEnabledEventFilter;
|
|
462
|
+
TokenEnabled(borrower?: string | null, token?: string | null): TokenEnabledEventFilter;
|
|
457
463
|
"TransferAccount(address,address)"(oldOwner?: string | null, newOwner?: string | null): TransferAccountEventFilter;
|
|
458
464
|
TransferAccount(oldOwner?: string | null, newOwner?: string | null): TransferAccountEventFilter;
|
|
459
465
|
"TransferAccountAllowed(address,address,bool)"(from?: string | null, to?: string | null, state?: null): TransferAccountAllowedEventFilter;
|
|
@@ -508,6 +514,7 @@ export interface ICreditFacade extends BaseContract {
|
|
|
508
514
|
from?: string | Promise<string>;
|
|
509
515
|
}): Promise<BigNumber>;
|
|
510
516
|
transfersAllowed(from: string, to: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
517
|
+
underlying(overrides?: CallOverrides): Promise<BigNumber>;
|
|
511
518
|
version(overrides?: CallOverrides): Promise<BigNumber>;
|
|
512
519
|
};
|
|
513
520
|
populateTransaction: {
|
|
@@ -559,6 +566,7 @@ export interface ICreditFacade extends BaseContract {
|
|
|
559
566
|
from?: string | Promise<string>;
|
|
560
567
|
}): Promise<PopulatedTransaction>;
|
|
561
568
|
transfersAllowed(from: string, to: string, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
569
|
+
underlying(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
562
570
|
version(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
563
571
|
};
|
|
564
572
|
}
|
|
@@ -195,10 +195,10 @@ export interface ICreditFacadeEvents extends BaseContract {
|
|
|
195
195
|
MultiCallStarted(borrower?: string | null): MultiCallStartedEventFilter;
|
|
196
196
|
"OpenCreditAccount(address,address,uint256,uint16)"(onBehalfOf?: string | null, creditAccount?: string | null, borrowAmount?: null, referralCode?: null): OpenCreditAccountEventFilter;
|
|
197
197
|
OpenCreditAccount(onBehalfOf?: string | null, creditAccount?: string | null, borrowAmount?: null, referralCode?: null): OpenCreditAccountEventFilter;
|
|
198
|
-
"TokenDisabled(address,address)"(borrower?: null, token?: null): TokenDisabledEventFilter;
|
|
199
|
-
TokenDisabled(borrower?: null, token?: null): TokenDisabledEventFilter;
|
|
200
|
-
"TokenEnabled(address,address)"(borrower?: null, token?: null): TokenEnabledEventFilter;
|
|
201
|
-
TokenEnabled(borrower?: null, token?: null): TokenEnabledEventFilter;
|
|
198
|
+
"TokenDisabled(address,address)"(borrower?: string | null, token?: string | null): TokenDisabledEventFilter;
|
|
199
|
+
TokenDisabled(borrower?: string | null, token?: string | null): TokenDisabledEventFilter;
|
|
200
|
+
"TokenEnabled(address,address)"(borrower?: string | null, token?: string | null): TokenEnabledEventFilter;
|
|
201
|
+
TokenEnabled(borrower?: string | null, token?: string | null): TokenEnabledEventFilter;
|
|
202
202
|
"TransferAccount(address,address)"(oldOwner?: string | null, newOwner?: string | null): TransferAccountEventFilter;
|
|
203
203
|
TransferAccount(oldOwner?: string | null, newOwner?: string | null): TransferAccountEventFilter;
|
|
204
204
|
"TransferAccountAllowed(address,address,bool)"(from?: string | null, to?: string | null, state?: null): TransferAccountAllowedEventFilter;
|
|
@@ -40,7 +40,6 @@ export declare type StrategyPathTaskStruct = {
|
|
|
40
40
|
foundAdapters: TokenAdaptersStruct[];
|
|
41
41
|
gasPriceTargetRAY: BigNumberish;
|
|
42
42
|
gasUsage: BigNumberish;
|
|
43
|
-
slippageMultiplier: BigNumberish;
|
|
44
43
|
initTargetBalance: BigNumberish;
|
|
45
44
|
calls: MultiCallStruct[];
|
|
46
45
|
};
|
|
@@ -57,7 +56,6 @@ export declare type StrategyPathTaskStructOutput = [
|
|
|
57
56
|
BigNumber,
|
|
58
57
|
BigNumber,
|
|
59
58
|
BigNumber,
|
|
60
|
-
BigNumber,
|
|
61
59
|
MultiCallStructOutput[]
|
|
62
60
|
] & {
|
|
63
61
|
creditAccount: string;
|
|
@@ -71,7 +69,6 @@ export declare type StrategyPathTaskStructOutput = [
|
|
|
71
69
|
foundAdapters: TokenAdaptersStructOutput[];
|
|
72
70
|
gasPriceTargetRAY: BigNumber;
|
|
73
71
|
gasUsage: BigNumber;
|
|
74
|
-
slippageMultiplier: BigNumber;
|
|
75
72
|
initTargetBalance: BigNumber;
|
|
76
73
|
calls: MultiCallStructOutput[];
|
|
77
74
|
};
|
|
@@ -87,7 +84,7 @@ export declare type PathOptionStructOutput = [string, number, number] & {
|
|
|
87
84
|
};
|
|
88
85
|
export interface IClosePathResolverInterface extends utils.Interface {
|
|
89
86
|
functions: {
|
|
90
|
-
"findBestClosePath((address,(address,uint256)[],address,address[],address[],uint256,bool,uint8,(address,address,address)[],uint256,uint256,uint256,
|
|
87
|
+
"findBestClosePath((address,(address,uint256)[],address,address[],address[],uint256,bool,uint8,(address,address,address)[],uint256,uint256,uint256,(address,bytes)[]),(address,uint8,uint8)[],uint256)": FunctionFragment;
|
|
91
88
|
"getComponentId()": FunctionFragment;
|
|
92
89
|
"version()": FunctionFragment;
|
|
93
90
|
};
|
|
@@ -40,7 +40,6 @@ export declare type StrategyPathTaskStruct = {
|
|
|
40
40
|
foundAdapters: TokenAdaptersStruct[];
|
|
41
41
|
gasPriceTargetRAY: BigNumberish;
|
|
42
42
|
gasUsage: BigNumberish;
|
|
43
|
-
slippageMultiplier: BigNumberish;
|
|
44
43
|
initTargetBalance: BigNumberish;
|
|
45
44
|
calls: MultiCallStruct[];
|
|
46
45
|
};
|
|
@@ -57,7 +56,6 @@ export declare type StrategyPathTaskStructOutput = [
|
|
|
57
56
|
BigNumber,
|
|
58
57
|
BigNumber,
|
|
59
58
|
BigNumber,
|
|
60
|
-
BigNumber,
|
|
61
59
|
MultiCallStructOutput[]
|
|
62
60
|
] & {
|
|
63
61
|
creditAccount: string;
|
|
@@ -71,16 +69,15 @@ export declare type StrategyPathTaskStructOutput = [
|
|
|
71
69
|
foundAdapters: TokenAdaptersStructOutput[];
|
|
72
70
|
gasPriceTargetRAY: BigNumber;
|
|
73
71
|
gasUsage: BigNumber;
|
|
74
|
-
slippageMultiplier: BigNumber;
|
|
75
72
|
initTargetBalance: BigNumber;
|
|
76
73
|
calls: MultiCallStructOutput[];
|
|
77
74
|
};
|
|
78
75
|
export interface IDepositorInterface extends utils.Interface {
|
|
79
76
|
functions: {
|
|
80
|
-
"deposit(uint256,address,(address,(address,uint256)[],address,address[],address[],uint256,bool,uint8,(address,address,address)[],uint256,uint256,uint256,
|
|
81
|
-
"depositAll(address,(address,(address,uint256)[],address,address[],address[],uint256,bool,uint8,(address,address,address)[],uint256,uint256,uint256,
|
|
77
|
+
"deposit(uint256,address,(address,(address,uint256)[],address,address[],address[],uint256,bool,uint8,(address,address,address)[],uint256,uint256,uint256,(address,bytes)[]))": FunctionFragment;
|
|
78
|
+
"depositAll(address,(address,(address,uint256)[],address,address[],address[],uint256,bool,uint8,(address,address,address)[],uint256,uint256,uint256,(address,bytes)[]))": FunctionFragment;
|
|
82
79
|
"getComponentId()": FunctionFragment;
|
|
83
|
-
"getUnderlying(address,(address,(address,uint256)[],address,address[],address[],uint256,bool,uint8,(address,address,address)[],uint256,uint256,uint256,
|
|
80
|
+
"getUnderlying(address,(address,(address,uint256)[],address,address[],address[],uint256,bool,uint8,(address,address,address)[],uint256,uint256,uint256,(address,bytes)[]))": FunctionFragment;
|
|
84
81
|
"version()": FunctionFragment;
|
|
85
82
|
};
|
|
86
83
|
getFunction(nameOrSignatureOrTopic: "deposit" | "depositAll" | "getComponentId" | "getUnderlying" | "version"): FunctionFragment;
|
|
@@ -40,7 +40,6 @@ export declare type StrategyPathTaskStruct = {
|
|
|
40
40
|
foundAdapters: TokenAdaptersStruct[];
|
|
41
41
|
gasPriceTargetRAY: BigNumberish;
|
|
42
42
|
gasUsage: BigNumberish;
|
|
43
|
-
slippageMultiplier: BigNumberish;
|
|
44
43
|
initTargetBalance: BigNumberish;
|
|
45
44
|
calls: MultiCallStruct[];
|
|
46
45
|
};
|
|
@@ -57,7 +56,6 @@ export declare type StrategyPathTaskStructOutput = [
|
|
|
57
56
|
BigNumber,
|
|
58
57
|
BigNumber,
|
|
59
58
|
BigNumber,
|
|
60
|
-
BigNumber,
|
|
61
59
|
MultiCallStructOutput[]
|
|
62
60
|
] & {
|
|
63
61
|
creditAccount: string;
|
|
@@ -71,17 +69,16 @@ export declare type StrategyPathTaskStructOutput = [
|
|
|
71
69
|
foundAdapters: TokenAdaptersStructOutput[];
|
|
72
70
|
gasPriceTargetRAY: BigNumber;
|
|
73
71
|
gasUsage: BigNumber;
|
|
74
|
-
slippageMultiplier: BigNumber;
|
|
75
72
|
initTargetBalance: BigNumber;
|
|
76
73
|
calls: MultiCallStructOutput[];
|
|
77
74
|
};
|
|
78
75
|
export interface IDepositorOptionsInterface extends utils.Interface {
|
|
79
76
|
functions: {
|
|
80
|
-
"deposit(uint8,address,uint256,address,(address,(address,uint256)[],address,address[],address[],uint256,bool,uint8,(address,address,address)[],uint256,uint256,uint256,
|
|
81
|
-
"depositAll(uint8,address,address,(address,(address,uint256)[],address,address[],address[],uint256,bool,uint8,(address,address,address)[],uint256,uint256,uint256,
|
|
82
|
-
"depositAllTokens(address,(address,(address,uint256)[],address,address[],address[],uint256,bool,uint8,(address,address,address)[],uint256,uint256,uint256,
|
|
77
|
+
"deposit(uint8,address,uint256,address,(address,(address,uint256)[],address,address[],address[],uint256,bool,uint8,(address,address,address)[],uint256,uint256,uint256,(address,bytes)[]))": FunctionFragment;
|
|
78
|
+
"depositAll(uint8,address,address,(address,(address,uint256)[],address,address[],address[],uint256,bool,uint8,(address,address,address)[],uint256,uint256,uint256,(address,bytes)[]))": FunctionFragment;
|
|
79
|
+
"depositAllTokens(address,(address,(address,uint256)[],address,address[],address[],uint256,bool,uint8,(address,address,address)[],uint256,uint256,uint256,(address,bytes)[]))": FunctionFragment;
|
|
83
80
|
"getComponentId()": FunctionFragment;
|
|
84
|
-
"getUnderlyings(uint8,address,(address,(address,uint256)[],address,address[],address[],uint256,bool,uint8,(address,address,address)[],uint256,uint256,uint256,
|
|
81
|
+
"getUnderlyings(uint8,address,(address,(address,uint256)[],address,address[],address[],uint256,bool,uint8,(address,address,address)[],uint256,uint256,uint256,(address,bytes)[]))": FunctionFragment;
|
|
85
82
|
"version()": FunctionFragment;
|
|
86
83
|
};
|
|
87
84
|
getFunction(nameOrSignatureOrTopic: "deposit" | "depositAll" | "depositAllTokens" | "getComponentId" | "getUnderlyings" | "version"): FunctionFragment;
|
|
@@ -40,7 +40,6 @@ export declare type StrategyPathTaskStruct = {
|
|
|
40
40
|
foundAdapters: TokenAdaptersStruct[];
|
|
41
41
|
gasPriceTargetRAY: BigNumberish;
|
|
42
42
|
gasUsage: BigNumberish;
|
|
43
|
-
slippageMultiplier: BigNumberish;
|
|
44
43
|
initTargetBalance: BigNumberish;
|
|
45
44
|
calls: MultiCallStruct[];
|
|
46
45
|
};
|
|
@@ -57,7 +56,6 @@ export declare type StrategyPathTaskStructOutput = [
|
|
|
57
56
|
BigNumber,
|
|
58
57
|
BigNumber,
|
|
59
58
|
BigNumber,
|
|
60
|
-
BigNumber,
|
|
61
59
|
MultiCallStructOutput[]
|
|
62
60
|
] & {
|
|
63
61
|
creditAccount: string;
|
|
@@ -71,14 +69,13 @@ export declare type StrategyPathTaskStructOutput = [
|
|
|
71
69
|
foundAdapters: TokenAdaptersStructOutput[];
|
|
72
70
|
gasPriceTargetRAY: BigNumber;
|
|
73
71
|
gasUsage: BigNumber;
|
|
74
|
-
slippageMultiplier: BigNumber;
|
|
75
72
|
initTargetBalance: BigNumber;
|
|
76
73
|
calls: MultiCallStructOutput[];
|
|
77
74
|
};
|
|
78
75
|
export interface ILPWorkerInterface extends utils.Interface {
|
|
79
76
|
functions: {
|
|
80
77
|
"getComponentId()": FunctionFragment;
|
|
81
|
-
"getUnderlying(address,(address,(address,uint256)[],address,address[],address[],uint256,bool,uint8,(address,address,address)[],uint256,uint256,uint256,
|
|
78
|
+
"getUnderlying(address,(address,(address,uint256)[],address,address[],address[],uint256,bool,uint8,(address,address,address)[],uint256,uint256,uint256,(address,bytes)[]))": FunctionFragment;
|
|
82
79
|
"version()": FunctionFragment;
|
|
83
80
|
};
|
|
84
81
|
getFunction(nameOrSignatureOrTopic: "getComponentId" | "getUnderlying" | "version"): FunctionFragment;
|
|
@@ -40,7 +40,6 @@ export declare type StrategyPathTaskStruct = {
|
|
|
40
40
|
foundAdapters: TokenAdaptersStruct[];
|
|
41
41
|
gasPriceTargetRAY: BigNumberish;
|
|
42
42
|
gasUsage: BigNumberish;
|
|
43
|
-
slippageMultiplier: BigNumberish;
|
|
44
43
|
initTargetBalance: BigNumberish;
|
|
45
44
|
calls: MultiCallStruct[];
|
|
46
45
|
};
|
|
@@ -57,7 +56,6 @@ export declare type StrategyPathTaskStructOutput = [
|
|
|
57
56
|
BigNumber,
|
|
58
57
|
BigNumber,
|
|
59
58
|
BigNumber,
|
|
60
|
-
BigNumber,
|
|
61
59
|
MultiCallStructOutput[]
|
|
62
60
|
] & {
|
|
63
61
|
creditAccount: string;
|
|
@@ -71,14 +69,13 @@ export declare type StrategyPathTaskStructOutput = [
|
|
|
71
69
|
foundAdapters: TokenAdaptersStructOutput[];
|
|
72
70
|
gasPriceTargetRAY: BigNumber;
|
|
73
71
|
gasUsage: BigNumber;
|
|
74
|
-
slippageMultiplier: BigNumber;
|
|
75
72
|
initTargetBalance: BigNumber;
|
|
76
73
|
calls: MultiCallStructOutput[];
|
|
77
74
|
};
|
|
78
75
|
export interface ILPWorkerOptionsInterface extends utils.Interface {
|
|
79
76
|
functions: {
|
|
80
77
|
"getComponentId()": FunctionFragment;
|
|
81
|
-
"getUnderlyings(uint8,address,(address,(address,uint256)[],address,address[],address[],uint256,bool,uint8,(address,address,address)[],uint256,uint256,uint256,
|
|
78
|
+
"getUnderlyings(uint8,address,(address,(address,uint256)[],address,address[],address[],uint256,bool,uint8,(address,address,address)[],uint256,uint256,uint256,(address,bytes)[]))": FunctionFragment;
|
|
82
79
|
"version()": FunctionFragment;
|
|
83
80
|
};
|
|
84
81
|
getFunction(nameOrSignatureOrTopic: "getComponentId" | "getUnderlyings" | "version"): FunctionFragment;
|
|
@@ -40,7 +40,6 @@ export declare type StrategyPathTaskStruct = {
|
|
|
40
40
|
foundAdapters: TokenAdaptersStruct[];
|
|
41
41
|
gasPriceTargetRAY: BigNumberish;
|
|
42
42
|
gasUsage: BigNumberish;
|
|
43
|
-
slippageMultiplier: BigNumberish;
|
|
44
43
|
initTargetBalance: BigNumberish;
|
|
45
44
|
calls: MultiCallStruct[];
|
|
46
45
|
};
|
|
@@ -57,7 +56,6 @@ export declare type StrategyPathTaskStructOutput = [
|
|
|
57
56
|
BigNumber,
|
|
58
57
|
BigNumber,
|
|
59
58
|
BigNumber,
|
|
60
|
-
BigNumber,
|
|
61
59
|
MultiCallStructOutput[]
|
|
62
60
|
] & {
|
|
63
61
|
creditAccount: string;
|
|
@@ -71,14 +69,13 @@ export declare type StrategyPathTaskStructOutput = [
|
|
|
71
69
|
foundAdapters: TokenAdaptersStructOutput[];
|
|
72
70
|
gasPriceTargetRAY: BigNumber;
|
|
73
71
|
gasUsage: BigNumber;
|
|
74
|
-
slippageMultiplier: BigNumber;
|
|
75
72
|
initTargetBalance: BigNumber;
|
|
76
73
|
calls: MultiCallStructOutput[];
|
|
77
74
|
};
|
|
78
75
|
export interface IPathResolverInterface extends utils.Interface {
|
|
79
76
|
functions: {
|
|
80
|
-
"findOneTokenPath(uint8,address,uint256,(address,(address,uint256)[],address,address[],address[],uint256,bool,uint8,(address,address,address)[],uint256,uint256,uint256,
|
|
81
|
-
"findOpenStrategyPath((address,(address,uint256)[],address,address[],address[],uint256,bool,uint8,(address,address,address)[],uint256,uint256,uint256,
|
|
77
|
+
"findOneTokenPath(uint8,address,uint256,(address,(address,uint256)[],address,address[],address[],uint256,bool,uint8,(address,address,address)[],uint256,uint256,uint256,(address,bytes)[]))": FunctionFragment;
|
|
78
|
+
"findOpenStrategyPath((address,(address,uint256)[],address,address[],address[],uint256,bool,uint8,(address,address,address)[],uint256,uint256,uint256,(address,bytes)[]))": FunctionFragment;
|
|
82
79
|
"getComponentId()": FunctionFragment;
|
|
83
80
|
"version()": FunctionFragment;
|
|
84
81
|
};
|
|
@@ -86,7 +86,6 @@ export declare type StrategyPathTaskStruct = {
|
|
|
86
86
|
foundAdapters: TokenAdaptersStruct[];
|
|
87
87
|
gasPriceTargetRAY: BigNumberish;
|
|
88
88
|
gasUsage: BigNumberish;
|
|
89
|
-
slippageMultiplier: BigNumberish;
|
|
90
89
|
initTargetBalance: BigNumberish;
|
|
91
90
|
calls: MultiCallStruct[];
|
|
92
91
|
};
|
|
@@ -103,7 +102,6 @@ export declare type StrategyPathTaskStructOutput = [
|
|
|
103
102
|
BigNumber,
|
|
104
103
|
BigNumber,
|
|
105
104
|
BigNumber,
|
|
106
|
-
BigNumber,
|
|
107
105
|
MultiCallStructOutput[]
|
|
108
106
|
] & {
|
|
109
107
|
creditAccount: string;
|
|
@@ -117,21 +115,20 @@ export declare type StrategyPathTaskStructOutput = [
|
|
|
117
115
|
foundAdapters: TokenAdaptersStructOutput[];
|
|
118
116
|
gasPriceTargetRAY: BigNumber;
|
|
119
117
|
gasUsage: BigNumber;
|
|
120
|
-
slippageMultiplier: BigNumber;
|
|
121
118
|
initTargetBalance: BigNumber;
|
|
122
119
|
calls: MultiCallStructOutput[];
|
|
123
120
|
};
|
|
124
121
|
export interface ISwapAggregatorInterface extends utils.Interface {
|
|
125
122
|
functions: {
|
|
126
123
|
"findAllSwaps((uint8,address,address,address,address[],uint256,uint256,bool),address[])": FunctionFragment;
|
|
127
|
-
"findBestAllInputSwap(address,address,(address,(address,uint256)[],address,address[],address[],uint256,bool,uint8,(address,address,address)[],uint256,uint256,uint256,
|
|
128
|
-
"findBestAllInputSwapOrRevert(address,address,(address,(address,uint256)[],address,address[],address[],uint256,bool,uint8,(address,address,address)[],uint256,uint256,uint256,
|
|
129
|
-
"findBestSwap(address,uint256,address,(address,(address,uint256)[],address,address[],address[],uint256,bool,uint8,(address,address,address)[],uint256,uint256,uint256,
|
|
130
|
-
"findBestSwapOrRevert(address,uint256,address,(address,(address,uint256)[],address,address[],address[],uint256,bool,uint8,(address,address,address)[],uint256,uint256,uint256,
|
|
124
|
+
"findBestAllInputSwap(address,address,(address,(address,uint256)[],address,address[],address[],uint256,bool,uint8,(address,address,address)[],uint256,uint256,uint256,(address,bytes)[]))": FunctionFragment;
|
|
125
|
+
"findBestAllInputSwapOrRevert(address,address,(address,(address,uint256)[],address,address[],address[],uint256,bool,uint8,(address,address,address)[],uint256,uint256,uint256,(address,bytes)[]))": FunctionFragment;
|
|
126
|
+
"findBestSwap(address,uint256,address,(address,(address,uint256)[],address,address[],address[],uint256,bool,uint8,(address,address,address)[],uint256,uint256,uint256,(address,bytes)[]))": FunctionFragment;
|
|
127
|
+
"findBestSwapOrRevert(address,uint256,address,(address,(address,uint256)[],address,address[],address[],uint256,bool,uint8,(address,address,address)[],uint256,uint256,uint256,(address,bytes)[]))": FunctionFragment;
|
|
131
128
|
"findBestSwapQuote((uint8,address,address,address,address[],uint256,uint256,bool),address[])": FunctionFragment;
|
|
132
129
|
"getBestDirectPairSwap((uint8,address,address,address,address[],uint256,uint256,bool),address[],uint256)": FunctionFragment;
|
|
133
130
|
"getComponentId()": FunctionFragment;
|
|
134
|
-
"swapAllNormalTokens((address,(address,uint256)[],address,address[],address[],uint256,bool,uint8,(address,address,address)[],uint256,uint256,uint256,
|
|
131
|
+
"swapAllNormalTokens((address,(address,uint256)[],address,address[],address[],uint256,bool,uint8,(address,address,address)[],uint256,uint256,uint256,(address,bytes)[]),address)": FunctionFragment;
|
|
135
132
|
"version()": FunctionFragment;
|
|
136
133
|
};
|
|
137
134
|
getFunction(nameOrSignatureOrTopic: "findAllSwaps" | "findBestAllInputSwap" | "findBestAllInputSwapOrRevert" | "findBestSwap" | "findBestSwapOrRevert" | "findBestSwapQuote" | "getBestDirectPairSwap" | "getComponentId" | "swapAllNormalTokens" | "version"): FunctionFragment;
|
|
@@ -40,7 +40,6 @@ export declare type StrategyPathTaskStruct = {
|
|
|
40
40
|
foundAdapters: TokenAdaptersStruct[];
|
|
41
41
|
gasPriceTargetRAY: BigNumberish;
|
|
42
42
|
gasUsage: BigNumberish;
|
|
43
|
-
slippageMultiplier: BigNumberish;
|
|
44
43
|
initTargetBalance: BigNumberish;
|
|
45
44
|
calls: MultiCallStruct[];
|
|
46
45
|
};
|
|
@@ -57,7 +56,6 @@ export declare type StrategyPathTaskStructOutput = [
|
|
|
57
56
|
BigNumber,
|
|
58
57
|
BigNumber,
|
|
59
58
|
BigNumber,
|
|
60
|
-
BigNumber,
|
|
61
59
|
MultiCallStructOutput[]
|
|
62
60
|
] & {
|
|
63
61
|
creditAccount: string;
|
|
@@ -71,18 +69,17 @@ export declare type StrategyPathTaskStructOutput = [
|
|
|
71
69
|
foundAdapters: TokenAdaptersStructOutput[];
|
|
72
70
|
gasPriceTargetRAY: BigNumber;
|
|
73
71
|
gasUsage: BigNumber;
|
|
74
|
-
slippageMultiplier: BigNumber;
|
|
75
72
|
initTargetBalance: BigNumber;
|
|
76
73
|
calls: MultiCallStructOutput[];
|
|
77
74
|
};
|
|
78
75
|
export interface IWithdrawerInterface extends utils.Interface {
|
|
79
76
|
functions: {
|
|
80
77
|
"getComponentId()": FunctionFragment;
|
|
81
|
-
"getUnderlying(address,(address,(address,uint256)[],address,address[],address[],uint256,bool,uint8,(address,address,address)[],uint256,uint256,uint256,
|
|
78
|
+
"getUnderlying(address,(address,(address,uint256)[],address,address[],address[],uint256,bool,uint8,(address,address,address)[],uint256,uint256,uint256,(address,bytes)[]))": FunctionFragment;
|
|
82
79
|
"version()": FunctionFragment;
|
|
83
|
-
"withdraw(uint256,address,(address,(address,uint256)[],address,address[],address[],uint256,bool,uint8,(address,address,address)[],uint256,uint256,uint256,
|
|
84
|
-
"withdrawAll(address,(address,(address,uint256)[],address,address[],address[],uint256,bool,uint8,(address,address,address)[],uint256,uint256,uint256,
|
|
85
|
-
"withdrawAllTokens((address,(address,uint256)[],address,address[],address[],uint256,bool,uint8,(address,address,address)[],uint256,uint256,uint256,
|
|
80
|
+
"withdraw(uint256,address,(address,(address,uint256)[],address,address[],address[],uint256,bool,uint8,(address,address,address)[],uint256,uint256,uint256,(address,bytes)[]))": FunctionFragment;
|
|
81
|
+
"withdrawAll(address,(address,(address,uint256)[],address,address[],address[],uint256,bool,uint8,(address,address,address)[],uint256,uint256,uint256,(address,bytes)[]))": FunctionFragment;
|
|
82
|
+
"withdrawAllTokens((address,(address,uint256)[],address,address[],address[],uint256,bool,uint8,(address,address,address)[],uint256,uint256,uint256,(address,bytes)[]))": FunctionFragment;
|
|
86
83
|
};
|
|
87
84
|
getFunction(nameOrSignatureOrTopic: "getComponentId" | "getUnderlying" | "version" | "withdraw" | "withdrawAll" | "withdrawAllTokens"): FunctionFragment;
|
|
88
85
|
encodeFunctionData(functionFragment: "getComponentId", values?: undefined): string;
|
|
@@ -40,7 +40,6 @@ export declare type StrategyPathTaskStruct = {
|
|
|
40
40
|
foundAdapters: TokenAdaptersStruct[];
|
|
41
41
|
gasPriceTargetRAY: BigNumberish;
|
|
42
42
|
gasUsage: BigNumberish;
|
|
43
|
-
slippageMultiplier: BigNumberish;
|
|
44
43
|
initTargetBalance: BigNumberish;
|
|
45
44
|
calls: MultiCallStruct[];
|
|
46
45
|
};
|
|
@@ -57,7 +56,6 @@ export declare type StrategyPathTaskStructOutput = [
|
|
|
57
56
|
BigNumber,
|
|
58
57
|
BigNumber,
|
|
59
58
|
BigNumber,
|
|
60
|
-
BigNumber,
|
|
61
59
|
MultiCallStructOutput[]
|
|
62
60
|
] & {
|
|
63
61
|
creditAccount: string;
|
|
@@ -71,7 +69,6 @@ export declare type StrategyPathTaskStructOutput = [
|
|
|
71
69
|
foundAdapters: TokenAdaptersStructOutput[];
|
|
72
70
|
gasPriceTargetRAY: BigNumber;
|
|
73
71
|
gasUsage: BigNumber;
|
|
74
|
-
slippageMultiplier: BigNumber;
|
|
75
72
|
initTargetBalance: BigNumber;
|
|
76
73
|
calls: MultiCallStructOutput[];
|
|
77
74
|
};
|
|
@@ -88,11 +85,11 @@ export declare type PathOptionStructOutput = [string, number, number] & {
|
|
|
88
85
|
export interface IWithdrawerOptionsInterface extends utils.Interface {
|
|
89
86
|
functions: {
|
|
90
87
|
"getComponentId()": FunctionFragment;
|
|
91
|
-
"getUnderlyings(uint8,address,(address,(address,uint256)[],address,address[],address[],uint256,bool,uint8,(address,address,address)[],uint256,uint256,uint256,
|
|
88
|
+
"getUnderlyings(uint8,address,(address,(address,uint256)[],address,address[],address[],uint256,bool,uint8,(address,address,address)[],uint256,uint256,uint256,(address,bytes)[]))": FunctionFragment;
|
|
92
89
|
"version()": FunctionFragment;
|
|
93
|
-
"withdraw(address,uint256,uint8,address,(address,(address,uint256)[],address,address[],address[],uint256,bool,uint8,(address,address,address)[],uint256,uint256,uint256,
|
|
94
|
-
"withdrawAll(address,uint8,address,(address,(address,uint256)[],address,address[],address[],uint256,bool,uint8,(address,address,address)[],uint256,uint256,uint256,
|
|
95
|
-
"withdrawAllTokens((address,(address,uint256)[],address,address[],address[],uint256,bool,uint8,(address,address,address)[],uint256,uint256,uint256,
|
|
90
|
+
"withdraw(address,uint256,uint8,address,(address,(address,uint256)[],address,address[],address[],uint256,bool,uint8,(address,address,address)[],uint256,uint256,uint256,(address,bytes)[]))": FunctionFragment;
|
|
91
|
+
"withdrawAll(address,uint8,address,(address,(address,uint256)[],address,address[],address[],uint256,bool,uint8,(address,address,address)[],uint256,uint256,uint256,(address,bytes)[]))": FunctionFragment;
|
|
92
|
+
"withdrawAllTokens((address,(address,uint256)[],address,address[],address[],uint256,bool,uint8,(address,address,address)[],uint256,uint256,uint256,(address,bytes)[]),(address,uint8,uint8)[])": FunctionFragment;
|
|
96
93
|
};
|
|
97
94
|
getFunction(nameOrSignatureOrTopic: "getComponentId" | "getUnderlyings" | "version" | "withdraw" | "withdrawAll" | "withdrawAllTokens"): FunctionFragment;
|
|
98
95
|
encodeFunctionData(functionFragment: "getComponentId", values?: undefined): string;
|
package/lib/types/factories/contracts/interfaces/ICreditFacade.sol/ICreditFacadeEvents__factory.js
CHANGED
|
@@ -204,13 +204,13 @@ var _abi = [
|
|
|
204
204
|
anonymous: false,
|
|
205
205
|
inputs: [
|
|
206
206
|
{
|
|
207
|
-
indexed:
|
|
207
|
+
indexed: true,
|
|
208
208
|
internalType: "address",
|
|
209
209
|
name: "borrower",
|
|
210
210
|
type: "address",
|
|
211
211
|
},
|
|
212
212
|
{
|
|
213
|
-
indexed:
|
|
213
|
+
indexed: true,
|
|
214
214
|
internalType: "address",
|
|
215
215
|
name: "token",
|
|
216
216
|
type: "address",
|
|
@@ -223,13 +223,13 @@ var _abi = [
|
|
|
223
223
|
anonymous: false,
|
|
224
224
|
inputs: [
|
|
225
225
|
{
|
|
226
|
-
indexed:
|
|
226
|
+
indexed: true,
|
|
227
227
|
internalType: "address",
|
|
228
228
|
name: "borrower",
|
|
229
229
|
type: "address",
|
|
230
230
|
},
|
|
231
231
|
{
|
|
232
|
-
indexed:
|
|
232
|
+
indexed: true,
|
|
233
233
|
internalType: "address",
|
|
234
234
|
name: "token",
|
|
235
235
|
type: "address",
|
package/lib/types/factories/contracts/interfaces/ICreditFacade.sol/ICreditFacade__factory.js
CHANGED
|
@@ -360,13 +360,13 @@ var _abi = [
|
|
|
360
360
|
anonymous: false,
|
|
361
361
|
inputs: [
|
|
362
362
|
{
|
|
363
|
-
indexed:
|
|
363
|
+
indexed: true,
|
|
364
364
|
internalType: "address",
|
|
365
365
|
name: "borrower",
|
|
366
366
|
type: "address",
|
|
367
367
|
},
|
|
368
368
|
{
|
|
369
|
-
indexed:
|
|
369
|
+
indexed: true,
|
|
370
370
|
internalType: "address",
|
|
371
371
|
name: "token",
|
|
372
372
|
type: "address",
|
|
@@ -379,13 +379,13 @@ var _abi = [
|
|
|
379
379
|
anonymous: false,
|
|
380
380
|
inputs: [
|
|
381
381
|
{
|
|
382
|
-
indexed:
|
|
382
|
+
indexed: true,
|
|
383
383
|
internalType: "address",
|
|
384
384
|
name: "borrower",
|
|
385
385
|
type: "address",
|
|
386
386
|
},
|
|
387
387
|
{
|
|
388
|
-
indexed:
|
|
388
|
+
indexed: true,
|
|
389
389
|
internalType: "address",
|
|
390
390
|
name: "token",
|
|
391
391
|
type: "address",
|
|
@@ -949,6 +949,19 @@ var _abi = [
|
|
|
949
949
|
stateMutability: "view",
|
|
950
950
|
type: "function",
|
|
951
951
|
},
|
|
952
|
+
{
|
|
953
|
+
inputs: [],
|
|
954
|
+
name: "underlying",
|
|
955
|
+
outputs: [
|
|
956
|
+
{
|
|
957
|
+
internalType: "address",
|
|
958
|
+
name: "",
|
|
959
|
+
type: "address",
|
|
960
|
+
},
|
|
961
|
+
],
|
|
962
|
+
stateMutability: "view",
|
|
963
|
+
type: "function",
|
|
964
|
+
},
|
|
952
965
|
{
|
|
953
966
|
inputs: [],
|
|
954
967
|
name: "version",
|
|
@@ -94,11 +94,6 @@ var _abi = [
|
|
|
94
94
|
name: "gasUsage",
|
|
95
95
|
type: "uint256",
|
|
96
96
|
},
|
|
97
|
-
{
|
|
98
|
-
internalType: "uint256",
|
|
99
|
-
name: "slippageMultiplier",
|
|
100
|
-
type: "uint256",
|
|
101
|
-
},
|
|
102
97
|
{
|
|
103
98
|
internalType: "uint256",
|
|
104
99
|
name: "initTargetBalance",
|
|
@@ -242,11 +237,6 @@ var _abi = [
|
|
|
242
237
|
name: "gasUsage",
|
|
243
238
|
type: "uint256",
|
|
244
239
|
},
|
|
245
|
-
{
|
|
246
|
-
internalType: "uint256",
|
|
247
|
-
name: "slippageMultiplier",
|
|
248
|
-
type: "uint256",
|
|
249
|
-
},
|
|
250
240
|
{
|
|
251
241
|
internalType: "uint256",
|
|
252
242
|
name: "initTargetBalance",
|
|
@@ -114,11 +114,6 @@ var _abi = [
|
|
|
114
114
|
name: "gasUsage",
|
|
115
115
|
type: "uint256",
|
|
116
116
|
},
|
|
117
|
-
{
|
|
118
|
-
internalType: "uint256",
|
|
119
|
-
name: "slippageMultiplier",
|
|
120
|
-
type: "uint256",
|
|
121
|
-
},
|
|
122
117
|
{
|
|
123
118
|
internalType: "uint256",
|
|
124
119
|
name: "initTargetBalance",
|
|
@@ -240,11 +235,6 @@ var _abi = [
|
|
|
240
235
|
name: "gasUsage",
|
|
241
236
|
type: "uint256",
|
|
242
237
|
},
|
|
243
|
-
{
|
|
244
|
-
internalType: "uint256",
|
|
245
|
-
name: "slippageMultiplier",
|
|
246
|
-
type: "uint256",
|
|
247
|
-
},
|
|
248
238
|
{
|
|
249
239
|
internalType: "uint256",
|
|
250
240
|
name: "initTargetBalance",
|
|
@@ -379,11 +369,6 @@ var _abi = [
|
|
|
379
369
|
name: "gasUsage",
|
|
380
370
|
type: "uint256",
|
|
381
371
|
},
|
|
382
|
-
{
|
|
383
|
-
internalType: "uint256",
|
|
384
|
-
name: "slippageMultiplier",
|
|
385
|
-
type: "uint256",
|
|
386
|
-
},
|
|
387
372
|
{
|
|
388
373
|
internalType: "uint256",
|
|
389
374
|
name: "initTargetBalance",
|
|
@@ -505,11 +490,6 @@ var _abi = [
|
|
|
505
490
|
name: "gasUsage",
|
|
506
491
|
type: "uint256",
|
|
507
492
|
},
|
|
508
|
-
{
|
|
509
|
-
internalType: "uint256",
|
|
510
|
-
name: "slippageMultiplier",
|
|
511
|
-
type: "uint256",
|
|
512
|
-
},
|
|
513
493
|
{
|
|
514
494
|
internalType: "uint256",
|
|
515
495
|
name: "initTargetBalance",
|
|
@@ -634,11 +614,6 @@ var _abi = [
|
|
|
634
614
|
name: "gasUsage",
|
|
635
615
|
type: "uint256",
|
|
636
616
|
},
|
|
637
|
-
{
|
|
638
|
-
internalType: "uint256",
|
|
639
|
-
name: "slippageMultiplier",
|
|
640
|
-
type: "uint256",
|
|
641
|
-
},
|
|
642
617
|
{
|
|
643
618
|
internalType: "uint256",
|
|
644
619
|
name: "initTargetBalance",
|
|
@@ -760,11 +735,6 @@ var _abi = [
|
|
|
760
735
|
name: "gasUsage",
|
|
761
736
|
type: "uint256",
|
|
762
737
|
},
|
|
763
|
-
{
|
|
764
|
-
internalType: "uint256",
|
|
765
|
-
name: "slippageMultiplier",
|
|
766
|
-
type: "uint256",
|
|
767
|
-
},
|
|
768
738
|
{
|
|
769
739
|
internalType: "uint256",
|
|
770
740
|
name: "initTargetBalance",
|
|
@@ -907,11 +877,6 @@ var _abi = [
|
|
|
907
877
|
name: "gasUsage",
|
|
908
878
|
type: "uint256",
|
|
909
879
|
},
|
|
910
|
-
{
|
|
911
|
-
internalType: "uint256",
|
|
912
|
-
name: "slippageMultiplier",
|
|
913
|
-
type: "uint256",
|
|
914
|
-
},
|
|
915
880
|
{
|
|
916
881
|
internalType: "uint256",
|
|
917
882
|
name: "initTargetBalance",
|
|
@@ -1033,11 +998,6 @@ var _abi = [
|
|
|
1033
998
|
name: "gasUsage",
|
|
1034
999
|
type: "uint256",
|
|
1035
1000
|
},
|
|
1036
|
-
{
|
|
1037
|
-
internalType: "uint256",
|
|
1038
|
-
name: "slippageMultiplier",
|
|
1039
|
-
type: "uint256",
|
|
1040
|
-
},
|
|
1041
1001
|
{
|
|
1042
1002
|
internalType: "uint256",
|
|
1043
1003
|
name: "initTargetBalance",
|
package/lib/types/factories/contracts/pathfinder/interfaces/IDepositor.sol/IDepositor__factory.js
CHANGED
|
@@ -104,11 +104,6 @@ var _abi = [
|
|
|
104
104
|
name: "gasUsage",
|
|
105
105
|
type: "uint256",
|
|
106
106
|
},
|
|
107
|
-
{
|
|
108
|
-
internalType: "uint256",
|
|
109
|
-
name: "slippageMultiplier",
|
|
110
|
-
type: "uint256",
|
|
111
|
-
},
|
|
112
107
|
{
|
|
113
108
|
internalType: "uint256",
|
|
114
109
|
name: "initTargetBalance",
|
|
@@ -230,11 +225,6 @@ var _abi = [
|
|
|
230
225
|
name: "gasUsage",
|
|
231
226
|
type: "uint256",
|
|
232
227
|
},
|
|
233
|
-
{
|
|
234
|
-
internalType: "uint256",
|
|
235
|
-
name: "slippageMultiplier",
|
|
236
|
-
type: "uint256",
|
|
237
|
-
},
|
|
238
228
|
{
|
|
239
229
|
internalType: "uint256",
|
|
240
230
|
name: "initTargetBalance",
|
|
@@ -359,11 +349,6 @@ var _abi = [
|
|
|
359
349
|
name: "gasUsage",
|
|
360
350
|
type: "uint256",
|
|
361
351
|
},
|
|
362
|
-
{
|
|
363
|
-
internalType: "uint256",
|
|
364
|
-
name: "slippageMultiplier",
|
|
365
|
-
type: "uint256",
|
|
366
|
-
},
|
|
367
352
|
{
|
|
368
353
|
internalType: "uint256",
|
|
369
354
|
name: "initTargetBalance",
|
|
@@ -485,11 +470,6 @@ var _abi = [
|
|
|
485
470
|
name: "gasUsage",
|
|
486
471
|
type: "uint256",
|
|
487
472
|
},
|
|
488
|
-
{
|
|
489
|
-
internalType: "uint256",
|
|
490
|
-
name: "slippageMultiplier",
|
|
491
|
-
type: "uint256",
|
|
492
|
-
},
|
|
493
473
|
{
|
|
494
474
|
internalType: "uint256",
|
|
495
475
|
name: "initTargetBalance",
|
|
@@ -627,11 +607,6 @@ var _abi = [
|
|
|
627
607
|
name: "gasUsage",
|
|
628
608
|
type: "uint256",
|
|
629
609
|
},
|
|
630
|
-
{
|
|
631
|
-
internalType: "uint256",
|
|
632
|
-
name: "slippageMultiplier",
|
|
633
|
-
type: "uint256",
|
|
634
|
-
},
|
|
635
610
|
{
|
|
636
611
|
internalType: "uint256",
|
|
637
612
|
name: "initTargetBalance",
|
|
@@ -753,11 +728,6 @@ var _abi = [
|
|
|
753
728
|
name: "gasUsage",
|
|
754
729
|
type: "uint256",
|
|
755
730
|
},
|
|
756
|
-
{
|
|
757
|
-
internalType: "uint256",
|
|
758
|
-
name: "slippageMultiplier",
|
|
759
|
-
type: "uint256",
|
|
760
|
-
},
|
|
761
731
|
{
|
|
762
732
|
internalType: "uint256",
|
|
763
733
|
name: "initTargetBalance",
|
|
@@ -117,11 +117,6 @@ var _abi = [
|
|
|
117
117
|
name: "gasUsage",
|
|
118
118
|
type: "uint256",
|
|
119
119
|
},
|
|
120
|
-
{
|
|
121
|
-
internalType: "uint256",
|
|
122
|
-
name: "slippageMultiplier",
|
|
123
|
-
type: "uint256",
|
|
124
|
-
},
|
|
125
120
|
{
|
|
126
121
|
internalType: "uint256",
|
|
127
122
|
name: "initTargetBalance",
|
|
@@ -243,11 +238,6 @@ var _abi = [
|
|
|
243
238
|
name: "gasUsage",
|
|
244
239
|
type: "uint256",
|
|
245
240
|
},
|
|
246
|
-
{
|
|
247
|
-
internalType: "uint256",
|
|
248
|
-
name: "slippageMultiplier",
|
|
249
|
-
type: "uint256",
|
|
250
|
-
},
|
|
251
241
|
{
|
|
252
242
|
internalType: "uint256",
|
|
253
243
|
name: "initTargetBalance",
|
package/lib/types/factories/contracts/pathfinder/interfaces/ILPWorker.sol/ILPWorker__factory.js
CHANGED
|
@@ -112,11 +112,6 @@ var _abi = [
|
|
|
112
112
|
name: "gasUsage",
|
|
113
113
|
type: "uint256",
|
|
114
114
|
},
|
|
115
|
-
{
|
|
116
|
-
internalType: "uint256",
|
|
117
|
-
name: "slippageMultiplier",
|
|
118
|
-
type: "uint256",
|
|
119
|
-
},
|
|
120
115
|
{
|
|
121
116
|
internalType: "uint256",
|
|
122
117
|
name: "initTargetBalance",
|
|
@@ -238,11 +233,6 @@ var _abi = [
|
|
|
238
233
|
name: "gasUsage",
|
|
239
234
|
type: "uint256",
|
|
240
235
|
},
|
|
241
|
-
{
|
|
242
|
-
internalType: "uint256",
|
|
243
|
-
name: "slippageMultiplier",
|
|
244
|
-
type: "uint256",
|
|
245
|
-
},
|
|
246
236
|
{
|
|
247
237
|
internalType: "uint256",
|
|
248
238
|
name: "initTargetBalance",
|
|
@@ -109,11 +109,6 @@ var _abi = [
|
|
|
109
109
|
name: "gasUsage",
|
|
110
110
|
type: "uint256",
|
|
111
111
|
},
|
|
112
|
-
{
|
|
113
|
-
internalType: "uint256",
|
|
114
|
-
name: "slippageMultiplier",
|
|
115
|
-
type: "uint256",
|
|
116
|
-
},
|
|
117
112
|
{
|
|
118
113
|
internalType: "uint256",
|
|
119
114
|
name: "initTargetBalance",
|
|
@@ -230,11 +225,6 @@ var _abi = [
|
|
|
230
225
|
name: "gasUsage",
|
|
231
226
|
type: "uint256",
|
|
232
227
|
},
|
|
233
|
-
{
|
|
234
|
-
internalType: "uint256",
|
|
235
|
-
name: "slippageMultiplier",
|
|
236
|
-
type: "uint256",
|
|
237
|
-
},
|
|
238
228
|
{
|
|
239
229
|
internalType: "uint256",
|
|
240
230
|
name: "initTargetBalance",
|
|
@@ -354,11 +344,6 @@ var _abi = [
|
|
|
354
344
|
name: "gasUsage",
|
|
355
345
|
type: "uint256",
|
|
356
346
|
},
|
|
357
|
-
{
|
|
358
|
-
internalType: "uint256",
|
|
359
|
-
name: "slippageMultiplier",
|
|
360
|
-
type: "uint256",
|
|
361
|
-
},
|
|
362
347
|
{
|
|
363
348
|
internalType: "uint256",
|
|
364
349
|
name: "initTargetBalance",
|
|
@@ -475,11 +460,6 @@ var _abi = [
|
|
|
475
460
|
name: "gasUsage",
|
|
476
461
|
type: "uint256",
|
|
477
462
|
},
|
|
478
|
-
{
|
|
479
|
-
internalType: "uint256",
|
|
480
|
-
name: "slippageMultiplier",
|
|
481
|
-
type: "uint256",
|
|
482
|
-
},
|
|
483
463
|
{
|
|
484
464
|
internalType: "uint256",
|
|
485
465
|
name: "initTargetBalance",
|
|
@@ -204,11 +204,6 @@ var _abi = [
|
|
|
204
204
|
name: "gasUsage",
|
|
205
205
|
type: "uint256",
|
|
206
206
|
},
|
|
207
|
-
{
|
|
208
|
-
internalType: "uint256",
|
|
209
|
-
name: "slippageMultiplier",
|
|
210
|
-
type: "uint256",
|
|
211
|
-
},
|
|
212
207
|
{
|
|
213
208
|
internalType: "uint256",
|
|
214
209
|
name: "initTargetBalance",
|
|
@@ -330,11 +325,6 @@ var _abi = [
|
|
|
330
325
|
name: "gasUsage",
|
|
331
326
|
type: "uint256",
|
|
332
327
|
},
|
|
333
|
-
{
|
|
334
|
-
internalType: "uint256",
|
|
335
|
-
name: "slippageMultiplier",
|
|
336
|
-
type: "uint256",
|
|
337
|
-
},
|
|
338
328
|
{
|
|
339
329
|
internalType: "uint256",
|
|
340
330
|
name: "initTargetBalance",
|
|
@@ -464,11 +454,6 @@ var _abi = [
|
|
|
464
454
|
name: "gasUsage",
|
|
465
455
|
type: "uint256",
|
|
466
456
|
},
|
|
467
|
-
{
|
|
468
|
-
internalType: "uint256",
|
|
469
|
-
name: "slippageMultiplier",
|
|
470
|
-
type: "uint256",
|
|
471
|
-
},
|
|
472
457
|
{
|
|
473
458
|
internalType: "uint256",
|
|
474
459
|
name: "initTargetBalance",
|
|
@@ -590,11 +575,6 @@ var _abi = [
|
|
|
590
575
|
name: "gasUsage",
|
|
591
576
|
type: "uint256",
|
|
592
577
|
},
|
|
593
|
-
{
|
|
594
|
-
internalType: "uint256",
|
|
595
|
-
name: "slippageMultiplier",
|
|
596
|
-
type: "uint256",
|
|
597
|
-
},
|
|
598
578
|
{
|
|
599
579
|
internalType: "uint256",
|
|
600
580
|
name: "initTargetBalance",
|
|
@@ -729,11 +709,6 @@ var _abi = [
|
|
|
729
709
|
name: "gasUsage",
|
|
730
710
|
type: "uint256",
|
|
731
711
|
},
|
|
732
|
-
{
|
|
733
|
-
internalType: "uint256",
|
|
734
|
-
name: "slippageMultiplier",
|
|
735
|
-
type: "uint256",
|
|
736
|
-
},
|
|
737
712
|
{
|
|
738
713
|
internalType: "uint256",
|
|
739
714
|
name: "initTargetBalance",
|
|
@@ -855,11 +830,6 @@ var _abi = [
|
|
|
855
830
|
name: "gasUsage",
|
|
856
831
|
type: "uint256",
|
|
857
832
|
},
|
|
858
|
-
{
|
|
859
|
-
internalType: "uint256",
|
|
860
|
-
name: "slippageMultiplier",
|
|
861
|
-
type: "uint256",
|
|
862
|
-
},
|
|
863
833
|
{
|
|
864
834
|
internalType: "uint256",
|
|
865
835
|
name: "initTargetBalance",
|
|
@@ -994,11 +964,6 @@ var _abi = [
|
|
|
994
964
|
name: "gasUsage",
|
|
995
965
|
type: "uint256",
|
|
996
966
|
},
|
|
997
|
-
{
|
|
998
|
-
internalType: "uint256",
|
|
999
|
-
name: "slippageMultiplier",
|
|
1000
|
-
type: "uint256",
|
|
1001
|
-
},
|
|
1002
967
|
{
|
|
1003
968
|
internalType: "uint256",
|
|
1004
969
|
name: "initTargetBalance",
|
|
@@ -1120,11 +1085,6 @@ var _abi = [
|
|
|
1120
1085
|
name: "gasUsage",
|
|
1121
1086
|
type: "uint256",
|
|
1122
1087
|
},
|
|
1123
|
-
{
|
|
1124
|
-
internalType: "uint256",
|
|
1125
|
-
name: "slippageMultiplier",
|
|
1126
|
-
type: "uint256",
|
|
1127
|
-
},
|
|
1128
1088
|
{
|
|
1129
1089
|
internalType: "uint256",
|
|
1130
1090
|
name: "initTargetBalance",
|
|
@@ -1462,11 +1422,6 @@ var _abi = [
|
|
|
1462
1422
|
name: "gasUsage",
|
|
1463
1423
|
type: "uint256",
|
|
1464
1424
|
},
|
|
1465
|
-
{
|
|
1466
|
-
internalType: "uint256",
|
|
1467
|
-
name: "slippageMultiplier",
|
|
1468
|
-
type: "uint256",
|
|
1469
|
-
},
|
|
1470
1425
|
{
|
|
1471
1426
|
internalType: "uint256",
|
|
1472
1427
|
name: "initTargetBalance",
|
|
@@ -1588,11 +1543,6 @@ var _abi = [
|
|
|
1588
1543
|
name: "gasUsage",
|
|
1589
1544
|
type: "uint256",
|
|
1590
1545
|
},
|
|
1591
|
-
{
|
|
1592
|
-
internalType: "uint256",
|
|
1593
|
-
name: "slippageMultiplier",
|
|
1594
|
-
type: "uint256",
|
|
1595
|
-
},
|
|
1596
1546
|
{
|
|
1597
1547
|
internalType: "uint256",
|
|
1598
1548
|
name: "initTargetBalance",
|
|
@@ -117,11 +117,6 @@ var _abi = [
|
|
|
117
117
|
name: "gasUsage",
|
|
118
118
|
type: "uint256",
|
|
119
119
|
},
|
|
120
|
-
{
|
|
121
|
-
internalType: "uint256",
|
|
122
|
-
name: "slippageMultiplier",
|
|
123
|
-
type: "uint256",
|
|
124
|
-
},
|
|
125
120
|
{
|
|
126
121
|
internalType: "uint256",
|
|
127
122
|
name: "initTargetBalance",
|
|
@@ -243,11 +238,6 @@ var _abi = [
|
|
|
243
238
|
name: "gasUsage",
|
|
244
239
|
type: "uint256",
|
|
245
240
|
},
|
|
246
|
-
{
|
|
247
|
-
internalType: "uint256",
|
|
248
|
-
name: "slippageMultiplier",
|
|
249
|
-
type: "uint256",
|
|
250
|
-
},
|
|
251
241
|
{
|
|
252
242
|
internalType: "uint256",
|
|
253
243
|
name: "initTargetBalance",
|
|
@@ -400,11 +390,6 @@ var _abi = [
|
|
|
400
390
|
name: "gasUsage",
|
|
401
391
|
type: "uint256",
|
|
402
392
|
},
|
|
403
|
-
{
|
|
404
|
-
internalType: "uint256",
|
|
405
|
-
name: "slippageMultiplier",
|
|
406
|
-
type: "uint256",
|
|
407
|
-
},
|
|
408
393
|
{
|
|
409
394
|
internalType: "uint256",
|
|
410
395
|
name: "initTargetBalance",
|
|
@@ -526,11 +511,6 @@ var _abi = [
|
|
|
526
511
|
name: "gasUsage",
|
|
527
512
|
type: "uint256",
|
|
528
513
|
},
|
|
529
|
-
{
|
|
530
|
-
internalType: "uint256",
|
|
531
|
-
name: "slippageMultiplier",
|
|
532
|
-
type: "uint256",
|
|
533
|
-
},
|
|
534
514
|
{
|
|
535
515
|
internalType: "uint256",
|
|
536
516
|
name: "initTargetBalance",
|
|
@@ -665,11 +645,6 @@ var _abi = [
|
|
|
665
645
|
name: "gasUsage",
|
|
666
646
|
type: "uint256",
|
|
667
647
|
},
|
|
668
|
-
{
|
|
669
|
-
internalType: "uint256",
|
|
670
|
-
name: "slippageMultiplier",
|
|
671
|
-
type: "uint256",
|
|
672
|
-
},
|
|
673
648
|
{
|
|
674
649
|
internalType: "uint256",
|
|
675
650
|
name: "initTargetBalance",
|
|
@@ -791,11 +766,6 @@ var _abi = [
|
|
|
791
766
|
name: "gasUsage",
|
|
792
767
|
type: "uint256",
|
|
793
768
|
},
|
|
794
|
-
{
|
|
795
|
-
internalType: "uint256",
|
|
796
|
-
name: "slippageMultiplier",
|
|
797
|
-
type: "uint256",
|
|
798
|
-
},
|
|
799
769
|
{
|
|
800
770
|
internalType: "uint256",
|
|
801
771
|
name: "initTargetBalance",
|
|
@@ -915,11 +885,6 @@ var _abi = [
|
|
|
915
885
|
name: "gasUsage",
|
|
916
886
|
type: "uint256",
|
|
917
887
|
},
|
|
918
|
-
{
|
|
919
|
-
internalType: "uint256",
|
|
920
|
-
name: "slippageMultiplier",
|
|
921
|
-
type: "uint256",
|
|
922
|
-
},
|
|
923
888
|
{
|
|
924
889
|
internalType: "uint256",
|
|
925
890
|
name: "initTargetBalance",
|
|
@@ -1058,11 +1023,6 @@ var _abi = [
|
|
|
1058
1023
|
name: "gasUsage",
|
|
1059
1024
|
type: "uint256",
|
|
1060
1025
|
},
|
|
1061
|
-
{
|
|
1062
|
-
internalType: "uint256",
|
|
1063
|
-
name: "slippageMultiplier",
|
|
1064
|
-
type: "uint256",
|
|
1065
|
-
},
|
|
1066
1026
|
{
|
|
1067
1027
|
internalType: "uint256",
|
|
1068
1028
|
name: "initTargetBalance",
|
package/lib/types/factories/contracts/pathfinder/interfaces/IWithdrawer.sol/IWithdrawer__factory.js
CHANGED
|
@@ -112,11 +112,6 @@ var _abi = [
|
|
|
112
112
|
name: "gasUsage",
|
|
113
113
|
type: "uint256",
|
|
114
114
|
},
|
|
115
|
-
{
|
|
116
|
-
internalType: "uint256",
|
|
117
|
-
name: "slippageMultiplier",
|
|
118
|
-
type: "uint256",
|
|
119
|
-
},
|
|
120
115
|
{
|
|
121
116
|
internalType: "uint256",
|
|
122
117
|
name: "initTargetBalance",
|
|
@@ -238,11 +233,6 @@ var _abi = [
|
|
|
238
233
|
name: "gasUsage",
|
|
239
234
|
type: "uint256",
|
|
240
235
|
},
|
|
241
|
-
{
|
|
242
|
-
internalType: "uint256",
|
|
243
|
-
name: "slippageMultiplier",
|
|
244
|
-
type: "uint256",
|
|
245
|
-
},
|
|
246
236
|
{
|
|
247
237
|
internalType: "uint256",
|
|
248
238
|
name: "initTargetBalance",
|
|
@@ -385,11 +375,6 @@ var _abi = [
|
|
|
385
375
|
name: "gasUsage",
|
|
386
376
|
type: "uint256",
|
|
387
377
|
},
|
|
388
|
-
{
|
|
389
|
-
internalType: "uint256",
|
|
390
|
-
name: "slippageMultiplier",
|
|
391
|
-
type: "uint256",
|
|
392
|
-
},
|
|
393
378
|
{
|
|
394
379
|
internalType: "uint256",
|
|
395
380
|
name: "initTargetBalance",
|
|
@@ -511,11 +496,6 @@ var _abi = [
|
|
|
511
496
|
name: "gasUsage",
|
|
512
497
|
type: "uint256",
|
|
513
498
|
},
|
|
514
|
-
{
|
|
515
|
-
internalType: "uint256",
|
|
516
|
-
name: "slippageMultiplier",
|
|
517
|
-
type: "uint256",
|
|
518
|
-
},
|
|
519
499
|
{
|
|
520
500
|
internalType: "uint256",
|
|
521
501
|
name: "initTargetBalance",
|
|
@@ -640,11 +620,6 @@ var _abi = [
|
|
|
640
620
|
name: "gasUsage",
|
|
641
621
|
type: "uint256",
|
|
642
622
|
},
|
|
643
|
-
{
|
|
644
|
-
internalType: "uint256",
|
|
645
|
-
name: "slippageMultiplier",
|
|
646
|
-
type: "uint256",
|
|
647
|
-
},
|
|
648
623
|
{
|
|
649
624
|
internalType: "uint256",
|
|
650
625
|
name: "initTargetBalance",
|
|
@@ -766,11 +741,6 @@ var _abi = [
|
|
|
766
741
|
name: "gasUsage",
|
|
767
742
|
type: "uint256",
|
|
768
743
|
},
|
|
769
|
-
{
|
|
770
|
-
internalType: "uint256",
|
|
771
|
-
name: "slippageMultiplier",
|
|
772
|
-
type: "uint256",
|
|
773
|
-
},
|
|
774
744
|
{
|
|
775
745
|
internalType: "uint256",
|
|
776
746
|
name: "initTargetBalance",
|
|
@@ -890,11 +860,6 @@ var _abi = [
|
|
|
890
860
|
name: "gasUsage",
|
|
891
861
|
type: "uint256",
|
|
892
862
|
},
|
|
893
|
-
{
|
|
894
|
-
internalType: "uint256",
|
|
895
|
-
name: "slippageMultiplier",
|
|
896
|
-
type: "uint256",
|
|
897
|
-
},
|
|
898
863
|
{
|
|
899
864
|
internalType: "uint256",
|
|
900
865
|
name: "initTargetBalance",
|
|
@@ -1011,11 +976,6 @@ var _abi = [
|
|
|
1011
976
|
name: "gasUsage",
|
|
1012
977
|
type: "uint256",
|
|
1013
978
|
},
|
|
1014
|
-
{
|
|
1015
|
-
internalType: "uint256",
|
|
1016
|
-
name: "slippageMultiplier",
|
|
1017
|
-
type: "uint256",
|
|
1018
|
-
},
|
|
1019
979
|
{
|
|
1020
980
|
internalType: "uint256",
|
|
1021
981
|
name: "initTargetBalance",
|