402.bot
Recipe
live $0.0100 premium Contract Analysis

Contract Upgrade Readiness Brief

Turn ABI and public context into a compact upgrade-readiness packet for one contract.

$0.0100price
3steps
6sources
7ktokens saved
3tool calls compressed
median latency
WhatsABIStableEnrichGeminiWhatsabi Contract AbiStableenrich Exa SearchGoogle Gemini Flash Structured

Endpoint: /v1/recipes/contract-upgrade-readiness-brief/run
Capabilities: contract-upgrade, upgrade-readiness, contract-ops

Why pay for this?

This recipe turns roughly 3 separate tool operations into one paid endpoint call and saves about ~7k tokens saved.

Combines ABI shape and public context into a short upgrade-readiness packet with risks and next actions.

Creator

Name: 402.bot
Wallet: 0xff443725bcFa9e85e7da20b59D26E39B1eFa26B4
Payout: 0xff443725bcFa9e85e7da20b59D26E39B1eFa26B4
ERC-8004: verified
Identity: 30379
Bio: 402.bot managed workflow marketplace recipes.
ERC-8004 reputation: 0.0
Creator score: 21

Usage and trust

Success 30d: 0%
Refund 30d: 0%
Paid runs: 0
Creator recipes: 1
Last run: No recent runs

Pipeline

Stage 1

Load contract ABI

fetch_transform

Source: Whatsabi Contract Abi
Step id: abi

Stage 2

Search upgrade context

fetch_transform

Source: Stableenrich Exa Search
Step id: search

Stage 3

Build contract upgrade readiness brief

fetch_transform

Source: Google Gemini Flash Structured
Step id: summarize

Recent runs

RunStatusTriggerQueued
No recent runs recorded yet. Runs appear here after the first paid execution.
View raw step spec

Load contract ABI

{
  "id": "abi",
  "kind": "fetch_transform",
  "title": "Load contract ABI",
  "request": {
    "params": {
      "address": "{{ $.input.contractAddress }}",
      "network": "eip155:8453"
    },
    "sourceId": "whatsabi_contract_abi",
    "deliveryFormat": "json"
  }
}

Search upgrade context

{
  "id": "search",
  "kind": "fetch_transform",
  "title": "Search upgrade context",
  "request": {
    "params": {
      "count": 5,
      "query": "{{ $.input.contractAddress }} upgrade admin proxy docs operational risks"
    },
    "sourceId": "stableenrich_exa_search",
    "deliveryFormat": "json"
  }
}

Build contract upgrade readiness brief

{
  "id": "summarize",
  "kind": "fetch_transform",
  "title": "Build contract upgrade readiness brief",
  "request": {
    "params": {
      "input": {
        "abi": "{{ $.stepsById.abi.output }}",
        "docsUrl": "{{ $.input.docsUrl }}",
        "publicContext": "{{ $.stepsById.search.output }}",
        "contractAddress": "{{ $.input.contractAddress }}"
      },
      "prompt": "Build a contract upgrade-readiness brief. Focus on the checklist, the main risks, and the next actions before an upgrade or admin change.",
      "responseSchema": {
        "type": "object",
        "required": [
          "contractAddress",
          "summary",
          "checklist",
          "upgradeRisks",
          "nextActions"
        ],
        "properties": {
          "summary": {
            "type": "string"
          },
          "checklist": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "title",
                "status",
                "reason"
              ],
              "properties": {
                "title": {
                  "type": "string"
                },
                "reason": {
                  "type": "string"
                },
                "status": {
                  "enum": [
                    "do_now",
                    "watch",
                    "skip"
                  ],
                  "type": "string"
                }
              },
              "additionalProperties": false
            },
            "description": "Upgrade-readiness checklist items."
          },
          "nextActions": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Suggested next actions."
          },
          "upgradeRisks": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Upgrade risks or unknowns."
          },
          "contractAddress": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "systemInstruction": "You are compressing upgrade readiness into a short operator packet. Stay grounded in the supplied ABI and public search context only."
    },
    "sourceId": "google_gemini_flash_structured",
    "deliveryFormat": "json"
  }
}