@gearbox-protocol/sdk 1.6.5 → 1.7.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/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/lib/watchers/creditAccountWatcher.d.ts +30 -0
- package/lib/watchers/creditAccountWatcher.js +255 -0
- package/lib/watchers/creditAccountWatcher.spec.d.ts +1 -0
- package/lib/watchers/creditAccountWatcher.spec.js +177 -0
- package/lib/watchers/creditManagerWatcher.d.ts +8 -0
- package/lib/watchers/creditManagerWatcher.js +86 -0
- package/lib/watchers/creditManagerWatcher.spec.d.ts +1 -0
- package/lib/watchers/creditManagerWatcher.spec.js +110 -0
- 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",
|