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" : {
1425
1439
"LoadContractsRequest" : {
1426
1440
"type" : " object" ,
1427
1441
"properties" : {
1428
- "contractsJson" : {
1429
- "type" : " string"
1442
+ "coreContracts" : {
1443
+ "$ref" : " #/components/schemas/CoreContract"
1444
+ },
1445
+ "proxyContracts" : {
1446
+ "$ref" : " #/components/schemas/ProxyContract"
1430
1447
}
1431
1448
}
1432
1449
},
1567
1584
" earner_leaf"
1568
1585
]
1569
1586
},
1587
+ "ProxyContract" : {
1588
+ "type" : " object" ,
1589
+ "properties" : {
1590
+ "blockNumber" : {
1591
+ "type" : " integer" ,
1592
+ "format" : " uint64"
1593
+ },
1594
+ "contractAddress" : {
1595
+ "type" : " string"
1596
+ },
1597
+ "proxyContractAddress" : {
1598
+ "type" : " string"
1599
+ }
1600
+ }
1601
+ },
1570
1602
"QueueStakerStrategyWithdrawal" : {
1571
1603
"type" : " object" ,
1572
1604
"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" : {
3299
3316
"LoadContractsRequest" : {
3300
3317
"type" : " object" ,
3301
3318
"properties" : {
3302
- "contractsJson" : {
3303
- "type" : " string"
3319
+ "coreContracts" : {
3320
+ "$ref" : " #/components/schemas/CoreContract"
3321
+ },
3322
+ "proxyContracts" : {
3323
+ "$ref" : " #/components/schemas/ProxyContract"
3304
3324
}
3305
3325
}
3306
3326
},
3441
3461
" earner_leaf"
3442
3462
]
3443
3463
},
3464
+ "ProxyContract" : {
3465
+ "type" : " object" ,
3466
+ "properties" : {
3467
+ "blockNumber" : {
3468
+ "type" : " integer" ,
3469
+ "format" : " uint64"
3470
+ },
3471
+ "contractAddress" : {
3472
+ "type" : " string"
3473
+ },
3474
+ "proxyContractAddress" : {
3475
+ "type" : " string"
3476
+ }
3477
+ }
3478
+ },
3444
3479
"QueueStakerStrategyWithdrawal" : {
3445
3480
"type" : " object" ,
3446
3481
"properties" : {
Original file line number Diff line number Diff line change 3179
3179
}
3180
3180
}
3181
3181
},
3182
+ "sidecarCoreContract" : {
3183
+ "type" : " object" ,
3184
+ "properties" : {
3185
+ "contractAddress" : {
3186
+ "type" : " string"
3187
+ },
3188
+ "contractAbi" : {
3189
+ "type" : " string"
3190
+ },
3191
+ "bytecodeHash" : {
3192
+ "type" : " string"
3193
+ }
3194
+ }
3195
+ },
3182
3196
"sidecarGetBlockHeightResponse" : {
3183
3197
"type" : " object" ,
3184
3198
"properties" : {
3242
3256
"sidecarLoadContractsRequest" : {
3243
3257
"type" : " object" ,
3244
3258
"properties" : {
3245
- "contractsJson" : {
3246
- "type" : " string"
3259
+ "coreContracts" : {
3260
+ "type" : " array" ,
3261
+ "items" : {
3262
+ "type" : " object" ,
3263
+ "$ref" : " #/definitions/sidecarCoreContract"
3264
+ }
3265
+ },
3266
+ "proxyContracts" : {
3267
+ "type" : " array" ,
3268
+ "items" : {
3269
+ "type" : " object" ,
3270
+ "$ref" : " #/definitions/sidecarProxyContract"
3271
+ }
3247
3272
}
3248
3273
}
3249
3274
},
3262
3287
}
3263
3288
}
3264
3289
},
3290
+ "sidecarProxyContract" : {
3291
+ "type" : " object" ,
3292
+ "properties" : {
3293
+ "contractAddress" : {
3294
+ "type" : " string"
3295
+ },
3296
+ "proxyContractAddress" : {
3297
+ "type" : " string"
3298
+ },
3299
+ "blockNumber" : {
3300
+ "type" : " string" ,
3301
+ "format" : " uint64"
3302
+ }
3303
+ }
3304
+ },
3265
3305
"slashingListAvsOperatorSetSlashingHistoryResponse" : {
3266
3306
"type" : " object" ,
3267
3307
"properties" : {
You can’t perform that action at this time.
0 commit comments