BRAINIAC Restaking Risk is an MCP server published by software.brainiac, hosted at www.brainiac.software. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 4 tools, including restaking-risk_cross-network-slashing-exposure, restaking-risk_slashing-correlation, restaking-risk_slashing-window-feasibility, restaking-risk_exit-window.
Paid Restaking Risk API via x402. Unpaid tool calls return 402.
1,088 connections through 4 shared values. Tap any node.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Calculate unique collateral, gross exposure, and overlap when caller-supplied vault collateral is reused across networks. Docs: https://www.brainiac.software/api/restaking-risk/cross-network-slashing-exposure Keywords: before you restake or reuse collateral, vaults, allocations, slashing, scenarios, reuse, prices, rates, audit status, audit_status, total collateral, total_collateral, unique collateral, unique_collateral, unique collateral value.
| Parameter | Type | Description |
|---|---|---|
| rates | array | rates, array. Optional. |
| reuse | array | reuse, array. Optional. |
| prices | array | prices, array. Optional. |
| vaults * | array | vaults, array. Required. |
| slashing * | array | slashing, array. Required. |
| scenarios * | array | scenarios, array. Required. |
| allocations * | array | allocations, array. Required. |
{
"name": "restaking-risk_cross-network-slashing-exposure",
"title": "Calculate cross-network slashing exposure",
"description": "Calculate unique collateral, gross exposure, and overlap when caller-supplied vault collateral is reused across networks. Docs: https://www.brainiac.software/api/restaking-risk/cross-network-slashing-exposure Keywords: before you restake or reuse collateral, vaults, allocations, slashing, scenarios, reuse, prices, rates, audit status, audit_status, total collateral, total_collateral, unique collateral, unique_collateral, unique collateral value.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"vaults",
"allocations",
"slashing",
"scenarios"
],
"properties": {
"rates": {
"type": "array",
"items": {
"type": "object",
"required": [
"base",
"quote",
"rate"
],
"properties": {
"base": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "id, string, length 1 to 80. Required."
},
"rate": {
"type": "string",
"pattern": "^(?:0|[1-9]\\d{0,24})(?:\\.\\d{1,8})?$",
"description": "price, string. Required."
},
"quote": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "id, string, length 1 to 80. Required."
}
},
"description": "item, object. Required.",
"additionalProperties": false
},
"description": "rates, array. Optional."
},
"reuse": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"asset",
"amount",
"allocations"
],
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "id, string, length 1 to 80. Required."
},
"asset": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "id, string, length 1 to 80. Required."
},
"amount": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,77})$",
"description": "amount, string. Required."
},
"allocations": {
"type": "array",
"items": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "id, string, length 1 to 80. Required."
},
"description": "allocations, array. Required."
}
},
"description": "item, object. Required.",
"additionalProperties": false
},
"description": "reuse, array. Optional."
},
"prices": {
"type": "array",
"items": {
"type": "object",
"required": [
"asset",
"quote",
"price"
],
"properties": {
"asset": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "id, string, length 1 to 80. Required."
},
"price": {
"type": "string",
"pattern": "^(?:0|[1-9]\\d{0,24})(?:\\.\\d{1,8})?$",
"description": "price, string. Required."
},
"quote": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "id, string, length 1 to 80. Required."
}
},
"description": "item, object. Required.",
"additionalProperties": false
},
"description": "prices, array. Optional."
},
"vaults": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"collateral"
],
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "id, string, length 1 to 80. Required."
},
"collateral": {
"type": "array",
"items": {
"type": "object",
"required": [
"asset",
"amount"
],
"properties": {
"asset": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "id, string, length 1 to 80. Required."
},
"amount": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,77})$",
"description": "amount, string. Required."
}
},
"description": "item, object. Required.",
"additionalProperties": false
},
"description": "collateral, array. Required."
}
},
"description": "item, object. Required.",
"additionalProperties": false
},
"description": "vaults, array. Required."
},
"slashing": {
"type": "array",
"items": {
"type": "object",
"required": [
"network",
"percent"
],
"properties": {
"network": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "id, string, length 1 to 80. Required."
},
"percent": {
"type": "string",
"pattern": "^(100(?:\\.0{1,4})?|(?:0|[1-9]\\d?)(?:\\.\\d{1,4})?)$",
"description": "percent, string. Required."
},
"operator": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "operator, string, length 1 to 80. Optional."
}
},
"description": "item, object. Required.",
"additionalProperties": false
},
"description": "slashing, array. Required."
},
"scenarios": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"ordering",
"events"
],
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "id, string, length 1 to 80. Required."
},
"events": {
"type": "array",
"items": {
"type": "object",
"required": [
"network"
],
"properties": {
"network": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "id, string, length 1 to 80. Required."
},
"percent": {
"type": "string",
"pattern": "^(100(?:\\.0{1,4})?|(?:0|[1-9]\\d?)(?:\\.\\d{1,4})?)$",
"description": "percent, string. Optional."
},
"operator": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "operator, string, length 1 to 80. Optional."
}
},
"description": "item, object. Required.",
"additionalProperties": false
},
"description": "events, array. Required."
},
"ordering": {
"enum": [
"simultaneous",
"sequential"
],
"type": "string",
"description": "ordering, string, one of simultaneous, sequential. Required."
}
},
"description": "item, object. Required.",
"additionalProperties": false
},
"description": "scenarios, array. Required."
},
"allocations": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"vault",
"network",
"operator",
"asset",
"amount"
],
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "id, string, length 1 to 80. Required."
},
"asset": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "id, string, length 1 to 80. Required."
},
"vault": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "id, string, length 1 to 80. Required."
},
"amount": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,77})$",
"description": "amount, string. Required."
},
"network": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "id, string, length 1 to 80. Required."
},
"operator": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "id, string, length 1 to 80. Required."
}
},
"description": "item, object. Required.",
"additionalProperties": false
},
"description": "allocations, array. Required."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"warnings": {
"type": "array",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "code. String."
},
"detail": {
"type": "string",
"description": "detail. String."
},
"severity": {
"type": "string",
"description": "severity. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "warnings. Array."
},
"scenarios": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "id. String."
},
"events": {
"type": "array",
"items": {
"type": "object",
"properties": {
"index": {
"type": "number",
"description": "index. Number."
},
"detail": {
"type": "string",
"description": "detail. String."
},
"network": {
"type": "string",
"description": "network. String."
},
"percent": {
"type": "string",
"description": "percent. String."
},
"operator": {
"type": "string",
"description": "operator. String."
},
"remaining": {
"type": "array",
"items": {
"type": "object",
"properties": {
"asset": {
"type": "string",
"description": "asset. String."
},
"amount": {
"type": "string",
"description": "amount. String."
},
"detail": {
"type": "string",
"description": "detail. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "remaining. Array."
},
"asset_losses": {
"type": "array",
"items": {
"type": "object",
"properties": {
"asset": {
"type": "string",
"description": "asset. String."
},
"amount": {
"type": "string",
"description": "amount. String."
},
"detail": {
"type": "string",
"description": "detail. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "asset_losses. Array."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "events. Array."
},
"losses": {
"type": "array",
"items": {
"type": "object",
"properties": {
"asset": {
"type": "string",
"description": "asset. String."
},
"amount": {
"type": "string",
"description": "amount. String."
},
"detail": {
"type": "string",
"description": "detail. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "losses. Array."
},
"ordering": {
"type": "string",
"description": "ordering. String."
},
"remaining": {
"type": "array",
"items": {
"type": "object",
"properties": {
"asset": {
"type": "string",
"description": "asset. String."
},
"amount": {
"type": "string",
"description": "amount. String."
},
"detail": {
"type": "string",
"description": "detail. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "remaining. Array."
},
"loss_value": {
"type": "object",
"properties": {
"quote": {
"type": "string",
"description": "quote. String."
},
"amount": {
"type": "string",
"description": "amount. String."
},
"detail": {
"type": "string",
"description": "detail. String."
}
},
"description": "loss_value. Object.",
"additionalProperties": {}
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "scenarios. Array."
},
"assumptions": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "assumptions. Array."
},
"audit_status": {
"type": "string",
"description": "audit_status. String."
},
"concentration": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "id. String."
},
"kind": {
"type": "string",
"description": "kind. String."
},
"asset": {
"type": "string",
"description": "asset. String."
},
"share": {
"type": "string",
"description": "share. String."
},
"detail": {
"type": "string",
"description": "detail. String."
},
"total_gross": {
"type": "string",
"description": "total_gross. String."
},
"gross_amount": {
"type": "string",
"description": "gross_amount. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "concentration. Array."
},
"vault_exposure": {
"type": "array",
"items": {
"type": "object",
"properties": {
"asset": {
"type": "string",
"description": "asset. String."
},
"vault": {
"type": "string",
"description": "vault. String."
},
"detail": {
"type": "string",
"description": "detail. String."
},
"gross_amount": {
"type": "string",
"description": "gross_amount. String."
},
"shared_amount": {
"type": "string",
"description": "shared_amount. String."
},
"unique_amount": {
"type": "string",
"description": "unique_amount. String."
},
"collateral_amount": {
"type": "string",
"description": "collateral_amount. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "vault_exposure. Array."
},
"cascading_paths": {
"type": "array",
"items": {
"type": "object",
"properties": {
"asset": {
"type": "string",
"description": "asset. String."
},
"amount": {
"type": "string",
"description": "amount. String."
},
"detail": {
"type": "string",
"description": "detail. String."
},
"vaults": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "vaults. Array."
},
"networks": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "networks. Array."
},
"reuse_id": {
"type": "string",
"description": "reuse_id. String."
},
"operators": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "operators. Array."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "cascading_paths. Array."
},
"network_exposure": {
"type": "array",
"items": {
"type": "object",
"properties": {
"asset": {
"type": "string",
"description": "asset. String."
},
"detail": {
"type": "string",
"description": "detail. String."
},
"network": {
"type": "string",
"description": "network. String."
},
"gross_amount": {
"type": "string",
"description": "gross_amount. String."
},
"unique_amount": {
"type": "string",
"description": "unique_amount. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "network_exposure. Array."
},
"total_collateral": {
"type": "array",
"items": {
"type": "object",
"properties": {
"asset": {
"type": "string",
"description": "asset. String."
},
"amount": {
"type": "string",
"description": "amount. String."
},
"detail": {
"type": "string",
"description": "detail. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "total_collateral. Array."
},
"unique_collateral": {
"type": "array",
"items": {
"type": "object",
"properties": {
"asset": {
"type": "string",
"description": "asset. String."
},
"amount": {
"type": "string",
"description": "amount. String."
},
"detail": {
"type": "string",
"description": "detail. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "unique_collateral. Array."
},
"maximum_modeled_loss": {
"type": "array",
"items": {
"type": "object",
"properties": {
"asset": {
"type": "string",
"description": "asset. String."
},
"amount": {
"type": "string",
"description": "amount. String."
},
"detail": {
"type": "string",
"description": "detail. String."
},
"ordering": {
"type": "string",
"description": "ordering. String."
},
"scenario_id": {
"type": "string",
"description": "scenario_id. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "maximum_modeled_loss. Array."
},
"overlapping_exposure": {
"type": "array",
"items": {
"type": "object",
"properties": {
"asset": {
"type": "string",
"description": "asset. String."
},
"amount": {
"type": "string",
"description": "amount. String."
},
"detail": {
"type": "string",
"description": "detail. String."
},
"reuse_id": {
"type": "string",
"description": "reuse_id. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "overlapping_exposure. Array."
},
"total_gross_exposure": {
"type": "array",
"items": {
"type": "object",
"properties": {
"asset": {
"type": "string",
"description": "asset. String."
},
"amount": {
"type": "string",
"description": "amount. String."
},
"detail": {
"type": "string",
"description": "detail. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "total_gross_exposure. Array."
},
"unique_collateral_value": {
"type": "object",
"properties": {
"quote": {
"type": "string",
"description": "quote. String."
},
"amount": {
"type": "string",
"description": "amount. String."
},
"detail": {
"type": "string",
"description": "detail. String."
}
},
"description": "unique_collateral_value. Object.",
"additionalProperties": {}
},
"maximum_modeled_loss_value": {
"type": "object",
"properties": {
"quote": {
"type": "string",
"description": "quote. String."
},
"amount": {
"type": "string",
"description": "amount. String."
},
"detail": {
"type": "string",
"description": "detail. String."
},
"scenario_id": {
"type": "string",
"description": "scenario_id. String."
}
},
"description": "maximum_modeled_loss_value. Object.",
"additionalProperties": {}
},
"total_gross_exposure_value": {
"type": "object",
"properties": {
"quote": {
"type": "string",
"description": "quote. String."
},
"amount": {
"type": "string",
"description": "amount. String."
},
"detail": {
"type": "string",
"description": "detail. String."
}
},
"description": "total_gross_exposure_value. Object.",
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Calculate cross-network slashing exposure",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Cap each operator's network weights at 100 percent of its stake, then weight that exposure by stake. Docs: https://www.brainiac.software/api/restaking-risk/slashing-correlation Keywords: before you restake or reuse collateral, operators, maximum slashing exposure percentage, maximum_slashing_exposure_percentage, correlation risk score, correlation_risk_score, Score cross-network slashing correlation, slashing correlation.
| Parameter | Type | Description |
|---|---|---|
| operators * | array | operators, array. Required. |
{
"name": "restaking-risk_slashing-correlation",
"title": "Score cross-network slashing correlation",
"description": "Cap each operator's network weights at 100 percent of its stake, then weight that exposure by stake. Docs: https://www.brainiac.software/api/restaking-risk/slashing-correlation Keywords: before you restake or reuse collateral, operators, maximum slashing exposure percentage, maximum_slashing_exposure_percentage, correlation risk score, correlation_risk_score, Score cross-network slashing correlation, slashing correlation.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"operators"
],
"properties": {
"operators": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"stake",
"networks"
],
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "id, string, length 1 to 80. Required."
},
"stake": {
"type": "integer",
"maximum": 9007199254740991,
"description": "stake, integer, from any to 9007199254740991. Required.",
"exclusiveMinimum": 0
},
"networks": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"weight"
],
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "id, string, length 1 to 80. Required."
},
"weight": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "weight, integer, from 1 to 100. Required."
}
},
"description": "item, object. Required."
},
"description": "networks, array. Required."
}
},
"description": "item, object. Required."
},
"description": "operators, array. Required."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"correlation_risk_score": {
"type": "number",
"description": "correlation_risk_score. Number."
},
"maximum_slashing_exposure_percentage": {
"type": "number",
"description": "maximum_slashing_exposure_percentage. Number."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Score cross-network slashing correlation",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Compare caller-supplied slashing stages with an available window. Docs: https://www.brainiac.software/api/restaking-risk/slashing-window-feasibility Keywords: before you restake or reuse collateral, epoch, window, detection, evidence, submission, veto, execution, finality, margin, parallel, alternatives, feasibility status, feasibility_status, available window.
| Parameter | Type | Description |
|---|---|---|
| veto | object | veto, object. Optional. |
| epoch * | object | epoch, object. Required. |
| margin | object | margin, object. Optional. |
| window * | object | epoch, object. Required. |
| evidence | object | evidence, object. Optional. |
| finality | object | finality, object. Optional. |
| parallel | array | parallel, array. Optional. |
| detection | object | detection, object. Optional. |
| execution | object | execution, object. Optional. |
| submission |
Subtract the unbonding time and the withdrawal delay from the soonest caller-supplied slash horizon. Docs: https://www.brainiac.software/api/restaking-risk/exit-window Keywords: before you restake or reuse collateral, unbonding hours, withdrawal delay hours, events, exit feasibility score, exit_feasibility_score, time buffer hours, time_buffer_hours, Score exit timing before a slash, exit window.
| Parameter | Type | Description |
|---|---|---|
| events * | array | events, array. Required. |
| unbonding_hours * | integer | unbonding hours, integer, from 0 to 8760. Required. |
| withdrawal_delay_hours * | integer | unbonding hours, integer, from 0 to 8760. Required. |
{
"name": "restaking-risk_exit-window",
"title": "Score exit timing before a slash",
"description": "Subtract the unbonding time and the withdrawal delay from the soonest caller-supplied slash horizon. Docs: https://www.brainiac.software/api/restaking-risk/exit-window Keywords: before you restake or reuse collateral, unbonding hours, withdrawal delay hours, events, exit feasibility score, exit_feasibility_score, time buffer hours, time_buffer_hours, Score exit timing before a slash, exit window.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"unbonding_hours",
"withdrawal_delay_hours",
"events"
],
"properties": {
"events": {
"type": "array",
"items": {
"type": "object",
"required": [
"network",
"hours_until_slash"
],
"properties": {
"network": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "network, string, length 1 to 80. Required."
},
"hours_until_slash": {
"type": "integer",
"maximum": 8760,
"description": "hours until slash, integer, from any to 8760. Required.",
"exclusiveMinimum": 0
}
},
"description": "item, object. Required."
},
"description": "events, array. Required."
},
"unbonding_hours": {
"type": "integer",
"maximum": 8760,
"minimum": 0,
"description": "unbonding hours, integer, from 0 to 8760. Required."
},
"withdrawal_delay_hours": {
"type": "integer",
"maximum": 8760,
"minimum": 0,
"description": "unbonding hours, integer, from 0 to 8760. Required."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"time_buffer_hours": {
"type": "number",
"description": "time_buffer_hours. Number."
},
"exit_feasibility_score": {
"type": "number",
"description": "exit_feasibility_score. Number."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Score exit timing before a slash",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Tool calls wrap the existing POST APIs and stay pay-per-call. initialize and tools/list are free. An unpaid tool call returns the x402 payment terms in the tool result and does not run. Retry with the payment in params._meta["x402/payment"], or send payment-signature. Payment settles only after a successful result.
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
| object |
| submission, object. Optional. |
| alternatives | array | alternatives, array. Optional. |
{
"name": "restaking-risk_slashing-window-feasibility",
"title": "Check slashing window feasibility",
"description": "Compare caller-supplied slashing stages with an available window. Docs: https://www.brainiac.software/api/restaking-risk/slashing-window-feasibility Keywords: before you restake or reuse collateral, epoch, window, detection, evidence, submission, veto, execution, finality, margin, parallel, alternatives, feasibility status, feasibility_status, available window.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"epoch",
"window"
],
"properties": {
"veto": {
"type": "object",
"required": [
"value",
"unit"
],
"properties": {
"unit": {
"enum": [
"seconds",
"epochs"
],
"type": "string",
"description": "unit, string, one of seconds, epochs. Required."
},
"value": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,12})$",
"description": "value, string. Required."
}
},
"description": "veto, object. Optional.",
"additionalProperties": false
},
"epoch": {
"type": "object",
"required": [
"value",
"unit"
],
"properties": {
"unit": {
"enum": [
"seconds",
"epochs"
],
"type": "string",
"description": "unit, string, one of seconds, epochs. Required."
},
"value": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,12})$",
"description": "value, string. Required."
}
},
"description": "epoch, object. Required.",
"additionalProperties": false
},
"margin": {
"type": "object",
"required": [
"value",
"unit"
],
"properties": {
"unit": {
"enum": [
"seconds",
"epochs"
],
"type": "string",
"description": "unit, string, one of seconds, epochs. Required."
},
"value": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,12})$",
"description": "value, string. Required."
}
},
"description": "margin, object. Optional.",
"additionalProperties": false
},
"window": {
"type": "object",
"required": [
"value",
"unit"
],
"properties": {
"unit": {
"enum": [
"seconds",
"epochs"
],
"type": "string",
"description": "unit, string, one of seconds, epochs. Required."
},
"value": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,12})$",
"description": "value, string. Required."
}
},
"description": "epoch, object. Required.",
"additionalProperties": false
},
"evidence": {
"type": "object",
"required": [
"value",
"unit"
],
"properties": {
"unit": {
"enum": [
"seconds",
"epochs"
],
"type": "string",
"description": "unit, string, one of seconds, epochs. Required."
},
"value": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,12})$",
"description": "value, string. Required."
}
},
"description": "evidence, object. Optional.",
"additionalProperties": false
},
"finality": {
"type": "object",
"required": [
"value",
"unit"
],
"properties": {
"unit": {
"enum": [
"seconds",
"epochs"
],
"type": "string",
"description": "unit, string, one of seconds, epochs. Required."
},
"value": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,12})$",
"description": "value, string. Required."
}
},
"description": "finality, object. Optional.",
"additionalProperties": false
},
"parallel": {
"type": "array",
"items": {
"type": "object",
"required": [
"stages"
],
"properties": {
"stages": {
"type": "array",
"items": {
"enum": [
"detection",
"evidence",
"submission",
"veto",
"execution",
"finality"
],
"type": "string",
"description": "item, string, one of detection, evidence, submission, veto, execution, finality. Required."
},
"description": "stages, array. Required."
}
},
"description": "item, object. Required.",
"additionalProperties": false
},
"description": "parallel, array. Optional."
},
"detection": {
"type": "object",
"required": [
"value",
"unit"
],
"properties": {
"unit": {
"enum": [
"seconds",
"epochs"
],
"type": "string",
"description": "unit, string, one of seconds, epochs. Required."
},
"value": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,12})$",
"description": "value, string. Required."
}
},
"description": "detection, object. Optional.",
"additionalProperties": false
},
"execution": {
"type": "object",
"required": [
"value",
"unit"
],
"properties": {
"unit": {
"enum": [
"seconds",
"epochs"
],
"type": "string",
"description": "unit, string, one of seconds, epochs. Required."
},
"value": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,12})$",
"description": "value, string. Required."
}
},
"description": "execution, object. Optional.",
"additionalProperties": false
},
"submission": {
"type": "object",
"required": [
"value",
"unit"
],
"properties": {
"unit": {
"enum": [
"seconds",
"epochs"
],
"type": "string",
"description": "unit, string, one of seconds, epochs. Required."
},
"value": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,12})$",
"description": "value, string. Required."
}
},
"description": "submission, object. Optional.",
"additionalProperties": false
},
"alternatives": {
"type": "array",
"items": {
"type": "object",
"required": [
"epoch",
"window",
"id"
],
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "id, string, length 1 to 80. Required."
},
"veto": {
"type": "object",
"required": [
"value",
"unit"
],
"properties": {
"unit": {
"enum": [
"seconds",
"epochs"
],
"type": "string",
"description": "unit, string, one of seconds, epochs. Required."
},
"value": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,12})$",
"description": "value, string. Required."
}
},
"description": "veto, object. Optional.",
"additionalProperties": false
},
"epoch": {
"type": "object",
"required": [
"value",
"unit"
],
"properties": {
"unit": {
"enum": [
"seconds",
"epochs"
],
"type": "string",
"description": "unit, string, one of seconds, epochs. Required."
},
"value": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,12})$",
"description": "value, string. Required."
}
},
"description": "epoch, object. Required.",
"additionalProperties": false
},
"margin": {
"type": "object",
"required": [
"value",
"unit"
],
"properties": {
"unit": {
"enum": [
"seconds",
"epochs"
],
"type": "string",
"description": "unit, string, one of seconds, epochs. Required."
},
"value": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,12})$",
"description": "value, string. Required."
}
},
"description": "margin, object. Optional.",
"additionalProperties": false
},
"window": {
"type": "object",
"required": [
"value",
"unit"
],
"properties": {
"unit": {
"enum": [
"seconds",
"epochs"
],
"type": "string",
"description": "unit, string, one of seconds, epochs. Required."
},
"value": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,12})$",
"description": "value, string. Required."
}
},
"description": "epoch, object. Required.",
"additionalProperties": false
},
"evidence": {
"type": "object",
"required": [
"value",
"unit"
],
"properties": {
"unit": {
"enum": [
"seconds",
"epochs"
],
"type": "string",
"description": "unit, string, one of seconds, epochs. Required."
},
"value": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,12})$",
"description": "value, string. Required."
}
},
"description": "evidence, object. Optional.",
"additionalProperties": false
},
"finality": {
"type": "object",
"required": [
"value",
"unit"
],
"properties": {
"unit": {
"enum": [
"seconds",
"epochs"
],
"type": "string",
"description": "unit, string, one of seconds, epochs. Required."
},
"value": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,12})$",
"description": "value, string. Required."
}
},
"description": "finality, object. Optional.",
"additionalProperties": false
},
"parallel": {
"type": "array",
"items": {
"type": "object",
"required": [
"stages"
],
"properties": {
"stages": {
"type": "array",
"items": {
"enum": [
"detection",
"evidence",
"submission",
"veto",
"execution",
"finality"
],
"type": "string",
"description": "item, string, one of detection, evidence, submission, veto, execution, finality. Required."
},
"description": "stages, array. Required."
}
},
"description": "item, object. Required.",
"additionalProperties": false
},
"description": "parallel, array. Optional."
},
"detection": {
"type": "object",
"required": [
"value",
"unit"
],
"properties": {
"unit": {
"enum": [
"seconds",
"epochs"
],
"type": "string",
"description": "unit, string, one of seconds, epochs. Required."
},
"value": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,12})$",
"description": "value, string. Required."
}
},
"description": "detection, object. Optional.",
"additionalProperties": false
},
"execution": {
"type": "object",
"required": [
"value",
"unit"
],
"properties": {
"unit": {
"enum": [
"seconds",
"epochs"
],
"type": "string",
"description": "unit, string, one of seconds, epochs. Required."
},
"value": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,12})$",
"description": "value, string. Required."
}
},
"description": "execution, object. Optional.",
"additionalProperties": false
},
"submission": {
"type": "object",
"required": [
"value",
"unit"
],
"properties": {
"unit": {
"enum": [
"seconds",
"epochs"
],
"type": "string",
"description": "unit, string, one of seconds, epochs. Required."
},
"value": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,12})$",
"description": "value, string. Required."
}
},
"description": "submission, object. Optional.",
"additionalProperties": false
}
},
"description": "item, object. Required.",
"additionalProperties": false
},
"description": "alternatives, array. Optional."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"slack": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"description": "kind. String."
},
"detail": {
"type": "string",
"description": "detail. String."
},
"seconds": {
"type": "string",
"description": "seconds. String."
}
},
"description": "slack. Object.",
"additionalProperties": {}
},
"stages": {
"type": "array",
"items": {
"type": "object",
"properties": {
"share": {
"type": "string",
"description": "share. String."
},
"stage": {
"type": "string",
"description": "stage. String."
},
"detail": {
"type": "string",
"description": "detail. String."
},
"epochs": {
"type": "string",
"description": "epochs. String."
},
"seconds": {
"type": "string",
"description": "seconds. String."
},
"parallel": {
"type": "boolean",
"description": "parallel. Boolean."
},
"end_seconds": {
"type": "string",
"description": "end_seconds. String."
},
"start_seconds": {
"type": "string",
"description": "start_seconds. String."
},
"supplied_unit": {
"type": "string",
"description": "supplied_unit. String."
},
"supplied_value": {
"type": "string",
"description": "supplied_value. String."
},
"remainder_seconds": {
"type": "string",
"description": "remainder_seconds. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "stages. Array."
},
"assumptions": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "assumptions. Array."
},
"bottlenecks": {
"type": "array",
"items": {
"type": "object",
"properties": {
"share": {
"type": "string",
"description": "share. String."
},
"stage": {
"type": "string",
"description": "stage. String."
},
"detail": {
"type": "string",
"description": "detail. String."
},
"seconds": {
"type": "string",
"description": "seconds. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "bottlenecks. Array."
},
"alternatives": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "id. String."
},
"detail": {
"type": "string",
"description": "detail. String."
},
"ideal_fits": {
"type": "boolean",
"description": "ideal_fits. Boolean."
},
"slack_kind": {
"type": "string",
"description": "slack_kind. String."
},
"slack_seconds": {
"type": "string",
"description": "slack_seconds. String."
},
"with_margin_fits": {
"type": "boolean",
"description": "with_margin_fits. Boolean."
},
"feasibility_status": {
"type": "string",
"description": "feasibility_status. String."
},
"total_required_seconds": {
"type": "string",
"description": "total_required_seconds. String."
},
"available_window_seconds": {
"type": "string",
"description": "available_window_seconds. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "alternatives. Array."
},
"infeasibility": {
"type": "array",
"items": {
"type": "object",
"properties": {
"detail": {
"type": "string",
"description": "detail. String."
},
"seconds": {
"type": "string",
"description": "seconds. String."
},
"parameter": {
"type": "string",
"description": "parameter. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "infeasibility. Array."
},
"safety_margin": {
"type": "object",
"properties": {
"detail": {
"type": "string",
"description": "detail. String."
},
"seconds": {
"type": "string",
"description": "seconds. String."
},
"supplied": {
"type": "boolean",
"description": "supplied. Boolean."
},
"ideal_fits": {
"type": "boolean",
"description": "ideal_fits. Boolean."
},
"ideal_seconds": {
"type": "string",
"description": "ideal_seconds. String."
},
"with_margin_fits": {
"type": "boolean",
"description": "with_margin_fits. Boolean."
},
"with_margin_seconds": {
"type": "string",
"description": "with_margin_seconds. String."
}
},
"description": "safety_margin. Object.",
"additionalProperties": {}
},
"missing_stages": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "missing_stages. Array."
},
"total_required": {
"type": "object",
"properties": {
"detail": {
"type": "string",
"description": "detail. String."
},
"epochs": {
"type": "string",
"description": "epochs. String."
},
"seconds": {
"type": "string",
"description": "seconds. String."
},
"includes_margin": {
"type": "boolean",
"description": "includes_margin. Boolean."
},
"remainder_seconds": {
"type": "string",
"description": "remainder_seconds. String."
}
},
"description": "total_required. Object.",
"additionalProperties": {}
},
"available_window": {
"type": "object",
"properties": {
"detail": {
"type": "string",
"description": "detail. String."
},
"epochs": {
"type": "string",
"description": "epochs. String."
},
"seconds": {
"type": "string",
"description": "seconds. String."
},
"remainder_seconds": {
"type": "string",
"description": "remainder_seconds. String."
}
},
"description": "available_window. Object.",
"additionalProperties": {}
},
"feasibility_status": {
"type": "string",
"description": "feasibility_status. String."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Check slashing window feasibility",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}