@gearbox-protocol/sdk 3.0.0-vfourabi.3 → 3.0.0-vfourabi.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/abi/compressors.cjs +3848 -3823
- package/dist/cjs/abi/compressors.d.ts +13 -15
- package/dist/cjs/abi/errors.cjs +188 -195
- package/dist/cjs/abi/errors.d.ts +6 -8
- package/dist/cjs/abi/iERC20.cjs +123 -122
- package/dist/cjs/abi/iERC20.d.ts +1 -3
- package/dist/cjs/abi/iPausable.cjs +37 -39
- package/dist/cjs/abi/iPausable.d.ts +1 -3
- package/dist/cjs/abi/iPriceFeedStore.cjs +229 -231
- package/dist/cjs/abi/iPriceFeedStore.d.ts +1 -3
- package/dist/cjs/abi/iUpdatablePriceFeed.cjs +18 -20
- package/dist/cjs/abi/iUpdatablePriceFeed.d.ts +1 -3
- package/dist/cjs/abi/iVersion.cjs +30 -32
- package/dist/cjs/abi/iVersion.d.ts +1 -3
- package/dist/cjs/abi/iZapper.cjs +85 -84
- package/dist/cjs/abi/iZapper.d.ts +1 -3
- package/dist/cjs/abi/index.cjs +27 -0
- package/dist/cjs/abi/index.d.ts +11 -0
- package/dist/cjs/abi/routerV300.cjs +378 -381
- package/dist/cjs/abi/routerV300.d.ts +2 -4
- package/dist/cjs/abi/v300.cjs +4125 -4138
- package/dist/cjs/abi/v300.d.ts +12 -14
- package/dist/cjs/abi/v310.cjs +5141 -5116
- package/dist/cjs/abi/v310.d.ts +13 -15
- package/dist/cjs/dev/index.d.ts +287 -1
- package/dist/cjs/sdk/index.cjs +18865 -18931
- package/dist/cjs/sdk/index.d.ts +13552 -8345
- package/dist/esm/abi/compressors.d.mts +13 -15
- package/dist/esm/abi/compressors.mjs +3845 -3809
- package/dist/esm/abi/errors.d.mts +6 -8
- package/dist/esm/abi/errors.mjs +185 -188
- package/dist/esm/abi/iERC20.d.mts +1 -3
- package/dist/esm/abi/iERC20.mjs +120 -120
- package/dist/esm/abi/iPausable.d.mts +1 -3
- package/dist/esm/abi/iPausable.mjs +34 -37
- package/dist/esm/abi/iPriceFeedStore.d.mts +1 -3
- package/dist/esm/abi/iPriceFeedStore.mjs +226 -229
- package/dist/esm/abi/iUpdatablePriceFeed.d.mts +1 -3
- package/dist/esm/abi/iUpdatablePriceFeed.mjs +15 -18
- package/dist/esm/abi/iVersion.d.mts +1 -3
- package/dist/esm/abi/iVersion.mjs +27 -30
- package/dist/esm/abi/iZapper.d.mts +1 -3
- package/dist/esm/abi/iZapper.mjs +82 -82
- package/dist/esm/abi/index.d.mts +11 -0
- package/dist/esm/abi/index.mjs +11 -0
- package/dist/esm/abi/routerV300.d.mts +2 -4
- package/dist/esm/abi/routerV300.mjs +375 -378
- package/dist/esm/abi/v300.d.mts +12 -14
- package/dist/esm/abi/v300.mjs +4122 -4125
- package/dist/esm/abi/v310.d.mts +13 -15
- package/dist/esm/abi/v310.mjs +5138 -5102
- package/dist/esm/dev/index.d.mts +287 -1
- package/dist/esm/sdk/index.d.mts +13552 -8345
- package/dist/esm/sdk/index.mjs +18866 -18908
- package/package.json +1 -31
- package/src/abi/index.ts +11 -0
- package/src/sdk/index.ts +0 -1
- package/tsconfig.abi.json +4 -0
- package/tsup.config.ts +58 -8
- package/tsconfig.build.json +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const iAdapterCompressorAbi: readonly [{
|
|
1
|
+
export declare const iAdapterCompressorAbi: readonly [{
|
|
2
2
|
readonly type: "function";
|
|
3
3
|
readonly inputs: readonly [];
|
|
4
4
|
readonly name: "contractType";
|
|
@@ -59,7 +59,7 @@ declare const iAdapterCompressorAbi: readonly [{
|
|
|
59
59
|
}];
|
|
60
60
|
readonly stateMutability: "view";
|
|
61
61
|
}];
|
|
62
|
-
declare const iAuraL2CoordinatorAbi: readonly [{
|
|
62
|
+
export declare const iAuraL2CoordinatorAbi: readonly [{
|
|
63
63
|
readonly type: "function";
|
|
64
64
|
readonly inputs: readonly [];
|
|
65
65
|
readonly name: "auraOFT";
|
|
@@ -80,7 +80,7 @@ declare const iAuraL2CoordinatorAbi: readonly [{
|
|
|
80
80
|
}];
|
|
81
81
|
readonly stateMutability: "view";
|
|
82
82
|
}];
|
|
83
|
-
declare const iConvexTokenAbi: readonly [{
|
|
83
|
+
export declare const iConvexTokenAbi: readonly [{
|
|
84
84
|
readonly type: "function";
|
|
85
85
|
readonly inputs: readonly [];
|
|
86
86
|
readonly name: "EMISSIONS_MAX_SUPPLY";
|
|
@@ -131,7 +131,7 @@ declare const iConvexTokenAbi: readonly [{
|
|
|
131
131
|
}];
|
|
132
132
|
readonly stateMutability: "view";
|
|
133
133
|
}];
|
|
134
|
-
declare const iCreditAccountCompressorAbi: readonly [{
|
|
134
|
+
export declare const iCreditAccountCompressorAbi: readonly [{
|
|
135
135
|
readonly type: "function";
|
|
136
136
|
readonly inputs: readonly [];
|
|
137
137
|
readonly name: "contractType";
|
|
@@ -929,7 +929,7 @@ declare const iCreditAccountCompressorAbi: readonly [{
|
|
|
929
929
|
}];
|
|
930
930
|
readonly stateMutability: "view";
|
|
931
931
|
}];
|
|
932
|
-
declare const iCreditSuiteCompressorAbi: readonly [{
|
|
932
|
+
export declare const iCreditSuiteCompressorAbi: readonly [{
|
|
933
933
|
readonly type: "function";
|
|
934
934
|
readonly inputs: readonly [];
|
|
935
935
|
readonly name: "contractType";
|
|
@@ -1347,7 +1347,7 @@ declare const iCreditSuiteCompressorAbi: readonly [{
|
|
|
1347
1347
|
}];
|
|
1348
1348
|
readonly stateMutability: "view";
|
|
1349
1349
|
}];
|
|
1350
|
-
declare const iGaugeCompressorAbi: readonly [{
|
|
1350
|
+
export declare const iGaugeCompressorAbi: readonly [{
|
|
1351
1351
|
readonly type: "function";
|
|
1352
1352
|
readonly inputs: readonly [];
|
|
1353
1353
|
readonly name: "contractType";
|
|
@@ -1557,7 +1557,7 @@ declare const iGaugeCompressorAbi: readonly [{
|
|
|
1557
1557
|
}];
|
|
1558
1558
|
readonly stateMutability: "view";
|
|
1559
1559
|
}];
|
|
1560
|
-
declare const iMarketCompressorAbi: readonly [{
|
|
1560
|
+
export declare const iMarketCompressorAbi: readonly [{
|
|
1561
1561
|
readonly type: "function";
|
|
1562
1562
|
readonly inputs: readonly [];
|
|
1563
1563
|
readonly name: "contractType";
|
|
@@ -3706,7 +3706,7 @@ declare const iMarketCompressorAbi: readonly [{
|
|
|
3706
3706
|
}];
|
|
3707
3707
|
readonly stateMutability: "view";
|
|
3708
3708
|
}];
|
|
3709
|
-
declare const iModifiedBoosterAbi: readonly [{
|
|
3709
|
+
export declare const iModifiedBoosterAbi: readonly [{
|
|
3710
3710
|
readonly type: "function";
|
|
3711
3711
|
readonly inputs: readonly [{
|
|
3712
3712
|
readonly name: "pool";
|
|
@@ -3721,7 +3721,7 @@ declare const iModifiedBoosterAbi: readonly [{
|
|
|
3721
3721
|
}];
|
|
3722
3722
|
readonly stateMutability: "view";
|
|
3723
3723
|
}];
|
|
3724
|
-
declare const iPeripheryCompressorAbi: readonly [{
|
|
3724
|
+
export declare const iPeripheryCompressorAbi: readonly [{
|
|
3725
3725
|
readonly type: "function";
|
|
3726
3726
|
readonly inputs: readonly [];
|
|
3727
3727
|
readonly name: "contractType";
|
|
@@ -3920,7 +3920,7 @@ declare const iPeripheryCompressorAbi: readonly [{
|
|
|
3920
3920
|
}];
|
|
3921
3921
|
readonly stateMutability: "view";
|
|
3922
3922
|
}];
|
|
3923
|
-
declare const iPoolCompressorAbi: readonly [{
|
|
3923
|
+
export declare const iPoolCompressorAbi: readonly [{
|
|
3924
3924
|
readonly type: "function";
|
|
3925
3925
|
readonly inputs: readonly [];
|
|
3926
3926
|
readonly name: "contractType";
|
|
@@ -4288,7 +4288,7 @@ declare const iPoolCompressorAbi: readonly [{
|
|
|
4288
4288
|
}];
|
|
4289
4289
|
readonly stateMutability: "view";
|
|
4290
4290
|
}];
|
|
4291
|
-
declare const iPriceFeedCompressorAbi: readonly [{
|
|
4291
|
+
export declare const iPriceFeedCompressorAbi: readonly [{
|
|
4292
4292
|
readonly type: "function";
|
|
4293
4293
|
readonly inputs: readonly [];
|
|
4294
4294
|
readonly name: "contractType";
|
|
@@ -4601,7 +4601,7 @@ declare const iPriceFeedCompressorAbi: readonly [{
|
|
|
4601
4601
|
}];
|
|
4602
4602
|
readonly name: "SetSerializer";
|
|
4603
4603
|
}];
|
|
4604
|
-
declare const iRewardsCompressorAbi: readonly [{
|
|
4604
|
+
export declare const iRewardsCompressorAbi: readonly [{
|
|
4605
4605
|
readonly type: "function";
|
|
4606
4606
|
readonly inputs: readonly [];
|
|
4607
4607
|
readonly name: "contractType";
|
|
@@ -4653,7 +4653,7 @@ declare const iRewardsCompressorAbi: readonly [{
|
|
|
4653
4653
|
}];
|
|
4654
4654
|
readonly stateMutability: "view";
|
|
4655
4655
|
}];
|
|
4656
|
-
declare const iTokenCompressorAbi: readonly [{
|
|
4656
|
+
export declare const iTokenCompressorAbi: readonly [{
|
|
4657
4657
|
readonly type: "function";
|
|
4658
4658
|
readonly inputs: readonly [];
|
|
4659
4659
|
readonly name: "contractType";
|
|
@@ -4705,5 +4705,3 @@ declare const iTokenCompressorAbi: readonly [{
|
|
|
4705
4705
|
}];
|
|
4706
4706
|
readonly stateMutability: "view";
|
|
4707
4707
|
}];
|
|
4708
|
-
|
|
4709
|
-
export { iAdapterCompressorAbi, iAuraL2CoordinatorAbi, iConvexTokenAbi, iCreditAccountCompressorAbi, iCreditSuiteCompressorAbi, iGaugeCompressorAbi, iMarketCompressorAbi, iModifiedBoosterAbi, iPeripheryCompressorAbi, iPoolCompressorAbi, iPriceFeedCompressorAbi, iRewardsCompressorAbi, iTokenCompressorAbi };
|
package/dist/cjs/abi/errors.cjs
CHANGED
|
@@ -1,201 +1,194 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.errorAbis = exports.iRedstoneErrorsAbi = exports.iExceptionsAbi = exports.iRouterV3ErrorsAbi = exports.ilpPriceFeedExceptionsAbi = exports.iRedstonePriceFeedExceptionsAbi = void 0;
|
|
4
|
+
exports.iRedstonePriceFeedExceptionsAbi = [
|
|
5
|
+
{ type: "error", inputs: [], name: "DataPackageTimestampIncorrect" },
|
|
6
|
+
{ type: "error", inputs: [], name: "DuplicateSignersException" },
|
|
7
|
+
{ type: "error", inputs: [], name: "IncorrectSignersThresholdException" },
|
|
8
|
+
{ type: "error", inputs: [], name: "NotEnoughSignersException" },
|
|
9
|
+
{ type: "error", inputs: [], name: "RedstonePayloadTimestampIncorrect" },
|
|
10
10
|
];
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
11
|
+
exports.ilpPriceFeedExceptionsAbi = [
|
|
12
|
+
{ type: "error", inputs: [], name: "ExchangeRateOutOfBoundsException" },
|
|
13
|
+
{ type: "error", inputs: [], name: "LowerBoundCantBeZeroException" },
|
|
14
|
+
{ type: "error", inputs: [], name: "ReserveFeedMustNotBeSelfException" },
|
|
15
|
+
{ type: "error", inputs: [], name: "UpdateBoundsBeforeCooldownException" },
|
|
16
|
+
{ type: "error", inputs: [], name: "UpdateBoundsNotAllowedException" },
|
|
17
17
|
];
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
18
|
+
exports.iRouterV3ErrorsAbi = [
|
|
19
|
+
{
|
|
20
|
+
type: "error",
|
|
21
|
+
inputs: [
|
|
22
|
+
{ name: "tokenIn", internalType: "address", type: "address" },
|
|
23
|
+
{ name: "tokenOut", internalType: "address", type: "address" },
|
|
24
|
+
],
|
|
25
|
+
name: "PathNotFoundException",
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
type: "error",
|
|
29
|
+
inputs: [
|
|
30
|
+
{ name: "ttIn", internalType: "uint8", type: "uint8" },
|
|
31
|
+
{ name: "tokenOut", internalType: "address", type: "address" },
|
|
32
|
+
],
|
|
33
|
+
name: "PathNotFoundExceptionTyped",
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
type: "error",
|
|
37
|
+
inputs: [{ name: "tokenOut", internalType: "address", type: "address" }],
|
|
38
|
+
name: "PathToTargetNotFound",
|
|
39
|
+
},
|
|
40
|
+
{ type: "error", inputs: [], name: "UnsupportedAdapterType" },
|
|
41
|
+
{
|
|
42
|
+
type: "error",
|
|
43
|
+
inputs: [{ name: "", internalType: "address", type: "address" }],
|
|
44
|
+
name: "UnsupportedRouterComponent",
|
|
45
|
+
},
|
|
46
46
|
];
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
47
|
+
exports.iExceptionsAbi = [
|
|
48
|
+
{ type: "error", inputs: [], name: "ActiveCreditAccountNotSetException" },
|
|
49
|
+
{ type: "error", inputs: [], name: "ActiveCreditAccountOverridenException" },
|
|
50
|
+
{ type: "error", inputs: [], name: "AdapterIsNotRegisteredException" },
|
|
51
|
+
{
|
|
52
|
+
type: "error",
|
|
53
|
+
inputs: [{ name: "", internalType: "address", type: "address" }],
|
|
54
|
+
name: "AddressIsNotContractException",
|
|
55
|
+
},
|
|
56
|
+
{ type: "error", inputs: [], name: "AddressNotFoundException" },
|
|
57
|
+
{ type: "error", inputs: [], name: "AllowanceFailedException" },
|
|
58
|
+
{ type: "error", inputs: [], name: "AmountCantBeZeroException" },
|
|
59
|
+
{ type: "error", inputs: [], name: "BalanceLessThanExpectedException" },
|
|
60
|
+
{ type: "error", inputs: [], name: "BorrowAmountOutOfLimitsException" },
|
|
61
|
+
{ type: "error", inputs: [], name: "BorrowedBlockLimitException" },
|
|
62
|
+
{ type: "error", inputs: [], name: "BorrowingMoreThanU2ForbiddenException" },
|
|
63
|
+
{ type: "error", inputs: [], name: "CallerNotAccountFactoryException" },
|
|
64
|
+
{ type: "error", inputs: [], name: "CallerNotAdapterException" },
|
|
65
|
+
{ type: "error", inputs: [], name: "CallerNotConfiguratorException" },
|
|
66
|
+
{ type: "error", inputs: [], name: "CallerNotControllerException" },
|
|
67
|
+
{ type: "error", inputs: [], name: "CallerNotCreditAccountOwnerException" },
|
|
68
|
+
{ type: "error", inputs: [], name: "CallerNotCreditFacadeException" },
|
|
69
|
+
{ type: "error", inputs: [], name: "CallerNotCreditManagerException" },
|
|
70
|
+
{ type: "error", inputs: [], name: "CallerNotExecutorException" },
|
|
71
|
+
{ type: "error", inputs: [], name: "CallerNotGaugeException" },
|
|
72
|
+
{ type: "error", inputs: [], name: "CallerNotMigratorException" },
|
|
73
|
+
{ type: "error", inputs: [], name: "CallerNotPausableAdminException" },
|
|
74
|
+
{ type: "error", inputs: [], name: "CallerNotPoolQuotaKeeperException" },
|
|
75
|
+
{ type: "error", inputs: [], name: "CallerNotUnpausableAdminException" },
|
|
76
|
+
{ type: "error", inputs: [], name: "CallerNotVetoAdminException" },
|
|
77
|
+
{ type: "error", inputs: [], name: "CallerNotVoterException" },
|
|
78
|
+
{ type: "error", inputs: [], name: "CloseAccountWithEnabledTokensException" },
|
|
79
|
+
{ type: "error", inputs: [], name: "CloseAccountWithNonZeroDebtException" },
|
|
80
|
+
{ type: "error", inputs: [], name: "CreditAccountDoesNotExistException" },
|
|
81
|
+
{ type: "error", inputs: [], name: "CreditAccountIsInUseException" },
|
|
82
|
+
{ type: "error", inputs: [], name: "CreditAccountNotLiquidatableException" },
|
|
83
|
+
{ type: "error", inputs: [], name: "CreditManagerCantBorrowException" },
|
|
84
|
+
{ type: "error", inputs: [], name: "CustomHealthFactorTooLowException" },
|
|
85
|
+
{ type: "error", inputs: [], name: "DebtToZeroWithActiveQuotasException" },
|
|
86
|
+
{ type: "error", inputs: [], name: "DebtUpdatedTwiceInOneBlockException" },
|
|
87
|
+
{ type: "error", inputs: [], name: "ExpectedBalancesAlreadySetException" },
|
|
88
|
+
{ type: "error", inputs: [], name: "ExpectedBalancesNotSetException" },
|
|
89
|
+
{ type: "error", inputs: [], name: "ForbiddenInWhitelistedModeException" },
|
|
90
|
+
{
|
|
91
|
+
type: "error",
|
|
92
|
+
inputs: [],
|
|
93
|
+
name: "ForbiddenTokenBalanceIncreasedException",
|
|
94
|
+
},
|
|
95
|
+
{ type: "error", inputs: [], name: "ForbiddenTokenEnabledException" },
|
|
96
|
+
{ type: "error", inputs: [], name: "ForbiddenTokensException" },
|
|
97
|
+
{ type: "error", inputs: [], name: "IncompatibleContractException" },
|
|
98
|
+
{ type: "error", inputs: [], name: "IncompatibleCreditManagerException" },
|
|
99
|
+
{ type: "error", inputs: [], name: "IncompatiblePoolQuotaKeeperException" },
|
|
100
|
+
{ type: "error", inputs: [], name: "IncompatibleSuccessorException" },
|
|
101
|
+
{ type: "error", inputs: [], name: "IncorrectExpirationDateException" },
|
|
102
|
+
{ type: "error", inputs: [], name: "IncorrectLimitsException" },
|
|
103
|
+
{ type: "error", inputs: [], name: "IncorrectLiquidationThresholdException" },
|
|
104
|
+
{ type: "error", inputs: [], name: "IncorrectParameterException" },
|
|
105
|
+
{ type: "error", inputs: [], name: "IncorrectPriceException" },
|
|
106
|
+
{ type: "error", inputs: [], name: "IncorrectPriceFeedException" },
|
|
107
|
+
{ type: "error", inputs: [], name: "IncorrectTokenContractException" },
|
|
108
|
+
{ type: "error", inputs: [], name: "InsufficientBalanceException" },
|
|
109
|
+
{ type: "error", inputs: [], name: "InsufficientRemainingFundsException" },
|
|
110
|
+
{ type: "error", inputs: [], name: "InsufficientVotesException" },
|
|
111
|
+
{ type: "error", inputs: [], name: "InvalidBotException" },
|
|
112
|
+
{ type: "error", inputs: [], name: "InvalidCollateralHintException" },
|
|
113
|
+
{
|
|
114
|
+
type: "error",
|
|
115
|
+
inputs: [],
|
|
116
|
+
name: "MasterCreditAccountAlreadyDeployedException",
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
type: "error",
|
|
120
|
+
inputs: [{ name: "permission", internalType: "uint256", type: "uint256" }],
|
|
121
|
+
name: "NoPermissionException",
|
|
122
|
+
},
|
|
123
|
+
{ type: "error", inputs: [], name: "NotAllowedAfterExpirationException" },
|
|
124
|
+
{ type: "error", inputs: [], name: "NotAllowedWhenNotExpirableException" },
|
|
125
|
+
{ type: "error", inputs: [], name: "NotApprovedBotException" },
|
|
126
|
+
{ type: "error", inputs: [], name: "NotEnoughCollateralException" },
|
|
127
|
+
{ type: "error", inputs: [], name: "NotImplementedException" },
|
|
128
|
+
{ type: "error", inputs: [], name: "ParameterChangedAfterQueuedTxException" },
|
|
129
|
+
{ type: "error", inputs: [], name: "ParameterChecksFailedException" },
|
|
130
|
+
{ type: "error", inputs: [], name: "PriceFeedDoesNotExistException" },
|
|
131
|
+
{ type: "error", inputs: [], name: "QuotaIsOutOfBoundsException" },
|
|
132
|
+
{ type: "error", inputs: [], name: "ReceiveIsNotAllowedException" },
|
|
133
|
+
{ type: "error", inputs: [], name: "RegisteredCreditManagerOnlyException" },
|
|
134
|
+
{ type: "error", inputs: [], name: "RegisteredPoolOnlyException" },
|
|
135
|
+
{
|
|
136
|
+
type: "error",
|
|
137
|
+
inputs: [],
|
|
138
|
+
name: "RemainingTokenBalanceIncreasedException",
|
|
139
|
+
},
|
|
140
|
+
{ type: "error", inputs: [], name: "StalePriceException" },
|
|
141
|
+
{ type: "error", inputs: [], name: "TargetContractNotAllowedException" },
|
|
142
|
+
{ type: "error", inputs: [], name: "TokenAlreadyAddedException" },
|
|
143
|
+
{ type: "error", inputs: [], name: "TokenIsNotQuotedException" },
|
|
144
|
+
{ type: "error", inputs: [], name: "TokenNotAllowedException" },
|
|
145
|
+
{ type: "error", inputs: [], name: "TooManyEnabledTokensException" },
|
|
146
|
+
{ type: "error", inputs: [], name: "TooManyTokensException" },
|
|
147
|
+
{ type: "error", inputs: [], name: "TxExecutedOutsideTimeWindowException" },
|
|
148
|
+
{ type: "error", inputs: [], name: "TxExecutionRevertedException" },
|
|
149
|
+
{ type: "error", inputs: [], name: "TxNotQueuedException" },
|
|
150
|
+
{ type: "error", inputs: [], name: "UnexpectedPermissionsException" },
|
|
151
|
+
{ type: "error", inputs: [], name: "UnknownMethodException" },
|
|
152
|
+
{ type: "error", inputs: [], name: "UpdateQuotaOnZeroDebtAccountException" },
|
|
153
|
+
{ type: "error", inputs: [], name: "ValueOutOfRangeException" },
|
|
154
|
+
{ type: "error", inputs: [], name: "VotingContractNotAllowedException" },
|
|
155
|
+
{ type: "error", inputs: [], name: "ZeroAddressException" },
|
|
156
156
|
];
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
157
|
+
exports.iRedstoneErrorsAbi = [
|
|
158
|
+
{ type: "error", inputs: [], name: "CalldataMustHaveValidPayload" },
|
|
159
|
+
{ type: "error", inputs: [], name: "CalldataOverOrUnderFlow" },
|
|
160
|
+
{ type: "error", inputs: [], name: "EachSignerMustProvideTheSameValue" },
|
|
161
|
+
{ type: "error", inputs: [], name: "EmptyCalldataPointersArr" },
|
|
162
|
+
{ type: "error", inputs: [], name: "IncorrectUnsignedMetadataSize" },
|
|
163
|
+
{
|
|
164
|
+
type: "error",
|
|
165
|
+
inputs: [
|
|
166
|
+
{
|
|
167
|
+
name: "receivedSignersCount",
|
|
168
|
+
internalType: "uint256",
|
|
169
|
+
type: "uint256",
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
name: "requiredSignersCount",
|
|
173
|
+
internalType: "uint256",
|
|
174
|
+
type: "uint256",
|
|
175
|
+
},
|
|
176
|
+
],
|
|
177
|
+
name: "InsufficientNumberOfUniqueSigners",
|
|
178
|
+
},
|
|
179
|
+
{ type: "error", inputs: [], name: "InvalidCalldataPointer" },
|
|
180
|
+
{
|
|
181
|
+
type: "error",
|
|
182
|
+
inputs: [
|
|
183
|
+
{ name: "receivedSigner", internalType: "address", type: "address" },
|
|
184
|
+
],
|
|
185
|
+
name: "SignerNotAuthorised",
|
|
186
|
+
},
|
|
187
187
|
];
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
188
|
+
exports.errorAbis = [
|
|
189
|
+
...exports.iExceptionsAbi,
|
|
190
|
+
...exports.iRedstonePriceFeedExceptionsAbi,
|
|
191
|
+
...exports.iRedstoneErrorsAbi,
|
|
192
|
+
...exports.ilpPriceFeedExceptionsAbi,
|
|
193
|
+
...exports.iRouterV3ErrorsAbi,
|
|
194
194
|
];
|
|
195
|
-
|
|
196
|
-
exports.errorAbis = errorAbis;
|
|
197
|
-
exports.iExceptionsAbi = iExceptionsAbi;
|
|
198
|
-
exports.iRedstoneErrorsAbi = iRedstoneErrorsAbi;
|
|
199
|
-
exports.iRedstonePriceFeedExceptionsAbi = iRedstonePriceFeedExceptionsAbi;
|
|
200
|
-
exports.iRouterV3ErrorsAbi = iRouterV3ErrorsAbi;
|
|
201
|
-
exports.ilpPriceFeedExceptionsAbi = ilpPriceFeedExceptionsAbi;
|
package/dist/cjs/abi/errors.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const iRedstonePriceFeedExceptionsAbi: readonly [{
|
|
1
|
+
export declare const iRedstonePriceFeedExceptionsAbi: readonly [{
|
|
2
2
|
readonly type: "error";
|
|
3
3
|
readonly inputs: readonly [];
|
|
4
4
|
readonly name: "DataPackageTimestampIncorrect";
|
|
@@ -19,7 +19,7 @@ declare const iRedstonePriceFeedExceptionsAbi: readonly [{
|
|
|
19
19
|
readonly inputs: readonly [];
|
|
20
20
|
readonly name: "RedstonePayloadTimestampIncorrect";
|
|
21
21
|
}];
|
|
22
|
-
declare const ilpPriceFeedExceptionsAbi: readonly [{
|
|
22
|
+
export declare const ilpPriceFeedExceptionsAbi: readonly [{
|
|
23
23
|
readonly type: "error";
|
|
24
24
|
readonly inputs: readonly [];
|
|
25
25
|
readonly name: "ExchangeRateOutOfBoundsException";
|
|
@@ -40,7 +40,7 @@ declare const ilpPriceFeedExceptionsAbi: readonly [{
|
|
|
40
40
|
readonly inputs: readonly [];
|
|
41
41
|
readonly name: "UpdateBoundsNotAllowedException";
|
|
42
42
|
}];
|
|
43
|
-
declare const iRouterV3ErrorsAbi: readonly [{
|
|
43
|
+
export declare const iRouterV3ErrorsAbi: readonly [{
|
|
44
44
|
readonly type: "error";
|
|
45
45
|
readonly inputs: readonly [{
|
|
46
46
|
readonly name: "tokenIn";
|
|
@@ -85,7 +85,7 @@ declare const iRouterV3ErrorsAbi: readonly [{
|
|
|
85
85
|
}];
|
|
86
86
|
readonly name: "UnsupportedRouterComponent";
|
|
87
87
|
}];
|
|
88
|
-
declare const iExceptionsAbi: readonly [{
|
|
88
|
+
export declare const iExceptionsAbi: readonly [{
|
|
89
89
|
readonly type: "error";
|
|
90
90
|
readonly inputs: readonly [];
|
|
91
91
|
readonly name: "ActiveCreditAccountNotSetException";
|
|
@@ -446,7 +446,7 @@ declare const iExceptionsAbi: readonly [{
|
|
|
446
446
|
readonly inputs: readonly [];
|
|
447
447
|
readonly name: "ZeroAddressException";
|
|
448
448
|
}];
|
|
449
|
-
declare const iRedstoneErrorsAbi: readonly [{
|
|
449
|
+
export declare const iRedstoneErrorsAbi: readonly [{
|
|
450
450
|
readonly type: "error";
|
|
451
451
|
readonly inputs: readonly [];
|
|
452
452
|
readonly name: "CalldataMustHaveValidPayload";
|
|
@@ -491,7 +491,7 @@ declare const iRedstoneErrorsAbi: readonly [{
|
|
|
491
491
|
}];
|
|
492
492
|
readonly name: "SignerNotAuthorised";
|
|
493
493
|
}];
|
|
494
|
-
declare const errorAbis: readonly [{
|
|
494
|
+
export declare const errorAbis: readonly [{
|
|
495
495
|
readonly type: "error";
|
|
496
496
|
readonly inputs: readonly [];
|
|
497
497
|
readonly name: "ActiveCreditAccountNotSetException";
|
|
@@ -980,5 +980,3 @@ declare const errorAbis: readonly [{
|
|
|
980
980
|
}];
|
|
981
981
|
readonly name: "UnsupportedRouterComponent";
|
|
982
982
|
}];
|
|
983
|
-
|
|
984
|
-
export { errorAbis, iExceptionsAbi, iRedstoneErrorsAbi, iRedstonePriceFeedExceptionsAbi, iRouterV3ErrorsAbi, ilpPriceFeedExceptionsAbi };
|