@gearbox-protocol/sdk 14.5.3 → 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/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/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/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,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
|
+
};
|
package/dist/esm/abi/compressors/subcompressors/withdrawal/securitizeRedemptionSubcompressor.js
ADDED
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
const securitizeRedemptionSubcompressorAbi = [
|
|
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: "getCurrentWithdrawals",
|
|
12
|
+
inputs: [
|
|
13
|
+
{ name: "creditAccount", type: "address", internalType: "address" },
|
|
14
|
+
{ name: "token", type: "address", internalType: "address" }
|
|
15
|
+
],
|
|
16
|
+
outputs: [
|
|
17
|
+
{
|
|
18
|
+
name: "",
|
|
19
|
+
type: "tuple[]",
|
|
20
|
+
internalType: "struct ClaimableWithdrawal[]",
|
|
21
|
+
components: [
|
|
22
|
+
{ name: "token", type: "address", internalType: "address" },
|
|
23
|
+
{
|
|
24
|
+
name: "withdrawalPhantomToken",
|
|
25
|
+
type: "address",
|
|
26
|
+
internalType: "address"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
name: "withdrawalTokenSpent",
|
|
30
|
+
type: "uint256",
|
|
31
|
+
internalType: "uint256"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
name: "outputs",
|
|
35
|
+
type: "tuple[]",
|
|
36
|
+
internalType: "struct WithdrawalOutput[]",
|
|
37
|
+
components: [
|
|
38
|
+
{ name: "token", type: "address", internalType: "address" },
|
|
39
|
+
{ name: "isDelayed", type: "bool", internalType: "bool" },
|
|
40
|
+
{ name: "amount", type: "uint256", internalType: "uint256" }
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
name: "claimCalls",
|
|
45
|
+
type: "tuple[]",
|
|
46
|
+
internalType: "struct MultiCall[]",
|
|
47
|
+
components: [
|
|
48
|
+
{ name: "target", type: "address", internalType: "address" },
|
|
49
|
+
{ name: "callData", type: "bytes", internalType: "bytes" }
|
|
50
|
+
]
|
|
51
|
+
}
|
|
52
|
+
]
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
name: "",
|
|
56
|
+
type: "tuple[]",
|
|
57
|
+
internalType: "struct PendingWithdrawal[]",
|
|
58
|
+
components: [
|
|
59
|
+
{ name: "token", type: "address", internalType: "address" },
|
|
60
|
+
{
|
|
61
|
+
name: "withdrawalPhantomToken",
|
|
62
|
+
type: "address",
|
|
63
|
+
internalType: "address"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
name: "expectedOutputs",
|
|
67
|
+
type: "tuple[]",
|
|
68
|
+
internalType: "struct WithdrawalOutput[]",
|
|
69
|
+
components: [
|
|
70
|
+
{ name: "token", type: "address", internalType: "address" },
|
|
71
|
+
{ name: "isDelayed", type: "bool", internalType: "bool" },
|
|
72
|
+
{ name: "amount", type: "uint256", internalType: "uint256" }
|
|
73
|
+
]
|
|
74
|
+
},
|
|
75
|
+
{ name: "claimableAt", type: "uint256", internalType: "uint256" }
|
|
76
|
+
]
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
stateMutability: "view"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
type: "function",
|
|
83
|
+
name: "getWithdrawableAssets",
|
|
84
|
+
inputs: [
|
|
85
|
+
{ name: "", type: "address", internalType: "address" },
|
|
86
|
+
{ name: "token", type: "address", internalType: "address" }
|
|
87
|
+
],
|
|
88
|
+
outputs: [
|
|
89
|
+
{
|
|
90
|
+
name: "",
|
|
91
|
+
type: "tuple[]",
|
|
92
|
+
internalType: "struct WithdrawableAsset[]",
|
|
93
|
+
components: [
|
|
94
|
+
{ name: "token", type: "address", internalType: "address" },
|
|
95
|
+
{
|
|
96
|
+
name: "withdrawalPhantomToken",
|
|
97
|
+
type: "address",
|
|
98
|
+
internalType: "address"
|
|
99
|
+
},
|
|
100
|
+
{ name: "underlying", type: "address", internalType: "address" },
|
|
101
|
+
{
|
|
102
|
+
name: "withdrawalLength",
|
|
103
|
+
type: "uint256",
|
|
104
|
+
internalType: "uint256"
|
|
105
|
+
}
|
|
106
|
+
]
|
|
107
|
+
}
|
|
108
|
+
],
|
|
109
|
+
stateMutability: "view"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
type: "function",
|
|
113
|
+
name: "getWithdrawalRequestResult",
|
|
114
|
+
inputs: [
|
|
115
|
+
{ name: "creditAccount", type: "address", internalType: "address" },
|
|
116
|
+
{ name: "token", type: "address", internalType: "address" },
|
|
117
|
+
{ name: "withdrawalToken", type: "address", internalType: "address" },
|
|
118
|
+
{ name: "amount", type: "uint256", internalType: "uint256" }
|
|
119
|
+
],
|
|
120
|
+
outputs: [
|
|
121
|
+
{
|
|
122
|
+
name: "requestableWithdrawal",
|
|
123
|
+
type: "tuple",
|
|
124
|
+
internalType: "struct RequestableWithdrawal",
|
|
125
|
+
components: [
|
|
126
|
+
{ name: "token", type: "address", internalType: "address" },
|
|
127
|
+
{ name: "amountIn", type: "uint256", internalType: "uint256" },
|
|
128
|
+
{
|
|
129
|
+
name: "outputs",
|
|
130
|
+
type: "tuple[]",
|
|
131
|
+
internalType: "struct WithdrawalOutput[]",
|
|
132
|
+
components: [
|
|
133
|
+
{ name: "token", type: "address", internalType: "address" },
|
|
134
|
+
{ name: "isDelayed", type: "bool", internalType: "bool" },
|
|
135
|
+
{ name: "amount", type: "uint256", internalType: "uint256" }
|
|
136
|
+
]
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
name: "requestCalls",
|
|
140
|
+
type: "tuple[]",
|
|
141
|
+
internalType: "struct MultiCall[]",
|
|
142
|
+
components: [
|
|
143
|
+
{ name: "target", type: "address", internalType: "address" },
|
|
144
|
+
{ name: "callData", type: "bytes", internalType: "bytes" }
|
|
145
|
+
]
|
|
146
|
+
},
|
|
147
|
+
{ name: "claimableAt", type: "uint256", internalType: "uint256" }
|
|
148
|
+
]
|
|
149
|
+
}
|
|
150
|
+
],
|
|
151
|
+
stateMutability: "view"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
type: "function",
|
|
155
|
+
name: "version",
|
|
156
|
+
inputs: [],
|
|
157
|
+
outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
|
|
158
|
+
stateMutability: "view"
|
|
159
|
+
}
|
|
160
|
+
];
|
|
161
|
+
export {
|
|
162
|
+
securitizeRedemptionSubcompressorAbi
|
|
163
|
+
};
|
|
@@ -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
|
+
}];
|