File tree 6 files changed +328
-37
lines changed
api-ts/eigenlayer/sidecar/v1/sidecar
protos/eigenlayer/sidecar/v1/sidecar
protos/eigenlayer/sidecar/v1/sidecar
6 files changed +328
-37
lines changed Original file line number Diff line number Diff line change @@ -44,8 +44,21 @@ export type LoadContractResponse = {
44
44
address ?: string
45
45
}
46
46
47
+ export type CoreContract = {
48
+ contractAddress ?: string
49
+ contractAbi ?: string
50
+ bytecodeHash ?: string
51
+ }
52
+
53
+ export type ProxyContract = {
54
+ contractAddress ?: string
55
+ proxyContractAddress ?: string
56
+ blockNumber ?: string
57
+ }
58
+
47
59
export type LoadContractsRequest = {
48
- contractsJson ?: string
60
+ coreContracts ?: CoreContract [ ]
61
+ proxyContracts ?: ProxyContract [ ]
49
62
}
50
63
51
64
export type LoadContractsResponse = {
Original file line number Diff line number Diff line change 330
330
}
331
331
}
332
332
},
333
+ "CoreContract" : {
334
+ "type" : " object" ,
335
+ "properties" : {
336
+ "bytecodeHash" : {
337
+ "type" : " string"
338
+ },
339
+ "contractAbi" : {
340
+ "type" : " string"
341
+ },
342
+ "contractAddress" : {
343
+ "type" : " string"
344
+ }
345
+ }
346
+ },
333
347
"DisabledDistributionRoot" : {
334
348
"type" : " object" ,
335
349
"properties" : {
1431
1445
"LoadContractsRequest" : {
1432
1446
"type" : " object" ,
1433
1447
"properties" : {
1434
- "contractsJson" : {
1435
- "type" : " string"
1448
+ "coreContracts" : {
1449
+ "$ref" : " #/components/schemas/CoreContract"
1450
+ },
1451
+ "proxyContracts" : {
1452
+ "$ref" : " #/components/schemas/ProxyContract"
1436
1453
}
1437
1454
}
1438
1455
},
1573
1590
" earner_leaf"
1574
1591
]
1575
1592
},
1593
+ "ProxyContract" : {
1594
+ "type" : " object" ,
1595
+ "properties" : {
1596
+ "blockNumber" : {
1597
+ "type" : " integer" ,
1598
+ "format" : " uint64"
1599
+ },
1600
+ "contractAddress" : {
1601
+ "type" : " string"
1602
+ },
1603
+ "proxyContractAddress" : {
1604
+ "type" : " string"
1605
+ }
1606
+ }
1607
+ },
1576
1608
"QueueStakerStrategyWithdrawal" : {
1577
1609
"type" : " object" ,
1578
1610
"properties" : {
Original file line number Diff line number Diff line change 1643
1643
"schema" : {
1644
1644
"type" : " object" ,
1645
1645
"properties" : {
1646
- "contractsJson" : {
1647
- "type" : " string"
1646
+ "coreContracts" : {
1647
+ "$ref" : " #/components/schemas/CoreContract"
1648
+ },
1649
+ "proxyContracts" : {
1650
+ "$ref" : " #/components/schemas/ProxyContract"
1648
1651
}
1649
1652
}
1650
1653
}
2204
2207
}
2205
2208
}
2206
2209
},
2210
+ "CoreContract" : {
2211
+ "type" : " object" ,
2212
+ "properties" : {
2213
+ "bytecodeHash" : {
2214
+ "type" : " string"
2215
+ },
2216
+ "contractAbi" : {
2217
+ "type" : " string"
2218
+ },
2219
+ "contractAddress" : {
2220
+ "type" : " string"
2221
+ }
2222
+ }
2223
+ },
2207
2224
"DisabledDistributionRoot" : {
2208
2225
"type" : " object" ,
2209
2226
"properties" : {
3305
3322
"LoadContractsRequest" : {
3306
3323
"type" : " object" ,
3307
3324
"properties" : {
3308
- "contractsJson" : {
3309
- "type" : " string"
3325
+ "coreContracts" : {
3326
+ "$ref" : " #/components/schemas/CoreContract"
3327
+ },
3328
+ "proxyContracts" : {
3329
+ "$ref" : " #/components/schemas/ProxyContract"
3310
3330
}
3311
3331
}
3312
3332
},
3447
3467
" earner_leaf"
3448
3468
]
3449
3469
},
3470
+ "ProxyContract" : {
3471
+ "type" : " object" ,
3472
+ "properties" : {
3473
+ "blockNumber" : {
3474
+ "type" : " integer" ,
3475
+ "format" : " uint64"
3476
+ },
3477
+ "contractAddress" : {
3478
+ "type" : " string"
3479
+ },
3480
+ "proxyContractAddress" : {
3481
+ "type" : " string"
3482
+ }
3483
+ }
3484
+ },
3450
3485
"QueueStakerStrategyWithdrawal" : {
3451
3486
"type" : " object" ,
3452
3487
"properties" : {
Original file line number Diff line number Diff line change 3185
3185
}
3186
3186
}
3187
3187
},
3188
+ "sidecarCoreContract" : {
3189
+ "type" : " object" ,
3190
+ "properties" : {
3191
+ "contractAddress" : {
3192
+ "type" : " string"
3193
+ },
3194
+ "contractAbi" : {
3195
+ "type" : " string"
3196
+ },
3197
+ "bytecodeHash" : {
3198
+ "type" : " string"
3199
+ }
3200
+ }
3201
+ },
3188
3202
"sidecarGetBlockHeightResponse" : {
3189
3203
"type" : " object" ,
3190
3204
"properties" : {
3248
3262
"sidecarLoadContractsRequest" : {
3249
3263
"type" : " object" ,
3250
3264
"properties" : {
3251
- "contractsJson" : {
3252
- "type" : " string"
3265
+ "coreContracts" : {
3266
+ "type" : " array" ,
3267
+ "items" : {
3268
+ "type" : " object" ,
3269
+ "$ref" : " #/definitions/sidecarCoreContract"
3270
+ }
3271
+ },
3272
+ "proxyContracts" : {
3273
+ "type" : " array" ,
3274
+ "items" : {
3275
+ "type" : " object" ,
3276
+ "$ref" : " #/definitions/sidecarProxyContract"
3277
+ }
3253
3278
}
3254
3279
}
3255
3280
},
3268
3293
}
3269
3294
}
3270
3295
},
3296
+ "sidecarProxyContract" : {
3297
+ "type" : " object" ,
3298
+ "properties" : {
3299
+ "contractAddress" : {
3300
+ "type" : " string"
3301
+ },
3302
+ "proxyContractAddress" : {
3303
+ "type" : " string"
3304
+ },
3305
+ "blockNumber" : {
3306
+ "type" : " string" ,
3307
+ "format" : " uint64"
3308
+ }
3309
+ }
3310
+ },
3271
3311
"slashingListAvsOperatorSetSlashingHistoryResponse" : {
3272
3312
"type" : " object" ,
3273
3313
"properties" : {
You can’t perform that action at this time.
0 commit comments