@lombard.finance/sdk 2.4.0 → 2.4.2

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.
@@ -0,0 +1,452 @@
1
+ [
2
+ {
3
+ "inputs": [
4
+ { "internalType": "address", "name": "_owner", "type": "address" },
5
+ { "internalType": "string", "name": "_name", "type": "string" },
6
+ { "internalType": "string", "name": "_symbol", "type": "string" },
7
+ { "internalType": "uint8", "name": "_decimals", "type": "uint8" }
8
+ ],
9
+ "stateMutability": "nonpayable",
10
+ "type": "constructor"
11
+ },
12
+ {
13
+ "inputs": [
14
+ { "internalType": "address", "name": "target", "type": "address" }
15
+ ],
16
+ "name": "AddressEmptyCode",
17
+ "type": "error"
18
+ },
19
+ {
20
+ "inputs": [
21
+ { "internalType": "address", "name": "account", "type": "address" }
22
+ ],
23
+ "name": "AddressInsufficientBalance",
24
+ "type": "error"
25
+ },
26
+ { "inputs": [], "name": "FailedInnerCall", "type": "error" },
27
+ {
28
+ "anonymous": false,
29
+ "inputs": [
30
+ {
31
+ "indexed": true,
32
+ "internalType": "address",
33
+ "name": "owner",
34
+ "type": "address"
35
+ },
36
+ {
37
+ "indexed": true,
38
+ "internalType": "address",
39
+ "name": "spender",
40
+ "type": "address"
41
+ },
42
+ {
43
+ "indexed": false,
44
+ "internalType": "uint256",
45
+ "name": "amount",
46
+ "type": "uint256"
47
+ }
48
+ ],
49
+ "name": "Approval",
50
+ "type": "event"
51
+ },
52
+ {
53
+ "anonymous": false,
54
+ "inputs": [
55
+ {
56
+ "indexed": true,
57
+ "internalType": "address",
58
+ "name": "user",
59
+ "type": "address"
60
+ },
61
+ {
62
+ "indexed": true,
63
+ "internalType": "contract Authority",
64
+ "name": "newAuthority",
65
+ "type": "address"
66
+ }
67
+ ],
68
+ "name": "AuthorityUpdated",
69
+ "type": "event"
70
+ },
71
+ {
72
+ "anonymous": false,
73
+ "inputs": [
74
+ {
75
+ "indexed": true,
76
+ "internalType": "address",
77
+ "name": "from",
78
+ "type": "address"
79
+ },
80
+ {
81
+ "indexed": true,
82
+ "internalType": "address",
83
+ "name": "asset",
84
+ "type": "address"
85
+ },
86
+ {
87
+ "indexed": false,
88
+ "internalType": "uint256",
89
+ "name": "amount",
90
+ "type": "uint256"
91
+ },
92
+ {
93
+ "indexed": true,
94
+ "internalType": "address",
95
+ "name": "to",
96
+ "type": "address"
97
+ },
98
+ {
99
+ "indexed": false,
100
+ "internalType": "uint256",
101
+ "name": "shares",
102
+ "type": "uint256"
103
+ }
104
+ ],
105
+ "name": "Enter",
106
+ "type": "event"
107
+ },
108
+ {
109
+ "anonymous": false,
110
+ "inputs": [
111
+ {
112
+ "indexed": true,
113
+ "internalType": "address",
114
+ "name": "to",
115
+ "type": "address"
116
+ },
117
+ {
118
+ "indexed": true,
119
+ "internalType": "address",
120
+ "name": "asset",
121
+ "type": "address"
122
+ },
123
+ {
124
+ "indexed": false,
125
+ "internalType": "uint256",
126
+ "name": "amount",
127
+ "type": "uint256"
128
+ },
129
+ {
130
+ "indexed": true,
131
+ "internalType": "address",
132
+ "name": "from",
133
+ "type": "address"
134
+ },
135
+ {
136
+ "indexed": false,
137
+ "internalType": "uint256",
138
+ "name": "shares",
139
+ "type": "uint256"
140
+ }
141
+ ],
142
+ "name": "Exit",
143
+ "type": "event"
144
+ },
145
+ {
146
+ "anonymous": false,
147
+ "inputs": [
148
+ {
149
+ "indexed": true,
150
+ "internalType": "address",
151
+ "name": "user",
152
+ "type": "address"
153
+ },
154
+ {
155
+ "indexed": true,
156
+ "internalType": "address",
157
+ "name": "newOwner",
158
+ "type": "address"
159
+ }
160
+ ],
161
+ "name": "OwnershipTransferred",
162
+ "type": "event"
163
+ },
164
+ {
165
+ "anonymous": false,
166
+ "inputs": [
167
+ {
168
+ "indexed": true,
169
+ "internalType": "address",
170
+ "name": "from",
171
+ "type": "address"
172
+ },
173
+ {
174
+ "indexed": true,
175
+ "internalType": "address",
176
+ "name": "to",
177
+ "type": "address"
178
+ },
179
+ {
180
+ "indexed": false,
181
+ "internalType": "uint256",
182
+ "name": "amount",
183
+ "type": "uint256"
184
+ }
185
+ ],
186
+ "name": "Transfer",
187
+ "type": "event"
188
+ },
189
+ {
190
+ "inputs": [],
191
+ "name": "DOMAIN_SEPARATOR",
192
+ "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
193
+ "stateMutability": "view",
194
+ "type": "function"
195
+ },
196
+ {
197
+ "inputs": [
198
+ { "internalType": "address", "name": "", "type": "address" },
199
+ { "internalType": "address", "name": "", "type": "address" }
200
+ ],
201
+ "name": "allowance",
202
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
203
+ "stateMutability": "view",
204
+ "type": "function"
205
+ },
206
+ {
207
+ "inputs": [
208
+ { "internalType": "address", "name": "spender", "type": "address" },
209
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
210
+ ],
211
+ "name": "approve",
212
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
213
+ "stateMutability": "nonpayable",
214
+ "type": "function"
215
+ },
216
+ {
217
+ "inputs": [],
218
+ "name": "authority",
219
+ "outputs": [
220
+ { "internalType": "contract Authority", "name": "", "type": "address" }
221
+ ],
222
+ "stateMutability": "view",
223
+ "type": "function"
224
+ },
225
+ {
226
+ "inputs": [{ "internalType": "address", "name": "", "type": "address" }],
227
+ "name": "balanceOf",
228
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
229
+ "stateMutability": "view",
230
+ "type": "function"
231
+ },
232
+ {
233
+ "inputs": [],
234
+ "name": "decimals",
235
+ "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }],
236
+ "stateMutability": "view",
237
+ "type": "function"
238
+ },
239
+ {
240
+ "inputs": [
241
+ { "internalType": "address", "name": "from", "type": "address" },
242
+ { "internalType": "contract ERC20", "name": "asset", "type": "address" },
243
+ { "internalType": "uint256", "name": "assetAmount", "type": "uint256" },
244
+ { "internalType": "address", "name": "to", "type": "address" },
245
+ { "internalType": "uint256", "name": "shareAmount", "type": "uint256" }
246
+ ],
247
+ "name": "enter",
248
+ "outputs": [],
249
+ "stateMutability": "nonpayable",
250
+ "type": "function"
251
+ },
252
+ {
253
+ "inputs": [
254
+ { "internalType": "address", "name": "to", "type": "address" },
255
+ { "internalType": "contract ERC20", "name": "asset", "type": "address" },
256
+ { "internalType": "uint256", "name": "assetAmount", "type": "uint256" },
257
+ { "internalType": "address", "name": "from", "type": "address" },
258
+ { "internalType": "uint256", "name": "shareAmount", "type": "uint256" }
259
+ ],
260
+ "name": "exit",
261
+ "outputs": [],
262
+ "stateMutability": "nonpayable",
263
+ "type": "function"
264
+ },
265
+ {
266
+ "inputs": [],
267
+ "name": "hook",
268
+ "outputs": [
269
+ {
270
+ "internalType": "contract BeforeTransferHook",
271
+ "name": "",
272
+ "type": "address"
273
+ }
274
+ ],
275
+ "stateMutability": "view",
276
+ "type": "function"
277
+ },
278
+ {
279
+ "inputs": [
280
+ { "internalType": "address[]", "name": "targets", "type": "address[]" },
281
+ { "internalType": "bytes[]", "name": "data", "type": "bytes[]" },
282
+ { "internalType": "uint256[]", "name": "values", "type": "uint256[]" }
283
+ ],
284
+ "name": "manage",
285
+ "outputs": [
286
+ { "internalType": "bytes[]", "name": "results", "type": "bytes[]" }
287
+ ],
288
+ "stateMutability": "nonpayable",
289
+ "type": "function"
290
+ },
291
+ {
292
+ "inputs": [
293
+ { "internalType": "address", "name": "target", "type": "address" },
294
+ { "internalType": "bytes", "name": "data", "type": "bytes" },
295
+ { "internalType": "uint256", "name": "value", "type": "uint256" }
296
+ ],
297
+ "name": "manage",
298
+ "outputs": [{ "internalType": "bytes", "name": "result", "type": "bytes" }],
299
+ "stateMutability": "nonpayable",
300
+ "type": "function"
301
+ },
302
+ {
303
+ "inputs": [],
304
+ "name": "name",
305
+ "outputs": [{ "internalType": "string", "name": "", "type": "string" }],
306
+ "stateMutability": "view",
307
+ "type": "function"
308
+ },
309
+ {
310
+ "inputs": [{ "internalType": "address", "name": "", "type": "address" }],
311
+ "name": "nonces",
312
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
313
+ "stateMutability": "view",
314
+ "type": "function"
315
+ },
316
+ {
317
+ "inputs": [
318
+ { "internalType": "address", "name": "", "type": "address" },
319
+ { "internalType": "address", "name": "", "type": "address" },
320
+ { "internalType": "uint256[]", "name": "", "type": "uint256[]" },
321
+ { "internalType": "uint256[]", "name": "", "type": "uint256[]" },
322
+ { "internalType": "bytes", "name": "", "type": "bytes" }
323
+ ],
324
+ "name": "onERC1155BatchReceived",
325
+ "outputs": [{ "internalType": "bytes4", "name": "", "type": "bytes4" }],
326
+ "stateMutability": "nonpayable",
327
+ "type": "function"
328
+ },
329
+ {
330
+ "inputs": [
331
+ { "internalType": "address", "name": "", "type": "address" },
332
+ { "internalType": "address", "name": "", "type": "address" },
333
+ { "internalType": "uint256", "name": "", "type": "uint256" },
334
+ { "internalType": "uint256", "name": "", "type": "uint256" },
335
+ { "internalType": "bytes", "name": "", "type": "bytes" }
336
+ ],
337
+ "name": "onERC1155Received",
338
+ "outputs": [{ "internalType": "bytes4", "name": "", "type": "bytes4" }],
339
+ "stateMutability": "nonpayable",
340
+ "type": "function"
341
+ },
342
+ {
343
+ "inputs": [
344
+ { "internalType": "address", "name": "", "type": "address" },
345
+ { "internalType": "address", "name": "", "type": "address" },
346
+ { "internalType": "uint256", "name": "", "type": "uint256" },
347
+ { "internalType": "bytes", "name": "", "type": "bytes" }
348
+ ],
349
+ "name": "onERC721Received",
350
+ "outputs": [{ "internalType": "bytes4", "name": "", "type": "bytes4" }],
351
+ "stateMutability": "nonpayable",
352
+ "type": "function"
353
+ },
354
+ {
355
+ "inputs": [],
356
+ "name": "owner",
357
+ "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
358
+ "stateMutability": "view",
359
+ "type": "function"
360
+ },
361
+ {
362
+ "inputs": [
363
+ { "internalType": "address", "name": "owner", "type": "address" },
364
+ { "internalType": "address", "name": "spender", "type": "address" },
365
+ { "internalType": "uint256", "name": "value", "type": "uint256" },
366
+ { "internalType": "uint256", "name": "deadline", "type": "uint256" },
367
+ { "internalType": "uint8", "name": "v", "type": "uint8" },
368
+ { "internalType": "bytes32", "name": "r", "type": "bytes32" },
369
+ { "internalType": "bytes32", "name": "s", "type": "bytes32" }
370
+ ],
371
+ "name": "permit",
372
+ "outputs": [],
373
+ "stateMutability": "nonpayable",
374
+ "type": "function"
375
+ },
376
+ {
377
+ "inputs": [
378
+ {
379
+ "internalType": "contract Authority",
380
+ "name": "newAuthority",
381
+ "type": "address"
382
+ }
383
+ ],
384
+ "name": "setAuthority",
385
+ "outputs": [],
386
+ "stateMutability": "nonpayable",
387
+ "type": "function"
388
+ },
389
+ {
390
+ "inputs": [
391
+ { "internalType": "address", "name": "_hook", "type": "address" }
392
+ ],
393
+ "name": "setBeforeTransferHook",
394
+ "outputs": [],
395
+ "stateMutability": "nonpayable",
396
+ "type": "function"
397
+ },
398
+ {
399
+ "inputs": [
400
+ { "internalType": "bytes4", "name": "interfaceId", "type": "bytes4" }
401
+ ],
402
+ "name": "supportsInterface",
403
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
404
+ "stateMutability": "view",
405
+ "type": "function"
406
+ },
407
+ {
408
+ "inputs": [],
409
+ "name": "symbol",
410
+ "outputs": [{ "internalType": "string", "name": "", "type": "string" }],
411
+ "stateMutability": "view",
412
+ "type": "function"
413
+ },
414
+ {
415
+ "inputs": [],
416
+ "name": "totalSupply",
417
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
418
+ "stateMutability": "view",
419
+ "type": "function"
420
+ },
421
+ {
422
+ "inputs": [
423
+ { "internalType": "address", "name": "to", "type": "address" },
424
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
425
+ ],
426
+ "name": "transfer",
427
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
428
+ "stateMutability": "nonpayable",
429
+ "type": "function"
430
+ },
431
+ {
432
+ "inputs": [
433
+ { "internalType": "address", "name": "from", "type": "address" },
434
+ { "internalType": "address", "name": "to", "type": "address" },
435
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
436
+ ],
437
+ "name": "transferFrom",
438
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
439
+ "stateMutability": "nonpayable",
440
+ "type": "function"
441
+ },
442
+ {
443
+ "inputs": [
444
+ { "internalType": "address", "name": "newOwner", "type": "address" }
445
+ ],
446
+ "name": "transferOwnership",
447
+ "outputs": [],
448
+ "stateMutability": "nonpayable",
449
+ "type": "function"
450
+ },
451
+ { "stateMutability": "payable", "type": "receive" }
452
+ ]