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"
+}