@1delta/abis 0.0.14 → 0.0.15
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/gearbox/addressProviderV310.d.ts +17 -0
- package/dist/gearbox/addressProviderV310.d.ts.map +1 -0
- package/dist/gearbox/addressProviderV310.js +24 -0
- package/dist/gearbox/creditAccountCompressorV310.d.ts +203 -0
- package/dist/gearbox/creditAccountCompressorV310.d.ts.map +1 -0
- package/dist/gearbox/creditAccountCompressorV310.js +140 -0
- package/dist/gearbox/index.d.ts +3 -1
- package/dist/gearbox/index.d.ts.map +1 -1
- package/dist/gearbox/index.js +6 -1
- package/dist/gearbox/marketCompressorV310.d.ts +555 -0
- package/dist/gearbox/{dataCompressorV3.d.ts.map → marketCompressorV310.d.ts.map} +1 -1
- package/dist/gearbox/marketCompressorV310.js +619 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/gearbox/dataCompressorV3.d.ts +0 -560
- package/dist/gearbox/dataCompressorV3.js +0 -225
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const GearboxAddressProviderV310Abi: readonly [{
|
|
2
|
+
readonly inputs: readonly [{
|
|
3
|
+
readonly name: "key";
|
|
4
|
+
readonly type: "bytes32";
|
|
5
|
+
}, {
|
|
6
|
+
readonly name: "version";
|
|
7
|
+
readonly type: "uint256";
|
|
8
|
+
}];
|
|
9
|
+
readonly name: "getAddressOrRevert";
|
|
10
|
+
readonly outputs: readonly [{
|
|
11
|
+
readonly name: "";
|
|
12
|
+
readonly type: "address";
|
|
13
|
+
}];
|
|
14
|
+
readonly stateMutability: "view";
|
|
15
|
+
readonly type: "function";
|
|
16
|
+
}];
|
|
17
|
+
//# sourceMappingURL=addressProviderV310.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"addressProviderV310.d.ts","sourceRoot":"","sources":["../../src/gearbox/addressProviderV310.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;EAWhC,CAAA"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// Gearbox AddressProviderV3.10 ABI — minimal subset.
|
|
2
|
+
//
|
|
3
|
+
// The V3.10 AddressProvider is CREATE2-deterministic at
|
|
4
|
+
// 0xF7f0a609BfAb9a0A98786951ef10e5FE26cC1E38
|
|
5
|
+
// on every chain Gearbox deploys to. Callers resolve compressor /
|
|
6
|
+
// registry addresses (MARKET_COMPRESSOR, ACCOUNT_COMPRESSOR, …) by
|
|
7
|
+
// `getAddressOrRevert(keyBytes32, 310)`.
|
|
8
|
+
//
|
|
9
|
+
// Keys live in `@1delta/data-sdk/constants` (or equivalent string
|
|
10
|
+
// consts). The helper in `margin-fetcher` also exposes `getAddresses`
|
|
11
|
+
// for a multi-key single-RPC lookup, but we vendor only the single-key
|
|
12
|
+
// variant here to keep surface minimal.
|
|
13
|
+
export const GearboxAddressProviderV310Abi = [
|
|
14
|
+
{
|
|
15
|
+
inputs: [
|
|
16
|
+
{ name: 'key', type: 'bytes32' },
|
|
17
|
+
{ name: 'version', type: 'uint256' },
|
|
18
|
+
],
|
|
19
|
+
name: 'getAddressOrRevert',
|
|
20
|
+
outputs: [{ name: '', type: 'address' }],
|
|
21
|
+
stateMutability: 'view',
|
|
22
|
+
type: 'function',
|
|
23
|
+
},
|
|
24
|
+
];
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
export declare const GearboxCreditAccountCompressorV310Abi: readonly [{
|
|
2
|
+
readonly type: "function";
|
|
3
|
+
readonly name: "getCreditAccountData";
|
|
4
|
+
readonly inputs: readonly [{
|
|
5
|
+
readonly name: "creditAccount";
|
|
6
|
+
readonly type: "address";
|
|
7
|
+
}];
|
|
8
|
+
readonly outputs: readonly [{
|
|
9
|
+
readonly name: "";
|
|
10
|
+
readonly type: "tuple";
|
|
11
|
+
readonly components: readonly [{
|
|
12
|
+
readonly name: "creditAccount";
|
|
13
|
+
readonly type: "address";
|
|
14
|
+
}, {
|
|
15
|
+
readonly name: "creditManager";
|
|
16
|
+
readonly type: "address";
|
|
17
|
+
}, {
|
|
18
|
+
readonly name: "creditFacade";
|
|
19
|
+
readonly type: "address";
|
|
20
|
+
}, {
|
|
21
|
+
readonly name: "underlying";
|
|
22
|
+
readonly type: "address";
|
|
23
|
+
}, {
|
|
24
|
+
readonly name: "owner";
|
|
25
|
+
readonly type: "address";
|
|
26
|
+
}, {
|
|
27
|
+
readonly name: "expirationDate";
|
|
28
|
+
readonly type: "uint40";
|
|
29
|
+
}, {
|
|
30
|
+
readonly name: "enabledTokensMask";
|
|
31
|
+
readonly type: "uint256";
|
|
32
|
+
}, {
|
|
33
|
+
readonly name: "debt";
|
|
34
|
+
readonly type: "uint256";
|
|
35
|
+
}, {
|
|
36
|
+
readonly name: "accruedInterest";
|
|
37
|
+
readonly type: "uint256";
|
|
38
|
+
}, {
|
|
39
|
+
readonly name: "accruedFees";
|
|
40
|
+
readonly type: "uint256";
|
|
41
|
+
}, {
|
|
42
|
+
readonly name: "totalDebtUSD";
|
|
43
|
+
readonly type: "uint256";
|
|
44
|
+
}, {
|
|
45
|
+
readonly name: "totalValueUSD";
|
|
46
|
+
readonly type: "uint256";
|
|
47
|
+
}, {
|
|
48
|
+
readonly name: "twvUSD";
|
|
49
|
+
readonly type: "uint256";
|
|
50
|
+
}, {
|
|
51
|
+
readonly name: "totalValue";
|
|
52
|
+
readonly type: "uint256";
|
|
53
|
+
}, {
|
|
54
|
+
readonly name: "healthFactor";
|
|
55
|
+
readonly type: "uint256";
|
|
56
|
+
}, {
|
|
57
|
+
readonly name: "success";
|
|
58
|
+
readonly type: "bool";
|
|
59
|
+
}, {
|
|
60
|
+
readonly name: "tokens";
|
|
61
|
+
readonly type: "tuple[]";
|
|
62
|
+
readonly components: readonly [{
|
|
63
|
+
readonly name: "token";
|
|
64
|
+
readonly type: "address";
|
|
65
|
+
}, {
|
|
66
|
+
readonly name: "mask";
|
|
67
|
+
readonly type: "uint256";
|
|
68
|
+
}, {
|
|
69
|
+
readonly name: "balance";
|
|
70
|
+
readonly type: "uint256";
|
|
71
|
+
}, {
|
|
72
|
+
readonly name: "quota";
|
|
73
|
+
readonly type: "uint256";
|
|
74
|
+
}, {
|
|
75
|
+
readonly name: "success";
|
|
76
|
+
readonly type: "bool";
|
|
77
|
+
}];
|
|
78
|
+
}];
|
|
79
|
+
}];
|
|
80
|
+
readonly stateMutability: "view";
|
|
81
|
+
}, {
|
|
82
|
+
readonly type: "function";
|
|
83
|
+
readonly name: "getCreditAccounts";
|
|
84
|
+
readonly inputs: readonly [{
|
|
85
|
+
readonly name: "cmFilter";
|
|
86
|
+
readonly type: "tuple";
|
|
87
|
+
readonly components: readonly [{
|
|
88
|
+
readonly name: "configurators";
|
|
89
|
+
readonly type: "address[]";
|
|
90
|
+
}, {
|
|
91
|
+
readonly name: "creditManagers";
|
|
92
|
+
readonly type: "address[]";
|
|
93
|
+
}, {
|
|
94
|
+
readonly name: "pools";
|
|
95
|
+
readonly type: "address[]";
|
|
96
|
+
}, {
|
|
97
|
+
readonly name: "underlying";
|
|
98
|
+
readonly type: "address";
|
|
99
|
+
}];
|
|
100
|
+
}, {
|
|
101
|
+
readonly name: "caFilter";
|
|
102
|
+
readonly type: "tuple";
|
|
103
|
+
readonly components: readonly [{
|
|
104
|
+
readonly name: "owner";
|
|
105
|
+
readonly type: "address";
|
|
106
|
+
}, {
|
|
107
|
+
readonly name: "includeZeroDebt";
|
|
108
|
+
readonly type: "bool";
|
|
109
|
+
}, {
|
|
110
|
+
readonly name: "minHealthFactor";
|
|
111
|
+
readonly type: "uint256";
|
|
112
|
+
}, {
|
|
113
|
+
readonly name: "maxHealthFactor";
|
|
114
|
+
readonly type: "uint256";
|
|
115
|
+
}, {
|
|
116
|
+
readonly name: "reverting";
|
|
117
|
+
readonly type: "bool";
|
|
118
|
+
}];
|
|
119
|
+
}, {
|
|
120
|
+
readonly name: "offset";
|
|
121
|
+
readonly type: "uint256";
|
|
122
|
+
}, {
|
|
123
|
+
readonly name: "limit";
|
|
124
|
+
readonly type: "uint256";
|
|
125
|
+
}];
|
|
126
|
+
readonly outputs: readonly [{
|
|
127
|
+
readonly name: "data";
|
|
128
|
+
readonly type: "tuple[]";
|
|
129
|
+
readonly components: readonly [{
|
|
130
|
+
readonly name: "creditAccount";
|
|
131
|
+
readonly type: "address";
|
|
132
|
+
}, {
|
|
133
|
+
readonly name: "creditManager";
|
|
134
|
+
readonly type: "address";
|
|
135
|
+
}, {
|
|
136
|
+
readonly name: "creditFacade";
|
|
137
|
+
readonly type: "address";
|
|
138
|
+
}, {
|
|
139
|
+
readonly name: "underlying";
|
|
140
|
+
readonly type: "address";
|
|
141
|
+
}, {
|
|
142
|
+
readonly name: "owner";
|
|
143
|
+
readonly type: "address";
|
|
144
|
+
}, {
|
|
145
|
+
readonly name: "expirationDate";
|
|
146
|
+
readonly type: "uint40";
|
|
147
|
+
}, {
|
|
148
|
+
readonly name: "enabledTokensMask";
|
|
149
|
+
readonly type: "uint256";
|
|
150
|
+
}, {
|
|
151
|
+
readonly name: "debt";
|
|
152
|
+
readonly type: "uint256";
|
|
153
|
+
}, {
|
|
154
|
+
readonly name: "accruedInterest";
|
|
155
|
+
readonly type: "uint256";
|
|
156
|
+
}, {
|
|
157
|
+
readonly name: "accruedFees";
|
|
158
|
+
readonly type: "uint256";
|
|
159
|
+
}, {
|
|
160
|
+
readonly name: "totalDebtUSD";
|
|
161
|
+
readonly type: "uint256";
|
|
162
|
+
}, {
|
|
163
|
+
readonly name: "totalValueUSD";
|
|
164
|
+
readonly type: "uint256";
|
|
165
|
+
}, {
|
|
166
|
+
readonly name: "twvUSD";
|
|
167
|
+
readonly type: "uint256";
|
|
168
|
+
}, {
|
|
169
|
+
readonly name: "totalValue";
|
|
170
|
+
readonly type: "uint256";
|
|
171
|
+
}, {
|
|
172
|
+
readonly name: "healthFactor";
|
|
173
|
+
readonly type: "uint256";
|
|
174
|
+
}, {
|
|
175
|
+
readonly name: "success";
|
|
176
|
+
readonly type: "bool";
|
|
177
|
+
}, {
|
|
178
|
+
readonly name: "tokens";
|
|
179
|
+
readonly type: "tuple[]";
|
|
180
|
+
readonly components: readonly [{
|
|
181
|
+
readonly name: "token";
|
|
182
|
+
readonly type: "address";
|
|
183
|
+
}, {
|
|
184
|
+
readonly name: "mask";
|
|
185
|
+
readonly type: "uint256";
|
|
186
|
+
}, {
|
|
187
|
+
readonly name: "balance";
|
|
188
|
+
readonly type: "uint256";
|
|
189
|
+
}, {
|
|
190
|
+
readonly name: "quota";
|
|
191
|
+
readonly type: "uint256";
|
|
192
|
+
}, {
|
|
193
|
+
readonly name: "success";
|
|
194
|
+
readonly type: "bool";
|
|
195
|
+
}];
|
|
196
|
+
}];
|
|
197
|
+
}, {
|
|
198
|
+
readonly name: "nextOffset";
|
|
199
|
+
readonly type: "uint256";
|
|
200
|
+
}];
|
|
201
|
+
readonly stateMutability: "view";
|
|
202
|
+
}];
|
|
203
|
+
//# sourceMappingURL=creditAccountCompressorV310.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"creditAccountCompressorV310.d.ts","sourceRoot":"","sources":["../../src/gearbox/creditAccountCompressorV310.ts"],"names":[],"mappings":"AAkBA,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0HxC,CAAA"}
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
// Gearbox CreditAccountCompressorV3.10 ABI — V3.1 replacement for
|
|
2
|
+
// DataCompressorV3.getCreditAccountsByBorrower / getCreditAccountData.
|
|
3
|
+
// Resolved at runtime via AddressProviderV310.getAddressOrRevert(
|
|
4
|
+
// 'GLOBAL::ACCOUNT_COMPRESSOR', 310) — same deterministic address
|
|
5
|
+
// on every chain Gearbox V3.1 is deployed on.
|
|
6
|
+
//
|
|
7
|
+
// Functions kept:
|
|
8
|
+
// - getCreditAccountData(address) -> CreditAccountData
|
|
9
|
+
// - getCreditAccounts(cmFilter, caFilter, offset, limit)
|
|
10
|
+
// -> (CreditAccountData[] data, uint256 nextOffset)
|
|
11
|
+
//
|
|
12
|
+
// Note: the Gearbox SDK ships 4 `getCreditAccounts` overloads; we vendor
|
|
13
|
+
// the one with full cm+ca filters + pagination since it subsumes the
|
|
14
|
+
// others (borrower filter via caFilter.owner, CM narrowing via
|
|
15
|
+
// cmFilter.{configurators, creditManagers, pools, underlying}).
|
|
16
|
+
//
|
|
17
|
+
// Source: https://github.com/Gearbox-protocol/sdk/blob/master/src/abi/compressors/creditAccountCompressor.ts
|
|
18
|
+
export const GearboxCreditAccountCompressorV310Abi = [
|
|
19
|
+
{
|
|
20
|
+
type: 'function',
|
|
21
|
+
name: 'getCreditAccountData',
|
|
22
|
+
inputs: [
|
|
23
|
+
{ name: 'creditAccount', type: 'address' },
|
|
24
|
+
],
|
|
25
|
+
outputs: [
|
|
26
|
+
{
|
|
27
|
+
name: '',
|
|
28
|
+
type: 'tuple',
|
|
29
|
+
components: [
|
|
30
|
+
{ name: 'creditAccount', type: 'address' },
|
|
31
|
+
{ name: 'creditManager', type: 'address' },
|
|
32
|
+
{ name: 'creditFacade', type: 'address' },
|
|
33
|
+
{ name: 'underlying', type: 'address' },
|
|
34
|
+
{ name: 'owner', type: 'address' },
|
|
35
|
+
{ name: 'expirationDate', type: 'uint40' },
|
|
36
|
+
{
|
|
37
|
+
name: 'enabledTokensMask',
|
|
38
|
+
type: 'uint256',
|
|
39
|
+
},
|
|
40
|
+
{ name: 'debt', type: 'uint256' },
|
|
41
|
+
{ name: 'accruedInterest', type: 'uint256' },
|
|
42
|
+
{ name: 'accruedFees', type: 'uint256' },
|
|
43
|
+
{ name: 'totalDebtUSD', type: 'uint256' },
|
|
44
|
+
{ name: 'totalValueUSD', type: 'uint256' },
|
|
45
|
+
{ name: 'twvUSD', type: 'uint256' },
|
|
46
|
+
{ name: 'totalValue', type: 'uint256' },
|
|
47
|
+
{ name: 'healthFactor', type: 'uint256' },
|
|
48
|
+
{ name: 'success', type: 'bool' },
|
|
49
|
+
{
|
|
50
|
+
name: 'tokens',
|
|
51
|
+
type: 'tuple[]',
|
|
52
|
+
components: [
|
|
53
|
+
{ name: 'token', type: 'address' },
|
|
54
|
+
{ name: 'mask', type: 'uint256' },
|
|
55
|
+
{ name: 'balance', type: 'uint256' },
|
|
56
|
+
{ name: 'quota', type: 'uint256' },
|
|
57
|
+
{ name: 'success', type: 'bool' },
|
|
58
|
+
],
|
|
59
|
+
},
|
|
60
|
+
],
|
|
61
|
+
},
|
|
62
|
+
],
|
|
63
|
+
stateMutability: 'view',
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
type: 'function',
|
|
67
|
+
name: 'getCreditAccounts',
|
|
68
|
+
inputs: [
|
|
69
|
+
{
|
|
70
|
+
name: 'cmFilter',
|
|
71
|
+
type: 'tuple',
|
|
72
|
+
components: [
|
|
73
|
+
{
|
|
74
|
+
name: 'configurators',
|
|
75
|
+
type: 'address[]',
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
name: 'creditManagers',
|
|
79
|
+
type: 'address[]',
|
|
80
|
+
},
|
|
81
|
+
{ name: 'pools', type: 'address[]' },
|
|
82
|
+
{ name: 'underlying', type: 'address' },
|
|
83
|
+
],
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
name: 'caFilter',
|
|
87
|
+
type: 'tuple',
|
|
88
|
+
components: [
|
|
89
|
+
{ name: 'owner', type: 'address' },
|
|
90
|
+
{ name: 'includeZeroDebt', type: 'bool' },
|
|
91
|
+
{ name: 'minHealthFactor', type: 'uint256' },
|
|
92
|
+
{ name: 'maxHealthFactor', type: 'uint256' },
|
|
93
|
+
{ name: 'reverting', type: 'bool' },
|
|
94
|
+
],
|
|
95
|
+
},
|
|
96
|
+
{ name: 'offset', type: 'uint256' },
|
|
97
|
+
{ name: 'limit', type: 'uint256' },
|
|
98
|
+
],
|
|
99
|
+
outputs: [
|
|
100
|
+
{
|
|
101
|
+
name: 'data',
|
|
102
|
+
type: 'tuple[]',
|
|
103
|
+
components: [
|
|
104
|
+
{ name: 'creditAccount', type: 'address' },
|
|
105
|
+
{ name: 'creditManager', type: 'address' },
|
|
106
|
+
{ name: 'creditFacade', type: 'address' },
|
|
107
|
+
{ name: 'underlying', type: 'address' },
|
|
108
|
+
{ name: 'owner', type: 'address' },
|
|
109
|
+
{ name: 'expirationDate', type: 'uint40' },
|
|
110
|
+
{
|
|
111
|
+
name: 'enabledTokensMask',
|
|
112
|
+
type: 'uint256',
|
|
113
|
+
},
|
|
114
|
+
{ name: 'debt', type: 'uint256' },
|
|
115
|
+
{ name: 'accruedInterest', type: 'uint256' },
|
|
116
|
+
{ name: 'accruedFees', type: 'uint256' },
|
|
117
|
+
{ name: 'totalDebtUSD', type: 'uint256' },
|
|
118
|
+
{ name: 'totalValueUSD', type: 'uint256' },
|
|
119
|
+
{ name: 'twvUSD', type: 'uint256' },
|
|
120
|
+
{ name: 'totalValue', type: 'uint256' },
|
|
121
|
+
{ name: 'healthFactor', type: 'uint256' },
|
|
122
|
+
{ name: 'success', type: 'bool' },
|
|
123
|
+
{
|
|
124
|
+
name: 'tokens',
|
|
125
|
+
type: 'tuple[]',
|
|
126
|
+
components: [
|
|
127
|
+
{ name: 'token', type: 'address' },
|
|
128
|
+
{ name: 'mask', type: 'uint256' },
|
|
129
|
+
{ name: 'balance', type: 'uint256' },
|
|
130
|
+
{ name: 'quota', type: 'uint256' },
|
|
131
|
+
{ name: 'success', type: 'bool' },
|
|
132
|
+
],
|
|
133
|
+
},
|
|
134
|
+
],
|
|
135
|
+
},
|
|
136
|
+
{ name: 'nextOffset', type: 'uint256' },
|
|
137
|
+
],
|
|
138
|
+
stateMutability: 'view',
|
|
139
|
+
},
|
|
140
|
+
];
|
package/dist/gearbox/index.d.ts
CHANGED
|
@@ -2,6 +2,8 @@ export { GearboxPoolV3Abi } from './poolV3.js';
|
|
|
2
2
|
export { GearboxCreditManagerV3Abi } from './creditManagerV3.js';
|
|
3
3
|
export { GearboxCreditFacadeV3Abi } from './creditFacadeV3.js';
|
|
4
4
|
export { GearboxPoolQuotaKeeperV3Abi } from './poolQuotaKeeperV3.js';
|
|
5
|
-
export { GearboxDataCompressorV3Abi } from './dataCompressorV3.js';
|
|
6
5
|
export { GearboxPriceOracleV3Abi } from './priceOracleV3.js';
|
|
6
|
+
export { GearboxAddressProviderV310Abi } from './addressProviderV310.js';
|
|
7
|
+
export { GearboxMarketCompressorV310Abi } from './marketCompressorV310.js';
|
|
8
|
+
export { GearboxCreditAccountCompressorV310Abi } from './creditAccountCompressorV310.js';
|
|
7
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/gearbox/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAC9C,OAAO,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAA;AAChE,OAAO,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAA;AAC9D,OAAO,EAAE,2BAA2B,EAAE,MAAM,wBAAwB,CAAA;AACpE,OAAO,EAAE,0BAA0B,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/gearbox/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAC9C,OAAO,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAA;AAChE,OAAO,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAA;AAC9D,OAAO,EAAE,2BAA2B,EAAE,MAAM,wBAAwB,CAAA;AACpE,OAAO,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAA;AAK5D,OAAO,EAAE,6BAA6B,EAAE,MAAM,0BAA0B,CAAA;AACxE,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAA;AAC1E,OAAO,EAAE,qCAAqC,EAAE,MAAM,kCAAkC,CAAA"}
|
package/dist/gearbox/index.js
CHANGED
|
@@ -2,5 +2,10 @@ export { GearboxPoolV3Abi } from './poolV3.js';
|
|
|
2
2
|
export { GearboxCreditManagerV3Abi } from './creditManagerV3.js';
|
|
3
3
|
export { GearboxCreditFacadeV3Abi } from './creditFacadeV3.js';
|
|
4
4
|
export { GearboxPoolQuotaKeeperV3Abi } from './poolQuotaKeeperV3.js';
|
|
5
|
-
export { GearboxDataCompressorV3Abi } from './dataCompressorV3.js';
|
|
6
5
|
export { GearboxPriceOracleV3Abi } from './priceOracleV3.js';
|
|
6
|
+
// V3.10 (aka V3.1) compressor set — replaces the monolithic
|
|
7
|
+
// DataCompressorV3 (dropped). See margin-fetcher's V31_PHASE1_CONFIG.md
|
|
8
|
+
// for the migration history.
|
|
9
|
+
export { GearboxAddressProviderV310Abi } from './addressProviderV310.js';
|
|
10
|
+
export { GearboxMarketCompressorV310Abi } from './marketCompressorV310.js';
|
|
11
|
+
export { GearboxCreditAccountCompressorV310Abi } from './creditAccountCompressorV310.js';
|