@verified-network/verified-sdk 2.4.9 → 2.5.1
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/contract/amm/margin/index.d.ts +1 -1
- package/dist/contract/amm/margin/index.js +2 -2
- package/dist/contract/amm/primary/index.d.ts +1 -1
- package/dist/contract/amm/primary/index.js +2 -2
- package/dist/contract/amm/secondary/index.d.ts +1 -1
- package/dist/contract/amm/secondary/index.js +2 -2
- package/dist/contract/bond/index.d.ts +1 -1
- package/dist/contract/bond/index.js +2 -2
- package/dist/contract/cash/index.d.ts +1 -1
- package/dist/contract/cash/index.js +2 -2
- package/dist/contract/client/index.d.ts +1 -1
- package/dist/contract/client/index.js +2 -2
- package/dist/contract/custody/index.d.ts +1 -1
- package/dist/contract/custody/index.js +2 -2
- package/dist/contract/distribution/index.d.ts +1 -1
- package/dist/contract/distribution/index.js +2 -2
- package/dist/contract/erc20/index.d.ts +1 -1
- package/dist/contract/erc20/index.js +2 -2
- package/dist/contract/factory/index.d.ts +1 -1
- package/dist/contract/factory/index.js +2 -2
- package/dist/contract/index.d.ts +2 -1
- package/dist/contract/index.js +85 -37
- package/dist/contract/liquidity/index.d.ts +1 -1
- package/dist/contract/liquidity/index.js +2 -2
- package/dist/contract/loans/compound/index.d.ts +1 -1
- package/dist/contract/loans/compound/index.js +2 -2
- package/dist/contract/pool/index.d.ts +1 -1
- package/dist/contract/pool/index.js +2 -2
- package/dist/contract/rates/index.d.ts +1 -1
- package/dist/contract/rates/index.js +2 -2
- package/dist/contract/securitiesfactory/index.d.ts +1 -1
- package/dist/contract/securitiesfactory/index.js +2 -2
- package/dist/contract/security/index.d.ts +1 -1
- package/dist/contract/security/index.js +2 -2
- package/dist/contract/token/index.d.ts +1 -1
- package/dist/contract/token/index.js +2 -2
- package/dist/contractAddress/index.js +302 -302
- package/dist/lib/abi/boostrap.d.ts +878 -0
- package/dist/lib/abi/boostrap.js +1151 -0
- package/dist/lib/abi/boostrap.json +1150 -0
- package/dist/lib/abi/composability.d.ts +66 -0
- package/dist/lib/abi/composability.js +273 -0
- package/dist/lib/abi/entrypoint.d.ts +775 -0
- package/dist/lib/abi/entrypoint.js +660 -0
- package/dist/lib/abi/factory.json +325 -0
- package/dist/lib/biconomyRNFix.d.ts +20737 -0
- package/dist/lib/biconomyRNFix.js +974 -0
- package/dist/utils/constants.js +3 -0
- package/package.json +2 -2
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
export declare const COMPOSABILITY_MODULE_ABI: ({
|
|
2
|
+
inputs: never[];
|
|
3
|
+
stateMutability: string;
|
|
4
|
+
type: string;
|
|
5
|
+
name?: undefined;
|
|
6
|
+
outputs?: undefined;
|
|
7
|
+
} | {
|
|
8
|
+
inputs: {
|
|
9
|
+
internalType: string;
|
|
10
|
+
name: string;
|
|
11
|
+
type: string;
|
|
12
|
+
}[];
|
|
13
|
+
name: string;
|
|
14
|
+
type: string;
|
|
15
|
+
stateMutability?: undefined;
|
|
16
|
+
outputs?: undefined;
|
|
17
|
+
} | {
|
|
18
|
+
inputs: {
|
|
19
|
+
components: ({
|
|
20
|
+
internalType: string;
|
|
21
|
+
name: string;
|
|
22
|
+
type: string;
|
|
23
|
+
components?: undefined;
|
|
24
|
+
} | {
|
|
25
|
+
components: ({
|
|
26
|
+
internalType: string;
|
|
27
|
+
name: string;
|
|
28
|
+
type: string;
|
|
29
|
+
components?: undefined;
|
|
30
|
+
} | {
|
|
31
|
+
components: {
|
|
32
|
+
internalType: string;
|
|
33
|
+
name: string;
|
|
34
|
+
type: string;
|
|
35
|
+
}[];
|
|
36
|
+
internalType: string;
|
|
37
|
+
name: string;
|
|
38
|
+
type: string;
|
|
39
|
+
})[];
|
|
40
|
+
internalType: string;
|
|
41
|
+
name: string;
|
|
42
|
+
type: string;
|
|
43
|
+
})[];
|
|
44
|
+
internalType: string;
|
|
45
|
+
name: string;
|
|
46
|
+
type: string;
|
|
47
|
+
}[];
|
|
48
|
+
name: string;
|
|
49
|
+
outputs: never[];
|
|
50
|
+
stateMutability: string;
|
|
51
|
+
type: string;
|
|
52
|
+
} | {
|
|
53
|
+
inputs: {
|
|
54
|
+
internalType: string;
|
|
55
|
+
name: string;
|
|
56
|
+
type: string;
|
|
57
|
+
}[];
|
|
58
|
+
name: string;
|
|
59
|
+
outputs: {
|
|
60
|
+
internalType: string;
|
|
61
|
+
name: string;
|
|
62
|
+
type: string;
|
|
63
|
+
}[];
|
|
64
|
+
stateMutability: string;
|
|
65
|
+
type: string;
|
|
66
|
+
})[];
|
|
@@ -0,0 +1,273 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.COMPOSABILITY_MODULE_ABI = void 0;
|
|
4
|
+
exports.COMPOSABILITY_MODULE_ABI = [
|
|
5
|
+
{ inputs: [], stateMutability: "nonpayable", type: "constructor" },
|
|
6
|
+
{
|
|
7
|
+
inputs: [
|
|
8
|
+
{ internalType: "address", name: "smartAccount", type: "address" },
|
|
9
|
+
],
|
|
10
|
+
name: "AlreadyInitialized",
|
|
11
|
+
type: "error",
|
|
12
|
+
},
|
|
13
|
+
{ inputs: [], name: "ComposableExecutionFailed", type: "error" },
|
|
14
|
+
{
|
|
15
|
+
inputs: [
|
|
16
|
+
{
|
|
17
|
+
internalType: "enum ConstraintType",
|
|
18
|
+
name: "constraintType",
|
|
19
|
+
type: "uint8",
|
|
20
|
+
},
|
|
21
|
+
],
|
|
22
|
+
name: "ConstraintNotMet",
|
|
23
|
+
type: "error",
|
|
24
|
+
},
|
|
25
|
+
{ inputs: [], name: "FailedToReturnMsgValue", type: "error" },
|
|
26
|
+
{ inputs: [], name: "InvalidConstraintType", type: "error" },
|
|
27
|
+
{ inputs: [], name: "InvalidOutputParamFetcherType", type: "error" },
|
|
28
|
+
{ inputs: [], name: "InvalidParameterEncoding", type: "error" },
|
|
29
|
+
{
|
|
30
|
+
inputs: [
|
|
31
|
+
{ internalType: "address", name: "smartAccount", type: "address" },
|
|
32
|
+
],
|
|
33
|
+
name: "NotInitialized",
|
|
34
|
+
type: "error",
|
|
35
|
+
},
|
|
36
|
+
{ inputs: [], name: "OnlyEntryPointOrAccount", type: "error" },
|
|
37
|
+
{ inputs: [], name: "Output_StaticCallFailed", type: "error" },
|
|
38
|
+
{ inputs: [], name: "ZeroAddressNotAllowed", type: "error" },
|
|
39
|
+
{
|
|
40
|
+
inputs: [],
|
|
41
|
+
name: "ENTRY_POINT_V07_ADDRESS",
|
|
42
|
+
outputs: [{ internalType: "address", name: "", type: "address" }],
|
|
43
|
+
stateMutability: "view",
|
|
44
|
+
type: "function",
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
inputs: [
|
|
48
|
+
{
|
|
49
|
+
components: [
|
|
50
|
+
{ internalType: "address", name: "to", type: "address" },
|
|
51
|
+
{ internalType: "uint256", name: "value", type: "uint256" },
|
|
52
|
+
{ internalType: "bytes4", name: "functionSig", type: "bytes4" },
|
|
53
|
+
{
|
|
54
|
+
components: [
|
|
55
|
+
{
|
|
56
|
+
internalType: "enum InputParamFetcherType",
|
|
57
|
+
name: "fetcherType",
|
|
58
|
+
type: "uint8",
|
|
59
|
+
},
|
|
60
|
+
{ internalType: "bytes", name: "paramData", type: "bytes" },
|
|
61
|
+
{
|
|
62
|
+
components: [
|
|
63
|
+
{
|
|
64
|
+
internalType: "enum ConstraintType",
|
|
65
|
+
name: "constraintType",
|
|
66
|
+
type: "uint8",
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
internalType: "bytes",
|
|
70
|
+
name: "referenceData",
|
|
71
|
+
type: "bytes",
|
|
72
|
+
},
|
|
73
|
+
],
|
|
74
|
+
internalType: "struct Constraint[]",
|
|
75
|
+
name: "constraints",
|
|
76
|
+
type: "tuple[]",
|
|
77
|
+
},
|
|
78
|
+
],
|
|
79
|
+
internalType: "struct InputParam[]",
|
|
80
|
+
name: "inputParams",
|
|
81
|
+
type: "tuple[]",
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
components: [
|
|
85
|
+
{
|
|
86
|
+
internalType: "enum OutputParamFetcherType",
|
|
87
|
+
name: "fetcherType",
|
|
88
|
+
type: "uint8",
|
|
89
|
+
},
|
|
90
|
+
{ internalType: "bytes", name: "paramData", type: "bytes" },
|
|
91
|
+
],
|
|
92
|
+
internalType: "struct OutputParam[]",
|
|
93
|
+
name: "outputParams",
|
|
94
|
+
type: "tuple[]",
|
|
95
|
+
},
|
|
96
|
+
],
|
|
97
|
+
internalType: "struct ComposableExecution[]",
|
|
98
|
+
name: "executions",
|
|
99
|
+
type: "tuple[]",
|
|
100
|
+
},
|
|
101
|
+
],
|
|
102
|
+
name: "executeComposable",
|
|
103
|
+
outputs: [],
|
|
104
|
+
stateMutability: "payable",
|
|
105
|
+
type: "function",
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
inputs: [
|
|
109
|
+
{
|
|
110
|
+
components: [
|
|
111
|
+
{ internalType: "address", name: "to", type: "address" },
|
|
112
|
+
{ internalType: "uint256", name: "value", type: "uint256" },
|
|
113
|
+
{ internalType: "bytes4", name: "functionSig", type: "bytes4" },
|
|
114
|
+
{
|
|
115
|
+
components: [
|
|
116
|
+
{
|
|
117
|
+
internalType: "enum InputParamFetcherType",
|
|
118
|
+
name: "fetcherType",
|
|
119
|
+
type: "uint8",
|
|
120
|
+
},
|
|
121
|
+
{ internalType: "bytes", name: "paramData", type: "bytes" },
|
|
122
|
+
{
|
|
123
|
+
components: [
|
|
124
|
+
{
|
|
125
|
+
internalType: "enum ConstraintType",
|
|
126
|
+
name: "constraintType",
|
|
127
|
+
type: "uint8",
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
internalType: "bytes",
|
|
131
|
+
name: "referenceData",
|
|
132
|
+
type: "bytes",
|
|
133
|
+
},
|
|
134
|
+
],
|
|
135
|
+
internalType: "struct Constraint[]",
|
|
136
|
+
name: "constraints",
|
|
137
|
+
type: "tuple[]",
|
|
138
|
+
},
|
|
139
|
+
],
|
|
140
|
+
internalType: "struct InputParam[]",
|
|
141
|
+
name: "inputParams",
|
|
142
|
+
type: "tuple[]",
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
components: [
|
|
146
|
+
{
|
|
147
|
+
internalType: "enum OutputParamFetcherType",
|
|
148
|
+
name: "fetcherType",
|
|
149
|
+
type: "uint8",
|
|
150
|
+
},
|
|
151
|
+
{ internalType: "bytes", name: "paramData", type: "bytes" },
|
|
152
|
+
],
|
|
153
|
+
internalType: "struct OutputParam[]",
|
|
154
|
+
name: "outputParams",
|
|
155
|
+
type: "tuple[]",
|
|
156
|
+
},
|
|
157
|
+
],
|
|
158
|
+
internalType: "struct ComposableExecution[]",
|
|
159
|
+
name: "executions",
|
|
160
|
+
type: "tuple[]",
|
|
161
|
+
},
|
|
162
|
+
],
|
|
163
|
+
name: "executeComposableCall",
|
|
164
|
+
outputs: [],
|
|
165
|
+
stateMutability: "nonpayable",
|
|
166
|
+
type: "function",
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
inputs: [
|
|
170
|
+
{
|
|
171
|
+
components: [
|
|
172
|
+
{ internalType: "address", name: "to", type: "address" },
|
|
173
|
+
{ internalType: "uint256", name: "value", type: "uint256" },
|
|
174
|
+
{ internalType: "bytes4", name: "functionSig", type: "bytes4" },
|
|
175
|
+
{
|
|
176
|
+
components: [
|
|
177
|
+
{
|
|
178
|
+
internalType: "enum InputParamFetcherType",
|
|
179
|
+
name: "fetcherType",
|
|
180
|
+
type: "uint8",
|
|
181
|
+
},
|
|
182
|
+
{ internalType: "bytes", name: "paramData", type: "bytes" },
|
|
183
|
+
{
|
|
184
|
+
components: [
|
|
185
|
+
{
|
|
186
|
+
internalType: "enum ConstraintType",
|
|
187
|
+
name: "constraintType",
|
|
188
|
+
type: "uint8",
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
internalType: "bytes",
|
|
192
|
+
name: "referenceData",
|
|
193
|
+
type: "bytes",
|
|
194
|
+
},
|
|
195
|
+
],
|
|
196
|
+
internalType: "struct Constraint[]",
|
|
197
|
+
name: "constraints",
|
|
198
|
+
type: "tuple[]",
|
|
199
|
+
},
|
|
200
|
+
],
|
|
201
|
+
internalType: "struct InputParam[]",
|
|
202
|
+
name: "inputParams",
|
|
203
|
+
type: "tuple[]",
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
components: [
|
|
207
|
+
{
|
|
208
|
+
internalType: "enum OutputParamFetcherType",
|
|
209
|
+
name: "fetcherType",
|
|
210
|
+
type: "uint8",
|
|
211
|
+
},
|
|
212
|
+
{ internalType: "bytes", name: "paramData", type: "bytes" },
|
|
213
|
+
],
|
|
214
|
+
internalType: "struct OutputParam[]",
|
|
215
|
+
name: "outputParams",
|
|
216
|
+
type: "tuple[]",
|
|
217
|
+
},
|
|
218
|
+
],
|
|
219
|
+
internalType: "struct ComposableExecution[]",
|
|
220
|
+
name: "executions",
|
|
221
|
+
type: "tuple[]",
|
|
222
|
+
},
|
|
223
|
+
],
|
|
224
|
+
name: "executeComposableDelegateCall",
|
|
225
|
+
outputs: [],
|
|
226
|
+
stateMutability: "nonpayable",
|
|
227
|
+
type: "function",
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
inputs: [{ internalType: "address", name: "account", type: "address" }],
|
|
231
|
+
name: "getEntryPoint",
|
|
232
|
+
outputs: [{ internalType: "address", name: "", type: "address" }],
|
|
233
|
+
stateMutability: "view",
|
|
234
|
+
type: "function",
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
inputs: [{ internalType: "address", name: "account", type: "address" }],
|
|
238
|
+
name: "isInitialized",
|
|
239
|
+
outputs: [{ internalType: "bool", name: "", type: "bool" }],
|
|
240
|
+
stateMutability: "view",
|
|
241
|
+
type: "function",
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
inputs: [
|
|
245
|
+
{ internalType: "uint256", name: "moduleTypeId", type: "uint256" },
|
|
246
|
+
],
|
|
247
|
+
name: "isModuleType",
|
|
248
|
+
outputs: [{ internalType: "bool", name: "", type: "bool" }],
|
|
249
|
+
stateMutability: "pure",
|
|
250
|
+
type: "function",
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
inputs: [{ internalType: "bytes", name: "data", type: "bytes" }],
|
|
254
|
+
name: "onInstall",
|
|
255
|
+
outputs: [],
|
|
256
|
+
stateMutability: "nonpayable",
|
|
257
|
+
type: "function",
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
inputs: [{ internalType: "bytes", name: "data", type: "bytes" }],
|
|
261
|
+
name: "onUninstall",
|
|
262
|
+
outputs: [],
|
|
263
|
+
stateMutability: "nonpayable",
|
|
264
|
+
type: "function",
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
inputs: [{ internalType: "address", name: "_entryPoint", type: "address" }],
|
|
268
|
+
name: "setEntryPoint",
|
|
269
|
+
outputs: [],
|
|
270
|
+
stateMutability: "nonpayable",
|
|
271
|
+
type: "function",
|
|
272
|
+
},
|
|
273
|
+
];
|