{
  "schema_version": 1,
  "synthetic": true,
  "scope": "Reduced offline models; no market, RPC or executable transaction.",
  "boolean": [
    {
      "value": 0,
      "legacy": "SELL",
      "fixed": "SELL",
      "accepted": true
    },
    {
      "value": 1,
      "legacy": "BUY",
      "fixed": "BUY",
      "accepted": true
    },
    {
      "value": 2,
      "legacy": "BUY",
      "fixed": "REJECT",
      "accepted": false
    },
    {
      "value": 127,
      "legacy": "BUY",
      "fixed": "REJECT",
      "accepted": false
    },
    {
      "value": 255,
      "legacy": "BUY",
      "fixed": "REJECT",
      "accepted": false
    }
  ],
  "attribution": [
    {
      "id": "direct",
      "label": "Direct program event",
      "logs": [
        "Program PUMP invoke [1]",
        "Program data: TRADE:1",
        "Program PUMP success"
      ],
      "transaction_error": null,
      "legacy": 1,
      "fixed": 1
    },
    {
      "id": "foreign",
      "label": "Foreign event in the same transaction",
      "logs": [
        "Program PUMP invoke [1]",
        "Program PUMP success",
        "Program OTHER invoke [1]",
        "Program data: TRADE:1",
        "Program OTHER success"
      ],
      "transaction_error": null,
      "legacy": 1,
      "fixed": 0
    },
    {
      "id": "foreign-cpi",
      "label": "Foreign CPI inside the program",
      "logs": [
        "Program PUMP invoke [1]",
        "Program OTHER invoke [2]",
        "Program data: TRADE:1",
        "Program OTHER success",
        "Program PUMP success"
      ],
      "transaction_error": null,
      "legacy": 1,
      "fixed": 0
    },
    {
      "id": "pump-cpi",
      "label": "Program invoked through CPI",
      "logs": [
        "Program OTHER invoke [1]",
        "Program PUMP invoke [2]",
        "Program data: TRADE:1",
        "Program PUMP success",
        "Program OTHER success"
      ],
      "transaction_error": null,
      "legacy": 1,
      "fixed": 1
    },
    {
      "id": "truncated",
      "label": "Missing runtime completion",
      "logs": [
        "Program PUMP invoke [1]",
        "Program data: TRADE:1"
      ],
      "transaction_error": null,
      "legacy": 1,
      "fixed": 0
    },
    {
      "id": "failed-ancestor",
      "label": "Failed ancestor contradicts reported success",
      "logs": [
        "Program OTHER invoke [1]",
        "Program PUMP invoke [2]",
        "Program data: TRADE:1",
        "Program PUMP success",
        "Program OTHER failed: synthetic rollback"
      ],
      "transaction_error": null,
      "legacy": 1,
      "fixed": 0
    },
    {
      "id": "later-failure",
      "label": "Later top-level failure rejects earlier events",
      "logs": [
        "Program PUMP invoke [1]",
        "Program data: TRADE:1",
        "Program PUMP success",
        "Program OTHER invoke [1]",
        "Program OTHER failed: synthetic rollback"
      ],
      "transaction_error": null,
      "legacy": 1,
      "fixed": 0
    },
    {
      "id": "caught-child",
      "label": "Caught failed CPI preserves parent event",
      "logs": [
        "Program PUMP invoke [1]",
        "Program data: TRADE:1",
        "Program OTHER invoke [2]",
        "Program PUMP invoke [3]",
        "Program data: TRADE:1",
        "Program PUMP success",
        "Program OTHER failed: synthetic rollback",
        "Program PUMP success"
      ],
      "transaction_error": null,
      "legacy": 2,
      "fixed": 1
    },
    {
      "id": "mismatched",
      "label": "Mismatched stack completion",
      "logs": [
        "Program PUMP invoke [1]",
        "Program data: TRADE:1",
        "Program OTHER success"
      ],
      "transaction_error": null,
      "legacy": 1,
      "fixed": 0
    },
    {
      "id": "error",
      "label": "Transaction error overrides events",
      "logs": [
        "Program PUMP invoke [1]",
        "Program data: TRADE:1",
        "Program PUMP success"
      ],
      "transaction_error": {
        "synthetic": "failure"
      },
      "legacy": 0,
      "fixed": 0
    },
    {
      "id": "depth",
      "label": "Noncontiguous invocation depth",
      "logs": [
        "Program PUMP invoke [2]",
        "Program data: TRADE:1",
        "Program PUMP success"
      ],
      "transaction_error": null,
      "legacy": 1,
      "fixed": 0
    },
    {
      "id": "orphan",
      "label": "Event without an active frame",
      "logs": [
        "Program data: TRADE:1"
      ],
      "transaction_error": null,
      "legacy": 1,
      "fixed": 0
    }
  ],
  "gap": [
    {
      "opening": 85,
      "legacy": -1.0,
      "fixed": -3.0
    },
    {
      "opening": 90,
      "legacy": -1.0,
      "fixed": -2.0
    },
    {
      "opening": 93,
      "legacy": -1.0,
      "fixed": -1.4
    },
    {
      "opening": 95,
      "legacy": -1.0,
      "fixed": -1.0
    },
    {
      "opening": 99,
      "legacy": -1.0,
      "fixed": -1.0
    }
  ]
}
