Pacta, by Fractal Neurons
v0.1.8Control, dependency and wallet-memory facts for agents on Ethereum and Base.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
pacta_lookup_protocol Lookup Protocol or Token by Name
look up a DeFi protocol, token or contract by name, symbol, slug or 0x address (Aave, Ethena, USDe, Moonwell, kUSD): Pacta's verified record with canonical slug and page URL, checksummed primary contract and controller, classification with its evidence basis (Base-EAS-attested vs RPC-observed only), and ready-to-use preflightArgs {chain, address} for pacta_check_preflight. Start here when you have only a name, symbol or slug: it returns the chain and address for the next call. 324 protocols + 18 briefs, answered in memory; a 0x address Pacta does not index is answered inline with a who_control…
| Parameter | Type | Description |
|---|---|---|
chain | string | Optional chain filter. |
kind | string | protocol pages, briefs, or all (default). |
limit | integer | Default 10 (20 when listing). |
query | string | Protocol or token name, symbol, slug or 0x address (e.g. 'Aave', 'Ethena', 'USDe', 'Moonwell', 'kUSD'). Empty or '*' lists what Pacta tracks. |
who_controls Who Controls This Contract
Who can upgrade, pause or change this contract, and what is queued to change: admin, multisig signers and threshold, timelock delay, pending operations. Ethereum and Base, any address, pinned to a block.
| Parameter | Type | Description |
|---|---|---|
address * | string | Contract or token address: 0x followed by 40 hex characters. |
chain * | string | Chain of the contract: ethereum or base. |
pacta_check_preflight Pre-execution safety check
rug check, smart contract security, who controls this contract before an agent approves, deposits into or calls it: Use for a verdict and a 0-100 score before approving, depositing or calling, or for a past block. For facts without a score use pacta_who_controls_contract. One-call pre-execution safety check of a contract before an agent interacts with it: verdict (no controller found / timelock / zero-delay timelock / multisig / EOA admin / unclassified / undeployed) with the checks run, 0-100 risk score (null when not determined: no contract, or NO_CONTROLLER_FOUND), proxy + implementation, c…
| Parameter | Type | Description |
|---|---|---|
address * | string | 0x-prefixed 20-byte address (EIP-55 checksum enforced when mixed-case) |
block | string | Block to pin: "latest" (default), a decimal block number or 0x-hex |
chain | string | EVM chain |
pacta_scan_wallet_exposure Wallet & Safe DeFi control-plane exposure scan
wallet risk, DeFi exposure of a wallet or Safe multisig: Use when you hold a wallet or Safe address and want its positions checked. For one contract use pacta_who_controls_contract. Read-only Multicall3 wallet & Gnosis Safe DeFi control-plane exposure scan across Ethereum and Base: Safe threshold/owners detection, ERC-20 / ERC-4626 / MetaMorpho balanceOf + symbol/decimals verification across 926 contracts in 316 of Pacta's 324 indexed protocols, portfolio 0-100 risk score, shortest exit window, position roster, and the #1 highest-urgency flagged control-plane gap breakdown with Base EAS UID. F…
| Parameter | Type | Description |
|---|---|---|
address * | string | Wallet or Gnosis Safe 0x address to scan (read-only Multicall3; never logged in public telemetry) |
chain | string | Chains to scan: all (default, Ethereum + Base in parallel), ethereum, or base |
pacta_scan_control_plane Control-plane scan
who controls this contract, in full: upgradeable proxy, owner, admin, multisig, timelock: Use for the raw structure (proxy slots, Safe owners and threshold, timelock delay) or a past block. For the short answer use pacta_who_controls_contract. Live control-plane scan of an EVM contract: EIP-1967 implementation/admin/beacon, owner(), Safe threshold/owners/guard, timelock delay, code size and deterministic risk flags at the latest (or a given) block. Free (no key, no payment).
| Parameter | Type | Description |
|---|---|---|
address * | string | 0x-prefixed 20-byte address (EIP-55 checksum enforced when mixed-case) |
block | string | Block to pin: "latest" (default), a decimal block number or 0x-hex |
chain | string | EVM chain |
pacta_scan_timelock_op Timelock operation state
timelock queued operation, when it can execute: Use when you have a timelock address and an operation id or calldata; to see what is queued across indexed protocols now use pacta_get_live_timelocks. Live OpenZeppelin TimelockController operation state: isOperation/Pending/Ready/Done, getTimestamp (ETA), getMinDelay at the latest block. Free (no key, no payment).
| Parameter | Type | Description |
|---|---|---|
timelock * | string | OpenZeppelin TimelockController address |
chain | string | EVM chain |
data | string | Calldata (default 0x) |
opId | string | bytes32 operation id (hashOperation / CallScheduled id); or give target + value + data (+ predecessor + salt) |
predecessor | string | bytes32 predecessor (default 0x00..00) |
salt | string | bytes32 salt (default 0x00..00) |
target | string | Scheduled call target (to compute opId) |
value | string | Call value in wei (default 0) |
pacta_scan_proposal_diff Governance proposal pinned-vs-live diff
governance proposal check, what a DAO proposal changes: Re-runs the pinned contract reads of a Pacta-tracked governance proposal (Aave, Euler, Morpho, Sky) at the live block and returns pinned-vs-live diffs. Free (no key, no payment).
| Parameter | Type | Description |
|---|---|---|
forum * | string | Governance forum |
topicId * | string | Forum topic id; the proposal must be listed in https://pacta.wtf/api/v1/proposals.json as <forum>-<topicId> |
pacta_get_live_timelocks Live tracked timelock operations
pending timelock operations, upcoming DeFi upgrades: Use to see queued timelock operations across indexed protocols right now; for one operation id or calldata use pacta_scan_timelock_op. Live state of the public pending timelock operations tracked in https://pacta.wtf/api/v1/radar.json, each re-checked at the latest block (getTimestamp, isOperationPending, isOperationDone). Free (no key, no payment).
| Parameter | Type | Description |
|---|---|---|
protocol | string | Optional case-insensitive protocol filter (radar.json item protocol) |
pacta_verdict Contract control-plane verdict
token safety, rug check, contract risk score: Same scan as pacta_check_preflight at the latest block, plus a letter grade and a one-line summary; also takes a protocol slug (with an address only, start with pacta_who_controls_contract). Fast contract / token control-plane safety verdict: verdict, riskScore 0-100 and grade A-F (both null when not determined, e.g. NO_CONTROLLER_FOUND), a one-line verdict, upgrade / owner / pause / blacklist / mint capability flags, the controller (EOA, Safe threshold, timelock delay), the indexed Pacta record when there is one, and a shareable scan URL. One pinn…
| Parameter | Type | Description |
|---|---|---|
address | string | Checksummed or lowercase 0x + 40-hex contract address on ethereum or base when checking by chain + address; omit when slug is given (use either slug or chain + address, not both: HTTP and free-launch… |
chain | string | Target chain ("ethereum" or "base") when checking by chain + address; omit when slug is given (use either slug or chain + address, not both: HTTP and free-launch MCP reject conflicting inputs as bad_r… |
slug | string | Optional lowercase-hyphen protocol slug (https://pacta.wtf/api/v1/lookup.json); or pass chain + address (not both; omitting all checks ethereum 0xA35b1B31Ce002FBF2058D22F30f95D405200A15b on free-launc… |
pacta_dossier Protocol control-plane dossier
protocol due diligence, who controls this protocol, Safe multisig signers: Use for a whole protocol: every controller Safe's signers, and signers shared with other protocols. For one contract or an address only, use pacta_who_controls_contract. Machine-readable protocol control-plane dossier: live EIP-1967 / owner / Safe reads, every controller Safe's signers and threshold, Safe signers shared with other indexed protocols (read live at the same block), and the Base EAS attestation proof. With no arguments it checks the built-in default (aave-v3-gho). Free: 100 calls per caller per UTC day (no…
| Parameter | Type | Description |
|---|---|---|
address | string | Checksummed or lowercase 0x + 40-hex contract address on ethereum or base when looking up by chain + address; omit when slug is given (use either slug or chain + address, not both: HTTP and free-launc… |
chain | string | Target chain ("ethereum" or "base") when looking up by chain + address; omit when slug is given (use either slug or chain + address, not both: HTTP and free-launch MCP reject conflicting inputs as bad… |
slug | string | Optional lowercase-hyphen protocol slug (https://pacta.wtf/api/v1/lookup.json); or pass chain + address of an indexed contract (not both; omitting all returns aave-v3-gho on free-launch MCP or paid GE… |
trace_dependencies Trace Dependencies
What this vault, market or token depends on: its collateral assets, who can mint them, where its price comes from and who verifies its bridge. Each link cites a contract and a block.
| Parameter | Type | Description |
|---|---|---|
address * | string | |
chain * | string | |
depth | integer | how many levels to follow (default 2) |
remember Remember a Position
Save a position, an entry block or a rule under your wallet, tied to the contracts it depends on. Only your wallet can read it back. Up to 200 items per wallet, notes up to 500 characters; forget frees room.
| Parameter | Type | Description |
|---|---|---|
chain * | string | |
contract_address * | string | |
depends_on | array | contracts this position depends on |
item_id | string | your name for this item; saving the same item_id again replaces it (default pos:<chain>:<contract>) |
key | string | same as item_id |
note | string | up to 500 characters; no contact details, keys or secrets |
saved_at_block | integer | the entry block; later what_changed_since calls start here |
wallet_auth | object | |
wallet_session_token | string | the wallet_session_token from an earlier answer (valid 1 hour); use instead of wallet_auth |
what_changed_since What Changed Since
Since a block or your last check: every control, minter, price source or bridge change under your saved positions or a list of contracts, including changes that are queued and have not run yet.
| Parameter | Type | Description |
|---|---|---|
chain | string | required with contracts |
contracts | array | check these instead of your saved positions |
since_block | integer | default: your last check, else each item's saved_at_block |
wallet_auth | object | |
wallet_session_token | string | the wallet_session_token from an earlier answer (valid 1 hour); use instead of wallet_auth |
forget Forget Saved Items
Erase one saved item, or everything saved under your wallet. After the erase nothing you saved can be recalled. What remains in backups and records is in our privacy notice.
| Parameter | Type | Description |
|---|---|---|
chain | string | |
contract_address | string | |
item_id | string | one saved item_id, or "all" to erase everything saved under your wallet |
wallet_auth | object | |
wallet_session_token | string | the wallet_session_token from an earlier answer (valid 1 hour); use instead of wallet_auth |
pacta_submit_request Submit Pacta Coverage or Feature Request
request coverage or a feature (opt-in): queue a coverage or feature request with Pacta when a target is not indexed, a chain or check is unsupported, or data looks wrong (coverage_gap_hint). Ask the user first. An identical request_type + target_subject upvotes the existing request (same request_id). Returns request_id, status, demand_votes and an optional fast_track_url. Never opens a GitHub issue. Pass contact_handle ONLY when the user explicitly asks for follow-up or an invoice. For a general tool or data wish not tied to one target, use request_feature. Free in every pricing mode, 5 per ho…
| Parameter | Type | Description |
|---|---|---|
request_type * | string | What is missing: a protocol, a chain, a check surface, a doc/data discrepancy, or an MCP/API feature. |
requested_capability * | string | One sentence: the specific data, check or feature needed. No secrets, keys or personal data. |
target_subject * | string | Protocol / token slug, chain name, or chain:0xAddress the request is about (e.g. 'pendle-v2', 'arbitrum', 'base:0x...'). |
urgency_track * | string | community_queue_free (default, free; also takes a re-check after a fix), active_due_diligence, issuer_urgent_review (custom control-plane dossier, scoped by arrangement), api_high_volume_sla. |
contact_handle | string | Optional work email, Telegram @handle, or GitHub handle ONLY if the human user explicitly asks for follow-up or an invoice. NEVER guess or populate without explicit user consent; never pass keys or se… |
forum_proposal_url | string | Optional https:// link to the governance forum proposal this request concerns. |
request_feature Request a Pacta Feature or Tool
Tell Pacta what tool or data your agent needs; we read every request daily.
| Parameter | Type | Description |
|---|---|---|
text * | string | What tool, chain, check, or data your agent needs (max 1000 characters). |
use_case | string | Optional: how your agent would use it (max 500 characters). |