Skip to main content
Glama

Replay Morpho PreLiquidation

morpho_preliquidation_replay

Reconstruct one successful Base Morpho PreLiquidation transaction from its receipt and the exact block state, returning repaid and seized assets, protocol-oracle valuation, gross incentive, configured health window, and transaction gas before off-chain costs. Use morpho_market_underwrite for current market risk, morpho_position for a current borrower, or morpho_protection for a future protection plan. Historical read-only evidence; no transaction simulation, wallet, signing, or broadcast. Payment challenge and credentials are bound to GET https://agents.samedaydesk.com/defi/morpho-preliquidation-replay, not mcp://. Retry the identical authorized arguments and credential.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
transactionHashYesSuccessful Base transaction containing a Morpho PreLiquidate event

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
chainYes
eventsYes
productYes
versionYes
boundaryYes
eventCountYes
transactionYes
verificationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "boundary": {
      +      "type": "string"
      +    },
      +    "chain": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "id": {
      +          "const": 8453,
      +          "type": "number"
      +        },
      +        "name": {
      +          "const": "Base mainnet",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "name"
      +      ],
      +      "type": "object"
      +    },
      +    "eventCount": {
      +      "exclusiveMinimum": 0,
      +      "type": "integer"
      +    },
      +    "events": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "assets": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "repaid": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "amount": {
      +                    "type": "string"
      +                  },
      +                  "decimals": {
      +                    "type": "number"
      +                  },
      +                  "raw": {
      +                    "type": "string"
      +                  },
      +                  "symbol": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "token": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "token",
      +                  "symbol",
      +                  "decimals",
      +                  "raw",
      +                  "amount"
      +                ],
      +                "type": "object"
      +              },
      +              "repaidSharesRaw": {
      +                "type": "string"
      +              },
      +              "seized": {
      +                "$ref": "#/properties/events/items/properties/assets/properties/repaid"
      +              }
      +            },
      +            "required": [
      +              "repaid",
      +              "seized",
      +              "repaidSharesRaw"
      +            ],
      +            "type": "object"
      +          },
      +          "borrower": {
      +            "type": "string"
      +          },
      +          "contract": {
      +            "type": "string"
      +          },
      +          "grossEconomics": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "boundary": {
      +                "type": "string"
      +              },
      +              "incentiveInLoanAmount": {
      +                "type": "string"
      +              },
      +              "incentiveInLoanRaw": {
      +                "type": "string"
      +              },
      +              "incentivePct": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "incentiveSign": {
      +                "enum": [
      +                  "negative",
      +                  "positive"
      +                ],
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "incentiveInLoanRaw",
      +              "incentiveInLoanAmount",
      +              "incentiveSign",
      +              "incentivePct",
      +              "boundary"
      +            ],
      +            "type": "object"
      +          },
      +          "liquidator": {
      +            "type": "string"
      +          },
      +          "marketId": {
      +            "type": "string"
      +          },
      +          "parameters": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "closeFactorEndRaw": {
      +                "type": "string"
      +              },
      +              "closeFactorStartRaw": {
      +                "type": "string"
      +              },
      +              "incentiveEndRaw": {
      +                "type": "string"
      +              },
      +              "incentiveStartRaw": {
      +                "type": "string"
      +              },
      +              "marketLltvPct": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "marketLltvRaw": {
      +                "type": "string"
      +              },
      +              "preLltvPct": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "preLltvRaw": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "marketLltvRaw",
      +              "marketLltvPct",
      +              "preLltvRaw",
      +              "preLltvPct",
      +              "closeFactorStartRaw",
      +              "closeFactorEndRaw",
      +              "incentiveStartRaw",
      +              "incentiveEndRaw"
      +            ],
      +            "type": "object"
      +          },
      +          "protocolOracle": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "address": {
      +                "type": "string"
      +              },
      +              "collateralQuotedInLoanAmount": {
      +                "type": "string"
      +              },
      +              "collateralQuotedInLoanRaw": {
      +                "type": "string"
      +              },
      +              "priceRaw": {
      +                "type": "string"
      +              },
      +              "scale": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "address",
      +              "priceRaw",
      +              "scale",
      +              "collateralQuotedInLoanRaw",
      +              "collateralQuotedInLoanAmount"
      +            ],
      +            "type": "object"
      +          }
      +        },
      +        "required": [
      +          "contract",
      +          "marketId",
      +          "liquidator",
      +          "borrower",
      +          "assets",
      +          "protocolOracle",
      +          "grossEconomics",
      +          "parameters"
      +        ],
      +        "type": "object"
      +      },
      +      "minItems": 1,
      +      "type": "array"
      +    },
      +    "ok": {
      +      "const": true,
      +      "type": "boolean"
      +    },
      +    "product": {
      +      "const": "morpho-preliquidation-replay",
      +      "type": "string"
      +    },
      +    "transaction": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "blockNumber": {
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "blockTimestamp": {
      +          "format": "date-time",
      +          "type": "string"
      +        },
      +        "effectiveGasPriceWei": {
      +          "type": "string"
      +        },
      +        "from": {
      +          "type": "string"
      +        },
      +        "gasCostEth": {
      +          "type": "string"
      +        },
      +        "gasCostWei": {
      +          "type": "string"
      +        },
      +        "gasUsed": {
      +          "type": "string"
      +        },
      +        "hash": {
      +          "pattern": "^0x[0-9a-f]{64}$",
      +          "type": "string"
      +        },
      +        "status": {
      +          "const": "success",
      +          "type": "string"
      +        },
      +        "to": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        }
      +      },
      +      "required": [
      +        "hash",
      +        "blockNumber",
      +        "blockTimestamp",
      +        "from",
      +        "status",
      +        "gasUsed",
      +        "effectiveGasPriceWei",
      +        "gasCostWei",
      +        "gasCostEth"
      +      ],
      +      "type": "object"
      +    },
      +    "verification": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "event": {
      +          "const": "strict ABI decode of the official PreLiquidate signature",
      +          "type": "string"
      +        },
      +        "params": {
      +          "const": "PreLiquidation immutable contract reads at the execution block",
      +          "type": "string"
      +        },
      +        "price": {
      +          "const": "PreLiquidation oracle read at the execution block",
      +          "type": "string"
      +        },
      +        "receipt": {
      +          "const": "fresh direct Base RPC",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "receipt",
      +        "event",
      +        "params",
      +        "price"
      +      ],
      +      "type": "object"
      +    },
      +    "version": {
      +      "const": "1.0.0",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "ok",
      +    "product",
      +    "version",
      +    "chain",
      +    "transaction",
      +    "eventCount",
      +    "events",
      +    "verification",
      +    "boundary"
      +  ],
      +  "type": "object"
      +}
  2. Added

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.