@gearbox-protocol/sdk 14.5.3 → 14.5.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.
Files changed (34) hide show
  1. package/dist/cjs/abi/compressors/kycCompressor.js +207 -0
  2. package/dist/cjs/abi/compressors/subcompressors/kyc/onDemandKYCUnderlyingSubcompressor.js +60 -0
  3. package/dist/cjs/abi/compressors/subcompressors/kyc/securitizeKYCFactorySubcompressor.js +80 -0
  4. package/dist/esm/abi/compressors/kycCompressor.js +183 -0
  5. package/dist/esm/abi/compressors/subcompressors/kyc/onDemandKYCUnderlyingSubcompressor.js +36 -0
  6. package/dist/esm/abi/compressors/subcompressors/kyc/securitizeKYCFactorySubcompressor.js +56 -0
  7. package/dist/types/abi/compressors/kycCompressor.d.ts +236 -0
  8. package/dist/types/abi/compressors/subcompressors/kyc/onDemandKYCUnderlyingSubcompressor.d.ts +49 -0
  9. package/dist/types/abi/compressors/subcompressors/kyc/securitizeKYCFactorySubcompressor.d.ts +85 -0
  10. package/package.json +1 -1
  11. /package/dist/cjs/abi/compressors/subcompressors/{infinifiWithdrawalSubcompressor.js → withdrawal/infinifiWithdrawalSubcompressor.js} +0 -0
  12. /package/dist/cjs/abi/compressors/subcompressors/{kelpLRTWithdrawalSubcompressor.js → withdrawal/kelpLRTWithdrawalSubcompressor.js} +0 -0
  13. /package/dist/cjs/abi/compressors/subcompressors/{mellowFlexibleDepositSubcompressor.js → withdrawal/mellowFlexibleDepositSubcompressor.js} +0 -0
  14. /package/dist/cjs/abi/compressors/subcompressors/{mellowFlexibleRedeemSubcompressor.js → withdrawal/mellowFlexibleRedeemSubcompressor.js} +0 -0
  15. /package/dist/cjs/abi/compressors/subcompressors/{mellowWithdrawalSubcompressor.js → withdrawal/mellowWithdrawalSubcompressor.js} +0 -0
  16. /package/dist/cjs/abi/compressors/subcompressors/{midasWithdrawalSubcompressor.js → withdrawal/midasWithdrawalSubcompressor.js} +0 -0
  17. /package/dist/cjs/abi/compressors/subcompressors/{securitizeRedemptionSubcompressor.js → withdrawal/securitizeRedemptionSubcompressor.js} +0 -0
  18. /package/dist/cjs/abi/compressors/subcompressors/{upshiftWithdrawalSubcompressor.js → withdrawal/upshiftWithdrawalSubcompressor.js} +0 -0
  19. /package/dist/esm/abi/compressors/subcompressors/{infinifiWithdrawalSubcompressor.js → withdrawal/infinifiWithdrawalSubcompressor.js} +0 -0
  20. /package/dist/esm/abi/compressors/subcompressors/{kelpLRTWithdrawalSubcompressor.js → withdrawal/kelpLRTWithdrawalSubcompressor.js} +0 -0
  21. /package/dist/esm/abi/compressors/subcompressors/{mellowFlexibleDepositSubcompressor.js → withdrawal/mellowFlexibleDepositSubcompressor.js} +0 -0
  22. /package/dist/esm/abi/compressors/subcompressors/{mellowFlexibleRedeemSubcompressor.js → withdrawal/mellowFlexibleRedeemSubcompressor.js} +0 -0
  23. /package/dist/esm/abi/compressors/subcompressors/{mellowWithdrawalSubcompressor.js → withdrawal/mellowWithdrawalSubcompressor.js} +0 -0
  24. /package/dist/esm/abi/compressors/subcompressors/{midasWithdrawalSubcompressor.js → withdrawal/midasWithdrawalSubcompressor.js} +0 -0
  25. /package/dist/esm/abi/compressors/subcompressors/{securitizeRedemptionSubcompressor.js → withdrawal/securitizeRedemptionSubcompressor.js} +0 -0
  26. /package/dist/esm/abi/compressors/subcompressors/{upshiftWithdrawalSubcompressor.js → withdrawal/upshiftWithdrawalSubcompressor.js} +0 -0
  27. /package/dist/types/abi/compressors/subcompressors/{infinifiWithdrawalSubcompressor.d.ts → withdrawal/infinifiWithdrawalSubcompressor.d.ts} +0 -0
  28. /package/dist/types/abi/compressors/subcompressors/{kelpLRTWithdrawalSubcompressor.d.ts → withdrawal/kelpLRTWithdrawalSubcompressor.d.ts} +0 -0
  29. /package/dist/types/abi/compressors/subcompressors/{mellowFlexibleDepositSubcompressor.d.ts → withdrawal/mellowFlexibleDepositSubcompressor.d.ts} +0 -0
  30. /package/dist/types/abi/compressors/subcompressors/{mellowFlexibleRedeemSubcompressor.d.ts → withdrawal/mellowFlexibleRedeemSubcompressor.d.ts} +0 -0
  31. /package/dist/types/abi/compressors/subcompressors/{mellowWithdrawalSubcompressor.d.ts → withdrawal/mellowWithdrawalSubcompressor.d.ts} +0 -0
  32. /package/dist/types/abi/compressors/subcompressors/{midasWithdrawalSubcompressor.d.ts → withdrawal/midasWithdrawalSubcompressor.d.ts} +0 -0
  33. /package/dist/types/abi/compressors/subcompressors/{securitizeRedemptionSubcompressor.d.ts → withdrawal/securitizeRedemptionSubcompressor.d.ts} +0 -0
  34. /package/dist/types/abi/compressors/subcompressors/{upshiftWithdrawalSubcompressor.d.ts → withdrawal/upshiftWithdrawalSubcompressor.d.ts} +0 -0
@@ -0,0 +1,207 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var kycCompressor_exports = {};
20
+ __export(kycCompressor_exports, {
21
+ kycCompressorAbi: () => kycCompressorAbi
22
+ });
23
+ module.exports = __toCommonJS(kycCompressor_exports);
24
+ const kycCompressorAbi = [
25
+ {
26
+ type: "constructor",
27
+ inputs: [
28
+ {
29
+ name: "addressProvider",
30
+ type: "address",
31
+ internalType: "contract IAddressProvider"
32
+ }
33
+ ],
34
+ stateMutability: "nonpayable"
35
+ },
36
+ {
37
+ type: "function",
38
+ name: "contractType",
39
+ inputs: [],
40
+ outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
41
+ stateMutability: "view"
42
+ },
43
+ {
44
+ type: "function",
45
+ name: "getKYCInvestorData",
46
+ inputs: [
47
+ { name: "investor", type: "address", internalType: "address" },
48
+ { name: "factories", type: "address[]", internalType: "address[]" }
49
+ ],
50
+ outputs: [
51
+ {
52
+ name: "investorData",
53
+ type: "tuple[]",
54
+ internalType: "struct IKYCCompressor.KYCInvestorData[]",
55
+ components: [
56
+ {
57
+ name: "creditAccounts",
58
+ type: "tuple[]",
59
+ internalType: "struct IKYCCompressor.KYCCreditAccountData[]",
60
+ components: [
61
+ {
62
+ name: "creditAccount",
63
+ type: "address",
64
+ internalType: "address"
65
+ },
66
+ { name: "wallet", type: "address", internalType: "address" },
67
+ { name: "frozen", type: "bool", internalType: "bool" },
68
+ { name: "extraDetails", type: "bytes", internalType: "bytes" }
69
+ ]
70
+ },
71
+ { name: "extraDetails", type: "bytes", internalType: "bytes" }
72
+ ]
73
+ }
74
+ ],
75
+ stateMutability: "view"
76
+ },
77
+ {
78
+ type: "function",
79
+ name: "getKYCMarketsData",
80
+ inputs: [
81
+ { name: "configurators", type: "address[]", internalType: "address[]" },
82
+ { name: "factories", type: "address[]", internalType: "address[]" }
83
+ ],
84
+ outputs: [
85
+ {
86
+ name: "underlyingsData",
87
+ type: "tuple[]",
88
+ internalType: "struct IKYCCompressor.KYCUnderlyingData[]",
89
+ components: [
90
+ {
91
+ name: "baseParams",
92
+ type: "tuple",
93
+ internalType: "struct BaseParams",
94
+ components: [
95
+ { name: "addr", type: "address", internalType: "address" },
96
+ { name: "version", type: "uint256", internalType: "uint256" },
97
+ {
98
+ name: "contractType",
99
+ type: "bytes32",
100
+ internalType: "bytes32"
101
+ },
102
+ {
103
+ name: "serializedParams",
104
+ type: "bytes",
105
+ internalType: "bytes"
106
+ }
107
+ ]
108
+ },
109
+ { name: "asset", type: "address", internalType: "address" },
110
+ { name: "factory", type: "address", internalType: "address" },
111
+ { name: "extraDetails", type: "bytes", internalType: "bytes" }
112
+ ]
113
+ },
114
+ {
115
+ name: "factoriesData",
116
+ type: "tuple[]",
117
+ internalType: "struct IKYCCompressor.KYCFactoryData[]",
118
+ components: [
119
+ {
120
+ name: "baseParams",
121
+ type: "tuple",
122
+ internalType: "struct BaseParams",
123
+ components: [
124
+ { name: "addr", type: "address", internalType: "address" },
125
+ { name: "version", type: "uint256", internalType: "uint256" },
126
+ {
127
+ name: "contractType",
128
+ type: "bytes32",
129
+ internalType: "bytes32"
130
+ },
131
+ {
132
+ name: "serializedParams",
133
+ type: "bytes",
134
+ internalType: "bytes"
135
+ }
136
+ ]
137
+ },
138
+ {
139
+ name: "tokens",
140
+ type: "tuple[]",
141
+ internalType: "struct TokenData[]",
142
+ components: [
143
+ { name: "addr", type: "address", internalType: "address" },
144
+ { name: "symbol", type: "string", internalType: "string" },
145
+ { name: "name", type: "string", internalType: "string" },
146
+ { name: "decimals", type: "uint8", internalType: "uint8" }
147
+ ]
148
+ },
149
+ { name: "extraDetails", type: "bytes", internalType: "bytes" }
150
+ ]
151
+ }
152
+ ],
153
+ stateMutability: "view"
154
+ },
155
+ {
156
+ type: "function",
157
+ name: "setSubcompressor",
158
+ inputs: [
159
+ { name: "subcompressor", type: "address", internalType: "address" }
160
+ ],
161
+ outputs: [],
162
+ stateMutability: "nonpayable"
163
+ },
164
+ {
165
+ type: "function",
166
+ name: "subcompressors",
167
+ inputs: [
168
+ { name: "domain", type: "bytes32", internalType: "bytes32" },
169
+ { name: "postfix", type: "bytes32", internalType: "bytes32" }
170
+ ],
171
+ outputs: [{ name: "", type: "address", internalType: "address" }],
172
+ stateMutability: "view"
173
+ },
174
+ {
175
+ type: "function",
176
+ name: "version",
177
+ inputs: [],
178
+ outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
179
+ stateMutability: "view"
180
+ },
181
+ {
182
+ type: "error",
183
+ name: "CallerIsNotInstanceOwnerException",
184
+ inputs: [{ name: "caller", type: "address", internalType: "address" }]
185
+ },
186
+ {
187
+ type: "error",
188
+ name: "InvalidDomainException",
189
+ inputs: [{ name: "domain", type: "bytes32", internalType: "bytes32" }]
190
+ },
191
+ {
192
+ type: "error",
193
+ name: "InvalidKYCFactoryException",
194
+ inputs: [{ name: "factory", type: "address", internalType: "address" }]
195
+ },
196
+ {
197
+ type: "error",
198
+ name: "InvalidMarketConfiguratorException",
199
+ inputs: [
200
+ { name: "marketConfigurator", type: "address", internalType: "address" }
201
+ ]
202
+ }
203
+ ];
204
+ // Annotate the CommonJS export names for ESM import in node:
205
+ 0 && (module.exports = {
206
+ kycCompressorAbi
207
+ });
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var onDemandKYCUnderlyingSubcompressor_exports = {};
20
+ __export(onDemandKYCUnderlyingSubcompressor_exports, {
21
+ onDemandKYCUnderlyingSubcompressorAbi: () => onDemandKYCUnderlyingSubcompressorAbi
22
+ });
23
+ module.exports = __toCommonJS(onDemandKYCUnderlyingSubcompressor_exports);
24
+ const onDemandKYCUnderlyingSubcompressorAbi = [
25
+ {
26
+ type: "function",
27
+ name: "contractType",
28
+ inputs: [],
29
+ outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
30
+ stateMutability: "view"
31
+ },
32
+ {
33
+ type: "function",
34
+ name: "getCompressedType",
35
+ inputs: [],
36
+ outputs: [
37
+ { name: "", type: "bytes32", internalType: "bytes32" },
38
+ { name: "", type: "bytes32", internalType: "bytes32" }
39
+ ],
40
+ stateMutability: "pure"
41
+ },
42
+ {
43
+ type: "function",
44
+ name: "getUnderlyingData",
45
+ inputs: [{ name: "underlying", type: "address", internalType: "address" }],
46
+ outputs: [{ name: "", type: "bytes", internalType: "bytes" }],
47
+ stateMutability: "view"
48
+ },
49
+ {
50
+ type: "function",
51
+ name: "version",
52
+ inputs: [],
53
+ outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
54
+ stateMutability: "view"
55
+ }
56
+ ];
57
+ // Annotate the CommonJS export names for ESM import in node:
58
+ 0 && (module.exports = {
59
+ onDemandKYCUnderlyingSubcompressorAbi
60
+ });
@@ -0,0 +1,80 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var securitizeKYCFactorySubcompressor_exports = {};
20
+ __export(securitizeKYCFactorySubcompressor_exports, {
21
+ securitizeKYCFactorySubcompressorAbi: () => securitizeKYCFactorySubcompressorAbi
22
+ });
23
+ module.exports = __toCommonJS(securitizeKYCFactorySubcompressor_exports);
24
+ const securitizeKYCFactorySubcompressorAbi = [
25
+ {
26
+ type: "function",
27
+ name: "contractType",
28
+ inputs: [],
29
+ outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
30
+ stateMutability: "view"
31
+ },
32
+ {
33
+ type: "function",
34
+ name: "getCompressedType",
35
+ inputs: [],
36
+ outputs: [
37
+ { name: "", type: "bytes32", internalType: "bytes32" },
38
+ { name: "", type: "bytes32", internalType: "bytes32" }
39
+ ],
40
+ stateMutability: "pure"
41
+ },
42
+ {
43
+ type: "function",
44
+ name: "getCreditAccountData",
45
+ inputs: [
46
+ { name: "creditAccount", type: "address", internalType: "address" },
47
+ { name: "factory", type: "address", internalType: "address" }
48
+ ],
49
+ outputs: [{ name: "", type: "bytes", internalType: "bytes" }],
50
+ stateMutability: "view"
51
+ },
52
+ {
53
+ type: "function",
54
+ name: "getFactoryData",
55
+ inputs: [{ name: "", type: "address", internalType: "address" }],
56
+ outputs: [{ name: "", type: "bytes", internalType: "bytes" }],
57
+ stateMutability: "pure"
58
+ },
59
+ {
60
+ type: "function",
61
+ name: "getInvestorData",
62
+ inputs: [
63
+ { name: "investor", type: "address", internalType: "address" },
64
+ { name: "factory", type: "address", internalType: "address" }
65
+ ],
66
+ outputs: [{ name: "", type: "bytes", internalType: "bytes" }],
67
+ stateMutability: "view"
68
+ },
69
+ {
70
+ type: "function",
71
+ name: "version",
72
+ inputs: [],
73
+ outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
74
+ stateMutability: "view"
75
+ }
76
+ ];
77
+ // Annotate the CommonJS export names for ESM import in node:
78
+ 0 && (module.exports = {
79
+ securitizeKYCFactorySubcompressorAbi
80
+ });
@@ -0,0 +1,183 @@
1
+ const kycCompressorAbi = [
2
+ {
3
+ type: "constructor",
4
+ inputs: [
5
+ {
6
+ name: "addressProvider",
7
+ type: "address",
8
+ internalType: "contract IAddressProvider"
9
+ }
10
+ ],
11
+ stateMutability: "nonpayable"
12
+ },
13
+ {
14
+ type: "function",
15
+ name: "contractType",
16
+ inputs: [],
17
+ outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
18
+ stateMutability: "view"
19
+ },
20
+ {
21
+ type: "function",
22
+ name: "getKYCInvestorData",
23
+ inputs: [
24
+ { name: "investor", type: "address", internalType: "address" },
25
+ { name: "factories", type: "address[]", internalType: "address[]" }
26
+ ],
27
+ outputs: [
28
+ {
29
+ name: "investorData",
30
+ type: "tuple[]",
31
+ internalType: "struct IKYCCompressor.KYCInvestorData[]",
32
+ components: [
33
+ {
34
+ name: "creditAccounts",
35
+ type: "tuple[]",
36
+ internalType: "struct IKYCCompressor.KYCCreditAccountData[]",
37
+ components: [
38
+ {
39
+ name: "creditAccount",
40
+ type: "address",
41
+ internalType: "address"
42
+ },
43
+ { name: "wallet", type: "address", internalType: "address" },
44
+ { name: "frozen", type: "bool", internalType: "bool" },
45
+ { name: "extraDetails", type: "bytes", internalType: "bytes" }
46
+ ]
47
+ },
48
+ { name: "extraDetails", type: "bytes", internalType: "bytes" }
49
+ ]
50
+ }
51
+ ],
52
+ stateMutability: "view"
53
+ },
54
+ {
55
+ type: "function",
56
+ name: "getKYCMarketsData",
57
+ inputs: [
58
+ { name: "configurators", type: "address[]", internalType: "address[]" },
59
+ { name: "factories", type: "address[]", internalType: "address[]" }
60
+ ],
61
+ outputs: [
62
+ {
63
+ name: "underlyingsData",
64
+ type: "tuple[]",
65
+ internalType: "struct IKYCCompressor.KYCUnderlyingData[]",
66
+ components: [
67
+ {
68
+ name: "baseParams",
69
+ type: "tuple",
70
+ internalType: "struct BaseParams",
71
+ components: [
72
+ { name: "addr", type: "address", internalType: "address" },
73
+ { name: "version", type: "uint256", internalType: "uint256" },
74
+ {
75
+ name: "contractType",
76
+ type: "bytes32",
77
+ internalType: "bytes32"
78
+ },
79
+ {
80
+ name: "serializedParams",
81
+ type: "bytes",
82
+ internalType: "bytes"
83
+ }
84
+ ]
85
+ },
86
+ { name: "asset", type: "address", internalType: "address" },
87
+ { name: "factory", type: "address", internalType: "address" },
88
+ { name: "extraDetails", type: "bytes", internalType: "bytes" }
89
+ ]
90
+ },
91
+ {
92
+ name: "factoriesData",
93
+ type: "tuple[]",
94
+ internalType: "struct IKYCCompressor.KYCFactoryData[]",
95
+ components: [
96
+ {
97
+ name: "baseParams",
98
+ type: "tuple",
99
+ internalType: "struct BaseParams",
100
+ components: [
101
+ { name: "addr", type: "address", internalType: "address" },
102
+ { name: "version", type: "uint256", internalType: "uint256" },
103
+ {
104
+ name: "contractType",
105
+ type: "bytes32",
106
+ internalType: "bytes32"
107
+ },
108
+ {
109
+ name: "serializedParams",
110
+ type: "bytes",
111
+ internalType: "bytes"
112
+ }
113
+ ]
114
+ },
115
+ {
116
+ name: "tokens",
117
+ type: "tuple[]",
118
+ internalType: "struct TokenData[]",
119
+ components: [
120
+ { name: "addr", type: "address", internalType: "address" },
121
+ { name: "symbol", type: "string", internalType: "string" },
122
+ { name: "name", type: "string", internalType: "string" },
123
+ { name: "decimals", type: "uint8", internalType: "uint8" }
124
+ ]
125
+ },
126
+ { name: "extraDetails", type: "bytes", internalType: "bytes" }
127
+ ]
128
+ }
129
+ ],
130
+ stateMutability: "view"
131
+ },
132
+ {
133
+ type: "function",
134
+ name: "setSubcompressor",
135
+ inputs: [
136
+ { name: "subcompressor", type: "address", internalType: "address" }
137
+ ],
138
+ outputs: [],
139
+ stateMutability: "nonpayable"
140
+ },
141
+ {
142
+ type: "function",
143
+ name: "subcompressors",
144
+ inputs: [
145
+ { name: "domain", type: "bytes32", internalType: "bytes32" },
146
+ { name: "postfix", type: "bytes32", internalType: "bytes32" }
147
+ ],
148
+ outputs: [{ name: "", type: "address", internalType: "address" }],
149
+ stateMutability: "view"
150
+ },
151
+ {
152
+ type: "function",
153
+ name: "version",
154
+ inputs: [],
155
+ outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
156
+ stateMutability: "view"
157
+ },
158
+ {
159
+ type: "error",
160
+ name: "CallerIsNotInstanceOwnerException",
161
+ inputs: [{ name: "caller", type: "address", internalType: "address" }]
162
+ },
163
+ {
164
+ type: "error",
165
+ name: "InvalidDomainException",
166
+ inputs: [{ name: "domain", type: "bytes32", internalType: "bytes32" }]
167
+ },
168
+ {
169
+ type: "error",
170
+ name: "InvalidKYCFactoryException",
171
+ inputs: [{ name: "factory", type: "address", internalType: "address" }]
172
+ },
173
+ {
174
+ type: "error",
175
+ name: "InvalidMarketConfiguratorException",
176
+ inputs: [
177
+ { name: "marketConfigurator", type: "address", internalType: "address" }
178
+ ]
179
+ }
180
+ ];
181
+ export {
182
+ kycCompressorAbi
183
+ };
@@ -0,0 +1,36 @@
1
+ const onDemandKYCUnderlyingSubcompressorAbi = [
2
+ {
3
+ type: "function",
4
+ name: "contractType",
5
+ inputs: [],
6
+ outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
7
+ stateMutability: "view"
8
+ },
9
+ {
10
+ type: "function",
11
+ name: "getCompressedType",
12
+ inputs: [],
13
+ outputs: [
14
+ { name: "", type: "bytes32", internalType: "bytes32" },
15
+ { name: "", type: "bytes32", internalType: "bytes32" }
16
+ ],
17
+ stateMutability: "pure"
18
+ },
19
+ {
20
+ type: "function",
21
+ name: "getUnderlyingData",
22
+ inputs: [{ name: "underlying", type: "address", internalType: "address" }],
23
+ outputs: [{ name: "", type: "bytes", internalType: "bytes" }],
24
+ stateMutability: "view"
25
+ },
26
+ {
27
+ type: "function",
28
+ name: "version",
29
+ inputs: [],
30
+ outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
31
+ stateMutability: "view"
32
+ }
33
+ ];
34
+ export {
35
+ onDemandKYCUnderlyingSubcompressorAbi
36
+ };
@@ -0,0 +1,56 @@
1
+ const securitizeKYCFactorySubcompressorAbi = [
2
+ {
3
+ type: "function",
4
+ name: "contractType",
5
+ inputs: [],
6
+ outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
7
+ stateMutability: "view"
8
+ },
9
+ {
10
+ type: "function",
11
+ name: "getCompressedType",
12
+ inputs: [],
13
+ outputs: [
14
+ { name: "", type: "bytes32", internalType: "bytes32" },
15
+ { name: "", type: "bytes32", internalType: "bytes32" }
16
+ ],
17
+ stateMutability: "pure"
18
+ },
19
+ {
20
+ type: "function",
21
+ name: "getCreditAccountData",
22
+ inputs: [
23
+ { name: "creditAccount", type: "address", internalType: "address" },
24
+ { name: "factory", type: "address", internalType: "address" }
25
+ ],
26
+ outputs: [{ name: "", type: "bytes", internalType: "bytes" }],
27
+ stateMutability: "view"
28
+ },
29
+ {
30
+ type: "function",
31
+ name: "getFactoryData",
32
+ inputs: [{ name: "", type: "address", internalType: "address" }],
33
+ outputs: [{ name: "", type: "bytes", internalType: "bytes" }],
34
+ stateMutability: "pure"
35
+ },
36
+ {
37
+ type: "function",
38
+ name: "getInvestorData",
39
+ inputs: [
40
+ { name: "investor", type: "address", internalType: "address" },
41
+ { name: "factory", type: "address", internalType: "address" }
42
+ ],
43
+ outputs: [{ name: "", type: "bytes", internalType: "bytes" }],
44
+ stateMutability: "view"
45
+ },
46
+ {
47
+ type: "function",
48
+ name: "version",
49
+ inputs: [],
50
+ outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
51
+ stateMutability: "view"
52
+ }
53
+ ];
54
+ export {
55
+ securitizeKYCFactorySubcompressorAbi
56
+ };
@@ -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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/sdk",
3
- "version": "14.5.3",
3
+ "version": "14.5.5",
4
4
  "description": "Gearbox SDK",
5
5
  "license": "MIT",
6
6
  "main": "./dist/cjs/sdk/index.js",