@gearbox-protocol/sdk 14.5.2 → 14.5.4
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/kycCompressor.js +207 -0
- package/dist/cjs/abi/compressors/subcompressors/kyc/onDemandKYCUnderlyingSubcompressor.js +60 -0
- package/dist/cjs/abi/compressors/subcompressors/kyc/securitizeKYCFactorySubcompressor.js +80 -0
- package/dist/cjs/abi/compressors/subcompressors/withdrawal/securitizeRedemptionSubcompressor.js +187 -0
- package/dist/cjs/permissionless/bindings/market-configurator.js +27 -0
- package/dist/esm/abi/compressors/kycCompressor.js +183 -0
- package/dist/esm/abi/compressors/subcompressors/kyc/onDemandKYCUnderlyingSubcompressor.js +36 -0
- package/dist/esm/abi/compressors/subcompressors/kyc/securitizeKYCFactorySubcompressor.js +56 -0
- package/dist/esm/abi/compressors/subcompressors/withdrawal/securitizeRedemptionSubcompressor.js +163 -0
- package/dist/esm/permissionless/bindings/market-configurator.js +27 -0
- package/dist/types/abi/compressors/kycCompressor.d.ts +236 -0
- package/dist/types/abi/compressors/subcompressors/kyc/onDemandKYCUnderlyingSubcompressor.d.ts +49 -0
- package/dist/types/abi/compressors/subcompressors/kyc/securitizeKYCFactorySubcompressor.d.ts +85 -0
- package/dist/types/abi/compressors/subcompressors/withdrawal/securitizeRedemptionSubcompressor.d.ts +220 -0
- package/dist/types/permissionless/bindings/market-configurator.d.ts +7 -1
- package/dist/types/permissionless/bindings/types.d.ts +1 -0
- package/package.json +1 -1
- /package/dist/cjs/abi/compressors/subcompressors/{infinifiWithdrawalSubcompressor.js → withdrawal/infinifiWithdrawalSubcompressor.js} +0 -0
- /package/dist/cjs/abi/compressors/subcompressors/{kelpLRTWithdrawalSubcompressor.js → withdrawal/kelpLRTWithdrawalSubcompressor.js} +0 -0
- /package/dist/cjs/abi/compressors/subcompressors/{mellowFlexibleDepositSubcompressor.js → withdrawal/mellowFlexibleDepositSubcompressor.js} +0 -0
- /package/dist/cjs/abi/compressors/subcompressors/{mellowFlexibleRedeemSubcompressor.js → withdrawal/mellowFlexibleRedeemSubcompressor.js} +0 -0
- /package/dist/cjs/abi/compressors/subcompressors/{mellowWithdrawalSubcompressor.js → withdrawal/mellowWithdrawalSubcompressor.js} +0 -0
- /package/dist/cjs/abi/compressors/subcompressors/{midasWithdrawalSubcompressor.js → withdrawal/midasWithdrawalSubcompressor.js} +0 -0
- /package/dist/cjs/abi/compressors/subcompressors/{upshiftWithdrawalSubcompressor.js → withdrawal/upshiftWithdrawalSubcompressor.js} +0 -0
- /package/dist/esm/abi/compressors/subcompressors/{infinifiWithdrawalSubcompressor.js → withdrawal/infinifiWithdrawalSubcompressor.js} +0 -0
- /package/dist/esm/abi/compressors/subcompressors/{kelpLRTWithdrawalSubcompressor.js → withdrawal/kelpLRTWithdrawalSubcompressor.js} +0 -0
- /package/dist/esm/abi/compressors/subcompressors/{mellowFlexibleDepositSubcompressor.js → withdrawal/mellowFlexibleDepositSubcompressor.js} +0 -0
- /package/dist/esm/abi/compressors/subcompressors/{mellowFlexibleRedeemSubcompressor.js → withdrawal/mellowFlexibleRedeemSubcompressor.js} +0 -0
- /package/dist/esm/abi/compressors/subcompressors/{mellowWithdrawalSubcompressor.js → withdrawal/mellowWithdrawalSubcompressor.js} +0 -0
- /package/dist/esm/abi/compressors/subcompressors/{midasWithdrawalSubcompressor.js → withdrawal/midasWithdrawalSubcompressor.js} +0 -0
- /package/dist/esm/abi/compressors/subcompressors/{upshiftWithdrawalSubcompressor.js → withdrawal/upshiftWithdrawalSubcompressor.js} +0 -0
- /package/dist/types/abi/compressors/subcompressors/{infinifiWithdrawalSubcompressor.d.ts → withdrawal/infinifiWithdrawalSubcompressor.d.ts} +0 -0
- /package/dist/types/abi/compressors/subcompressors/{kelpLRTWithdrawalSubcompressor.d.ts → withdrawal/kelpLRTWithdrawalSubcompressor.d.ts} +0 -0
- /package/dist/types/abi/compressors/subcompressors/{mellowFlexibleDepositSubcompressor.d.ts → withdrawal/mellowFlexibleDepositSubcompressor.d.ts} +0 -0
- /package/dist/types/abi/compressors/subcompressors/{mellowFlexibleRedeemSubcompressor.d.ts → withdrawal/mellowFlexibleRedeemSubcompressor.d.ts} +0 -0
- /package/dist/types/abi/compressors/subcompressors/{mellowWithdrawalSubcompressor.d.ts → withdrawal/mellowWithdrawalSubcompressor.d.ts} +0 -0
- /package/dist/types/abi/compressors/subcompressors/{midasWithdrawalSubcompressor.d.ts → withdrawal/midasWithdrawalSubcompressor.d.ts} +0 -0
- /package/dist/types/abi/compressors/subcompressors/{upshiftWithdrawalSubcompressor.d.ts → withdrawal/upshiftWithdrawalSubcompressor.d.ts} +0 -0
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
export declare const kycCompressorAbi: readonly [{
|
|
2
|
+
readonly type: "constructor";
|
|
3
|
+
readonly inputs: readonly [{
|
|
4
|
+
readonly name: "addressProvider";
|
|
5
|
+
readonly type: "address";
|
|
6
|
+
readonly internalType: "contract IAddressProvider";
|
|
7
|
+
}];
|
|
8
|
+
readonly stateMutability: "nonpayable";
|
|
9
|
+
}, {
|
|
10
|
+
readonly type: "function";
|
|
11
|
+
readonly name: "contractType";
|
|
12
|
+
readonly inputs: readonly [];
|
|
13
|
+
readonly outputs: readonly [{
|
|
14
|
+
readonly name: "";
|
|
15
|
+
readonly type: "bytes32";
|
|
16
|
+
readonly internalType: "bytes32";
|
|
17
|
+
}];
|
|
18
|
+
readonly stateMutability: "view";
|
|
19
|
+
}, {
|
|
20
|
+
readonly type: "function";
|
|
21
|
+
readonly name: "getKYCInvestorData";
|
|
22
|
+
readonly inputs: readonly [{
|
|
23
|
+
readonly name: "investor";
|
|
24
|
+
readonly type: "address";
|
|
25
|
+
readonly internalType: "address";
|
|
26
|
+
}, {
|
|
27
|
+
readonly name: "factories";
|
|
28
|
+
readonly type: "address[]";
|
|
29
|
+
readonly internalType: "address[]";
|
|
30
|
+
}];
|
|
31
|
+
readonly outputs: readonly [{
|
|
32
|
+
readonly name: "investorData";
|
|
33
|
+
readonly type: "tuple[]";
|
|
34
|
+
readonly internalType: "struct IKYCCompressor.KYCInvestorData[]";
|
|
35
|
+
readonly components: readonly [{
|
|
36
|
+
readonly name: "creditAccounts";
|
|
37
|
+
readonly type: "tuple[]";
|
|
38
|
+
readonly internalType: "struct IKYCCompressor.KYCCreditAccountData[]";
|
|
39
|
+
readonly components: readonly [{
|
|
40
|
+
readonly name: "creditAccount";
|
|
41
|
+
readonly type: "address";
|
|
42
|
+
readonly internalType: "address";
|
|
43
|
+
}, {
|
|
44
|
+
readonly name: "wallet";
|
|
45
|
+
readonly type: "address";
|
|
46
|
+
readonly internalType: "address";
|
|
47
|
+
}, {
|
|
48
|
+
readonly name: "frozen";
|
|
49
|
+
readonly type: "bool";
|
|
50
|
+
readonly internalType: "bool";
|
|
51
|
+
}, {
|
|
52
|
+
readonly name: "extraDetails";
|
|
53
|
+
readonly type: "bytes";
|
|
54
|
+
readonly internalType: "bytes";
|
|
55
|
+
}];
|
|
56
|
+
}, {
|
|
57
|
+
readonly name: "extraDetails";
|
|
58
|
+
readonly type: "bytes";
|
|
59
|
+
readonly internalType: "bytes";
|
|
60
|
+
}];
|
|
61
|
+
}];
|
|
62
|
+
readonly stateMutability: "view";
|
|
63
|
+
}, {
|
|
64
|
+
readonly type: "function";
|
|
65
|
+
readonly name: "getKYCMarketsData";
|
|
66
|
+
readonly inputs: readonly [{
|
|
67
|
+
readonly name: "configurators";
|
|
68
|
+
readonly type: "address[]";
|
|
69
|
+
readonly internalType: "address[]";
|
|
70
|
+
}, {
|
|
71
|
+
readonly name: "factories";
|
|
72
|
+
readonly type: "address[]";
|
|
73
|
+
readonly internalType: "address[]";
|
|
74
|
+
}];
|
|
75
|
+
readonly outputs: readonly [{
|
|
76
|
+
readonly name: "underlyingsData";
|
|
77
|
+
readonly type: "tuple[]";
|
|
78
|
+
readonly internalType: "struct IKYCCompressor.KYCUnderlyingData[]";
|
|
79
|
+
readonly components: readonly [{
|
|
80
|
+
readonly name: "baseParams";
|
|
81
|
+
readonly type: "tuple";
|
|
82
|
+
readonly internalType: "struct BaseParams";
|
|
83
|
+
readonly components: readonly [{
|
|
84
|
+
readonly name: "addr";
|
|
85
|
+
readonly type: "address";
|
|
86
|
+
readonly internalType: "address";
|
|
87
|
+
}, {
|
|
88
|
+
readonly name: "version";
|
|
89
|
+
readonly type: "uint256";
|
|
90
|
+
readonly internalType: "uint256";
|
|
91
|
+
}, {
|
|
92
|
+
readonly name: "contractType";
|
|
93
|
+
readonly type: "bytes32";
|
|
94
|
+
readonly internalType: "bytes32";
|
|
95
|
+
}, {
|
|
96
|
+
readonly name: "serializedParams";
|
|
97
|
+
readonly type: "bytes";
|
|
98
|
+
readonly internalType: "bytes";
|
|
99
|
+
}];
|
|
100
|
+
}, {
|
|
101
|
+
readonly name: "asset";
|
|
102
|
+
readonly type: "address";
|
|
103
|
+
readonly internalType: "address";
|
|
104
|
+
}, {
|
|
105
|
+
readonly name: "factory";
|
|
106
|
+
readonly type: "address";
|
|
107
|
+
readonly internalType: "address";
|
|
108
|
+
}, {
|
|
109
|
+
readonly name: "extraDetails";
|
|
110
|
+
readonly type: "bytes";
|
|
111
|
+
readonly internalType: "bytes";
|
|
112
|
+
}];
|
|
113
|
+
}, {
|
|
114
|
+
readonly name: "factoriesData";
|
|
115
|
+
readonly type: "tuple[]";
|
|
116
|
+
readonly internalType: "struct IKYCCompressor.KYCFactoryData[]";
|
|
117
|
+
readonly components: readonly [{
|
|
118
|
+
readonly name: "baseParams";
|
|
119
|
+
readonly type: "tuple";
|
|
120
|
+
readonly internalType: "struct BaseParams";
|
|
121
|
+
readonly components: readonly [{
|
|
122
|
+
readonly name: "addr";
|
|
123
|
+
readonly type: "address";
|
|
124
|
+
readonly internalType: "address";
|
|
125
|
+
}, {
|
|
126
|
+
readonly name: "version";
|
|
127
|
+
readonly type: "uint256";
|
|
128
|
+
readonly internalType: "uint256";
|
|
129
|
+
}, {
|
|
130
|
+
readonly name: "contractType";
|
|
131
|
+
readonly type: "bytes32";
|
|
132
|
+
readonly internalType: "bytes32";
|
|
133
|
+
}, {
|
|
134
|
+
readonly name: "serializedParams";
|
|
135
|
+
readonly type: "bytes";
|
|
136
|
+
readonly internalType: "bytes";
|
|
137
|
+
}];
|
|
138
|
+
}, {
|
|
139
|
+
readonly name: "tokens";
|
|
140
|
+
readonly type: "tuple[]";
|
|
141
|
+
readonly internalType: "struct TokenData[]";
|
|
142
|
+
readonly components: readonly [{
|
|
143
|
+
readonly name: "addr";
|
|
144
|
+
readonly type: "address";
|
|
145
|
+
readonly internalType: "address";
|
|
146
|
+
}, {
|
|
147
|
+
readonly name: "symbol";
|
|
148
|
+
readonly type: "string";
|
|
149
|
+
readonly internalType: "string";
|
|
150
|
+
}, {
|
|
151
|
+
readonly name: "name";
|
|
152
|
+
readonly type: "string";
|
|
153
|
+
readonly internalType: "string";
|
|
154
|
+
}, {
|
|
155
|
+
readonly name: "decimals";
|
|
156
|
+
readonly type: "uint8";
|
|
157
|
+
readonly internalType: "uint8";
|
|
158
|
+
}];
|
|
159
|
+
}, {
|
|
160
|
+
readonly name: "extraDetails";
|
|
161
|
+
readonly type: "bytes";
|
|
162
|
+
readonly internalType: "bytes";
|
|
163
|
+
}];
|
|
164
|
+
}];
|
|
165
|
+
readonly stateMutability: "view";
|
|
166
|
+
}, {
|
|
167
|
+
readonly type: "function";
|
|
168
|
+
readonly name: "setSubcompressor";
|
|
169
|
+
readonly inputs: readonly [{
|
|
170
|
+
readonly name: "subcompressor";
|
|
171
|
+
readonly type: "address";
|
|
172
|
+
readonly internalType: "address";
|
|
173
|
+
}];
|
|
174
|
+
readonly outputs: readonly [];
|
|
175
|
+
readonly stateMutability: "nonpayable";
|
|
176
|
+
}, {
|
|
177
|
+
readonly type: "function";
|
|
178
|
+
readonly name: "subcompressors";
|
|
179
|
+
readonly inputs: readonly [{
|
|
180
|
+
readonly name: "domain";
|
|
181
|
+
readonly type: "bytes32";
|
|
182
|
+
readonly internalType: "bytes32";
|
|
183
|
+
}, {
|
|
184
|
+
readonly name: "postfix";
|
|
185
|
+
readonly type: "bytes32";
|
|
186
|
+
readonly internalType: "bytes32";
|
|
187
|
+
}];
|
|
188
|
+
readonly outputs: readonly [{
|
|
189
|
+
readonly name: "";
|
|
190
|
+
readonly type: "address";
|
|
191
|
+
readonly internalType: "address";
|
|
192
|
+
}];
|
|
193
|
+
readonly stateMutability: "view";
|
|
194
|
+
}, {
|
|
195
|
+
readonly type: "function";
|
|
196
|
+
readonly name: "version";
|
|
197
|
+
readonly inputs: readonly [];
|
|
198
|
+
readonly outputs: readonly [{
|
|
199
|
+
readonly name: "";
|
|
200
|
+
readonly type: "uint256";
|
|
201
|
+
readonly internalType: "uint256";
|
|
202
|
+
}];
|
|
203
|
+
readonly stateMutability: "view";
|
|
204
|
+
}, {
|
|
205
|
+
readonly type: "error";
|
|
206
|
+
readonly name: "CallerIsNotInstanceOwnerException";
|
|
207
|
+
readonly inputs: readonly [{
|
|
208
|
+
readonly name: "caller";
|
|
209
|
+
readonly type: "address";
|
|
210
|
+
readonly internalType: "address";
|
|
211
|
+
}];
|
|
212
|
+
}, {
|
|
213
|
+
readonly type: "error";
|
|
214
|
+
readonly name: "InvalidDomainException";
|
|
215
|
+
readonly inputs: readonly [{
|
|
216
|
+
readonly name: "domain";
|
|
217
|
+
readonly type: "bytes32";
|
|
218
|
+
readonly internalType: "bytes32";
|
|
219
|
+
}];
|
|
220
|
+
}, {
|
|
221
|
+
readonly type: "error";
|
|
222
|
+
readonly name: "InvalidKYCFactoryException";
|
|
223
|
+
readonly inputs: readonly [{
|
|
224
|
+
readonly name: "factory";
|
|
225
|
+
readonly type: "address";
|
|
226
|
+
readonly internalType: "address";
|
|
227
|
+
}];
|
|
228
|
+
}, {
|
|
229
|
+
readonly type: "error";
|
|
230
|
+
readonly name: "InvalidMarketConfiguratorException";
|
|
231
|
+
readonly inputs: readonly [{
|
|
232
|
+
readonly name: "marketConfigurator";
|
|
233
|
+
readonly type: "address";
|
|
234
|
+
readonly internalType: "address";
|
|
235
|
+
}];
|
|
236
|
+
}];
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export declare const onDemandKYCUnderlyingSubcompressorAbi: readonly [{
|
|
2
|
+
readonly type: "function";
|
|
3
|
+
readonly name: "contractType";
|
|
4
|
+
readonly inputs: readonly [];
|
|
5
|
+
readonly outputs: readonly [{
|
|
6
|
+
readonly name: "";
|
|
7
|
+
readonly type: "bytes32";
|
|
8
|
+
readonly internalType: "bytes32";
|
|
9
|
+
}];
|
|
10
|
+
readonly stateMutability: "view";
|
|
11
|
+
}, {
|
|
12
|
+
readonly type: "function";
|
|
13
|
+
readonly name: "getCompressedType";
|
|
14
|
+
readonly inputs: readonly [];
|
|
15
|
+
readonly outputs: readonly [{
|
|
16
|
+
readonly name: "";
|
|
17
|
+
readonly type: "bytes32";
|
|
18
|
+
readonly internalType: "bytes32";
|
|
19
|
+
}, {
|
|
20
|
+
readonly name: "";
|
|
21
|
+
readonly type: "bytes32";
|
|
22
|
+
readonly internalType: "bytes32";
|
|
23
|
+
}];
|
|
24
|
+
readonly stateMutability: "pure";
|
|
25
|
+
}, {
|
|
26
|
+
readonly type: "function";
|
|
27
|
+
readonly name: "getUnderlyingData";
|
|
28
|
+
readonly inputs: readonly [{
|
|
29
|
+
readonly name: "underlying";
|
|
30
|
+
readonly type: "address";
|
|
31
|
+
readonly internalType: "address";
|
|
32
|
+
}];
|
|
33
|
+
readonly outputs: readonly [{
|
|
34
|
+
readonly name: "";
|
|
35
|
+
readonly type: "bytes";
|
|
36
|
+
readonly internalType: "bytes";
|
|
37
|
+
}];
|
|
38
|
+
readonly stateMutability: "view";
|
|
39
|
+
}, {
|
|
40
|
+
readonly type: "function";
|
|
41
|
+
readonly name: "version";
|
|
42
|
+
readonly inputs: readonly [];
|
|
43
|
+
readonly outputs: readonly [{
|
|
44
|
+
readonly name: "";
|
|
45
|
+
readonly type: "uint256";
|
|
46
|
+
readonly internalType: "uint256";
|
|
47
|
+
}];
|
|
48
|
+
readonly stateMutability: "view";
|
|
49
|
+
}];
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
export declare const securitizeKYCFactorySubcompressorAbi: readonly [{
|
|
2
|
+
readonly type: "function";
|
|
3
|
+
readonly name: "contractType";
|
|
4
|
+
readonly inputs: readonly [];
|
|
5
|
+
readonly outputs: readonly [{
|
|
6
|
+
readonly name: "";
|
|
7
|
+
readonly type: "bytes32";
|
|
8
|
+
readonly internalType: "bytes32";
|
|
9
|
+
}];
|
|
10
|
+
readonly stateMutability: "view";
|
|
11
|
+
}, {
|
|
12
|
+
readonly type: "function";
|
|
13
|
+
readonly name: "getCompressedType";
|
|
14
|
+
readonly inputs: readonly [];
|
|
15
|
+
readonly outputs: readonly [{
|
|
16
|
+
readonly name: "";
|
|
17
|
+
readonly type: "bytes32";
|
|
18
|
+
readonly internalType: "bytes32";
|
|
19
|
+
}, {
|
|
20
|
+
readonly name: "";
|
|
21
|
+
readonly type: "bytes32";
|
|
22
|
+
readonly internalType: "bytes32";
|
|
23
|
+
}];
|
|
24
|
+
readonly stateMutability: "pure";
|
|
25
|
+
}, {
|
|
26
|
+
readonly type: "function";
|
|
27
|
+
readonly name: "getCreditAccountData";
|
|
28
|
+
readonly inputs: readonly [{
|
|
29
|
+
readonly name: "creditAccount";
|
|
30
|
+
readonly type: "address";
|
|
31
|
+
readonly internalType: "address";
|
|
32
|
+
}, {
|
|
33
|
+
readonly name: "factory";
|
|
34
|
+
readonly type: "address";
|
|
35
|
+
readonly internalType: "address";
|
|
36
|
+
}];
|
|
37
|
+
readonly outputs: readonly [{
|
|
38
|
+
readonly name: "";
|
|
39
|
+
readonly type: "bytes";
|
|
40
|
+
readonly internalType: "bytes";
|
|
41
|
+
}];
|
|
42
|
+
readonly stateMutability: "view";
|
|
43
|
+
}, {
|
|
44
|
+
readonly type: "function";
|
|
45
|
+
readonly name: "getFactoryData";
|
|
46
|
+
readonly inputs: readonly [{
|
|
47
|
+
readonly name: "";
|
|
48
|
+
readonly type: "address";
|
|
49
|
+
readonly internalType: "address";
|
|
50
|
+
}];
|
|
51
|
+
readonly outputs: readonly [{
|
|
52
|
+
readonly name: "";
|
|
53
|
+
readonly type: "bytes";
|
|
54
|
+
readonly internalType: "bytes";
|
|
55
|
+
}];
|
|
56
|
+
readonly stateMutability: "pure";
|
|
57
|
+
}, {
|
|
58
|
+
readonly type: "function";
|
|
59
|
+
readonly name: "getInvestorData";
|
|
60
|
+
readonly inputs: readonly [{
|
|
61
|
+
readonly name: "investor";
|
|
62
|
+
readonly type: "address";
|
|
63
|
+
readonly internalType: "address";
|
|
64
|
+
}, {
|
|
65
|
+
readonly name: "factory";
|
|
66
|
+
readonly type: "address";
|
|
67
|
+
readonly internalType: "address";
|
|
68
|
+
}];
|
|
69
|
+
readonly outputs: readonly [{
|
|
70
|
+
readonly name: "";
|
|
71
|
+
readonly type: "bytes";
|
|
72
|
+
readonly internalType: "bytes";
|
|
73
|
+
}];
|
|
74
|
+
readonly stateMutability: "view";
|
|
75
|
+
}, {
|
|
76
|
+
readonly type: "function";
|
|
77
|
+
readonly name: "version";
|
|
78
|
+
readonly inputs: readonly [];
|
|
79
|
+
readonly outputs: readonly [{
|
|
80
|
+
readonly name: "";
|
|
81
|
+
readonly type: "uint256";
|
|
82
|
+
readonly internalType: "uint256";
|
|
83
|
+
}];
|
|
84
|
+
readonly stateMutability: "view";
|
|
85
|
+
}];
|
package/dist/types/abi/compressors/subcompressors/withdrawal/securitizeRedemptionSubcompressor.d.ts
ADDED
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
export declare const securitizeRedemptionSubcompressorAbi: readonly [{
|
|
2
|
+
readonly type: "function";
|
|
3
|
+
readonly name: "contractType";
|
|
4
|
+
readonly inputs: readonly [];
|
|
5
|
+
readonly outputs: readonly [{
|
|
6
|
+
readonly name: "";
|
|
7
|
+
readonly type: "bytes32";
|
|
8
|
+
readonly internalType: "bytes32";
|
|
9
|
+
}];
|
|
10
|
+
readonly stateMutability: "view";
|
|
11
|
+
}, {
|
|
12
|
+
readonly type: "function";
|
|
13
|
+
readonly name: "getCurrentWithdrawals";
|
|
14
|
+
readonly inputs: readonly [{
|
|
15
|
+
readonly name: "creditAccount";
|
|
16
|
+
readonly type: "address";
|
|
17
|
+
readonly internalType: "address";
|
|
18
|
+
}, {
|
|
19
|
+
readonly name: "token";
|
|
20
|
+
readonly type: "address";
|
|
21
|
+
readonly internalType: "address";
|
|
22
|
+
}];
|
|
23
|
+
readonly outputs: readonly [{
|
|
24
|
+
readonly name: "";
|
|
25
|
+
readonly type: "tuple[]";
|
|
26
|
+
readonly internalType: "struct ClaimableWithdrawal[]";
|
|
27
|
+
readonly components: readonly [{
|
|
28
|
+
readonly name: "token";
|
|
29
|
+
readonly type: "address";
|
|
30
|
+
readonly internalType: "address";
|
|
31
|
+
}, {
|
|
32
|
+
readonly name: "withdrawalPhantomToken";
|
|
33
|
+
readonly type: "address";
|
|
34
|
+
readonly internalType: "address";
|
|
35
|
+
}, {
|
|
36
|
+
readonly name: "withdrawalTokenSpent";
|
|
37
|
+
readonly type: "uint256";
|
|
38
|
+
readonly internalType: "uint256";
|
|
39
|
+
}, {
|
|
40
|
+
readonly name: "outputs";
|
|
41
|
+
readonly type: "tuple[]";
|
|
42
|
+
readonly internalType: "struct WithdrawalOutput[]";
|
|
43
|
+
readonly components: readonly [{
|
|
44
|
+
readonly name: "token";
|
|
45
|
+
readonly type: "address";
|
|
46
|
+
readonly internalType: "address";
|
|
47
|
+
}, {
|
|
48
|
+
readonly name: "isDelayed";
|
|
49
|
+
readonly type: "bool";
|
|
50
|
+
readonly internalType: "bool";
|
|
51
|
+
}, {
|
|
52
|
+
readonly name: "amount";
|
|
53
|
+
readonly type: "uint256";
|
|
54
|
+
readonly internalType: "uint256";
|
|
55
|
+
}];
|
|
56
|
+
}, {
|
|
57
|
+
readonly name: "claimCalls";
|
|
58
|
+
readonly type: "tuple[]";
|
|
59
|
+
readonly internalType: "struct MultiCall[]";
|
|
60
|
+
readonly components: readonly [{
|
|
61
|
+
readonly name: "target";
|
|
62
|
+
readonly type: "address";
|
|
63
|
+
readonly internalType: "address";
|
|
64
|
+
}, {
|
|
65
|
+
readonly name: "callData";
|
|
66
|
+
readonly type: "bytes";
|
|
67
|
+
readonly internalType: "bytes";
|
|
68
|
+
}];
|
|
69
|
+
}];
|
|
70
|
+
}, {
|
|
71
|
+
readonly name: "";
|
|
72
|
+
readonly type: "tuple[]";
|
|
73
|
+
readonly internalType: "struct PendingWithdrawal[]";
|
|
74
|
+
readonly components: readonly [{
|
|
75
|
+
readonly name: "token";
|
|
76
|
+
readonly type: "address";
|
|
77
|
+
readonly internalType: "address";
|
|
78
|
+
}, {
|
|
79
|
+
readonly name: "withdrawalPhantomToken";
|
|
80
|
+
readonly type: "address";
|
|
81
|
+
readonly internalType: "address";
|
|
82
|
+
}, {
|
|
83
|
+
readonly name: "expectedOutputs";
|
|
84
|
+
readonly type: "tuple[]";
|
|
85
|
+
readonly internalType: "struct WithdrawalOutput[]";
|
|
86
|
+
readonly components: readonly [{
|
|
87
|
+
readonly name: "token";
|
|
88
|
+
readonly type: "address";
|
|
89
|
+
readonly internalType: "address";
|
|
90
|
+
}, {
|
|
91
|
+
readonly name: "isDelayed";
|
|
92
|
+
readonly type: "bool";
|
|
93
|
+
readonly internalType: "bool";
|
|
94
|
+
}, {
|
|
95
|
+
readonly name: "amount";
|
|
96
|
+
readonly type: "uint256";
|
|
97
|
+
readonly internalType: "uint256";
|
|
98
|
+
}];
|
|
99
|
+
}, {
|
|
100
|
+
readonly name: "claimableAt";
|
|
101
|
+
readonly type: "uint256";
|
|
102
|
+
readonly internalType: "uint256";
|
|
103
|
+
}];
|
|
104
|
+
}];
|
|
105
|
+
readonly stateMutability: "view";
|
|
106
|
+
}, {
|
|
107
|
+
readonly type: "function";
|
|
108
|
+
readonly name: "getWithdrawableAssets";
|
|
109
|
+
readonly inputs: readonly [{
|
|
110
|
+
readonly name: "";
|
|
111
|
+
readonly type: "address";
|
|
112
|
+
readonly internalType: "address";
|
|
113
|
+
}, {
|
|
114
|
+
readonly name: "token";
|
|
115
|
+
readonly type: "address";
|
|
116
|
+
readonly internalType: "address";
|
|
117
|
+
}];
|
|
118
|
+
readonly outputs: readonly [{
|
|
119
|
+
readonly name: "";
|
|
120
|
+
readonly type: "tuple[]";
|
|
121
|
+
readonly internalType: "struct WithdrawableAsset[]";
|
|
122
|
+
readonly components: readonly [{
|
|
123
|
+
readonly name: "token";
|
|
124
|
+
readonly type: "address";
|
|
125
|
+
readonly internalType: "address";
|
|
126
|
+
}, {
|
|
127
|
+
readonly name: "withdrawalPhantomToken";
|
|
128
|
+
readonly type: "address";
|
|
129
|
+
readonly internalType: "address";
|
|
130
|
+
}, {
|
|
131
|
+
readonly name: "underlying";
|
|
132
|
+
readonly type: "address";
|
|
133
|
+
readonly internalType: "address";
|
|
134
|
+
}, {
|
|
135
|
+
readonly name: "withdrawalLength";
|
|
136
|
+
readonly type: "uint256";
|
|
137
|
+
readonly internalType: "uint256";
|
|
138
|
+
}];
|
|
139
|
+
}];
|
|
140
|
+
readonly stateMutability: "view";
|
|
141
|
+
}, {
|
|
142
|
+
readonly type: "function";
|
|
143
|
+
readonly name: "getWithdrawalRequestResult";
|
|
144
|
+
readonly inputs: readonly [{
|
|
145
|
+
readonly name: "creditAccount";
|
|
146
|
+
readonly type: "address";
|
|
147
|
+
readonly internalType: "address";
|
|
148
|
+
}, {
|
|
149
|
+
readonly name: "token";
|
|
150
|
+
readonly type: "address";
|
|
151
|
+
readonly internalType: "address";
|
|
152
|
+
}, {
|
|
153
|
+
readonly name: "withdrawalToken";
|
|
154
|
+
readonly type: "address";
|
|
155
|
+
readonly internalType: "address";
|
|
156
|
+
}, {
|
|
157
|
+
readonly name: "amount";
|
|
158
|
+
readonly type: "uint256";
|
|
159
|
+
readonly internalType: "uint256";
|
|
160
|
+
}];
|
|
161
|
+
readonly outputs: readonly [{
|
|
162
|
+
readonly name: "requestableWithdrawal";
|
|
163
|
+
readonly type: "tuple";
|
|
164
|
+
readonly internalType: "struct RequestableWithdrawal";
|
|
165
|
+
readonly components: readonly [{
|
|
166
|
+
readonly name: "token";
|
|
167
|
+
readonly type: "address";
|
|
168
|
+
readonly internalType: "address";
|
|
169
|
+
}, {
|
|
170
|
+
readonly name: "amountIn";
|
|
171
|
+
readonly type: "uint256";
|
|
172
|
+
readonly internalType: "uint256";
|
|
173
|
+
}, {
|
|
174
|
+
readonly name: "outputs";
|
|
175
|
+
readonly type: "tuple[]";
|
|
176
|
+
readonly internalType: "struct WithdrawalOutput[]";
|
|
177
|
+
readonly components: readonly [{
|
|
178
|
+
readonly name: "token";
|
|
179
|
+
readonly type: "address";
|
|
180
|
+
readonly internalType: "address";
|
|
181
|
+
}, {
|
|
182
|
+
readonly name: "isDelayed";
|
|
183
|
+
readonly type: "bool";
|
|
184
|
+
readonly internalType: "bool";
|
|
185
|
+
}, {
|
|
186
|
+
readonly name: "amount";
|
|
187
|
+
readonly type: "uint256";
|
|
188
|
+
readonly internalType: "uint256";
|
|
189
|
+
}];
|
|
190
|
+
}, {
|
|
191
|
+
readonly name: "requestCalls";
|
|
192
|
+
readonly type: "tuple[]";
|
|
193
|
+
readonly internalType: "struct MultiCall[]";
|
|
194
|
+
readonly components: readonly [{
|
|
195
|
+
readonly name: "target";
|
|
196
|
+
readonly type: "address";
|
|
197
|
+
readonly internalType: "address";
|
|
198
|
+
}, {
|
|
199
|
+
readonly name: "callData";
|
|
200
|
+
readonly type: "bytes";
|
|
201
|
+
readonly internalType: "bytes";
|
|
202
|
+
}];
|
|
203
|
+
}, {
|
|
204
|
+
readonly name: "claimableAt";
|
|
205
|
+
readonly type: "uint256";
|
|
206
|
+
readonly internalType: "uint256";
|
|
207
|
+
}];
|
|
208
|
+
}];
|
|
209
|
+
readonly stateMutability: "view";
|
|
210
|
+
}, {
|
|
211
|
+
readonly type: "function";
|
|
212
|
+
readonly name: "version";
|
|
213
|
+
readonly inputs: readonly [];
|
|
214
|
+
readonly outputs: readonly [{
|
|
215
|
+
readonly name: "";
|
|
216
|
+
readonly type: "uint256";
|
|
217
|
+
readonly internalType: "uint256";
|
|
218
|
+
}];
|
|
219
|
+
readonly stateMutability: "view";
|
|
220
|
+
}];
|
|
@@ -6,7 +6,7 @@ import { LossPolicyFactory } from "./factory/loss-policy-factory.js";
|
|
|
6
6
|
import { PoolFactory } from "./factory/pool-factory.js";
|
|
7
7
|
import { PriceOracleFactory } from "./factory/price-oracle-factory.js";
|
|
8
8
|
import { AddressProviderContract } from "./index.js";
|
|
9
|
-
import type { AddAssetParams, AllowTokenParams, DeployParams, ForbidAdapterParams, ForbidTokenParams, Market, PauseCreditManagerParams, SetExpirationDateParams, SetFeesParams, SetPriceFeedParams, SetReservePriceFeedParams, SetTokenQuotaIncreaseFeeParams, UnpauseCreditManagerParams } from "./types.js";
|
|
9
|
+
import type { AddAssetParams, AllowTokenParams, DeployParams, ForbidAdapterParams, ForbidTokenParams, Market, PauseCreditManagerParams, PeripheryDomain, SetExpirationDateParams, SetFeesParams, SetPriceFeedParams, SetReservePriceFeedParams, SetTokenQuotaIncreaseFeeParams, UnpauseCreditManagerParams } from "./types.js";
|
|
10
10
|
declare const abi: readonly [{
|
|
11
11
|
readonly type: "function";
|
|
12
12
|
readonly inputs: readonly [];
|
|
@@ -1645,6 +1645,12 @@ export declare class MarketConfiguratorContract extends BaseContract<typeof abi>
|
|
|
1645
1645
|
grantRole(role: string, address: Address): RawTx;
|
|
1646
1646
|
revokeRole(role: string, address: Address): RawTx;
|
|
1647
1647
|
setEmergencyAdmin(newEmergencyAdmin: Address): RawTx;
|
|
1648
|
+
addPeripheryContract(peripheryContract: Address): RawTx;
|
|
1649
|
+
removePeripheryContract(peripheryContract: Address): RawTx;
|
|
1650
|
+
getPeripheryDomains(): readonly PeripheryDomain[];
|
|
1651
|
+
getPeripheryContracts(): Promise<{
|
|
1652
|
+
[key in PeripheryDomain]: Address[];
|
|
1653
|
+
}>;
|
|
1648
1654
|
syncSetEmergencyAdmin(fromBlock: bigint, toBlock: bigint): Promise<Array<{
|
|
1649
1655
|
emergencyAdmin: Address;
|
|
1650
1656
|
atBlock: number;
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|